Configuring automatic ANALYZE after HCAT_SYNC_OBJECTS
You can change the behavior of the ANALYZE command after an HCAT_SYNC_OBJECTS call by setting the biginsights.stats.auto.analyze.post.syncobj property to DEFERRED, NEVER, or COPYHIVE, either as a session variable or as a system-wide property. The default value of biginsights.stats.auto.analyze.post.syncobj is DEFERRED.
Before you begin
- DEFERRED
- Specifies that Hive statistics are to be copied after an HCAT_SYNC_OBJECTS procedure completes, and that ANALYZE is to be queued to run later if an ANALYZE command has never been run against the specified table. This is the default.
- NEVER
- Specifies that ANALYZE is never to be run after an HCAT_SYNC_OBJECTS procedure completes.
- COPYHIVE
- Specifies that Hive statistics are to be copied after an HCAT_SYNC_OBJECTS procedure completes.
Procedure
To set the biginsights.stats.auto.analyze.post.syncobj property as a session variable, complete the following step:
To set the biginsights.stats.auto.analyze.post.syncobj property as a system-wide property, complete the following steps: