Check points extremely , extremely long & other issues
Posted in 1999
Hi All ,
I am doing a tuning exercise for a client and the set-up of the Informix
instance is a bit unusal in some cases by all accounts from the onstat
output. So I just want to check my thinking with all you informix experts. I
have not had time to actually get on the server. So I am currently working
from the onstat -a output
I know I have to increase number of CLEANER to the same value as the LRS.
I know I will be changing the BUFFERS and SHMVRTSIZE size.
I know the logical logs set up is a bit ....... different.
Is there any thing else anyone can spot.
Attached below is a copy of some of the ONSTAT -a output and ONCONFIG.
Informix Dynamic Server Version 7.30.FC6 -- On-Line -- Up 2 days
22:24:23 -- 967832 Kbytes
Message Log File: /usr/informix/online.log
16:01:09 Checkpoint Completed: duration was 7 seconds.
16:06:20 Checkpoint Completed: duration was 8 seconds.
16:06:34 Logical Log 1301 Complete.
16:11:35 Checkpoint Completed: duration was 13 seconds.
16:11:42 Logical Log 1302 Complete.
16:14:40 Logical Log 1303 Complete.
16:15:00 Checkpoint Completed: duration was 21 seconds.
16:17:48 Logical Log 1304 Complete.
16:20:31 Checkpoint Completed: duration was 30 seconds.
16:22:07 Logical Log 1305 Complete.
16:24:56 Logical Log 1306 Complete.
16:25:24 Checkpoint Completed: duration was 27 seconds.
16:30:45 Checkpoint Completed: duration was 12 seconds.
16:31:23 Logical Log 1307 Complete.
16:36:00 Checkpoint Completed: duration was 11 seconds.
16:39:40 Logical Log 1308 Complete.
16:40:58 Logical Log 1309 Complete.
16:41:42 Checkpoint Completed: duration was 44 seconds.
16:46:52 Checkpoint Completed: duration was 7 seconds.
16:52:02 Checkpoint Completed: duration was 7 seconds.
Configuration File: /usr/informix/etc/onconfig.baan
#**************************************************************************
#
# INFORMIX SOFTWARE, INC.
#
# Title: onconfig.baan
# Description: Informix Dynamic Server Configuration Parameters
#
#**************************************************************************
# Root Dbspace Configuration
ROOTNAME rootdbs # Root dbspace nameROOTPATH /dev/raw_links/rootdbs # Path for device containing root
dbspace
ROOTOFFSET 250 # Offset of root dbspace into device
(Kbytes)
ROOTSIZE 100000 # Size of root dbspace (Kbytes)
# Disk Mirroring Configuration Parameters
MIRROR 0 # Mirroring flag (Yes = 1, No = 0)
MIRRORPATH # Path for device containing mirrored root
MIRROROFFSET 0 # Offset into mirrored device (Kbytes)
# Physical Log Configuration
PHYSDBS plogdbs # Location (dbspace) of physical log
PHYSFILE 409600 # Physical log file size (Kbytes)
# Logical Log Configuration
LOGFILES 6 # Number of logical log files
LOGSIZE 500 # Logical log size (Kbytes)
# Diagnostics
MSGPATH /usr/informix/online.log # System message log file path
CONSOLE /dev/console # System console message path
ALARMPROGRAM /usr/informix/etc/log_full.sh # Alarm program pathSYSALARMPROGRAM /usr/informix/etc/evidence.sh # System Alarm program path
TBLSPACE_STATS 1
# System Archive Tape Device
TAPEDEV /dev/null # Tape device path
TAPEBLK 16 # Tape block size (Kbytes)
TAPESIZE 10240 # Maximum amount of data to put on tape
(Kbytes)
# Log Archive Tape Device
LTAPEDEV /dev/null # Log tape device path
LTAPEBLK 16 # Log tape block size (Kbytes)
LTAPESIZE 2000480 # Max amount of data to put on log tape
(Kbytes)
# Optical
STAGEBLOB # Informix Dynamic Server/Optical staging
area
# System Configuration
SERVERNUM 0 # Unique id corresponding to a DynamicServer instance
DBSERVERNAME baantcp # Name of default database server
DBSERVERALIASES # List of alternate dbservernames
NETTYPE soctcp,2,200,CPU # Configure poll thread(s) for nettype
DEADLOCK_TIMEOUT 60 # Max time to wait of lock in distributed
env.
RESIDENT 1 # Forced residency flag (Yes = 1, No = 0)
MULTIPROCESSOR 1 # 0 for single-processor, 1 formulti-processor
NUMCPUVPS 4 # Number of user (cpu) vps
SINGLE_CPU_VP 0 # If non-zero, limit number of cpu vps toone
NOAGE 0 # Process aging
AFF_SPROC 0 # Affinity start processor
AFF_NPROCS 0 # Affinity number of processors
# Shared Memory Parameters
LOCKS 50000 # Maximum number of locks
BUFFERS 50000 # Maximum number of shared buffers
NUMAIOVPS 10 # Number of IO vps
PHYSBUFF 32 # Physical log buffer size (Kbytes)
LOGBUFF 32 # Logical log buffer size (Kbytes)LOGSMAX 6 # Maximum number of logical log files
CLEANERS 2 # Number of buffer cleaner processes
SHMBASE 0x0 # Shared memory base address
SHMVIRTSIZE 819200 # initial virtual shared memory segmentsize
SHMADD 32768 # Size of new shared memory segments
(Kbytes)
SHMTOTAL 972800 # Total shared memory (Kbytes).
0=>unlimited
CKPTINTVL 300 # Check point interval (in sec)
LRUS 16
LRU_MAX_DIRTY 3 # LRU percent dirty begin cleaning limit
LRU_MIN_DIRTY 1 # LRU percent dirty end cleaning limit
LTXHWM 40 # Long transaction high water markpercentage
LTXEHWM 50 # Long transaction high water mark
(exclusive)
TXTIMEOUT 0x12c # Transaction timeout (in sec)
STACKSIZE 256 # Stack size (Kbytes)
# System Page Size
# BUFFSIZE - Dynamic Server no longer supports this configuration parameter.
# To determine the page size used by Dynamic Server on your
platform
# see the last line of output from the command, 'onstat -b'.
# Recovery Variables
# OFF_RECVRY_THREADS:
# Number of parallel worker threads during fast recovery or an offline
restore.
# ON_RECVRY_THREADS:
# Number of parallel worker threads during an online restore.
OFF_RECVRY_THREADS 10 # Default number of offline workerthreads
ON_RECVRY_THREADS 1 # Default number of online worker threads
# Data Replication Variables
# DRAUTO: 0 manual, 1 retain type, 2 reverse type
DRAUTO 0 # DR automatic switchover
DRINTERVAL 30 # DR max time between DR buffer flushes (in
sec)
DRTIMEOUT 30 # DR network timeout (in sec)DRLOSTFOUND /usr/informix/etc/dr.lostfound # DR lost+found file path
# CDR Variables
CDR_LOGBUFFERS 2048 # size of log reading buffer pool (Kby