Is there any function available like Generate Statistics in Netezza to generate the column metadata (duplicates, unique values, min value, max value etc) in snowflake.
No, not really.
You have the TABLES
View which contains size(storage) and number of rows,
but the rest of the information (including the COLUMNS
View ) is related to schema metadata and not data metadata.
On the other hand the table structure itself (aka micro-partitions ) contains table metadata that makes eg MIN()
and MAX()
functions very efficient. Some of the table statistics may be cached globally (ie in the Cloud Services part of the Snowflake architecture )
Thank you for the question on stats gathering in Snowflake. Some information:
All these auto-magic features happen without user manual intervention (hence why Snowflake is known as a self-tuning, simple to use, data warehousing platform).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.