If you are tasked with installing and configuring the
database, here is a list of steps to be taken:
- An IBM® Netezza® appliance (the server)
must be available.
- Install the IBM
Netezza client software
with the IBM Netezza ODBC driver on the application server.
- Create an IBM
Netezza database with the
nzsql utility.
You must connect to the "system"
database:
$ nzsql -h hostname system username password
- Create your database with the following SQL command:
CREATE DATABASE mydatabase
Note: The default character set for CHAR/VARCHAR
types will be latin9.
Unicode/UTF-8 character string data must be stored in NCHAR/NVARCHAR
columns.
- Create a database user dedicated to the administration
of the new database and grant privileges:
CREATE USER myadmin WITH PASSWORD 'password' ...
GRANT ALL PRIVILEGES on mydatabase TO myadmin;
GRANT ALL ADMIN TO myadmin;
- Create the application tables.
- If you plan to use the SERIAL emulation, you must prepare
the database.