Phy. Log Size [ 1000] Kbytes Log. Log Size [ 500] Kbytes
Number of Logical Logs [ 6]
---------------------------------------------------------------------------
第一屏设置完成后按ESC,onmonitor在完成数据库空间初始化以后便接着要求用户设置共享内存。如果用户在以后需要调整共享内存时可以运行onmonitor,然后选择Parameters菜单,再选 择 Shared-Memory项。对于初次调整共享内存,用户需要注意的是Server Number是不可以重复的,并且 Server Name以小写为好,尤其是对于用户需要建立分布式数据库系统的情况更为重要。可以说对用 户影响最大的BUFFERS和LOCKS。
---------------------------------------------------------------------------
SHARED MEMORY: Make desired changes and press ESC to record changes.
Press Interrupt to abort changes. Press F2 or CTRL-F for field-level help.
SHARED MEMORY PARAMETERS
Server Number [ 10] Server Name [online7 ]
Server Aliases [ ]
Dbspace Temp [ ]
Deadlock Timeout [ 60] Secs Number of Page Cleaners [ 1]
Forced Residency [N] Stack Size (Kbytes) [ 32]
Non Res. SegSize (Kbytes) [8000]
Physical Log Buffer Size [ 32] Kbytes
Logical Log Buffer Size [ 32] Kbytes
MAX # of Logical Logs [ 6] Transaction Timeout [ 300]
MAX # of Transactions [ 20] Long TX HWM [ 50]
MAX # of Userthreads [ 20] Long TX HWM Exclusive [ 60]
MAX # of Locks [ 2000] Index Page Fill Factor [ 90]
MAX # of Buffers [ 200] Add SegSize (Kbytes) [ 8192]
MAX # of Chunks [ 8] Total Memory (Kbytes) [ 0]
MAX # of Open Tblspaces [ 200]
MAX # of Dbspaces [ 8]
============
Shared memory size [ 864] Kbytes Page size [ 2] Kbytes
Enter a unique value to be associated with this version of INFORMIX-OnLine.
---------------------------------------------------------------------------
设置完共享内存后按ESC键,OnLine便初始化共享内存,当OnLine成功地初始化共享内存 后,OnLine便进入第三个屏幕数据库服务器性能参数调整。在这个屏幕中用户说明OnLine 动态服务 器 7.1所运行的计算机是否一个SMP体系结构的计算机,若是则置 Multiprocessor Machine 为 Y,否 则为N。当 Multiprocessor Machine 为Y时,用户可以进一步地设置有多少个服务器进程与 CPU 结合 (Num Procs to Affinity),并且从第几个CPU开始与数据库服务器进程结合 ( Proc num to start with)。 如果该 计算机为单处理器计算机系统,则设置 Single CPU VP为Y,否则为N。 怎样设置 CPU VP 和AIO VP,在“Informix ODS 性能指南”一书中有详细介绍。在屏幕的右下方是该数据库服务器 的网络 链接形式的定义,它必须与$INFORMIXDIR/etc/sqlhosts中的设置相符。例如在$INFORMIX- DIR /etc/sqlhosts中定义数据库服务器online的网络链接形式为onsoctcp,则在 NETTYPE settings中 设置Protocol 为soctcp ,其它项可先用其缺省 值。
---------------------------------------------------------------------------
PERFORMANCE: Make desired changes and press ESC to record changes.
Press Interrupt to abort changes. Press F2 or CTRL-F for field-level help.
PERFORMANCE TUNING PARAMETERS
Multiprocessor Machine [N] LRU Max Dirty [ 60]
Num Procs to Affinity [ 0] LRU Min Dirty [ 50]
Procs num to start with [ 0] Checkpoint Interval [ 300]
Num of Read Ahead Pages [ 4]
CPU VPs [ 1] Read Ahead Threashold [ 2]
AIO Vps [ 2]
Single CPU VP [Y] NETTYPE settings:
Use OS Time [N] Protocol Threads Users VP-class
Disable Priority Aging [N] [soctcp] [ ] [ ] [ ]
Off-Line Recovery Threads [ 10] [ ] [ ] [ ] [ ]
On-Line Recovery Threads [ 1] [ ] [ ] [ ] [ ]
Num of LRUS queues [ 8] [ ] [ ] [ ] [ ]
---------------------------------------------------------------------------
设置完这一屏参数后,按ESC。 接下来我们将设置动态数据复制、运行监控和并行数据操 作等参数, 由于目前数据库系统处于初建阶段, 暂不考虑动态数据复制,当系统进入该屏幕后按 ESC。
---------------------------------------------------------------------------
DATA REPLICATION: Make desired changes and press ESC to record changes.
Press Interrupt to abort changes. Press F2 or CTRL-F for field-level help.
DATA REPLICATION PARAMETERS
Interval [ 30]
Timeout [ 30]
Auto [0]
Lost & Found [/usr/informix/etc/dr.lostfound ]
---------------------------------------------------------------------------
这时系统进入运行监控屏幕,在这屏幕中我们将定义系统运行的信息日志文件以及当系统运行发现问题时,系统的运行状态将写到那一个目录下。
---------------------------------------------------------------------------
DIAGNOSTICS: Make desired changes and press ESC to record changes.
Press Interrupt to abort changes. Press F2 or CTRL-F for field-level help.
DIAGNOSTIC PARAMETERS
Message Log [/usr/informix/online.log ]
Console Msgs. [/dev/console ]
Alam Program [ ]
设置完运行监控参数后,按ESC键。这时系统进入最后一个设置屏幕,并行数据操作屏幕 , 由于我们刚开始建立数据库系统,暂不考虑并行数据操作参数的设置。 因此我们按ESC键来结束我 们的数据库服务器初始化操作过程。
---------------------------------------------------------------------------
PDQ: Make desired changes and press ESC to record changes.
Press Interrupt to abort changes. Press F2 or CTRL-F for field-level help.
PARALLEL DATABASE QUERIES PARAMETERS
PDQ Priority [100]
Maximun Priority [100]
Decision Support Queries [ 10]
Decision Support Memory (Kbytes) [ 8192]
Maximun Decision Support Scans [ 4]
Dataskip [ ]
Optimizer Hint [0]
---------------------------------------------------------------------------