Applying indexes to the IQ database tables  Editing the .bat files

Chapter 2: Database Setup for Risk Analytics Platform

Loading the IQ sample data

Risk Analytics Platform provides sample data as a set of .csv files, which you can load on both UNIX and Windows systems.

To run the data load script files, you must have the Sybase IQ 12.6 client tools on your system. You can run the .bat and .tst files (discussed in the following sections) on your client system. Note that the client and server can be on the same machine.

All of the files needed to complete the IQ database setup and load the sample data are located in subfolders of the \Data and \Scripts folders.

Some of the .csv files are contained in WinZip .zip files. You must unzip these files, then copy all of the .csv files to the server machine. If you are creating the IQ database on a UNIX server, copy the \Data\RAP_Output folder and its contents to the UNIX directory where you start the IQ server. You can FTP these files from Windows to the UNIX machine.

NoteNote The .csv files, which contain the sample data, must be transferred in an ASCII format to the UNIX server machine.

The .csv files must be in the same location (folder or directory) as the Sybase IQ database files and the directory from which the Sybase IQ server is started.

You use four types of files to complete the database setup, load the sample data, and create the IQ indexes.

Before you can run any of the scripts, you must edit both the .bat and .tst files to correspond to the sample database you created.





Copyright © 2005. Sybase Inc. All rights reserved. Editing the .bat files

View this book as PDF