Different Methods to Display Netezza Table Statistics

IBM Netezza or Puredata Systems uses the cost based optimizer to determine best methods determine redistribution, scan, join, join orders. Optimizer uses statistics to generate optimal execution plan. You need collect statistics on tables or databases regularly. In my other post, Netezza Generate Statistics: A Guide and Best Practices, we have discussed some of best practices to generate statistics on Netezza tables. In this post, we will discuss different methods to display Netezza table statistics with some examples. What Are Table Statistics? Tables statistics are nothing but information about each column…

Continue ReadingDifferent Methods to Display Netezza Table Statistics
Comments Off on Different Methods to Display Netezza Table Statistics

Netezza nzstats Command and Usage

The Netezza nzstats command allows you to view sets of related operational information that is, statistics on the tables. These sets are organised as groups of related statistics or tables that contain rows of related statistics. The statics are very much important in Netezza appliances. System uses the up-to-date stat information to plan and execute the queries. Netezza appliance works better if the system catalog tables have up-to-date stats. Displaying System Statistics using Netezza nzstats Command The Netezza nzstats command displays operational statistics about system capacity, system faults, and system…

Continue ReadingNetezza nzstats Command and Usage
Comments Off on Netezza nzstats Command and Usage

Netezza Best Practices to Improve Performance

Today there is a increased demand in advanced analytics on big data. Netezza is designed with built in functionalities to perform advanced analytics on really big data sets. To improve the performance, you should follow some Netezza best practices. Best practice should not mean hundreds of rules and regulations to follow. Recommended that basic principles are followed on following features of Netezza: Distribution Data types Statistics Zone maps Clustered base tables Groom table command Netezza Best Practices on Distributions In a Netezza data warehouse appliance good distribution is fundamental element…

Continue ReadingNetezza Best Practices to Improve Performance
Comments Off on Netezza Best Practices to Improve Performance

Netezza Generate Statistics: A Guide and Best Practices

Netezza uses the cost based optimizer to determine best methods determine redistribution, scan, join, join orders. The optimizer uses statistics information to determine the most efficient way to run a query. System uses the Netezza GENERATE STATISTICS command to generate information about each column proportion of the duplicate values,unique values, NULL values and the maximum and minimum values. How Statistics are collected? Netezza system collects statistics in various ways: Statistics are automatically generated for certain database operations Collect full statistics by running Netezza GENERATE STATISTICS command. This operation is required when table changes significantly, say…

Continue ReadingNetezza Generate Statistics: A Guide and Best Practices
Comments Off on Netezza Generate Statistics: A Guide and Best Practices