A step-by-step overview of database setup

Creating an IQ database is part of a larger setup process that begins with installation and ends when your database is available to users. This section summarizes the steps in setting up an IQ database and the objects in it.

StepsSetting up an IQ database

  1. Install and configure Sybase IQ.

    This step installs the client and server environment and the iqdemo database. See the Installation and Configuration Guide for your platform for details.

  2. Create an IQ database.

    This step creates both the IQ store and the catalog store. You may use either Sybase Central or the CREATE DATABASE statement.

    For Sybase Central (the easiest way to use multiplex capability), see “Using Sybase Central to create an IQ database”.

    For CREATE DATABASE instructions, see “Creating a database with SQL”.

  3. Create the tables in your IQ database.

    Use the CREATE TABLE statement or the Sybase Central table editor. See “Working with tables”

  4. Create indexes for the tables.

    Use the CREATE INDEX statement or the Sybase Central Index Wizard. You can also create certain indexes automatically when you create your tables. See Chapter 6, “Using Sybase IQ Indexes.”

  5. Load data into the tables.

    Use the LOAD TABLE statement to bulk load data from files, or use the INSERT statement to extract rows of data from an existing database. See Chapter 7, “Moving Data In and Out of Databases.”.