Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 12-31-2015 10:50 AM
What does the warning mean?
I have a table having two level partitions like yearmonth and name_prefix.
Every month, I add new data with new yearmonth partition.
Once ETL is finished, I run `COMPUTE INCREMENTAL STATS`.
It takes about 2hr and it seems to take longer and longer.
Based on what I read, `COMPUTE INCREMENTAL STATS` only need to gather statistics for the partitions having false value for `Incremental stats`.
However, the time I spend for running `COMPUTE STATS` and `COMPUTE INCREMENTAL STATS` is very similar.
Am I missing anything?
Thank you
Gatsby
+---------------------------------------------+ | summary | +---------------------------------------------+ | Updated 1372 partition(s) and 29 column(s). | +---------------------------------------------+ WARNINGS: Too many partitions selected, doing full recomputation of incremental stats Fetched 1 row(s) in 5871.22s
Created 01-04-2016 04:47 PM
See my response in the other thread:
Created 01-04-2016 04:47 PM
See my response in the other thread:
Created 01-04-2016 05:18 PM
Created 01-31-2017 04:36 PM
FYI, `COMPUTE STATS` can run with first level partition.