Configuring automatic ANALYZE after LOAD HADOOP
You can change the behavior of the ANALYZE command after a LOAD HADOOP statement by setting the biginsights.stats.auto.analyze.post.load property to ONCE, DEFERRED, NEVER, or ALWAYS, either as a session variable or as a system-wide property. The default value of biginsights.stats.auto.analyze.post.load is ONCE.
Before you begin
- ONCE
- Specifies that ANALYZE is to be run after a load operation completes if an ANALYZE command has never been run against the specified table. This is the default.
- DEFERRED
- Specifies that ANALYZE is to be queued to run later if an ANALYZE command has never been run against the specified table.
- NEVER
- Specifies that ANALYZE is never to be run after a load operation completes.
- ALWAYS
- Specifies that ANALYZE is always to be run after a load operation completes.
Procedure
To set the biginsights.stats.auto.analyze.post.load property as a session variable, complete the following step:
To set the biginsights.stats.auto.analyze.post.load property as a system-wide property, complete the following steps: