metabase增加数据库有2个选项:
-
Automatically run queries when doing simple filtering and summarizing
When this is on, Metabase will automatically run queries when users do simple explorations with the Summarize and Filter buttons when viewing a table or chart. You can turn this off if querying this database is slow. This setting doesn’t affect drill-throughs or SQL queries. -
This is a large database, so let me choose when Metabase syncs and scans
By default, Metabase does a lightweight hourly sync and an intensive daily scan of field values. If you have a large database, we recommend turning this on and reviewing when and how often the field value scans happen.
选项1是相关sql执行时候附带更新field 的fingerprint:数据最大、最小等分布信息,建议关闭。
选项2就是设置数据库metadata及fingerprint的同步信息,在0.37.02实际无法关闭,提交的json串中的is_full_sync都不变的。
{
<