Off and On Informix Performance Issues
Posted in 2003
Topics: Performance & Tuning
We have experienced Informix Performance issues where for no reason that we can determine, the Informix database slows down. We have run a Sniffer product to determine that they are no network issues. In fact all other applications are working fine in terms of response time. The server Performance monitor shows that the server does not seem to have any bottlenecks and the Informix database is the only application on this server. The best part is that after a couple of days of hair pulling, the performance issue disappears only to reappear in the following months. At this point in time, we are looking at our connection client which I am told is Inet. Does anyone have any knowledge of how to improve Inet? Due to the economy, our best Informix person is no longer with the company and I have had no formal training so I am sorry if my message is a little incoherent.
Gary Aders wrote:
> We have experienced Informix Performance issues where for no reason
> that we can determine, the Informix database slows down. We have run
> a Sniffer product to determine that they are no network issues. In
> fact all other applications are working fine in terms of response
> time. The server Performance monitor shows that the server does not
> seem to have any bottlenecks and the Informix database is the only
> application on this server. The best part is that after a couple of
> days of hair pulling, the performance issue disappears only to
> reappear in the following months. At this point in time, we are
> looking at our connection client which I am told is Inet. Does anyone
> have any knowledge of how to improve Inet? Due to the economy, our
> best Informix person is no longer with the company and I have had no
> formal training so I am sorry if my message is a little incoherent.
When you next experience these problems, run the following commands:
onstat -p
onstat -F
onstat -R
onstat -m
onstat -g seg
and post the output. Some information on the machine (# CPUS, RAM, disk,
make, OS) would be useful at the same time.
Is there possibly a batch process running when this happens? Like a monthly
/ quarterly purge or something?
gaders@masterbrandcabinets.com (Gary Aders) wrote in message news:<4a5a9f2f.0306100611.83d1fcf@posting.google.com>...
> We have experienced Informix Performance issues where for no reason
> that we can determine, the Informix database slows down. We have run
> a Sniffer product to determine that they are no network issues. In
> fact all other applications are working fine in terms of response
> time. The server Performance monitor shows that the server does not
> seem to have any bottlenecks and the Informix database is the only
> application on this server. The best part is that after a couple of
> days of hair pulling, the performance issue disappears only to
> reappear in the following months. At this point in time, we are
> looking at our connection client which I am told is Inet. Does anyone
> have any knowledge of how to improve Inet? Due to the economy, our
> best Informix person is no longer with the company and I have had no
> formal training so I am sorry if my message is a little incoherent.
Here is the online config file
#**************************************************************************
#
# INFORMIX SOFTWARE, INC.
#
# Title: onconfig.std
# Description: INFORMIX-OnLine Configuration Parameters
#
#**************************************************************************
# Root Dbspace Configuration
ROOTNAME rootdbs # Root dbspace name
ROOTPATH E:\\IFMXDATA\\ol_p05s02\\rootdbs_dat.000 # Path for device containing root
dbspace
# Path for device containing root dbspace
ROOTOFFSET 0 # Offset of root dbspace into device
(Kbytes)
ROOTSIZE 250000 # Size of root dbspace (Kbytes)# Disk Mirroring Configuration Parameters
MIRROR 0 # Mirroring flag (Yes = 1, No = 0)
MIRRORPATH # Path for device containing mirroredroot
MIRROROFFSET 0 # Offset into mirrored device (Kbytes)# Physical Log Configuration
PHYSBUFF 64 # Physical log buffer size (Kbytes)PHYSDBS rootdbs # Location (dbspace) of physical log
PHYSFILE 11000 # Physical log file size (Kbytes)# Logical Log Configuration
LOGBUFF 64 # Logical log buffer size (Kbytes)LOGSMAX 300 # Maximum number of logical log files
LOGFILES 225 # Number of logical log files
LOGSIZE 500 # Logical log size (Kbytes)# Diagnostics
MSGPATH E:\\WIN32APP\\INFORMIX\\online.log # System message log
file path
CONSOLE E:\\WIN32APP\\INFORMIX\\console.log # System console
message path
ALARMPROGRAM E:\\WIN32APP\\INFORMIX\\etc\\log_full.bat # Alarm program
path
# System Archive Tape Device
#TAPEDEV E:\\TAPEFILE # Tape device path
TAPEDEV \\\\.\\TAPE0 # Tape device path#TAPEDEV NUL # Tape device path
TAPEBLK 16 # Tape block size (Kbytes)
TAPESIZE 3200000 # Maximum amount of data to put on
tape (Kbytes)#TAPESIZE 10240 # Maximum amount of data to put on
tape (Kbytes)
# Log Archive Tape Device
LTAPEDEV NUL # Log tape device path
LTAPEBLK 16 # Log tape block size (Kbytes)
LTAPESIZE 10240 # Max amount of data to put on log
tape (Kbytes)
# OpticalSTAGEBLOB # INFORMIX-OnLine/Optical staging area
# System Configuration
SERVERNUM 0 # Unique id corresponding to a OnLineinstance
DBSERVERNAME ol_p05s02 # Name of default Dynamic Server
DBSERVERALIASES # List of alternate dbservernames
NETTYPE soctcp,1,,NET # Override sqlhosts nettype parameters
DEADLOCK_TIMEOUT 60 # Max time to wait of lock indistributed env.
RESIDENT 0 # Forced residency flag (Yes = 1, No =
0)
MULTIPROCESSOR 0 # 0 for single-processor, 1 formulti-processor
NUMCPUVPS 1 # Number of user (cpu) vps
SINGLE_CPU_VP 1 # If non-zero, limit number of cpu vpsto one
NOAGE 0 # Process aging
AFF_SPROC 0 # Affinity start processor
AFF_NPROCS 0 # Affinity number of processors# Shared Memory Parameters
LOCKS 250000 # Maximum number of locks
BUFFERS 1000 # Maximum number of shared buffers
NUMAIOVPS 1 # Number of IO vps
CLEANERS 2 # Number of buffer cleaner processes
SHMBASE 0xc000000 # Shared memory base address
SHMVIRTSIZE 51200 # initial virtual shared memorysegment size 50MB
SHMADD 10240 # Size of new shared memory segments
(Kbytes) 10MB
SHMTOTAL 0 # Total shared memory (Kbytes).
0=>unlimited 180MB
CKPTINTVL 180 # Check point interval (in sec)
LRUS 8 # Number of LRU queues
LRU_MAX_DIRTY 50 # LRU percent dirty begin cleaninglimit
LRU_MIN_DIRTY 40 # LRU percent dirty end cleaning limit
LTXHWM 50 # Long transaction high water markpercentage
LTXEHWM 60 # Long transaction high water mark
(exclusive)
TXTIMEOUT 0x12c # Transaction timeout (in sec)
STACKSIZE 164 # Stack size (Kbytes)# System Page Size
# BUFFSIZE - OnLine no longer supports this configuration parameter.
# To determine the page size used by OnLine 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 workerthreads
# 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 \\tmp # DR lost+found file path# Backup/Restore variables
BAR_ACT_LOG bar_act.log #Path of log file for onbar.exe
BAR_MAX_BACKUP 0
BAR_RETRY 1
BAR_NB_XPORT_COUNT 10
BAR_XFER_BUF_SIZE 31# Read Ahead Variables
RA_PAGES 8 # Number of pages to attempt to readahead
RA_THRESHOLD 4 # Number of pages left before nextgroup
# DBSPACETEMP:
# OnLine equivalent of DBTEMP for SE. This is the list of dbspaces
# that the OnLine SQL Engine will use to create temp tables etc.
# If specified it must be a colon separated list of dbspaces that
exist
# when the OnLine system is brought online. If not specified, or if
# all dbspaces specified are invalid, various ad hoc queries will
create
# temporary files in /tmp instead.
DBSPACETEMP ol_t
Further information on Gary's posting: We are using Informix Dynamic Server 7.31.TD6 on Windows 2000 Server and Informix Dynamic Server 7.30.TC9 on Windows NT. We're having slow performance problems on both platforms. We use Informix Setnet 32 for connection with protocolname olsoctcp and the turbo service. I can provide onconfig files and further information on request. Please be specific on the requested information.