Professional Documents
Culture Documents
Release 7.2
IBM Netezza
Release 7.2
Note
Before using this information and the product it supports, read the information in “Notices” on page A-1
Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-3
This equipment was tested and found to comply with the limits for a Class A
digital device, according to Part 15 of the FCC Rules. These limits are designed to
provide reasonable protection against harmful interference when the equipment is
operated in a commercial environment. This equipment generates, uses, and can
radiate radio frequency energy and, if not installed and used in accordance with
the instruction manual, might cause harmful interference to radio communications.
Operation of this equipment in a residential area is likely to cause harmful
interference, in which case the user is required to correct the interference at their
own expense.
Properly shielded and grounded cables and connectors must be used to meet FCC
emission limits. IBM® is not responsible for any radio or television interference
caused by using other than recommended cables and connectors or by
unauthorized changes or modifications to this equipment. Unauthorized changes
or modifications might void the authority of the user to operate the equipment.
This device complies with Part 15 of the FCC Rules. Operation is subject to the
following two conditions: (1) this device might not cause harmful interference, and
(2) this device must accept any interference received, including interference that
might cause undesired operation.
Responsible manufacturer:
Dieses Gerät ist berechtigt, in Übereinstimmung mit dem Deutschen EMVG das
EG-Konformitätszeichen - CE - zu führen.
Verantwortlich für die Einhaltung der EMV Vorschriften ist der Hersteller:
IBM Deutschland
Technical Regulations, Department M456
IBM-Allee 1, 71137 Ehningen, Germany
Telephone: +49 7032 15-2937
Email: tjahn@de.ibm.com
This product is a Class A product based on the standard of the Voluntary Control
Council for Interference (VCCI). If this equipment is used in a domestic
environment, radio interference might occur, in which case the user might be
required to take corrective actions.
This is electromagnetic wave compatibility equipment for business (Type A). Sellers
and users need to pay attention to it. This is for any areas other than home.
Install the NPS® system in a restricted-access location. Ensure that only those
people trained to operate or service the equipment have physical access to it.
Install each AC power outlet near the NPS rack that plugs into it, and keep it
freely accessible.
High leakage current. Earth connection essential before connecting supply. Courant
de fuite élevé. Raccordement à la terre indispensable avant le raccordement au
réseau.
Homologation Statement
This product may not be certified in your country for connection by any means
whatsoever to interfaces of public telecommunications networks. Further
certification may be required by law prior to making any such connection. Contact
an IBM representative or reseller for any questions.
If you are a new user of a Netezza appliance, or you are familiar with an older
Netezza system, review this content to familiarize yourself with the basics of the
Netezza systems.
Netezza hardware
An IBM Netezza appliance consists of a high-performance hardware platform and
optimized database query engine software that work together to support various
data analysis and business reporting features.
Within each rack are numerous components that work together to provide the
asymmetric massively parallel processing of the Netezza architecture. The key
hardware components include:
v Snippet blades (S-Blades), also called snippet processing units (SPUs)
v Hosts
v Storage arrays
The following figure summarizes the quarter-rack, half-rack, full rack, and
two-rack models. A four-rack model (not shown) is also available. For details about
models and availability, contact your Netezza sales representative.
The snippet processing functions are the responsibility of the S-Blade. The
dual-board component is in two slots of the S-Blade chassis. Each chassis can
contain up to seven S-Blades.
Note: There are references to both S-Blades and snippet processing units (SPUs)
within the Netezza software and documentation. The terms S-Blade and SPU are
synonymous and are often used interchangeably. The term SPU also refers to the
snippet processing functions of the S-Blade.
The Netezza Database Accelerator card contains the FPGA query engines, memory,
and I/O for processing the data from the disks where user data is stored. The
following figure shows the S-Blade for the N200x models.
In the N300x and N200x model family, each S-Blade contains a server blade
connected to a PCI-sidecar that contains two Netezza Database Accelerator cards
(DACs). Each DAC has a SAS/ HBA connection to the storage arrays; the SAS
cables connect from the ports on the front of the DACs to the disk enclosure ports
in the back of the rack.
Netezza hosts
The Netezza host server (host) is a Linux server that runs the IBM Netezza
software and utilities.
The host controls and coordinates the activity of the appliance. It conducts query
optimization; controls table and database operations; consolidates and returns
query results; and monitors the Netezza system components to detect and report
problems.
The host is a highly redundant, highly available, server. Most IBM PureData
System for Analytics systems have two hosts in a highly available (HA)
configuration. The rack-based models include a keyboard, video, mouse (KVM)
unit to give administrators at the Netezza appliance direct access to the host
operating system. In most cases, administrators who do not have physical access to
the appliance use remote connect applications to log in to the host over their
secure network and run commands.
Storage arrays
The storage arrays contain the disks that store the user data and related processing
files to support the query activity on the Netezza system.
In the N3001 and N2001 model families, each disk enclosure has 24 disks. There
are 12 disk enclosures in each full rack, or 6 enclosures in a half-rack model. In the
N3001 and N2001 families, each rack is one storage array. Each S-Blade uses two
For a one-rack model, this equation is 288 - 14 - 34, or 240 disks for user data. Each
disk holds approximately 200GB of user data, for a storage total of 48 TB.
Within each rack are numerous components that work together to provide the
asymmetric massively parallel processing of the Netezza architecture. The key
hardware components include:
v Snippet blades (S-Blades)
v Hosts
v Storage arrays
The following figure summarizes the quarter-rack, half-rack, full rack, and
two-rack models. A four-rack model (not shown) is also available. For details about
Figure 1-3. IBM PureData System for Analytics N200x systems: quarter, half, full, and
two-rack summary
The N1001 model family is an update to the IBM Netezza 1000 model family, with
the same architectural and interface specifications. The following figure
summarizes the N1001 single-rack models. For details about models and
availability, contact your Netezza sales representative.
Like the N2001 model family, the N1001 models also have two HA hosts to
support the Netezza software and system processing; one or two S-Blades chassis
to support the query processing and the Netezza Database Accelerator Cards; and
storage arrays that contain the disks for the user data and related query processing
files.
Each N1001 storage array contains either two or four disk enclosures, depending
upon the model. Each disk enclosure has 12 disks. For example, an N1001-005
system has one storage array with 48 disks. The combination of the S-Blade chassis
and its storage array is called a snippet processing array (SPA). Within each SPA,
two disks are reserved as spares which can be brought into service in the event of
a disk failure within the SPA.
Each Netezza C1000 rack has one S-Blade chassis that contains four S-blades. Each
rack also contains four storage arrays, which are called storage groups. Each
storage group contains a disk raid controller and two disk enclosures. The
controller and enclosures each contain 12 disks for a total of 36 disks per storage
group. For example, a Netezza C1000-8 system has eight storage groups with a
total of 144 disks. Two disks per storage group are reserved as spares, so the
C1000-8 system has 16 spare disks.
The Netezza 100 chassis is rack-mountable in any standard data center rack. You
can connect to and manage Netezza 100 over remote network connections just as
you can for other Netezza systems. The following figure shows a Netezza 100
system and its system components.
Netezza 100 systems operate similarly to other Netezza systems. They have an
S-Blade and storage arrays to run queries and store your databases and tables. You
use the same nz* commands to manage them and to do tasks such as database
backups. Since the Netezza 100-1 is a non-HA system, you do not use any
clustering and Heartbeat commands to manage it. You can run the same SQL
queries on the Netezza 100 system as on N1001 systems.
For example, the Netezza host uses the Red Hat Enterprise Linux (RHEL)
operating system (described in more detail in “Linux host operating system
requirements” on page 1-10), and it also has software to manage the Netezza
hardware devices and components, such as firmware, flash, and other applications.
These applications are preinstalled when you purchase a Netezza system; when the
system is installed onsite, Netezza installers help you to finalize the configuration
and system settings to connect the system into your data center environment.
Netezza software
If you have access to IBM Passport Advantage or the IBM Fix Central downloads
area, you can obtain the Netezza software packages and documentation.
In addition, the IBM Netezza software packages include firmware, host platform
software, and other appliance-related software packages that are used to update
the hardware and host components.
The Netezza software kits also include the Red Hat Enterprise Linux software,
which is the operating system for the Netezza system hosts.
Netezza also provides the IBM Netezza Performance Portal application that you
can install on the Netezza host or a separate Red Hat client system. The Netezza
Performance Portal interface provides detailed monitoring capabilities for your
Netezza systems. You can use the portal to answer questions about system usage,
workload, capacity planning, and overall query performance.
You can also install CLI clients that provide a subset of the Netezza commands
that you can use to access and manage the system. For details, see the client
installation instructions in the IBM Netezza System Administrator’s Guide.
For business intelligence and data integration applications, the Netezza ODBC or
JDBC driver, or OLE-DB provider, must be installed on the client systems to
communicate with the Netezza. For a description of the ODBC, JDBC, and OLE DB
support and how to install and configure them, see the IBM Netezza ODBC, JDBC,
and OLE DB Installation and Configuration Guide.
All the Netezza models (except Netezza 100) are HA systems, which means that
they have two host servers for managing Netezza operations.
Distributed Replicated Block Device (DRBD) is a block device driver that mirrors
the content of block devices (hard disks, partitions, logical volumes, and other
block devices) between the hosts. Netezza uses the DRBD replication only on the
/nz and /export/home partitions. As new data is written to the /nz partition and
the /export/home partition on the primary host, the DRBD software automatically
makes the same changes to the /nz and /export/home partition of the standby host.
For details about managing the HA solution, see the IBM Netezza System
Administrator’s Guide.
The IBM PureData System for Analytics N3001 models use RHEL version 6.5. The
IBM PureData System for Analytics N2002 models use RHEL version 6.4. IBM
PureData System for Analytics N2001 models use RHEL version 6.2. Earlier models
of Netezza appliances typically use RHEL version 5.7. Older systems might use
Restriction: Never patch or otherwise alter the Linux kernel or other Linux
binaries on your system unless Netezza directs you to do so. Netezza does not
support custom modifications of the kernel.
Netezza provides kernel updates when security updates, patches, or other service
packs become available for the operating system. Upgrade kits are also available to
upgrade the Linux operating systems. Netezza Support works with you to upgrade
and maintain your Netezza host operating system.
In addition to these default accounts, Heartbeat requires the following Linux user
and groups which are added automatically to each of the Netezza hosts during the
Heartbeat RPM installation:
v User: hacluster:x:750:750::/home/hacluster:/bin/bash
v Groups:
– hacluster:x:750:
– haclient:x:65:
Do not modify or remove the user or groups because those changes affect
Heartbeat and disrupt HA operations on the Netezza system.
As the admin user, you can create other database users and groups to grant and
manage access to the objects (such as databases, tables, and views) and
administration tasks (such as creating or dropping tables, deleting rows, and
creating users). Groups organize users with related roles or functions. Groups
make it easier to assign the same permissions to all the users by changing the
There is also a default database group called public. All users are automatically
assigned as members of the public group. You cannot delete the public group, or
remove users from it. This group grants all users the same privilege in one step.
In the following table, the references in the “Where to find more information”
column are to the IBM Netezza System Administrator’s Guide, unless otherwise
noted.
Table 1-3. Netezza common tasks
Category Description Command/Tool Where to find more information
Loading data Load data nzload See the IBM Netezza Data Loading
Guide.
Update data CREATE
EXTERNAL
TABLE
Unloading data Unload data CREATE See the IBM Netezza Data Loading
EXTERNAL Guide and the backup and restore
TABLE information in the IBM Netezza
System Administrator’s Guide.
nzbackup
Sessions Manage or view nzsession See the managing user content
sessions sections in the IBM Netezza System
Administrator’s Guide.
View sessions NzAdmin or
Web Admin tool
Terminate jobs nzsession abort
Change priorities nzsession
priority
Display session nzsession show
usage
Queries Display query nzstats See the statistics reference in the
table IBM Netezza System Administrator’s
Guide.
Query history See the query history section of
the IBM Netezza System
Administrator’s Guide.
Data Distribution View Data NzAdmin or See the managing user content
Distribution Netezza sections of the IBM Netezza System
Performance Administrator’s Guide.
Portal
For more information about the nzsql command options, see the IBM Netezza
Database User’s Guide.
Table 1-6. Commonly used nzsql command options
Option Description
-A Use unaligned table output mode.
You can combine this option with -t to dump the contents of a table.
For high volume output, use an external table.
-t Print rows only.
-f filename Run queries from a file, then exit.
-o filename Send query output to file name.
-c query Run only single query or slash command, then exit.
-E Display queries that internal commands generate.
-F string Set the field separator. The default is a vertical bar '|'.
-x Enable expanded table output.
-h Display help.
SQL commands
This topic lists a subset of the IBM Netezza SQL commands.
For more information about particular commands, see the IBM Netezza Database
User’s Guide.
Table 1-8. Netezza SQL commands
ALTER AGGREGATE CREATE DATABASE DROP HISTORY SET AUTHENTICATION
ALTER CATEGORY CREATE EXTERNAL TABLE CONFIGURATION SET CATALOG
ALTER COHORT CREATE FUNCTION DROP PROCEDURE SET CONNECTION
ALTER DATABASE CREATE GROUP DROP KEYSTORE SET HISTORY
ALTER FUNCTION CREATE HISTORY DROP LIBRARY CONFIGURATION
ALTER GROUP CONFIGURATION DROP SCHEMA SET SCHEMA
ALTER HISTORY CREATE PROCEDURE DROP SECURITY LEVEL SET SESSION
CONFIGURATION CREATE KEYSTORE DROP SEQUENCE SET SYSTEM DEFAULT
ALTER PROCEDURE CREATE LIBRARY DROP SYNONYM SET TRANSACTION
ALTER KEYSTORE CREATE MATERIALIZED VIEW DROP TABLE SHOW
ALTER LIBRARY CREATE SCHEMA DROP USER SHOW AGGREGATE
ALTER SCHEMA CREATE SECURITY LEVEL DROP VIEW SHOW AUTHENTICATION
ALTER SECURITY LEVEL CREATE SEQUENCE EXECUTE SHOW CATEGORY
ALTER SEQUENCE CREATE SYNONYM EXECUTE AS SHOW COHORT
ALTER SESSION CREATE TABLE EXECUTE PROCEDURE SHOW CONNECTION
ALTER SYNONYM CREATE TABLE AS EXPLAIN SHOW CRYPTO KEY
ALTER TABLE CREATE USER EXTRACT SHOW FUNCTION
ALTER USER CREATE VIEW GENERATE STATISTICS SHOW HISTORY
ALTER VIEW DELETE GRANT CONFIGURATION
BEGIN DROP AGGREGATE GROOM TABLE SHOW KEYSTORE
CALL DROP CATEGORY INSERT SHOW LIBRARY
COMMENT DROP COHORT RESET SHOW PROCEDURE
COMMIT DROP CONNECTION REVERT SHOW SECURITY LEVEL
CREATE AGGREGATE DROP CRYPTO KEY REVOKE SHOW SYSTEM DEFAULT
CREATE CATEGORY DROP DATABASE ROLLBACK TRUNCATE
CREATE COHORT DROP FUNCTION SELECT UPDATE
CREATE CRYPTO KEY DROP GROUP SET USER
The following table lists the differences among the backup and restore methods.
Get help
Review the following topics for more information about the IBM Netezza user
guides, how to use online help, and how to contact Netezza Support for assistance.
See the Knowledge Center for more information about the Netezza Platform
Software, database, and appliance information.
The user guides are not installed by default on the Netezza host; however, the IBM
Netezza Software Upgrade Guide describes how to manually copy the PDF files to a
network location to make the guides available inside your network to your users.
Online help
IBM Netezza documentation includes online help for the administration user
interfaces and commands.
You can view online help for a Netezza CLI command by entering the command
followed by -h. Sample command help follows:
nzsystem -h
Usage: nzsystem [-h|-rev] [-hc] <subcmd> [<subcmd options>]
Options:
-h or -? or --help display this help
-[rR]ev or -V print the software revision of this program
-hc display help for <subcmd>
Subcommands:
showState show the overall system state (default)
showRev show the system’s software revision
showRegistry show the system’s configuration registry
showIssues show the issues with system
offline take the system offline
pause pause the system
restart stop and then automatically start the system
resume bring the system back online
stop stop the system
synchronize push the system in Synchronized Now state
set configure system setting(s)
IBM may not offer the products, services, or features discussed in this document in
other countries. Consult your local IBM representative for information on the
products and services currently available in your area. Any reference to an IBM
product, program, or service is not intended to state or imply that only that IBM
product, program, or service may be used. Any functionally equivalent product,
program, or service that does not infringe any IBM intellectual property right may
be used instead. However, it is the user's responsibility to evaluate and verify the
operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter
described in this document. The furnishing of this document does not grant you
any license to these patents. You can send license inquiries, in writing, to: This
information was developed for products and services offered in the U.S.A.
For license inquiries regarding double-byte (DBCS) information, contact the IBM
Intellectual Property Department in your country or send inquiries, in writing, to:
The following paragraph does not apply to the United Kingdom or any other
country where such provisions are inconsistent with local law:
INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS
PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS
FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or
implied warranties in certain transactions, therefore, this statement may not apply
to you.
Any references in this information to non-IBM Web sites are provided for
convenience only and do not in any manner serve as an endorsement of those Web
sites. The materials at those Web sites are not part of the materials for this IBM
product and use of those Web sites is at your own risk.
IBM may use or distribute any of the information you supply in any way it
believes appropriate without incurring any obligation to you.
IBM Corporation
Software Interoperability Coordinator, Department 49XA
3605 Highway 52 N
Rochester, MN 55901
U.S.A.
The licensed program described in this document and all licensed material
available for it are provided by IBM under terms of the IBM Customer Agreement,
IBM International Program License Agreement or any equivalent agreement
between us.
All statements regarding IBM's future direction or intent are subject to change or
withdrawal without notice, and represent goals and objectives only.
All IBM prices shown are IBM's suggested retail prices, are current and are subject
to change without notice. Dealer prices may vary.
This information contains examples of data and reports used in daily business
operations. To illustrate them as completely as possible, the examples include the
names of individuals, companies, brands, and products. All of these names are
fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.
COPYRIGHT LICENSE:
© your company name) (year). Portions of this code are derived from IBM Corp.
Sample Programs.
If you are viewing this information softcopy, the photographs and color
illustrations may not appear.
Trademarks
IBM, the IBM logo, ibm.com® and Netezza are trademarks or registered trademarks
of International Business Machines Corporation in the United States, other
countries, or both. If these and other IBM trademarked terms are marked on their
first occurrence in this information with a trademark symbol (® or ™), these
symbols indicate U.S. registered or common law trademarks owned by IBM at the
time this information was published. Such trademarks may also be registered or
common law trademarks in other countries. A current list of IBM trademarks is
available on the web at "Copyright and trademark information" at
http://www.ibm.com/legal/copytrade.shtml.
Microsoft, Windows, Windows NT, and the Windows logo are trademarks of
Microsoft Corporation in the United States, other countries, or both.
UNIX is a registered trademark of The Open Group in the United States and other
countries.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other
names may be trademarks of their respective owners.
Red Hat is a trademark or registered trademark of Red Hat, Inc. in the United
States and/or other countries.
D-CC, D-C++, Diab+, FastJ, pSOS+, SingleStep, Tornado, VxWorks, Wind River,
and the Wind River logo are trademarks, registered trademarks, or service marks
of Wind River Systems, Inc. Tornado patent pending.
APC and the APC logo are trademarks or registered trademarks of American
Power Conversion Corporation.
Notices A-3
A-4 IBM Netezza Getting Started Tips
Printed in USA