Logic responsible for doing deep 'analysis' of the data inside a database. This is significantly more expensive than the basic sync-metadata step, and involves things like running MBQL queries and fetching values to do things like determine Table row counts and infer field special types.
Logic responsible for doing deep 'analysis' of the data inside a database. This is significantly more expensive than the basic sync-metadata step, and involves things like running MBQL queries and fetching values to do things like determine Table row counts and infer field special types.
(analyze-db! database)
Inputs: [database :- i/DatabaseInstance]
Perform in-depth analysis on the data for all Tables in a given DATABASE.
This is dependent on what each database driver supports, but includes things like cardinality testing and table row
counting. This also updates the :last_analyzed
value for each affected Field.
Inputs: [database :- i/DatabaseInstance] Perform in-depth analysis on the data for all Tables in a given DATABASE. This is dependent on what each database driver supports, but includes things like cardinality testing and table row counting. This also updates the `:last_analyzed` value for each affected Field.
(analyze-table! table)
Inputs: [table :- i/TableInstance]
Perform in-depth analysis for a TABLE.
Inputs: [table :- i/TableInstance] Perform in-depth analysis for a TABLE.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close