RE: 9.40 vs 9.21 performance
Posted in 2004
Topics: Performance & Tuning, Installation, Setup & Upgrades, Server Administration, Platform-Specific Issues
Are you running Solaris? What is your ONCONFIG settings? What was memory usage at the time of the slow down? What if any env settings where set at startup that normally where not? On Wed, 2004-02-25 at 04:43, Colin Bull wrote: > Neil Truby > > > > > > We've been trying to expand this into a general case that IBM > > Tech Support > > will look at, and not been too successful. > > This leads me to suspect that the problem may exist with databases and > > tables that have been successivley converted from 7 -> 9 -> 9.40 .... > > Will keep looking. > > > > > We have just gone live with an upgrade to 9.4 FC2 and one table with > 300,000 rows by 107 bytes took consistently 6-7 minutes on an underspecced test servers. On the live server after about 15 hours, we > killed the process off, dropped all contraints and indexes, and loaded data in 3 minutes. Constraints and indexes took another 3 > minutes. The CPU load during the first attempt was around 90% most of the time. We have not got a clue why !! > > Colin Bull > c.bull@videonetworks.com > > > ________________________________________________________________________ > This email has been scanned for all known viruses by the MessageLabs Email > Security System. > ________________________________________________________________________ > sending to informix-list > sending to informix-list
"Eric Rowell" <erowell@knology.net> wrote in message
news:c1i8nc$495$1@terabinaries.xmission.com...
>
> Are you running Solaris?
HP-UX 11.11
> What is your ONCONFIG settings?
Well, I attach it below, but the file is identical between 9.21 and 9.40.
> What was memory usage at the time of the slow down?
Don't know. There is no discernible time that it slows: kust that data
inserts seem to be slow.
> What if any env settings where set at startup that normally where not?
informix@hamilton[/home/system/informix] env
#_=/usr/bin/env
MANPATH=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/ma
n:/usr/local/man/%L:/usr/local/man:/opt/upgrade/share/man/%L:/opt/upgrade/sh
are/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/pd/share/man/%L:/opt/pd/
share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/resmon/share/man:/opt/
hparray/share/man/%L:/opt/hparray/share/man:/opt/scr/share/man:/usr/dt/share
/man:/opt/samba/man:/opt/mx/share/man:/opt/ignite/share/man/%L:/opt/ignite/s
hare/man:/opt/audio/share/man:/opt/ansic/share/man/%L:/opt/ansic/share/man:/
opt/langtools/share/man/%L:/opt/langtools/share/man:/opt/perf/man/%L:/opt/pe
rf/man:/opt/image/share/man:/opt/OV/man/itose/%L:/opt/OV/man/itose:/opt/imak
e/man:/opt/dtcmgr/share/man:/opt/prm/man/%L:/opt/prm/man:/opt/hpnpl//man:/us
r/local/openssl/man
RANDFILE=/home/system/informix/.rnd
SHLIB_PATH=
PATH=/opt/informix/9.40/bin:/opt/informix/9.21/bin:/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade
/bin:/opt/fcms/bin:/opt/pd/bin:/opt/resmon/bin:/opt/scr/bin:/usr/bin/X11:/us
r/contrib/bin/X11:/opt/mx/bin:/usr/sbin/stm/uut/bin/progs:/opt/langtools/bin
:/opt/perf/bin:/opt/OV/bin/OpC:/opt/imake/bin:/opt/dtcmgr/sbin:/opt/ignite/b
in:/usr/local/vnc:/opt/emc/SInquiry/V4.2/bin:/opt/ssh/bin:/opt/fc/bin:/opt/p
rm/bin:/opt/resmon/bin:/opt/pred/bin:/opt/hpnp/bin:/opt/hpnpl//bin:.
COLUMNS=80
EDITOR=vi
LOGNAME=informix
MSGPATH=/opt/informix/online_1.log
ERASE=^H
IFMX_HPKAIO_NUM_REQ=2300
SHELL=/usr/bin/ksh
DBDATE=DMY4/HOME=/home/system/informix
INFORMIXDIR=/opt/informix/9.40TERM=vt100
ONCONFIG=onconfig.1PWD=/home/system/informix
KAIOON=1
TZ=GMT0BST
LINES=24
INFORMIXSERVER=lawson_live
#
# Description: INFORMIX-OnLine Configuration Parameters
#
#**************************************************************************
# Root Dbspace Configuration
ROOTNAME rootdbs # Root dbspace nameROOTPATH /opt/informixV7.13/dbspaces1/rootdbs
# Path for device containing root dbspace
ROOTOFFSET 0 # Offset of root dbspace into device
(Kbytes)
ROOTSIZE 131072 # Size of root dbspace (Kbytes)
# Disk Mirroring Configuration Parameters
#MIRROR 1 # Mirroring flag (Yes = 1, No = 0)
#MIRRORPATH /opt/informixV7.13/dbspaces1/rootdbs_m
# Path for device containing mirrored root
MIRROROFFSET 0 # Offset into mirrored device (Kbytes)
# Physical Log Configuration
PHYSDBS physlog # Location (dbspace) of physical log
PHYSFILE 80000 # Physical log file size (Kbytes)
# Logical Log Configuration
LOGFILES 50 # Number of logical log files
LOGSIZE 10240 # Logical log size (Kbytes)
# Diagnostics
MSGPATH /opt/informix/online_1.log # System message log file path
CONSOLE /opt/informix/online_1.con # System console message path
ALARMPROGRAM /opt/informix/9.21/etc/log_full.sh # Alarm program path
# System Archive Tape Device
TAPEDEV /dev/null
#TAPEDEV /opt/informixV7.13/dbspaces1/tapedev
TAPEBLK 64 # Tape block size (Kbytes)
TAPESIZE 40960000 # Maximum amount of data to put on tape
(Kbytes)
# Log Archive Tape Device
LTAPEDEV /dev/null#LTAPEDEV /opt/informixV7.13/dbspaces1/ltapedev # Log tape device
path
LTAPEBLK 16 # Log tape block size (Kbytes)
LTAPESIZE 8192000 # Max amount of data to put on log tape
(Kbytes)
# Optical
STAGEBLOB # INFORMIX-OnLine/Optical staging area
# System Configuration
SERVERNUM 1 # Unique id corresponding to a OnLineinstance
DBSERVERNAME lawson_live_shm # Name of default database server
DBSERVERALIASES lawson_live,lawson_live_ham
DEADLOCK_TIMEOUT 120 # 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 1 # Process aging
AFF_SPROC 0 # Affinity start processor
AFF_NPROCS 0 # Affinity number of processors
# Shared Memory Parameters
LOCKS 2000000 # Maximum number of locks
BUFFERS 750000 # Maximum number of shared buffers
NUMAIOVPS 2 # Number of IO vps
PHYSBUFF 256 # Physical log buffer size (Kbytes)
LOGBUFF 128 # Logical log buffer size (Kbytes)
CLEANERS 65 # Number of buffer cleaner processes
SHMBASE 0x0 # Shared memory base address
SHMVIRTSIZE 320768 # initial virtual shared memory segment size
SHMADD 16384 # Size of new shared memory segments
(Kbytes)
SHMTOTAL 0 # Total shared memory (Kbytes). 0=>unlimited
CKPTINTVL 900 # Check point interval (in sec)
LRUS 65 # Number of LRU queues
LRU_MAX_DIRTY 4.000000 # LRU percent dirty begin cleaning limit
LRU_MIN_DIRTY 2.000000 # 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 128 # 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 worker threads
# Data Replication Variables
# DRAUTO: 0 manual, 1 retain type, 2 reverse type
DRINTERVAL 30 # DR max time between DR buffer flushes (in
sec)
DRTIMEOUT 30 # DR network timeout (in sec)
using varchars on the table?
"Neil Truby" <neil.truby@ardenta.com> wrote in message
news:c1iaar$1em8d7$1@ID-162943.news.uni-berlin.de...
> "Eric Rowell" <erowell@knology.net> wrote in message
> news:c1i8nc$495$1@terabinaries.xmission.com...
> >
> > Are you running Solaris?
> HP-UX 11.11
>
> > What is your ONCONFIG settings?
> Well, I attach it below, but the file is identical between 9.21 and 9.40.
>
> > What was memory usage at the time of the slow down?
> Don't know. There is no discernible time that it slows: kust that data
> inserts seem to be slow.
>
> > What if any env settings where set at startup that normally where not?
>
> informix@hamilton[/home/system/informix] env
> #_=/usr/bin/env
>
MANPATH=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/ma
>
n:/usr/local/man/%L:/usr/local/man:/opt/upgrade/share/man/%L:/opt/upgrade/sh
>
are/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/pd/share/man/%L:/opt/pd/
>
share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/resmon/share/man:/opt/
>
hparray/share/man/%L:/opt/hparray/share/man:/opt/scr/share/man:/usr/dt/share
>
/man:/opt/samba/man:/opt/mx/share/man:/opt/ignite/share/man/%L:/opt/ignite/s
>
hare/man:/opt/audio/share/man:/opt/ansic/share/man/%L:/opt/ansic/share/man:/
>
opt/langtools/share/man/%L:/opt/langtools/share/man:/opt/perf/man/%L:/opt/pe
>
rf/man:/opt/image/share/man:/opt/OV/man/itose/%L:/opt/OV/man/itose:/opt/imak
>
e/man:/opt/dtcmgr/share/man:/opt/prm/man/%L:/opt/prm/man:/opt/hpnpl//man:/us
> r/local/openssl/man
> RANDFILE=/home/system/informix/.rnd
> SHLIB_PATH=
>
PATH=/opt/informix/9.40/bin:/opt/informix/9.21/bin:/usr/bin:/opt/ansic/bin:/>
usr/ccs/bin:/usr/contrib/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade
>
/bin:/opt/fcms/bin:/opt/pd/bin:/opt/resmon/bin:/opt/scr/bin:/usr/bin/X11:/us
>
r/contrib/bin/X11:/opt/mx/bin:/usr/sbin/stm/uut/bin/progs:/opt/langtools/bin
>
:/opt/perf/bin:/opt/OV/bin/OpC:/opt/imake/bin:/opt/dtcmgr/sbin:/opt/ignite/b
>
in:/usr/local/vnc:/opt/emc/SInquiry/V4.2/bin:/opt/ssh/bin:/opt/fc/bin:/opt/p
> rm/bin:/opt/resmon/bin:/opt/pred/bin:/opt/hpnp/bin:/opt/hpnpl//bin:.
> COLUMNS=80
> EDITOR=vi
> LOGNAME=informix
> MSGPATH=/opt/informix/online_1.log
> ERASE=^H
> IFMX_HPKAIO_NUM_REQ=2300
> SHELL=/usr/bin/ksh
> DBDATE=DMY4/> HOME=/home/system/informix
> INFORMIXDIR=/opt/informix/9.40> TERM=vt100
> ONCONFIG=onconfig.1> PWD=/home/system/informix
> KAIOON=1
> TZ=GMT0BST
> LINES=24
> INFORMIXSERVER=lawson_live>
>
>
> #
> # Description: INFORMIX-OnLine Configuration Parameters
> #
>
#**************************************************************************
>
> # Root Dbspace Configuration
>
> ROOTNAME rootdbs # Root dbspace name> ROOTPATH /opt/informixV7.13/dbspaces1/rootdbs
> # Path for device containing root dbspace
> ROOTOFFSET 0 # Offset of root dbspace into device
> (Kbytes)
> ROOTSIZE 131072 # Size of root dbspace (Kbytes)>
> # Disk Mirroring Configuration Parameters
>
> #MIRROR 1 # Mirroring flag (Yes = 1, No = 0)
> #MIRRORPATH /opt/informixV7.13/dbspaces1/rootdbs_m
> # Path for device containing mirrored root
> MIRROROFFSET 0 # Offset into mirrored device (Kbytes)>
> # Physical Log Configuration
>
> PHYSDBS physlog # Location (dbspace) of physical log
> PHYSFILE 80000 # Physical log file size (Kbytes)>
> # Logical Log Configuration
>
> LOGFILES 50 # Number of logical log files
> LOGSIZE 10240 # Logical log size (Kbytes)>
> # Diagnostics
>
> MSGPATH /opt/informix/online_1.log # System message log file path
> CONSOLE /opt/informix/online_1.con # System console message path
> ALARMPROGRAM /opt/informix/9.21/etc/log_full.sh # Alarm program path
>
> # System Archive Tape Device
>
> TAPEDEV /dev/null
> #TAPEDEV /opt/informixV7.13/dbspaces1/tapedev
> TAPEBLK 64 # Tape block size (Kbytes)
> TAPESIZE 40960000 # Maximum amount of data to put on tape
> (Kbytes)>
> # Log Archive Tape Device
>
> LTAPEDEV /dev/null> #LTAPEDEV /opt/informixV7.13/dbspaces1/ltapedev # Log tape device
> path
> LTAPEBLK 16 # Log tape block size (Kbytes)
> LTAPESIZE 8192000 # Max amount of data to put on log tape
> (Kbytes)>
> # Optical
>
> STAGEBLOB # INFORMIX-OnLine/Optical staging area
>
> # System Configuration
>
> SERVERNUM 1 # Unique id corresponding to a OnLine> instance
> DBSERVERNAME lawson_live_shm # Name of default database server
> DBSERVERALIASES lawson_live,lawson_live_ham
> DEADLOCK_TIMEOUT 120 # 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 for> multi-processor
> NUMCPUVPS 4 # Number of user (cpu) vps
> SINGLE_CPU_VP 0 # If non-zero, limit number of cpu vps to> one
>
> NOAGE 1 # Process aging
> AFF_SPROC 0 # Affinity start processor
> AFF_NPROCS 0 # Affinity number of processors>
> # Shared Memory Parameters
>
> LOCKS 2000000 # Maximum number of locks
> BUFFERS 750000 # Maximum number of shared buffers
> NUMAIOVPS 2 # Number of IO vps
> PHYSBUFF 256 # Physical log buffer size (Kbytes)
> LOGBUFF 128 # Logical log buffer size (Kbytes)
> CLEANERS 65 # Number of buffer cleaner processes
> SHMBASE 0x0 # Shared memory base address
> SHMVIRTSIZE 320768 # initial virtual shared memory segmentsize
> SHMADD 16384 # Size of new shared memory segments
> (Kbytes)
> SHMTOTAL 0 # Total shared memory (Kbytes).
0=>unlimited
> CKPTINTVL 900 # Check point interval (in sec)
> LRUS 65 # Number of LRU queues
> LRU_MAX_DIRTY 4.000000 # LRU percent dirty begin cleaning limit
> LRU_MIN_DIRTY 2.000000 # LRU percent dirty end cleaning limit
> LTXHWM 50 # Long transaction high water mark> percentage
> LTXEHWM 60 # Long transaction high water mark
> (exclusive)
> TXTIMEOUT 0x12c # Transaction timeout (in sec)
> STACKSIZE 128 # 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 worke
Related threads
- onbar -c -F in Windows Informix instance
- Anyone... SQLCODE=-668, ISAM error=-1
- Not using the 100% logical log page size alloacted to informix