![]() | ![]() |
Home |
|
|
Installation Guide Adaptive Server Enterprise for HP-UX |
|
| Chapter 2 Installation Requirements |
Chapter 2
This chapter covers important information regarding system requirements for installing Adaptive Server databases and devices.
For easier installation, make a copy of this chapter, so you have the requirements information available as you perform the pre-installation, installation, or upgrade procedures.
Table 2-1 shows the required version-level, RAM, and network-protocol requirements for Adaptive Server. See the release bulletin for the latest information on required system patches.
Hardware | Operating system | Supported protocols |
HP9000/700, or HP9000/800, or 64-bit HP9000 D, K, V Series (The PA8000 chip is required.) | HP-UX 11.0, or HP-UX 11.0 running 64-bit runtime kernel | SPX or TCP |
HP 9000/800 32-bit | HP-UX 11.0, or HP-UX 11.0 running 32-bit runtime kernel | SPX or TCP |
Hardware | Operating system | Supported protocols |
Windows NT | Windows NT 4.0, (Service Pack #6a Normal Server, or later) | TCP IPX/SPX Named Pipes |
Windows 98 | Windows 98 | TCP IPX/SPX Named Pipes |
Table 2-3 shows the system requirements for installing jConnect for JDBC.
Client products are supported on Windows NT, and Windows 98. Table 2-4 lists the RAM required for client products.
Product | Memory requirements |
Adaptive Server plug-in for Sybase Central, Java Edition | 16MB |
Adaptive Server plug-in for Sybase Central, C++ | 16MB |
Open Client/C Developer's kit | 16MB, 32MB recommended |
Monitor Client Library | 16MB, 32MB recommended |
Embedded SQL/COBOL, Embedded SQL/C | |
jConnect 4.5 and 5.5 | 16MB each |
SQL Remote 7.0.2 | 35MB |
PowerDynamo 3.5.2 | |
InfoMaker 7.0.3 | 32MB |
Physical Architect 8.0 | 16MB |
This section provides the approximate amount of disk space required by each of the server components.
Product and version level | Disk space required |
Adaptive Server 12.5 | 191MB |
jConnect 4.5 | 4.5MB |
jConnect 5.5 | 4.5MB |
jutilities (Cascade Gateway, jisql, Ribo) | 6MB |
jConnect documentation | 6MB |
Open Client/C 12.5 | 244MB |
Language Modules (Server 12.5) | 2-7MB per language |
Language Modules (Open Client 12.5) | 3-6MB per language |
Monitor Server 12.5 | 3MB |
Monitor Historical Server 12.5 | 6MB |
Monitor Client Library 12.5 | 4MB |
Enhanced Full-Text Search | 70MB |
EJB Server 32-bit platforms only | 420MB |
Table 2-6 lists the sizes for the Adaptive Server and Open Client Language modules.
Language | Size of Adaptive Server language module | Size of Open Client language module |
Brazilian Portuguese | 6.5MB | 6.5MB |
Chinese (simplified) | 2MB | 2MB |
Chinese (traditional) | 2MB | 2MB |
French | 6.5MB | 6.5MB |
German | 6.5MB | 6.5MB |
Japanese | 4.5MB | 4.5MB |
Korean | 2MB | 2MB |
Spanish | 6.5MB | 6.5MB |
This section provides system specifications for Adaptive Server on HP-UX.
Hardware and memory | ||
Processor | 32-bit | |
Minimum RAM for Adaptive Server | 64MB | 32,768 2K pages |
Number of shared memory segments | 1 to 2 | One segment for first GB; a second segment for next .75+ GB |
Memory per user connection | Approx. 150K | With default stack size, packet size, and user log cache size |
Default user stack size | 45K | Minimum 30K |
Hardware and memory | ||
Processor | 64-bit | |
Minimum RAM for Adaptive Server | 90MB | 45,056 2K pages |
Number of shared memory segments | 1 to 2 | One segment for first GB; a second segment for next .75+ GB |
Memory per user connection | Approximately 190K | With default stack size, packet size, and user log cache size |
Default user stack size | 85K | Minimum 35K |
Database specifications | ||
Databases per Adaptive Server | 32,767 | Practical limit is approximately 100 |
Maximum database size | 243(8TB) | Minus overhead for system databases |
Minimum allowable sybsystemprocs database | 100MB | Required for an upgrade |
Maximum size of a database device (disk partition) | 224(32GB) | If the Operating System supports file sizes up to 32GB, then Adaptive Server supports file system devices up to 32GB |
Maximum number of database devices per server | 256 | |
Maximum number of devices or device pieces per database | Unlimited | |
Maximum number of segments per database | 31 | |
Maximum number of login IDs per server | 2147516416 | |
Maximum number of users per database | 2146484223 | |
Maximum number of groups per database | 1032193 | |
pubs2 database | 2MB 4MB | Minimum required for a new installation Free space required for an upgrade |
pubs3 database | 2MB 4MB | Minimum required for a new installation Free space required for an upgrade |
interpubs database | 2MB 4MB | Minimum required for a new installation Free space required for an upgrade |
jpubs database | 2MB 4MB | Minimum required for a new installation Free space required for an upgrade |
Table specifications | ||
User objects per database | 231 - 100 | |
Indexes per table | 250 (one clustered index) | |
Rows per table | Limited by available storage | Maximum 232 |
Columns per composite index | 31 | |
Creation of clustered index | 1.2*(x + y) x = total data space in table, y = sum of space of all nonclustered indexes on table, and 20 percent overhead for logging | For sorted data, approximately 20 percent of the table size needed |
Characters per database object name | 30 |
Query specifications | ||
Maximum number of tables in a "union" query | 256 | |
Maximum number of databases participating in one transaction | 16 | Includes database where transaction began, all databases changed during transaction, and tempdb, if it is used for results or worktables |
Practical number of databases participating in one query | 16 | Includes each occurrence of each database queried and tempdb, if it is used for results or worktables |
Maximum number of tables participating in a query | 64 | Maximum of 50 user tables, including result tables, tables referenced by views (the view itself is not counted) correlations and self-joins; maximum of 14 worktables |
Maximum number of tables with referential integrity constraints for a query | 192 |
Procedure specifications | ||
Number of buffers and procedure buffers | Configurable | Limited by amount of RAM and maximum size of shared memory segment |
Minimum memory required per stored procedure | 2K | |
Maximum number of parameters per stored procedure | 2048 |
Adaptive Server 12.5 extended-limit capabilities vary by type of table and the database logical page size. Table 2-9 lists the column and row limits for allpages-locked (APL) tables.
Maximum APL table limits | Number of columns | Column size 2K page | Column size 4K page | Column size 8K page | Column size 16K page |
Fixed-length column | 1024 | 1960 bytes | 4008 bytes | 8104 bytes | 16296 bytes |
Variable-length column | 254 | 1948 bytes | 3988 bytes | 8068 bytes | 16228 bytes |
Table 2-10 lists the column and row limits for data-only-locked (DOL) tables.
Maximum DOL table limits | Number of columns | Column size 2K page | Column size 4K page | Column size 8K page | Column size 16K page |
Fixed-length column | 1024 | 1958 bytes | 4006 bytes | 8102 bytes | 16294 bytes |
Variable-length column | 1024 | 1954 bytes | 4002 bytes | 8089 bytes | 16290 bytes |
Database space requirements depend upon the logical page size of the server. Table 2-11 lists the minimum size for each database.
Databases | 2K page | 4K page | 8K page | 16K page |
Default database size | 2MB | 4MB | 8MB | 16MB |
master database | 6MB | 12MB | 24MB | 48MB |
model database | 3MB | 4MB | 8MB | 16MB |
tempdb database | 3MB | 4MB | 8MB | 16MB |
Larger logical page sizes can contain more data. Table 2-12 lists the maximum data for each logical page size.
Tables | 2K page | 4K page | 8K page | 16K page |
Maximum number of data bytes per text or image file | 1800 | 3600 | 7650 | 16200 |
Bytes per index key | 600 | 1250 | 2600 | 5300 |
User-visible row length DOL table | 1958 | 4006 | 8102 | 16294 |
User-visible row length APL table | 1960 | 4008 | 8104 | 16296 |
Devices are files or portions of a disk that are used to store databases and database objects. You can initialize devices, using raw disk partitions (for production systems) or operating system files (for nonproduction uses).
Adaptive Server requires the following devices:
master device - to store system databases.
sysprocsdev device - to store system procedures.
The master and sysprocsdev devices are created when you create a new Adaptive Server.
The master device contains the following databases:
master - controls the operation of Adaptive Server as a whole and stores information about all users, user databases, devices, objects, and system table entries. The master database is contained entirely on the master device and cannot be expanded onto any other device.
model - provides a template for new user databases. The model database contains required system tables, which are copied into a new user database with the create database command.
tempdb - the work area for Adaptive Server. Each time Adaptive Server is started, the tempdb database is cleared and rebuilt from the model database.
The sample databases are stored on the master device at installation, but should be moved to a user-defined device after installation. For more information, see "Sample databases" and "Optional devices and databases".
For recovery purposes, Sybase recommends that you do not create other system or user databases or user objects on the master device.
For new installations the master device also contains the sybsystemdb database. The sybsystemdb device stores the sybsystemdb database, which stores information about transactions in progress, and which is also used during recovery.
The sybsystemdb database is required to support distributed transaction management (DTM) features. Before installation, make sure you have enough space available on the default segment to support sybsystemdb.
See Chapter 8, "Upgrading Sybase Servers " for instructions on how to create the sybsystemdb device and sybsystemdb database.
For recovery purposes, Sybase recommends that you do not create other system or user databases or user objects on the master device.
The sybprocsdev devices stores the sybsystemprocs database, which contains most of the Sybase-supplied system procedures. System procedures are a collection of SQL statements and flow-of-control statements that perform system tasks; for example, sp_configure.
The system procedures that are needed during recovery situations are stored in the master database.
sysprocsdev is the default system name for this device. However, it is frequently referred to as the sybsystemprocs device, since it stores the sybsystemprocs database.
The following devices and databases are needed only if you configure Adaptive Server for optional functionality, like auditing or two-phase commit transactions.
sybsecurity device and databaseThe sybsecurity device stores the sybsecurity database and the auditing system procedures with which you can configure auditing for your system.
The auditing system records system security information in an Adaptive Server audit trail. You can use this audit trail to monitor the use of Adaptive Server or system resources.
Install auditing using the auditinit utility. The sybsecurity device is created as part of the auditing installation process.
See Configuring Adaptive Server Enterprise for instructions on how to configure Adaptive Server for auditing.
The auditing system is discussed in more detail in the System Administration Guide.
Sample databasesThe pubs2 and pubs3 databases are sample databases provided as a learning tool for Adaptive Server. The pubs2 sample database is used for most of the examples in the Adaptive Server documentation; other examples use the pubs3 database. Both are available in U.S. English versions of Adaptive Server.
The interpubs database contain French and German data. jpubs contains Japanese data.
For information about installing the sample databases, see "Installing sample databases ".
For information on the contents of these sample databases, see the Transact-SQL User's Guide.
sybsyntax databaseThe syntax database, sybsyntax, contains syntax help for Transact-SQL commands, Sybase system procedures, Adaptive Server utilities, and Open Client routines. You can retrieve this information using the system procedure sp_syntax.
For example, to see the syntax of the Transact-SQL select command, enter:
sp_syntax "select"
Adaptive Server includes a script for creating the sybsyntax database.
For instructions on how to install sybsyntax, see "Installing online help for Transact-SQL syntax ".
For more information about sp_syntax, see the Reference Manual.
dbccdb databaseThe database consistency checker (dbcc) provides commands for checking the logical and physical consistency of a database. The dbccdb database stores the results of dbcc when dbcc checkstorage or dbcc check verifying are used.
dbcc checkstorage records configuration information for the target database, operation activity, and the results of the operation in the dbccdb database. Stored in the database are dbcc stored procedures for creating and maintaining dbccdb and for generating reports on the results of dbcc checkstorage operations.
For information on installing dbccdb see Chapter 25 of the System Administration Guide, "Checking Database Consistency."
The dsync option is used with the disk init and disk reinit commands. By default, Adaptive Server enables dsync for database device files. This option ensures that Adaptive Server can recover data from devices on file systems. However, dsync can cause a degradation in performance for device files that experience high write activity.
When you install a new 12.x Adaptive Server, by default dsync is set on for all devices.
When you upgrade a UNIX server that stores databases on UNIX file system devices, by default dsync is set:
on for the master device
off for all other devices.
See also, sp_deviceattr, and sp_helpdevice in the Reference Manual.
Adaptive Server requires several database devices. Table 2-13 below shows baseline values for each of the devices. See the release bulletin for any last-minute changes to these values.
Device | Purpose | Minimum size | Minimum recommended size |
master | Stores system databases | 14MB for 2K pages 27MB for 4K pages 50MB for 8K pages 105MB for 16K pages | 30MB 60MB 120MB 240MB |
sysprocsdev (also called the sybsystemprocs device) | Stores the sybsystemprocs database | 100MB | 100MB (plus any space for holding stored procedures that you have created) |
sybsystemdb | Transaction processing | 4MB | 5 - 20MB |
sybsecurity (optional) | Required for auditing | 5MB | 7MB; more for specialized auditing |
For all databases you can use either a raw partition or a file.
Sybase Adaptive Server supports the database devices on NFS- and CIFS-mounted devices with Network Appliance Filers for storing data. Network appliance filers provide the same performance and data integrity as raw devices. There are no changes needed to the operating system or to Sybase Adaptive Server to use network appliance filers.
NFS mounted devices have been tested on Solaris, HP/UX, IBM AIX, Windows NT, Linux, and SGI.
Previous versions of Adaptive Server performed buffered writes to file devices, which does not ensure recoverability. Starting in version 12.0, the default for writes to file systems is unbuffered, so files are now acceptable as database devices.
You may need to repartition the disk you choose. Contact your operating system administrator for assistance.
When preparing a raw partition device, follow these guidelines:
Do not initialize a database device on the partition that contains your Sybase installation software. Doing so destroys all existing files on that partition.
A raw partition designated for use by Sybase cannot be mounted for use by the operating system for any other purpose, such as for file systems or swap space.
After a Sybase configuration utility or the disk init command has initialized a portion of a partition as a database device, the entire partition cannot be used for any other purpose. Any space left on the partition beyond the size specified for the device becomes inaccessible, unless you drop and re-create the device.
For best performance, place the Sybase software and all disk devices, including the master device, on the same machine.
To avoid any possibility of using a partition that contains the partition map, do not use cylinder 0.
Place the database device on a character device, because the Adaptive Server recovery system needs unbuffered system I/O. The character devices are in the /dev directory.
You can use either a block device or a character device. Unbuffered I/O is supported on a block device by using asynchronous I/O.
To determine whether a device is a block device or a character device, run this command on the /dev directory:
ls -l
"b" (block) or "c" (character) appears in the left-most column.
Choosing a raw partitionDetermine which raw partitions are available.
Determine the sizes of the raw partitions.
From the list of available raw partitions, select a raw partition for each device, based on the size recommendations in Table 2-13.
Verify with the operating System Administrator that the partition you have chosen is available.
Make sure the "sybase" user has read and write privileges to the raw partition.
For more information on choosing a raw partition, see your operating system documentation.
|
|