Metabase 数据源管理及同步机制

metabase增加数据库有2个选项:

  1. 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.

  2. 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都不变的。

{
   
    
    
   <

猜你喜欢

转载自blog.csdn.net/weixin_40455124/article/details/112856829