Hello everyone!
Im facing a issue when i try to build SQL queries on Metabase.
The problem is: one autocomplete_suggestion call becomes 9, and this overload the application db and the application itself, causing the application to fail the health-check and restart.
First, i was investigating the fact that autocomplete_suggestions calls were taking minutes to complete.
When i was investigating, i noticed this strage behaviour.
Metabase restarting after getting stuck on autocomplete_suggestions calls:
DB columns and tables:
Toubleshooting informations:
Metabase deployed on AWS ECS (Docker container), 1vCPU and 3GB RAM
Application DB: RDS Postgres, 2vCPU and 4GB RAM
{
"browser-info": {
"language": "en-US",
"platform": "Win32",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.20+8",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/",
"java.version": "11.0.20",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.20+8",
"os.name": "Linux",
"os.version": "5.10.184-175.749.amzn2.x86_64",
"user.language": "en",
"user.timezone": "GMT"
},
"metabase-info": {
"databases": [
"snowflake"
],
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "15.2"
},
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.5.1"
}
},
"run-mode": "prod",
"version": {
"date": "2023-07-28",
"tag": "v0.46.6.4",
"branch": "release-x.46.6.x",
"hash": "7c60aca"
},
"settings": {
"report-timezone": "America/Sao_Paulo"
}
}
}
Adicional information:
I have two Metabases deployed on AWS, with identical resources (separately).
The another is connected to the same DB (Snowflake), and i'm not facing this issue on the 2nd.
Thank you!