Manual Sybase
Manual Sybase
Sybase IQ
12.6
[ LINUX ]
Contents
CHAPTER 1
CHAPTER 2
26
30
33
36
37
37
37
38
38
39
39
39
CHAPTER 3
25
35
iii
Contents
CHAPTER 4
40
40
40
41
41
42
45
46
46
Index ............................................................................................................................................. 65
iv
Sybase IQ
Installing Sybase IQ
Audience
The following table shows which chapters fit a particular interest or need.
Table 1: Guide to using this book
To do this...
Install Sybase IQ for the first time
Related documents
See...
Chapter 1
Chapter 2
Migrate data
Configure Sybase IQ after installation
Chapter 3
Chapter 4
Introduction to Sybase IQ
Read and try the hands-on exercises if you are unfamiliar with Sybase
IQ, with the Sybase Central database management tool.
vi
Sybase IQ
You can also refer to the Adaptive Server Anywhere documentation in the SQL
Anywhere Studio 9.0.1 collection on the Sybase Product Manuals Web site. To
access this site, go to Product Manuals at
http://www.sybase.com/support/manuals/.
Other sources of
information
Use the Sybase Getting Started CD, the SyBooks CD, and the Sybase Product
Manuals Web site to learn more about your product:
The Sybase Product Manuals Web site is an online version of the SyBooks
CD that you can access using a standard Web browser. In addition to
product manuals, you will find links to EBFs/Maintenance, Technical
Documents, Case Management, Solved Cases, newsgroups, and the
Sybase Developer Network.
To access the Sybase Product Manuals Web site, go to Product Manuals at
http://www.sybase.com/support/manuals/.
vii
Sybase certifications
on the Web
Select a product name from the product list and click Go.
Select the Certification Report filter, specify a time frame, and click Go.
Set up a MySybase profile. MySybase is a free service that allows you to create
a personalized view of Sybase Web pages.
1
viii
Select a product.
Sybase IQ
Padlock icons indicate that you do not have download authorization for
certain EBF/Maintenance releases because you are not registered as a
Technical Support Contact. If you have not registered, but have valid
information provided by your Sybase representative or through your
support contract, click Edit Roles to add the Technical Support Contact
role to your MySybase profile.
5
Typographic
conventions
Click the Info icon to display the EBF/Maintenance report, or click the
product description to download the software.
emphasis
file names
database objects
The sample
database
Description
SQL and program code is displayed in a mono-spaced
(fixed-width) font.
Text entered by the user is shown in bold serif type.
Emphasized words are shown in italic.
File names are shown in italic.
Names of database objects, such as tables and procedures,
are shown in bold, san-serif type in print, and in italic
online.
Accessibility
features
ix
For information about accessibility support in the Sybase IQ plug-in for Sybase
Central, see Using accessibility features in Introduction to Sybase IQ. The
online help for this product, which you can navigate using a screen reader, also
describes accessibility features, including Sybase Central keyboard shortcuts.
Note You might need to configure your accessibility tool for optimal use.
Some screen readers pronounce text based on its case; for example, they
pronounce ALL UPPERCASE TEXT as initials, and MixedCase Text as
words. You might find it helpful to configure your tool to announce syntax
conventions. Consult the documentation for your tool and see Using screen
readers in Introduction to Sybase IQ.
For information about how Sybase supports accessibility, see Sybase
Accessibility at http://www.sybase.com/accessibility. The Sybase Accessibility
site includes links to information on Section 508 and W3C standards.
For a Section 508 compliance statement for Sybase IQ, go to Sybase
Accessibility at http://www.sybase.com/products/accessibility.
If you need help
Each Sybase installation that has purchased a support contract has one or more
designated people who are authorized to contact Sybase Technical Support. If
you cannot resolve a problem using the manuals or online help, please have the
designated person contact Sybase Technical Support or the Sybase subsidiary
in your area.
Sybase IQ
CH A PTE R
Installing Sybase IQ
Topics
Page
2
System requirements
Adjusting the operating system configuration
5
9
10
11
12
19
Sybase IQ
For full Sybase Central functionality, Sybase IQ may require the Java Runtime
Environment. You may also need to upgrade the version of the Sybase Central
toolkit on your system. Review Table 1-1 before you install.
Table 1-1: Plug-in compatibility with Sybase IQ installed products
Plug-in
Sybase IQ
IQ 126
IQ 125
Mixed-mode multiplex
Sybase
Central Toolkit
Agent
JRE
4.3 or later
required
126 Agent
required
142
required
3.2 required
125 Agent
required
122
required
(131 on
Linux)
Any multiplex where all servers are not at the same version is mixed-mode
multiplex. Upgrading Sybase IQ from version 12.5 to 12.6, for example,
typically results in a mixed-mode multiplex for a short period.
The following operations are not recommended on mixed-mode multiplexes:
Running multiple IQ
Agents
Sybase IQ
CHAPTER 1
Installing Sybase IQ
To convert 12.5 multiplex databases to 12.6, you first must convert each query
server to 12.6. After all query servers are converted, you must install the 12.6
IQ Agent on the write server and convert the write server to 12.6. (If desired,
you may run a 12.5 IQ Agent and the 12.6 IQ Agent on the same machine, as
long as the agent version matches that of the connected server, and each has its
own port number.)
To install a standalone 12.6 IQ Agent on a 12.5 Sybase IQ server, use the
sybinstall parameter -add_agent. See Installing the standalone IQ Agent on
Sybase IQ 12.6 does not support existing LONG BINARY columns created using
any release prior to Sybase IQ 12.5 ESD8. You must explicitly drop LONG
BINARY columns before installing 12.6, and recreate them after installing. For
details, see the appendix Upgrading existing LONG BINARY columns in the
manual Large Objects Management in Sybase IQ.
Preserving check
constraints before
database upgrade
You need not repeat this procedure for 12.6 ESD releases.
To avoid errors:
1
To find existing table data that violates a given constraint, create a query. For
example, to find data that violates the constraint C1 < 15, run the following
query:
SELECT COUNT(*) FROM TABLE x WHERE NOT(C1 < 15)
Sybase provides two special stored procedures to help you remove and recreate
constraints. These stored procedures are located in the scripts subdirectory of
$ASDIR. Run these procedures, if desired, before upgrading each database:
After you run ALTER DATABASE UPGRADE on each database, run the
command script or scripts to recreate constraints.
For example, the following commands create the table rental, with a check
constraint to validate that the date_returned is later than the date borrowed.
CREATE TABLE rental (
date_borrowed DATE NOT NULL,
date_returned DATE,
title CHAR(20)
REFERENCES titles (id_num),
CHECK( date_returned >= date_borrowed )
)
Sybase IQ
CHAPTER 1
Installing Sybase IQ
You can update the Sybase SDK (Open Client) as future versions become
available, provided that you set the INSTALL_ALL_PATCH environment
variable before installing the update.
To set the variable using the csh or C shell:
setenv INSTALL_ALL_PATCH "Y"
System requirements
Note You must install the correct operating system patches required to run
Sybase IQ. See the Sybase IQ Release Bulletin for system requirements and
lists of required patches.
Red Hat Enterprise Linux 3 provides three ways to boot your system on Linux
32-bit versions. For the full benefits of Sybase IQ, install and boot your system
with the hugemem kernel, which increases the process size and available
memory for caches. For details, see the Red Hat Enterprise Linux AS3 Release
Notes.
There are no special patch requirements for Red Hat Enterprise Linux 64-bit
versions.
Before you begin the installation process, make sure you have enough disk
space and RAM for the installation.
To install and run Sybase IQ 12.6 on Linux, you need:
Table 1-2: Configuration recommendations
System Requirement
Disk space to install and run Sybase IQ
Disk space to install Open Client
Developers Kit 12.5.1
Disk space to install Sybase Central Java
Edition 4.3
Disk space to install jConnect 5.5
Recommendation for
Linux on IBM POWER
304MB
297MB
410MB
430MB
4MB
2MB
17MB
16MB
System requirements
Recommendation for
Linux on IBM POWER
17MB
68MB
60MB
Site dependent
At least 1GB dedicated to Sybase IQ
Site dependent
At least 1GB dedicated to
Sybase IQ
Processor
System Requirement
Disk space to install jConnect 6.0
Note Table 1-2 lists minimum requirements. Add more resources for larger
numbers of active users.
Sybase Central Java Edition is a graphical administration tool for managing
certain Sybase products, including IQ databases. When you install Sybase IQ,
you also install the Sybase IQ plug-in, which enables Sybase Central to manage
IQ databases.
To install and run the Sybase IQ plug-in and Sybase Central Java Edition as a
Linux client, you need:
Table 1-3: Configuration recommendations for Sybase Central
System requirement
Processor
Recommendation
Pentium 400 MHz or greater
Resolution
800x600x256
Note The tables list minimum requirements. For larger numbers of active
Disk space
Use the df -k (local disk free) command to see space available on your current
device in kilobytes:
% df -kl .
Sybase IQ
CHAPTER 1
Installing Sybase IQ
Compare the available disk space information from your machine to the
required disk space requirements.
Here is sample output from a df -kl command on a Linux system:
Filesystem
/dev/sda6
1k-blocks
5344528
Used
Available
Use%
2306520
2766512
45%
Mounted on
/
/dev/sda1
54416
8770
42837
17%
/boot
/dev/sda5
10080488
6393224
3175196
67%
/syz2_d1
/dev/sdb1
10080092
749828
8818216
8%
/syz2_d2
/dev/sdb5
7422328
36
7045256
0%
/syz2_d3
The Available column shows the amount of disk space available on each
file system.
RAM
The recommended minimum RAM is 1GB.
To check the random access memory (RAM) available, use the following
command:
$ cat /proc/meminfo
total:
used:
free: shared: buffers: cached:
Mem:4084117504 395767808 3688349696 59658240 319209472
34263040
Swap: 2097405952
626688 2096779264
MemTotal:
3988396 kB
MemFree:
3601904 kB
MemShared:
58260 kB
Buffers:
311728 kB
Cached:
33460 kB
BigTotal:
3112956 kB
BigFree:
3099904 kB
SwapTotal
2048248 kB
SwapFree:
2047636 kB
Swap space
Certain operations may cause the memory used by Sybase IQ to grow
dynamically. Changing the way Sybase IQ uses buffers can dramatically
change the way it uses memory. See the chapter Managing System
Resources in the Sybase IQ Performance and Tuning Guide for more
information about buffers.
Depending upon the load on the system where the Sybase IQ executable is
running, swap requirements may exceed space allotted. Insufficient swap space
may result in the system supporting fewer users, and large processes that
cannot acquire sufficient swap space may be prematurely killed by the
operating system.
See your operating system documentation for information about extending
swap space.
Sybase IQ is compiled and linked with the Visual Age compiler, xlc
version 7.0. Before installing Adaptive Server, the runtime libraries for the
Visual Age compiler must be installed on your system.
Check to see if the Visual Age runtime packages have been installed
previously, by running:
rpm -q vacpp.rte-7.0.0
Sybase IQ
CHAPTER 1
Installing Sybase IQ
Installing kernel
patches
See the Sybase IQ Release Bulletin for a list of any patches required to run
Sybase IQ.
Setting kernel
parameters
Sybase recommends that you set the number of available semaphore identifiers
to at least 4096.
Use this command to display the current values of the semaphore kernel
parameters:
cat /proc/sys/kernel/sem
250 32000 32 128
To adjust these values, edit the /etc/sysctl.conf file. Setting values in this file
saves them for future reboots. For example, to increase the maximum number
of semaphore identifiers to 4096, add the following line:
kernel.sem = 250 32000 32 4096
Make sure that you leave spaces around the equals sign.
To make a change that only lasts until the next reboot, use this command:
echo 250 2000 32 4096 > /proc/sys/kernel/sem
where host is the computer you are currently using. For example, if the
host is called tahoe, enter:
% telnet tahoe
This should give you a login prompt for the same machine you are
currently using, for example:
login:
Note If telnet does not allow you to log in, there is a problem with your
Check that you can log in over the network, then log out.
Use either rsh to open a remote shell or ping the system from another
machine. For example, to check the system tahoe:
% rsh tahoe
% ping tahoe
10
Sybase IQ
CHAPTER 1
Installing Sybase IQ
A file for temporary IQ data, for sorting and other internal uses
(filename.IQTMP)
A file for system information and your database schema, called the
Catalog Store (filename.DB)
Each database file is called a dbspace. You may need to create additional
dbspaces for your IQ data. Depending on your query needs, you may need
more dbspaces for temporary data as well.
Note Wherever the server is started is the default directory for all database files
You can put a database filethat is, a dbspacein either a file system file or
a raw partition.
In a production environment, for some applications that use databases on
UNIX servers, raw partition installations may provide increased processing
performance. File systems, on the other hand, make it easier to manage your
devices.
A raw partition can hold only one dbspace. The size of the dbspace is the size
of the raw partition. However, you can add up to 2047 dbspaces, as many as
you need to hold your database, as long as each is stored on a different raw
partition. You cannot store anything besides a main or temporary dbspace on
the raw partition.
11
Transaction log
Message log
Only a small amount of information goes to the IQ message log. The default
filename extension for this file is.iqmsg. For a minor performance boost, store
the message log separately from the data files. A message log cannot be on a
raw partition.
Sybase IQ 12.6
Sybase Central Java Edition viewer 4.3 (the graphical administration tool)
and the latest plug-in for Sybase IQ. For details about using Sybase
Central, see its online help or Introduction to Sybase IQ.
The Sybase jConnect JDBC Driver, version 5.5. The installation includes
a recent EBF. If you install the jConnect driver, Java classes installed into
a database can make JDBC calls to access and modify data. You need
TCP/IP to use the jConnect driver.
The Sybase jConnect JDBC Driver version 6.0 is optionally available, but
Sybase IQ requires jConnect 5.5 in order to work with Sybase Central and
other java components. If you install jConnect 6.0 without installing 5.5,
Sybase IQ functionality will be incomplete.
12
Sybase IQ
CHAPTER 1
Installing Sybase IQ
You may deselect unneeded components before installing, except for Open
Client, which is required.
Warning! If you have an existing version of Open Client on your system,
installing Open Client will add missing Open Client files and overwrite older
files.
Unmount the CD
If your CD has been set up for auto-mount, you must get the absolute
pathname for this device from the System Administrator. In this case,
change directory to this specified directory and skip to the procedure titled
To prepare the installation directory on the following page. Otherwise
follow all the steps to load the Sybase IQ software from a CD.
Create a subdirectory of the root directory where you will mount the CD,
if one does not already exist. For example:
% cd /
% mkdir /cdrom
If your system does not auto-mount, mount the CD with a command like
the following:
% mount device_name /cdrom
where device_name is the name of the CD drive and /cdrom is the name of
the directory where the CD will be mounted.
6
13
Log on as the sybase user. This command logs into system storm:
% rlogin -l sybase storm
Run the disk free command to verify that the directory location for the
Sybase installation directory is in a UNIX file system with enough space
to accommodate the software.
df -k .
For the tcsh or C (csh) shell, add this line to the .cshrc file:
setenv SYBASE /work/server
For the bash or Korn (ksh) shell, add this line to the .profile file:
SYBASE=/work/server;
export SYBASE
14
Use the ls -la command to verify that you have permission to read, write
and execute in the Sybase installation directory.
Sybase IQ
CHAPTER 1
Installing Sybase IQ
Start the install utility, sybinstall. You can run this utility as series of menus
with prompts or bypass menus using the sybinstall command line
parameters.
Table 1-4: Command parameters for sybinstall utility
Parameter
Function
-autoinstall
-help
-I_accept_sybase_license
-info|version
-y
The following command runs sybinstall with all menus and prompts, so
that you can choose the components installed.
% /cdrom/sybinstall
15
Type N to exit the install. Verify that the server or servers are shut
down before you continue.
Type the number that corresponds to the location where you are installing.
If the country where you are located is not listed, select the most
appropriate area (Americas (Mid/So.), Asia Pacific General, Europe,
Middle East, Africa General, or Other Locations).
The first screen of the License Agreement for your location displays.
Note If you dont find a license agreement that matches your location, or
if the license agreement is unreadable on your system, you can read all
available license agreements at the Sybase website at
http://www.sybase.com, and rerun sybinstall passing it the parameter
-I_accept_sybase_license. For example:
%/cdrom/sybinstall -I_accept_sybase_license
Press Return to scroll through the agreement until you reach the end where
a Y/N prompt displays.
Type Y to accept the license terms and continue the installation. If you
disagree with the terms of the license and type N, the installation
procedure quits.
The next script lists the amount of free space available in your $SYBASE
directory, and the amount of space required for the six products it installs.
Client 12.5.1 (or have it already installed) in order to start Sybase IQ.
If Adaptive Server Enterprise is on the same system as Sybase IQ, you
must maintain the environment for each product separately and correctly.
9
To deselect or change any of the installed products, type the option number
at the prompt.
For example, to deselect Sybase Central Java Edition, type 3.
Deselected products will not be installed.
16
Sybase IQ
CHAPTER 1
Installing Sybase IQ
You can only deselect one product per screen. The screen displays again
with the words Not Selected under the Install directory for each
deselected product. In this example, the installer has deselected Sybase
Central Java Edition.
Numbers 1 through 6 are toggle options. If you change your mind, type the
number of a deselected product to reselect it.
10 Check the Install Directory listed for each product to be installed. If the
installation does not default to the desired directory, type C and type the
target directory you prefer at the Enter new target directory prompt.
11 After selecting products, type S to start the installation.
Before installing files, sybinstall displays the Setup Utility Database
screen. The utility database (utility_db) never holds data. It is used in
special cases when the server needs a connected database but either no
database exists or none should be running, for example, when restoring a
database. Connecting to utility_db allows you only a narrow range of
specialized file manipulation statements: CREATE DATABASE, DROP
DATABASE, and RESTORE DATABASE. For more information, see
Utility database server security in Sybase IQ System Administration
Guide.
The ascii file that holds the login and password for this database is
$ASIQ_DIR/bin/util_db.ini. By default, the login is dba and the
password is sql. You can change the login and password by responding
to the prompt:
Do you want to change the current user and password
<Y/N>?
17
You must set certain environment variables to run the Open Client Developers
Kit, Sybase IQ, and/or utility programs. Sybase IQ installs environment files
that you can run to set variables.
If you plan to run Open Client and Sybase IQ on the same system, skip to Step
2.
1
needed to run Open Client and the variables needed to run any of the
administration utilities (dbisqlc, dbstop, etc.).
bash or Korn (ksh) shell users type:
%source $SYBASE/ASIQ-12_6/ASIQ-12_6.sh
18
Sybase IQ
CHAPTER 1
Installing Sybase IQ
Log on as the root user and unmount the CD (if you had to mount to
begin the installation):
% umount /cdrom
Log out.
To test Sybase IQ and read about the parameters required to start the product,
see Running Sybase IQ on page 19.
After installing the software, Sybase strongly recommends that you check the
online support Web site for software updates. If a software update (EBF) has
been released, it contains corrections made after this product shipped.
1
Select a product.
Click the Info icon to display the EBF/Maintenance report, or click the
product description to download the software.
Running Sybase IQ
Now you are ready to test your installation. This section tells how to start and
stop the server.
Starting the sample
database
To start the server, change to a directory where you have write privileges and
run the start_asiq utility, using the following command format:
start_asiq @configuration_filename.cfg dbname.db
19
Running Sybase IQ
This command starts the database and sets parameters named in the (optional)
configuration (.cfg) file.
Note If Adaptive Server Anywhere is installed on the same subnet as Sybase
IQ, you must change the default port number for IQ; both products use the
default port of 2638. First, set a new port number in the
$ASDIR\scripts\default.cfg file. Then update each IQ database configuration
file (for example, ASDIR\demo\asiqdemo.cfg) by changing the port number in
the following line:
-x tcpip{port=2638}
You can use a configuration file to specify options that you want to set
whenever you start your server. A configuration file for the sample database is
installed in the $ASDIR/demo directory as an example. For details about
configuration files, see Setting server configurations on page 61.
The directory where the server is started becomes the default directory for all
server files created by Sybase IQ.
For example, to start the sample database installed with the product, you could
use these commands:
% cd $ASDIR/demo
% start_asiq @asiqdemo.cfg asiqdemo.db
Note The server name must not start with a number.
Startup parameters
Startup information, which includes the version of Open Client in use, is saved
in the stderr log. Output from start_asiq ends with this line:
Server started successfully
20
Sybase IQ
CHAPTER 1
Installing Sybase IQ
If you start your server using any command other than start_asiq, or if your
configuration file is encrypted, you must specify the following parameters:
Table 1-5: Parameters set by start_asiq
Default
value
Description
48MB
20
all
all
-gp
10
4096
-ti
4400
Parameter
-c
-gc
-gd
-gl
-gm
On the start_asiq command line, the last option specified takes precedence, so
if you want to override your configuration file, list any options you want to
change after the configuration file name. For example:
start_asiq @asiqdemo.cfg -x 'tcpip{port=1870}'
asiqdemo.db
The server process runs in the background. It sends output to a server log file,
$ASLOGDIR/servername.NNN.srvlog where NNN is the number of times the
server has been started. For example, $ASLOGDIR/fiona.123.srvlog.
21
Running Sybase IQ
Hyperthreading
parameter
When hyperthreading is on (the default), any system call that requests the
number of threads returns twice the number of physical CPUs. Use the
-iqnumbercpus parameter to set the number of CPUs returned. You should set
this to the number of usable CPUs on your machine.
Creating databases
The sample database, asiqdemo, is installed in the $ASDIR/demo directory.
To create your own databases, start and connect to the utility database, as
described in Chapter 3. See Sybase IQ System Administration Guide for
complete instructions.
Running queries
Follow the Quick start directions in the readme.txt file to run Interactive SQL
queries in the sample database.
To stop the server, run the stop_asiq utility, using the following command
format:
stop_asiq [ -agent | -cleanup | -stop [one | all ] | -help ]
Switches
Example on stopping
the server
-agent
Purpose
Stops the ASIQ Agent on UNIX or Linux
systems
-cleanup
-help
22
Sybase IQ
CHAPTER 1
##
Installing Sybase IQ
Owner
PID
Started
CPU_Time
-- ---------
-----
--------
--------
1:
4378
rsmith
10:34:42
0:04
rsmith
4726
10:41:09
0:04
On RedHat 2.1 (Linux kernel 2.4.9), each thread is listed as a process. Output
from the ps command may list a single process dozens to hundreds of times.
Linux users can use ps -efw to generate wide format output. Even with extended
output lines, it may still be difficult to identify a single process from the
display. The stop_asiq -agent command lets you stop the IQ Agent on your
Unix or Linux system. This is compatible with Sybase IQ 12.5 if you have
ESD8 or above installed.
On rare occasions, the server may stop in a way that leaves some threads
running. Before starting a server, always shut down any remaining threads
cleanly using stop_asiq -cleanup. This command only shuts down threads
owned by the person who runs it.
Stopping servers in
cron or at jobs
To use stop_asiq in a cron or at job, specify the utility with the appropriate -stop
option:
stop_asiq -stop one
Setting -stop one shuts down a single server, when exactly one running server
was started by the user ID that starts the cron or at job. This prevents
accidentally shutting down the wrong server if several are running.
23
Running Sybase IQ
Setting -stop all shuts down all servers that were started by the user ID that
starts the cron or at job.
You can specify both options on the same command, for example:
stop_asiq -agent -stop all
Note You must specify the full pathname to the stop_asiq executable in the
cron statement.
Other ways to stop
servers
24
Select the server name and choose Stop from the dropdown in Sybase
Central. For details, see Introduction to Sybase IQ.
Sybase IQ
CH A PTE R
Topics
Page
26
30
25
Red Hat Enterprise Linux 2.1 x86, Advanced Server or Workstation, with
kernel 2.4.9-e.40smp and glibc 2.2.4-32.8.
SuSE Linux Enterprise Server (SLES) 9.0 for 32-bit systems, kernel 2.6.57.97-smp #1 SMP and glibc 2.3.3-98.28
Sybase IQ Network Client is also compatible with Red Flag Linux DB Server
release 4.0, kernel 2.4.21-AS.2 smp on i686 and glibc 2.2.93.
Note Sybase IQ Network Client does not run on IBM Linux on POWER.
Table 2-1 demonstrates that you can have different versions of Sybase IQ
running on the same system.
26
Sybase IQ
CHAPTER 2
12.6 Server
12.5 Server
12.5 Network Client
Compatibility
Standalone IQ Agent only
Allowed, provided that
environment for each is set up
for the appropriate version
Allowed as an upgrade
12.5 Server
12.6 Server
Prohibited
Recommendation
304MB
275MB
17MB
6MB
68MB
297MB
4MB
Site dependent
RAM
Processor
27
If this is the first Sybase product you have installed, see Mounting the CD and
setting up the sybase account on page 13 and Preparing the installation
directory on page 14.
1
Start the install utility, sybinstall. You can run this utility as series of menus
with prompts or bypass menus using the sybinstall command line
parameters.
Table 2-3: Command parameters for sybinstall utility
Parameter
Function
-add_agent
-autoinstall
-help
-I_accept_sybase_license
-info|version
-y
The following command runs sybinstall with all menus and prompts, so
that you can choose the components installed.
% /cdrom/sybinstall
28
Sybase IQ
CHAPTER 2
The following steps show the menus that sybinstall displays by default.
To enter a response, type the desired letter or number, then press Return.
3
Type the number that corresponds to the location where you are installing.
If you dont find a license agreement that matches your location, or if the
license agreement is unreadable on your system, you can read all available
license agreements at the Sybase website at http://www.sybase.com, and
rerun sybinstall passing it the parameter -I_accept_sybase_license. For
example:
% /cdrom/sybinstall -I_accept_sybase_license
The first screen of the Software Test and Evaluation License Agreement
displays.
5
As you read, hold down the Return key until you reach the end of the
agreement.
At the end of the agreement, a prompt appears.
Type Y to accept the license terms and continue the installation. If you
disagree with the terms of the license, type N.
The script next lists the amount of free space available in your $SYBASE
directory, and the amount of space required for the three components it
installs.
29
You must set certain environment variables to run Sybase IQ. Sybase IQ
installs environment files that you can run to set variables.
30
Microsoft Windows 98 SE
Microsoft Windows ME
Sybase IQ
CHAPTER 2
Compatibility
12.6 Server
12.5 Server
12.5 Client
12.6 Client
12.5 Server
Prohibited
Prohibited
12.5 Client
Allowed. If one is
uninstalled user must repair
remaining one.
12.6 Server
Prohibited
12.6 Client
Select the location where you are installing the software and click Next.
31
Read the License Agreement and click Yes if you accept it, or Back to
return to a previous screen. To stop the procedure without installing
Sybase IQ, click No.
Type your name and your company name in the text boxes on the
Customer Information screen and click Next.
10 Products are installed in separate folders under the folder you specify. You
can accept the default, or use the Browse button to select another folder.
Click Next.
11 For a Complete install, skip to step 13.
For a Custom install, choose products to install. The Products Selection
screen shows names, descriptions and space requirements of products.
Required products are automatically selected. Click any checked product
to deselect it. Required products vary depending on selections. Products
are:
Sybase IQ
For each product, a Customize Product screen lets you select desired
components. Click Browse to specify a new destination folder. Click Disk
Space to calculate available space on other drives and to change the
destination drive for installed products.
12 Click Next when satisfied with selected products.
13 Before copying the program files, the setup procedure lists the products
selected and the target directories where they will be installed. Click Back
to make changes or Next to install.
The installation procedure displays a gauge to show the percentage and
names of files installed.
Note It is best to reboot after any program installation, to ensure that
32
Sybase IQ
CHAPTER 2
Log into the machine where you will install IQ Client, using an account
with Administrator privileges.
Type the following command, which will record all of your responses to
installation prompts as you make them:
setup -r
33
Copy the C:\winnt\setup.iss file to the same location as the setup.exe file
on each machine where you want to perform a silent install based on this
response file.
Follow these steps to install using the default response file, or a specialized
response file you have placed in the clients setup.exe directory.
1
Copy the installation CD contents onto the network machine if you have
not already done so.
Perform the remaining steps on each machine where you will install IQ
silently.
Log into the machine where you will install IQ Client, using an account
with Administrator privileges.
Open an MS-DOS window and change drive and directory to the location
of the setup.exe file on the network machine.
34
Sybase IQ
CH A PTE R
Migrating Data
This chapter tells how to migrate your data from one Sybase IQ version to
the next, from 32-bit to 64-bit systems, and across hardware platforms.
Topics
Page
36
42
45
46
46
If you have a Sybase IQ 12.x version prior to 12.4.3, you must first
upgrade to version 12.4.3. Refer to the 12.4.3 Sybase IQ Installation and
Configuration Guide.
Note Before you install Sybase IQ 12.6, you must upgrade LONG
35
Table 3-1 briefly lists the steps for upgrading servers and databases to Sybase
IQ 12.6. Details are provided further in this section.
Table 3-1: Upgrading 12.x databases to 12.6
To do this
See ...
5. Upgrade databases
Upgrading databases on page 38
6. Enforce referential integrity Enforcing referential integrity on page 39
Different IQ versions
on multiplex servers
You can deploy new releases on one server of an existing multiplex without
interrupting other servers, as long as the servers being upgraded are version
12.5 or higher. Always upgrade the write server last.
Be sure to back up the write server before an upgrade. Once you create an IQ
Local Store on a query server, you must back up that query server as part of
future upgrades.
New 12.6 features are only completely available after all databases are
upgraded to version 12.6 using ALTER DATABASE UPGRADE. If you upgrade
databases on a query server, but leave the write server at 12.5, synchronization
returns database versions on the query server to version 12.5 and you will need
to repeat the ALTER DATABASE UPGRADE. Databases take their version from
the write server.
36
Sybase IQ
CHAPTER 3
Migrating Data
To upgrade 12.5 databases to 12.6, perform the steps that follow on each server
in the multiplex. Note that, wherever backup is recommended, you need only
back up the write server.
To upgrade 12.4.3 multiplex databases to 12.6, see Upgrading 12.4.3
multiplex databases to 12.6 on page 42.
Installing IQ
Install Sybase IQ, following the instructions in Chapter 1, Installing Sybase
IQ. If you find a software update on the online support Web site, install it
before completing the remaining upgrade steps. Install IQ on every query
server before you upgrade the write server.
37
Choose the option Install a standalone Sybase IQ 12.6 Agent (Alt+A) and click
Next.
The dbname is the name of the 12.4.3 or 12.5 database that you wish to
upgrade. (You may also start the server using any of the startup methods
described in Sybase IQ System Administration Guide.)
Run start_asiq only from a session where you have previously set the
environment variables. For information about setting the variables, see Chapter
1.
Note If you run the utility from a directory that does not contain the database
and configuration files, be sure to provide the full pathname for the file or files.
Upgrading databases
Upgrading from 12.4.3
or 12.5 to 12.6
Run the ALTER DATABASE UPGRADE command against every existing Sybase
IQ database to upgrade it to IQ 12.6. This makes the databases compatible with
the new version of Sybase IQ.
Upgrading a database adds and modifies system tables, system procedures, and
options to enable 12.6 options. It does not change the file format used to store
and access data on a disk. It also does not remove preexisting options that have
been eliminated in version 12.6.
38
Sybase IQ
CHAPTER 3
Migrating Data
Make sure that you have performed the preceding steps in this chapter and
installed any available EBFs. For details, see Finding the latest
information on EBFs and software maintenance on page viii.
Disconnect from the database and reconnect to your database (again using
an account with DBA privileges). This must be the only connection to the
database.
If the database you are upgrading was created with the Java options set off,
append the keywords JAVA OFF JCONNECT OFF to the preceding
command.
Note The defaults for MAIN_RESERVED_DBSPACE_MB and
39
input parameters, rather than database options, to specify the type of database
consistency checking.
Running sp_iqcheckdb
If you run the procedure from Interactive SQL, redirect output to a file by
typing the following:
sp_iqcheckdb 'check database' >& filename
Examine the sp_iqcheckdb report for errors. For information on interpreting the
sp_iqcheckdb results and corrective action, refer to the System Recovery and
Database Repair chapter in the IQ version 12.6 Sybase IQ Troubleshooting
and Error Messages Guide. If you need to contact Sybase Technical Support,
you must provide the output from sp_iqcheckdb.
40
Sybase IQ
CHAPTER 3
Migrating Data
Be sure to compare your existing params.cfg files with the new default.cfg file
created by the installation. The installation does not update or overwrite
existing params.cfg files. In each params.cfg file, update parameter defaults
that differ from those in the default.cfg file, while maintaining any customized
parameter settings appropriate for your system. Be sure that you add any new
startup parameters in default.cfg to your params.cfg file. The -gl parameter, for
example, is required for server startup in version 12.4.3 and above.
including all performance options, to the new default. Some other settings
retain their previous value. To see the effect of ALTER DATABASE UPGRADE
on your database option settings, you can do any of the following:
To list current settings for all database options, query the SYSOPTIONS
system view:
SELECT *
FROM SYSOPTIONS
For other ways to list all option settings, see the chapter Database
Options in Sybase IQ Reference Manual.
Note that the Query_Plan option is ON by default, which can lead to a large IQ
message file size.
41
on all the servers in a separate directory from the previously installed version
before starting the upgrade process.
Once the new directories are ready, follow these steps:
1
Install Sybase IQ 12.6 on the write servers system. On UNIX, you can do
this before shutting down the servers. On Windows, installation forces a
system reboot.
On UNIX systems only, stop the IQ Agent on the write servers system and
restart it using the 12.6 installation environment. (On Windows, this is not
needed because the IQ Agent starts automatically during reboot.)
First, use the ps command to locate the java process for the IQ Agent:
To determine if the process is the IQ Agent or the client process for the
Sybase Central viewer, repeat the command with the parent processs ID:
ps -fp 5755
UID
PID
PPID C STIME
TTY
TIME CMD
fionat 5755 1
0 17:45:09 pts/8 0:00 /bin/ksh /work ASIQ12_5/bin/scjview -mainclass sybase.scf.ro.SCAgent -1
At the end of the line, sybase.scf.ro.SCAgent indicates the IQ Agent. (If the
parent process ends with scjview, it is the client process for the Sybase
Central viewer, not the Agent.)
To stop the Agent in the preceding example, enter:
kill -HUP 5781
42
Sybase IQ
CHAPTER 3
Migrating Data
Start the write server in single node mode using the -iqmpx_sn 1 switch.
Note that if you use a server name different from the write server name,
you must also use the override switch, -iqmpx_ov 1.
Use a unique server name that you have not previously used, as follows:
start_asiq @params.cfg -n <upgrade_server>
-iqmpx_sn 1 -x 'tcpip{port=<writer_port>}' <dbfile>
Sybase IQ 12.6 enforces column and table CHECK constraints that were
previously unenforced, but only on inserts, updates, and loads of new data.
Before you upgrade the database, Sybase suggests that you follow the
procedure in Before you install on page 2 to record and recreate
constraints.
Connect to the server with dbisqlc or dbisql as DBA. Make sure that no
other users connect during the upgrade process and that you have
performed the preceding steps in this chapter and installed any available
EBFs. For details, see Finding the latest information on EBFs and
software maintenance on page viii. Upgrade the database to 12.6 by
issuing the following command:
ALTER DATABASE UPGRADE
If the database you are upgrading was created with the Java options set off,
append the keywords JAVA OFF JCONNECT OFF to the preceding
command.
Note The defaults for MAIN_RESERVED_DBSPACE_MB and
43
call sp_iqmpxdropserverdbspaces('<write_server>')
Note The <write_server> specified for sp_iqmpxdropserverdbspaces must
Stop the upgrade server. Start Sybase Central and use it to start the write
server.
It should indicate that dbremote is not running for this server, but there
should be no other errors.
10 Install Sybase IQ 12.6 on each query server system, if not done in advance.
Windows systems will reboot as part of software installation.
11 (UNIX only) Stop and restart the IQ Agent in the 12.6 environment on
each query server.
12 Start Sybase Central, connect, and run Synchronize from the write server.
All servers in the multiplex environment are now running version 12.6.
After upgrading
multiplex databases
44
Because the shared top-level directory is not a good location for database files,
you should move these files to directories local to each server in the multiplex
environment. For instructions, see the section titled Migration in Sybase IQ
System Administration Guide chapter Backup and Data Recovery. After you
move all database files, you can remove the shared top-level directory from the
server systems if desired.
Sybase IQ
CHAPTER 3
Migrating Data
See also After you upgrade on page 41 for other items you may want to
check after upgrading.
prior to Sybase IQ 12.6 ESD2, you must first install IQ 12.6 ESD2 for
Linux 32-bit and create a new data backup before migrating to the Linux
64-bit version.
2
If the current version of Sybase IQ is higher than the version on which you
were previously running, start Interactive SQL and issue the database
upgrade statement:
ALTER DATABASE UPGRADE
If the database was created with the Java options off, append the keywords
JAVA OFF JCONNECT OFF to the preceding command.
5
45
location from the directory where you installed previous Sybase IQ software.
Before upgrading
Before you upgrade follow these steps to ensure that you can restore your data
to its previous version.
When you install Sybase IQ, install it in another directory, and follow the
upgrade steps.
If you find that you need to go back to the previous version, follow these steps.
1
Start the utility database and restore the backup that you performed before
the upgrade.
Stop the utility database and start the database that you restored.
46
Sybase IQ
CHAPTER 3
Migrating Data
AIX64
AIX64
12.5 to 12.6
HPUX64
PA-RISC
HP-UX64
Itanium
12.5 to
12.6
12.5 to
12.6
12.6 to
12.6
12.5 to
12.6
12.6 to
12.6
12.5 to
12.6
12.6 to
12.6
IBM
Linux on
POWER
SunOS64
12.5 to
12.6
12.6 to
12.6
12.5 to 12.6
12.5 to
12.6
12.6 to
12.6
12.5 to 12.6
12.6 to 12.6
12.6 to 12.6
HPUX64
PA-RISC
12.5 to 12.6
12.6 to 12.6
HPUX64
Itanium
12.5 to 12.6
12.6 to 12.6
12.5 to
12.6
12.6 to
12.6
12.5 to
12.6
12.5 to
12.6
12.6 to
12.6
12.5 to 12.6
12.6 to 12.6
IBM
Linux on
POWER
12.6 to 12.6
12.6 to
12.6
12.6 to
12.6
Not a
migration
12.6 to 12.6
SunOS64
12.5 to 12.6
12.6 to 12.6
12.5 to
12.6
12.6 to
12.6
12.5 to
12.6
12.6 to
12.6
12.5 to
12.6
12.6 to
12.6
12.5 to 12.6
12.6 to 12.6
Linux32
12.5 to 12.6
Linux64
Windows32
12.6 to 12.6
12.5 to 12.6
12.6 to 12.6
Linux64
12.5 to 12.6
12.6 to 12.6
12.5 to 12.6
12.6 to 12.6
WIndows32
12.5 to 12.6
12.6 to 12.6
12.6 to 12.6
12.5 to 12.6
IMPORTANT!
47
Install the Sybase IQ server on the new platform. Your migration can take
place on the same or a different machine.
Shut down the server and restart it against the restored database.
If the current version of Sybase IQ is higher than the version on which you
were previously running, start Interactive SQL and issue the database
upgrade statement:
ALTER DATABASE UPGRADE
If the database was created with the Java options off, append the keywords
JAVA OFF JCONNECT OFF to the preceding command.
For more information, see Upgrading servers and databases to 12.6 on page
36.
48
Sybase IQ
CH A PTE R
Configuring Sybase IQ
Topics
Page
50
61
63
49
50
Sybase IQ
CHAPTER 4
Configuring Sybase IQ
In the DBISQL Connect dialog, you can choose the iAnywhere JDBC Driver
via a radio button on the Advanced tab.
The IQ Agent can only use jConnect with JDBC to connect to a multiplex
server. The jConnect JDBC drivers have been certified with multiplex and nonmultiplex servers.
ODBC conformance
Sybase IQ supports ODBC 3.5.2.
Levels of ODBC
support
Features supported by
Sybase IQ
Core conformance
Level 1 conformance
Sybase IQ supports all Level 1 features, except
for asynchronous execution of ODBC functions.
Level 2 conformance
Three part names of tables and views. This is not applicable for
Sybase IQ.
51
While you can use new ODBC 3.5.x features, such as descriptors, in your
ODBC applications, ODBC 2.x applications will continue to work with Sybase
IQ.
52
Sybase IQ
CHAPTER 4
Configuring Sybase IQ
53
With BrioQuery, each query requires you to connect to the database. Be sure to
close the query after processing to ensure that the connection to Sybase IQ is
closed. If you leave multiple queries open, you could consume more
connections than you realize, eventually preventing other users from
connecting to Sybase IQ (since the number of configured connections would
be exceeded).
See the Sybase IQ Release Bulletin for problems that may affect using PC
client applications with Sybase IQ.
In the ODBC Data Source Administrator, click Add on the User DSN tab.
In the Create New Data Source dialog box, select the Sybase IQ 12 driver
and click Finish.
The Configuration dialog box appears.
54
Type the Data Source Name in the appropriate text box, Type a
Description of the data source in the Description text box if desired. Do
not click OK yet.
Sybase IQ
CHAPTER 4
Configuring Sybase IQ
Click the Login tab. Type the User ID and Password for your database. For
the sample database used in this example, use DBA and SQL.
Click the Database tab. If the data source is on a remote machine, type a
server name and database file name (with the .DB suffix) in the
appropriate text boxes.
If the data source is on your local machine, type a start line and database
name (without the .DB suffix) and skip to Step 8.
If the data source is on a remote system, click the Network tab. Click the
checkbox for the appropriate protocol and type the options in the adjacent
text box. For example, to connect to server on system fiona-pc using
TCP/IP protocol and port 1870, you would click TCP/IP and type
host=fiona-pc:1870
You could also use the host network address. For example,
host=157.133.66.75:1870
Note When specifying network connections, you need a different
10 The ODBC Data Source Administrator returns you to the User DSN tab.
You may use files as data sources instead of databases. File data sources are
stored as files with the extension.dsn. For information about creating a file data
source, see Sybase IQ System Administration Guide.
Start the database. (To start the Sample Database, use Start > Programs >
Sybase > Adaptive Server IQ 12.6 > Start ASIQ Demo Database.)
In the ODBC Data Source Administrator, select your new data source from
the list of User Data Sources.
Click Configure.
55
Current directory
$ODBCINI
$ODBC_HOME
$ODBC_INI
Once you have created a data source entry, you can connect to your database,
by entering the dbisql command at the command prompt and specifying the
data source entry name in a connection string. Sybase IQ finds the rest of the
connection information in the .odbc.ini file. For example:
% dbisql -c "dsn=sample_dsn"
For more information about dbisql and its options, see Sybase IQ Utility Guide.
Note For Sybase IQ Version 12.5 and higher, by default any server that is
started from a connection string is stopped when there are no more connections
to it, and any database that is loaded from a connection string is unloaded as
soon as there are no more connections to it. (This does not apply in the case of
multiplex IQ databases, which are started with Sybase Central.)
To have the database continue running after connections disconnect, as in
Sybase IQ releases prior to 12.5, you must specify the connection parameter
AutoStop=No in your connection string or data source.
For example, the following data source fragment instructs the client library to
keep the database loaded after the connection is dropped:
[dbcli7 Connection Parameters]
ServerName=testsrv
Autostop=No
56
Sybase IQ
CHAPTER 4
Configuring Sybase IQ
UserID=DBA
Password=SQL
If you want to connect without using .odbc.ini, you can enter an Interactive
SQL command that specifies the entire entry, like the following. While it is
shown here on multiple lines, you must enter the entire command at the
command prompt on one line.
dbisql -c
"UID=DBA;PWD=SQL;AutoStop=no;DBF=$ASDIR/demo/asiqdemo.
db"
57
The dsedit utility lets you view and edit server entries in the interfaces file using
a GUI based on X11/Motif in UNIX platforms.
1
Type the server name and click Add new network transport. The server
name in your DSEDIT entry must be the same as the database name.
Select the TCP transport and enter the host name and port number. (The
defaults are usually sufficient.) Click OK.
Click OK.
58
Sybase IQ
CHAPTER 4
Configuring Sybase IQ
See the Sybase IQ System Administration Guide for more information on using
the -host and -port parameters.
NetWare
Windows
There are several entries into the TCP/IP protocol stack. Sybase IQ employs
the User Datagram Protocol (UDP). While it is called a transport protocol here
and elsewhere, UDP provides little more than a user interface to the network
layer IP. In particular, UDP is not a guaranteed transmission protocol.
Although the default packet size for TCP/IP is 1460 bytes, a larger packet size
may improve query response time, especially for queries transferring a large
amount of data between a client and a server process. You can set the maximum
packet size using the database server command lines or CommBufferSize
(CBSIZE) in the client connection string. This option may be used with either
the start_asiq or the asiqsrv12 command.
59
For more information about server startup options, see the Sybase IQ Utility
Guide. For more information about connection parameters, see the Sybase IQ
System Administration Guide.
Set the ClientPort parameter to a range of allowed values for the client
application to use. You can then configure your firewall to allow these
packets across. You can use the short form CPort.
Set the HOST parameter to the host name on which the database server is
running. You can use the short form IP.
Specify the port your database server is using in the ServerPort parameter
if it is not using the default port of 2638. You can use the short form Port.
60
Sybase IQ
CHAPTER 4
Configuring Sybase IQ
The asiqdemo.cfg file sets parameters that govern Sybase IQ to the following
recommended defaults:
Table 4-1: Parameters set by asiqdemo.cfg
Parameter
Value
<HOSTNAME>_
asiqdemo
Description
Name of system followed by _asiqdemo
32MB on 32-bit
systems
48MB on 64-bit
systems
all
all
10
-ti
4096
4400
-x
tcpip{port=xxxx}
-n
-c
-gd
-gl
-gm
-gp
61
You can use the asiqdemo.cfg file as a template to create configuration files for
all of your databases if you:
Replace the x port number with a unique port number for that server
If you use the same parameters to start all your databases, you could create a
generic configuration file. Simply delete the n and x lines and supply these
parameters on the command line at startup.
Note On the start_asiq command line, the last option specified takes
precedence, so if you want to override your configuration file, list any options
you want to change after the configuration file name. For example:
start_asiq @asiqdemo.cfg -n myserver
-x 'tcpip{port=1870}' asiqdemo
62
Sybase IQ
CHAPTER 4
Security and
configuration files
Configuring Sybase IQ
or
start_asiq @encrypt_params -n myserv -c 400 -o
$ASDIR/logfile/myserv.log
Ensure that the IT environment provides a time source that creates reliable
timestamps. Generally, the hardware provides this.
Ensure that the IT environment protects Sybase IQ and its assets from
external interference or tampering.
63
64
Provide physical security within the domain for the value of the IT assets
protected by Sybase IQ and the value of the stored, processed, and
transmitted information.
Sybase IQ
Index
A
Adaptive Server Enterprise
environment 16
inserting data from 58
after upgrading
checking new option settings 41
multiplex databases 44
updating configuration files 41
ALTER DATABASE UPGRADE command
45
asigdemo.cfg
parameters 61
asiqdemo.cfg file
defaults 61
AUTOSTOP parameter 56
39, 43,
B
backing up databases
after upgrade 41
procedure 41
before you install 3
df 6
disk free 14
-help 15
ping (UNIX) 10
sybinstall 15
COMMLINKS parameter 56, 60
completing the installation 18
configuration files 61
security 63
configuration parameters
overriding 21, 62
set by start_asiq 20
connecting
across firewalls 60
using OLE DB 57
with JDBC 50
with ODBC 51
connection parameters 56
conventions
documentation ix
typographic ix
creating
interfaces file entries 58
ODBC data sources 54
response file 33
C
cache memory
increasing 5
CD-ROM
installing from 13
check constraints, sp_iqprintconstraints procedure
3
checking new option settings 41
choosing file locations 11
client and server, running in same system 59
commands
ALTER DATABASE UPGRADE 39, 43, 45
-autoinstall 15
D
data sources
setting up 54
database files, created by Sybase IQ
database options
upgrading 38
databases
backing up 41
connection parameters 56
creating 22
sample ix, 22
upgrading 38, 39
11
65
Index
installation
completing 18
prerequisites 2, 9
testing 22
installation requirements 3
installing
IQ Agent 37
Network Client on Linux 26
Network Client on Windows 30
server components 12, 13
without user interaction 33
installing Sybase IQ
procedure 37
interfaces file
adding entries 50, 58
interfaces file entries, creating 58
IQ Agent 19
installing 37
multiple versions 2
standalone 2, 37
IQ servers
network connectivity 59
ISQL
connections 58
E
ENG parameter 56, 60
environment
secure 63
setting variables 18, 30
SYBASE variable 14
J
F
H
host
specifying for ODBC connection
hugemem kernel 5
hyperthreading parameters 22
66
55
K
kernel
hugemem 5
patches 9
settings 9
Sybase IQ
Index
license agreement 16
Linux 64-bit
setting network connectivity 59
shared memory restrictions 59
LONG BINARY columns, upgrading
ODBC
conformance 51
connection 51, 55
creating data sources 54
driver managers 52
drivers for UNIX clients 52
installing drivers 52
performing queries using UNIX or Linux
testing data source 55
third-party applications 53
ODBC data sources
connecting 56
creating 54
OLE DB provider 57
Open Client 4
operating system
version 5
option settings, checking 41
M
managing processes 23
memory
increasing 5
shared 59
message log 12
migrating data
from 32-bit to 64-bit 35, 46
from one platform to another 35, 46
from prior Sybase IQ version 35, 46
migration scenarios
for big endian platforms 47
for little endian platforms 47
mixed-mode multiplex 2, 37
multiplex
mixed-mode 2, 37
multiplex databases 44
after upgrading 44
migrating data 42
multiplex, mixed mode 2
N
network address
specifying for ODBC connection
Network Client
installing 25, 49
installing on Linux 26
installing on Windows 30
network connections
for Linux 64-bit 59
specifying 62
55
52
P
packet size 59
parameters
asiqdemo.cfg 61
AUTOSTOP 56
COMMLINKS 56, 60
configuration 21
DBF 56
ENG 56, 60
host 10
hyperthreading 22
overriding startup 62
PWD 56, 57
required for startup 20
SEMMNI kernel 9
SEMMNS kernel 9
SEMMSL kernel 9
SEMOPM kernel 9
start_asiq 21
startup 20
sybinstall utility 15, 28
UID 42, 56, 57
passwords
accepting default at install
17
67
Index
R
RAM requirement 7
raw partitions 11
readme.txt file 18
referential integrity 39
reinstalling Sybase IQ 37
remote shell 10
requirements
plug-in 2
RAM 7
Sybase Central 6
system 5
response file, creating 33
restarting servers
after upgrade 40
procedure 40
running client and server on same system
S
sample database ix
SDK 4
section 508
compliance ix
secure environment 63
semaphore identifiers 9
68
59
59
Sybase IQ
Index
requirements 19
setup 19
system requirements 6
Sybase IQ
different versions on same system
reinstalling 37
starting 19
stopping 22
sybinstall utility
running 12, 15
starting 28
system requirements 5, 6
disk space 6
RAM 7
swap space 8
Sybase Central 6
26
V
verifying databases
after upgrade 40
procedure 40
verifying network functionality
10
W
write server
starting 39
stopping 39
T
TCP/IP
specifying host and port
Telnet
trouble logging in 10
testing
ODBC data source 55
the installation 22
transaction log 12
55
U
UID parameter 42, 56, 57
unenforced foreign keys
enforcing referential integrity 39
updating
configuration files 41
SDK 4
upgrading databases
option changes 38
procedure 38
upgrading LONG BINARY columns 3
upgrading multiplex databases 42
utilities
DBISQL 22
start_asiq 19
69
Index
70
Sybase IQ