To find the history of NPS upgrades on your server, run the following command:
$more /nz/.versions/versionhistory
Here's an example of the output you might see:
Note that the latest version of Netezza is V7.2.1 according to the IBM website: IBM Netezza Release Notes
This article will guide you on how to check the history of Netezza versions that have been installed or upgraded in your system. Knowing the version history is essential for understanding the features, fixes, and compatibility of your Netezza environment.
You can use SQL queries to view the history of installed and upgraded versions of Netezza. Here's a step-by-step guide:
$ nzsys -u username -p password -h hostname -d database_name
SELECT install_time, version FROM netezza.nz_system_version WHERE is_current = 1 ORDER BY install_time DESC;
This query will return the most recent Netezza version that is currently in use and its installation time. If you want to see all versions, including those that are not current, remove the WHERE clause.
The Netezza CLI also provides a way to check the history of installed and upgraded versions. Here's how:
$ nzcli -u username -p password -h hostname -d database_name
show system-version detail
This command will return a detailed output of all installed and upgraded versions of Netezza, along with their installation times.
Method | Advantages | Disadvantages |
---|---|---|
SQL Query | Allows for filtering of current versions only, and can be used in other SQL queries. | Requires SQL knowledge and may not provide a detailed view of all installed versions. |
Netezza CLI | Provides a detailed view of all installed and upgraded versions, no SQL knowledge required. | May require more effort to filter or parse the output for specific information. |