Join IIUG
 for   
 

Informix News
18 Nov 13 - ZDNet - Top 20 mobile skills in demand... Read
09 Sep 13 - telecompaper - Shaspa and Tatung have shown a new smart home platform at Ifa in Berlin. Powered by the IBM Informix software... Read
06 Sep 13 - IBM data magazine - Mission Accomplished - Miami, Florida will be the backdrop for the 2014 IIUG Informix Conference... Read
01 Feb 13 - IBM Data Magazine - Are your database backups safe? Lester Knutsen (IBM Champion) writes about database back up safety using "archecker"... Read
14 Nov 12 - IBM - IBM's Big Data For Smart Grid Goes Live In Texas... Read
3 Oct 12 - The Financial - IBM and TransWorks Collaborate to Help Louisiana-Pacific Corporation Achieve Supply Chain Efficiency... Read
28 Aug 12 - techCLOUD9 - Splunk kicks up a SaaS Storm... Read
10 Aug 12 - businessCLOUD9 - Is this the other half of Cloud monitoring?... Read
3 Aug 12 - IBM data management - Supercharging the data warehouse while keeping costs down IBM Informix Warehouse Accelerator (IWA) delivers superior performance for in-memory analytics processing... Read
2 Aug 12 - channelbiz - Oninit Group launches Pay Per Pulse cloud-based service... Read
28 May 12 - Bloor - David Norfolk on the recent Informix benchmark "pretty impressive results"... Read
23 May 12 - DBTA - Informix Genero: A Way to Modernize Informix 4GL Applications... Read
9 Apr 12 - Mastering Data Management - Upping the Informix Ante: Advanced Data Tools... Read
22 Mar 12 - developerWorks - Optimizing Informix database access... Read
14 Mar 12 - BernieSpang.com - International Informix User Group set to meet in San Diego... Read
1 Mar 12 - IBM Data Management - IIUG Heads West for 2012 - Get ready for sun and sand in San Diego... Read
1 Mar 12 - IBM Data Management - Running Informix on Solid-State Drives.Speed Up Database Access... Read
26 Feb 12 - BernieSpan.com - Better results, lower cost for a broad set of new IBM clients and partners... Read
24 Feb 12 - developerWorks - Informix Warehouse Accelerator: Continuous Acceleration during Data Refresh... Read
6 Feb 12 - PRLOG - Informix port delivers unlimited database scalability for popular SaaS application ... Read
2 Feb 12 - developerWorks - Loading data with the IBM Informix TimeSeries Plug-in for Data Studio... Read
1 Feb 12 - developerWorks - 100 Tech Tips, #47: Log-in to Fix Central... Read
13 Jan 12 - MC Press online - Informix Dynamic Server Entices New Users with Free Production Edition ... Read
11 Jan 12 - Computerworld - Ecologic Analytics and Landis+Gyr -- Suitors Decide to Tie the Knot... Read
9 Jan 12 - planetIDS.com - DNS impact on Informix / Impacto do DNS no Informix... Read
8 Sep 11 - TMCnet.com - IBM Offers Database Solution to Enable Smart Meter Data Capture... Read
1 Aug 11 - IBM Data Management Magazine - IIUG user view: Happy 10th anniversary to IBM and Informix... Read
8 Jul 11 - Database Trends and Applications - Managing Time Series Data with Informix... Read
31 May 11 - Smart Grid - The meter data management pitfall utilities are overlooking... Read
27 May 11 - IBM Data Management Magazine - IIUG user view: Big data, big time ( Series data, warehouse acceleration, and 4GLs )... Read
16 May 11 - Business Wire - HiT Software Announces DBMoto for Enterprise Integration, Adds Informix. Log-based Change Data Capture... Read
21 Mar 11 - Yahoo! Finance - IBM and Cable&Wireless Worldwide Announce UK Smart Energy Cloud... Read
14 Mar 11 - MarketWatch - Fuzzy Logix and IBM Unveil In-Database Analytics for IBM Informix... Read
11 Mar 11 - InvestorPlace - It's Time to Give IBM Props: How many tech stocks are up 53% since the dot-com boom?... Read
9 Mar 11 - DBTA - Database Administration and the Goal of Diminishing Downtime... Read
2 Feb 11 - DBTAs - Informix 11.7 Flexible Grid Provides a Different Way of Looking at Database Servers... Read
27 Jan 11 - exactsolutions - Exact to Add Informix Support to Database Replay, SQL Monitoring Solutions... Read
25 Jan 11 - PR Newswire - Bank of China in the UK Works With IBM to Become a Smarter, Greener Bank... Read
12 Oct 10 - Database Trends and Applications - Informix 11.7: The Beginning of the Next Decade of IBM Informix... Read
20 Sep 10 - planetIDS.com - ITG analyst paper: Cost/Benefit case for IBM Informix as compared to Microsoft SQL Server... Read
20 Jul 10 - IBM Announcements - IBM Informix Choice Edition V11.50 helps deploy low-cost scalable and reliable solutions for Apple Macintosh and Microsoft Windows... Read
20 Jul 10 - IBM Announcements - Software withdrawal: Elite Support for Informix Ultimate-C Edition... Read
24 May 10 - eWeek Europe - IBM Supplies Database Tech For EU Smart Grid... Read
23 May 10 - SiliconIndia - IBM's smart metering system allows wise use of energy... Read
21 May 10 - CNET - IBM to help people monitor energy use... Read
20 May 10 - ebiz - IBM Teams With Hildebrand To Bring Smart Metering To Homes Across Britain... Read
19 May 10 - The New Blog Times - Misurare il consumo energetico: DEHEMS è pronto... Read
19 May 10 - ZDNet - IBM software in your home? Pact enables five-city smart meter pilot in Europe... Read
17 March 10 - ZDNet (blog) David Morgenstern - TCO: New research finds Macs in the enterprise easier, cheaper to manage than... Read
17 March 2010 - Virtualization Review - ...key components of Big Blue's platform to the commercial cloud such as its WebSphere suite of application ser vers and its DB2 and Informix databases... Read
10 February 2010 - The Wall Street Journal - International Business Machines is expanding an initiative to win over students and professors on its products. How do they lure the college crowd?... Read


End of Support Dates

IIUG on Facebook IIUG on Twitter

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum

index builds are very slow

Posted By: DOUGLAS MERRILL
Date: Wednesday, 26 May 2010, at 11:44 a.m.

from Doug Merrill: dmerrill@lakecountyil.gov

Created 950 tables using dbschema.
Disabled, triggers, constraints, and indexes.
Loaded data using load in parallel.
Database size is 200gb.
Enabling the indexes has been running for 48 hours.
Enabling the indexes is still running!
Why are index builds(or enables) so slow?????????????????????????????

### Platform ######

IBM Informix Dynamic Server Version 10.00.FC4 -- On-Line -- Up 3 days 11:25:04 -- 18799640 Kbytes

Red Hat Enterprise Linux AS release 4 (Nahant Update 6)
Linux taxtst.lakeco.org 2.6.9-67.ELlargesmp #1 SMP Wed Nov 7 14:07:22 EST 2007 x86_64 x86_64 x86_64 GNU/Linux
###################

Wed May 26 10:21:59 CDT 2010 onstat -p

IBM Informix Dynamic Server Version 10.00.FC4 -- On-Line -- Up 3 days 11:25:04 -- 18799640 Kbytes

Profile
dskreads pagreads bufreads %cached dskwrits pagwrits bufwrits %cached
91921459 4344217958 2640181145 99.81 195510417 199383464 2380367396 91.79

isamtot open start read write rewrite delete commit rollbk
4787344911 2410154 6068368 18965177 1840194224 582908 18024 548552 145

gp_read gp_write gp_rewrt gp_del gp_alloc gp_free gp_curs
5 0 0 0 0 0 8

ovlock ovuserthread ovbuff usercpu syscpu numckpts flushes
0 0 35553 103224.38 34824.39 1018 5622

bufwaits lokwaits lockreqs deadlks dltouts ckpwaits compress seqscans
62107 0 1939505533 0 0 1334 35505 367095

ixda-RA idx-RA da-RA RA-pgsused lchwaits
10962 0 1489753 1500323 22708419

Wed May 26 10:21:59 CDT 2010 onstat -d

IBM Informix Dynamic Server Version 10.00.FC4 -- On-Line -- Up 3 days 11:25:04 -- 18799640 Kbytes

Dbspaces
address number flags fchunk nchunks pgsize flags owner name
13fb4be78 1 0x60001 1 1 2048 N B informix rootdbs
141466848 2 0x60001 2 1 2048 N B informix plogdbs
1414669e0 3 0x60001 3 1 2048 N B informix llogdbs
141466b78 4 0x60001 4 1 2048 N B informix llogdbs2
141466d10 5 0x42001 5 5 2048 N TB informix temp1
141467028 6 0x42001 10 5 2048 N TB informix temp2
1414671c0 7 0x42001 11 5 2048 N TB informix temp3
141467358 8 0x42001 12 5 2048 N TB informix temp4
1415896e8 9 0x60001 25 1 2048 N B informix indexsp
1414674f0 10 0x60001 26 1 2048 N B informix dbasesp
14153cdc8 11 0x60001 27 1 4096 N B informix statementsp
14151fe68 12 0x60001 28 1 4096 N B informix stmt_instsp
141585d08 13 0x60001 29 1 4096 N B informix stmt_linesp
1415cae90 14 0x60001 30 1 2048 N B informix countysp
1415b0ab0 15 0x60001 31 6 2048 N B informix provalsp
141467688 25 0x68001 41 4 2048 N SB informix sbspace2
16 active, 2047 maximum

Chunks
address chunk/dbs offset size free bpages flags pathname
13fb4c028 1 1 0 25000 22118 PO-B /opt/admspaces/rootdbs
141463778 2 2 0 2621440 2365387 PO-B /opt/admspaces/plogdbs
141463918 3 3 0 2621440 58887 PO-B /opt/admspaces/llogdbs
141463ab8 4 4 0 2621440 58887 PO-B /opt/admspaces/llogdbs2
141463c58 5 5 0 1048576 1048523 PO-B /dat/links/tempsp/temp1/temp1_lnk.01
141463df8 6 5 0 1048576 1048573 PO-B /dat/links/tempsp/temp1/temp1_lnk.02
141464028 7 5 0 1048576 1048573 PO-B /dat/links/tempsp/temp1/temp1_lnk.03
1414641c8 8 5 0 1048576 1048573 PO-B /dat/links/tempsp/temp1/temp1_lnk.04
141464368 9 5 0 1048576 1048573 PO-B /dat/links/tempsp/temp1/temp1_lnk.05
141464508 10 6 0 1048576 1048523 PO-B /dat/links/tempsp/temp2/temp2_lnk.01
1414646a8 11 7 0 1048576 1048523 PO-B /dat/links/tempsp/temp3/temp3_lnk.01
141464848 12 8 0 1048576 1048523 PO-B /dat/links/tempsp/temp4/temp4_lnk.01
1414649e8 13 6 0 1048576 1048573 PO-B /dat/links/tempsp/temp2/temp2_lnk.02
141464b88 14 6 0 1048576 1048573 PO-B /dat/links/tempsp/temp2/temp2_lnk.03
141464d28 15 6 0 1048576 1048573 PO-B /dat/links/tempsp/temp2/temp2_lnk.04
141465028 16 6 0 1048576 1048573 PO-B /dat/links/tempsp/temp2/temp2_lnk.05
1414651c8 17 7 0 1048576 1048573 PO-B /dat/links/tempsp/temp3/temp3_lnk.02
141465368 18 7 0 1048576 1048573 PO-B /dat/links/tempsp/temp3/temp3_lnk.03
141465508 19 7 0 1048576 1048573 PO-B /dat/links/tempsp/temp3/temp3_lnk.04
1414656a8 20 7 0 1048576 1048573 PO-B /dat/links/tempsp/temp3/temp3_lnk.05
141465848 21 8 0 1048576 1048573 PO-B /dat/links/tempsp/temp4/temp4_lnk.02
1414659e8 22 8 0 1048576 1048573 PO-B /dat/links/tempsp/temp4/temp4_lnk.03
141465b88 23 8 0 1048576 1048573 PO-B /dat/links/tempsp/temp4/temp4_lnk.04
141465d28 24 8 0 1048576 1048573 PO-B /dat/links/tempsp/temp4/temp4_lnk.05
141589880 25 9 0 232783872 157456643 PO-B /idx/links/indexsp_lnk.01
141466028 26 10 0 262144000 150158396 PO-B /dat/links/dbasesp/dbasesp_lnk.01
14151fcc8 27 11 0 13107200 9607147 PO-B /dat/links/statementsp/statement_lnk.01
1415855a8 28 12 0 13107200 11982147 PO-B /dat/links/stmt_instsp/stmt_inst_dat.01
14158b028 29 13 0 13107200 11732147 PO-B /dat/links/stmt_linesp/stmt_line_dat.01
1415f6050 30 14 0 78643200 47271051 PO-B /dat/links/countysp/countysp_lnk.01
1415b0fc8 31 15 0 26214400 13 PO-B /dat/links/provalsp/provalsp_lnk.01
141c78e18 32 15 0 13107200 3534 PO-B /dat/links/provalsp/provalsp_lnk.02
1415a2dc8 33 15 0 13107200 8515 PO-B /dat/links/provalsp/provalsp_lnk.03
1419d8c40 34 15 0 13107200 3864697 PO-B /dat/links/provalsp/provalsp_lnk.04
141d737f0 35 15 0 13107200 13107197 PO-B /dat/links/provalsp/provalsp_lnk.05
141a42ce0 36 15 0 13107200 13107197 PO-B /dat/links/provalsp/provalsp_lnk.06
1414661c8 41 25 0 5242880 4889938 4889938 POSB /dat/links/grp2/sbspace_lnk.01

Metadata 352889 36870 352889
141466368 56 25 0 2621440 2444977 2444977 POSB /dat/links/grp2/sbspace_lnk.02

Metadata 176460 176460 176460
141466508 59 25 0 5242880 4889985 4889985 POSB /dat/links/grp2/sbspace_lnk.03

Metadata 352892 352892 352892
1414666a8 60 25 0 5242880 4889985 4889985 POSB /dat/links/grp2/sbspace_lnk.04

Metadata 352892 352892 352892
40 active, 32766 maximum

NOTE: The values in the "size" and "free" columns for DBspace chunks are

displayed in terms of "pgsize" of the DBspace to which they belong.

Expanded chunk capacity mode: always

Wed May 26 10:21:59 CDT 2010 onstat -g iof

IBM Informix Dynamic Server Version 10.00.FC4 -- On-Line -- Up 3 days 11:25:04 -- 18799640 Kbytes

AIO global files:
gfd pathname totalops dskread dskwrite io/s
3 rootdbs 23274 10260 13014 0.1
4 plogdbs 18137 24 18113 0.1
5 llogdbs 23 23 0 0.0
6 llogdbs2 448500 32 448468 1.5
7 temp1_lnk.01 24 21 3 0.0
8 temp1_lnk.02 13 11 2 0.0
9 temp1_lnk.03 13 11 2 0.0
10 temp1_lnk.04 13 11 2 0.0
11 temp1_lnk.05 13 11 2 0.0
12 temp2_lnk.01 24 21 3 0.0
13 temp3_lnk.01 24 21 3 0.0
14 temp4_lnk.01 24 21 3 0.0
15 temp2_lnk.02 13 11 2 0.0
16 temp2_lnk.03 13 11 2 0.0
17 temp2_lnk.04 13 11 2 0.0
18 temp2_lnk.05 13 11 2 0.0
19 temp3_lnk.02 13 11 2 0.0
20 temp3_lnk.03 13 11 2 0.0
21 temp3_lnk.04 13 11 2 0.0
22 temp3_lnk.05 13 11 2 0.0
23 temp4_lnk.02 13 11 2 0.0
24 temp4_lnk.03 13 11 2 0.0
25 temp4_lnk.04 13 11 2 0.0
26 temp4_lnk.05 13 11 2 0.0
27 dbasesp_lnk.01 105159407 62458567 42700840 350.2
28 sbspace_lnk.01 157 157 0 0.0
29 sbspace_lnk.02 12 12 0 0.0
30 sbspace_lnk.03 12 12 0 0.0
31 sbspace_lnk.04 12 12 0 0.0
32 indexsp_lnk.01 25449726 170810 25278916 84.7
33 statement_lnk.01 2377042 1380983 996059 7.9
34 stmt_inst_dat.01 1092627 707896 384731 3.6
35 stmt_line_dat.01 1400715 857914 542801 4.7
36 countysp_lnk.01 8254754 3912206 4342548 27.5
37 provalsp_lnk.01 21081595 6537227 14544368 70.2
38 provalsp_lnk.04 3451980 1405878 2046102 11.5
40 provalsp_lnk.02 8398331 5768928 2629403 28.0
42 provalsp_lnk.05 5 3 2 0.0
43 srt0013204_253
50 provalsp_lnk.03 9328846 7316691 2012155 31.1
53 provalsp_lnk.06 2 0 2 0.0

Wed May 26 10:21:59 CDT 2010 onstat -c

IBM Informix Dynamic Server Version 10.00.FC4 -- On-Line -- Up 3 days 11:25:04 -- 18799640 Kbytes

Configuration File: /opt/IBM/informix/etc/onconfig.taxtst
#**************************************************************************
#
# Licensed Material - Property Of IBM
#
# "Restricted Materials of IBM"
#
# IBM Informix Dynamic Server
# (c) Copyright IBM Corporation 1996, 2005 All rights reserved.
#
# Title: onconfig.taxtst
# Description: IBM Informix Dynamic Server Configuration Parameters
#
#**************************************************************************

# Root Dbspace Configuration

ROOTNAME rootdbs # Root dbspace name
ROOTPATH /opt/admspaces/rootdbs # Path for device containing root dbspace
ROOTOFFSET 0 # Offset of root dbspace into device (Kbytes)
ROOTSIZE 50000 # 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 1024000 # Physical log file size (Kbytes)
PHYSFILE 512000 # Physical log file size (Kbytes)

# Logical Log Configuration

#LOGFILES 6 # Number of logical log files
LOGFILES 410 # Number of logical log files
#LOGSIZE 2000 # Logical log size (Kbytes)
LOGSIZE 2500 # Logical log size (Kbytes)
LOG_BACKUP_MODE MANUAL # Logical log backup mode (MANUAL, CONT)

# Tablespace Tablespace Configuration in Root Dbspace

TBLTBLFIRST 0 # First extent size (Kbytes) (0 = default)
TBLTBLNEXT 0 # Next extent size (Kbytes) (0 = default)

# Security
# DBCREATE_PERMISSION:
# By default any user can create a database. Uncomment DBCREATE_PERMISSON to
# limit database creation to a specific user. Add a new DBCREATE_PERMISSION
# line for each permitted user.

#DBCREATE_PERMISSION informix

# DB_LIBRARY_PATH:
# When loading a (C or C++) shared object (for a UDR or UDT), IDS checks that
# the user-specified path starts with one of the directory prefixes listed in
# the comma-separated list of prefixes in DB_LIBRARY_PATH. The string
# "$INFORMIXDIR/extend" must be included in DB_LIBRARY_PATH in order for
# extensibility and IBM supplied blades to work correctly.

# DB_LIBRARY_PATH $INFORMIXDIR/extend

# IFX_EXTEND_ROLE:
# 0 (or off) => Disable use of EXTEND role to control who can register
# external routines.
# 1 (or on) => Enable use of EXTEND role to control who can register
# external routines. This is the default behaviour.
#
IFX_EXTEND_ROLE 0 # To control the usage of EXTEND role.

# Diagnostics

MSGPATH /opt/logs/online.log # System message log file path
CONSOLE /opt/logs/console.log # System console message path

# To automatically backup logical logs, edit alarmprogram.sh and set
# BACKUPLOGS=Y
ALARMPROGRAM /opt/IBM/informix/etc/alarmprogram.sh # Alarm program path
ALRM_ALL_EVENTS 0 # Triggers ALARMPROGRAM for any event occur
TBLSPACE_STATS 1 # Maintain tblspace statistics

# System Archive Tape Device

TAPEDEV /bak/db/backup # Tape device path
TAPEBLK 1024 # Tape block size (Kbytes)
TAPESIZE 400000000 # Maximum amount of data to put on tape (Kbytes)

# Log Archive Tape Device

LTAPEDEV /bak/dblogs/backup # Log tape device path
LTAPEBLK 1024 # Log tape block size (Kbytes)
LTAPESIZE 400000000 # Max amount of data to put on log tape (Kbytes)

# Optical

STAGEBLOB # Informix Dynamic Server staging area

# System Configuration
KAIO ON
SERVERNUM 1 # Unique id corresponding to a OnLine instance
DBSERVERNAME tst_shm # Name of default database server
DBSERVERALIASES taxtst # List of alternate dbservernames
NETTYPE olsoctcp,5,200,NET # Configure poll thread(s) for TCP nettype
NETTYPE olipcshm,1,10,CPU # Configure poll thread(s) for CPU nettype
DEADLOCK_TIMEOUT 60 # Max time to wait of lock in distributed env.
RESIDENT 0 # Forced residency flag (Yes = 1, No = 0)

MULTIPROCESSOR 1 # 0 for single-processor, 1 for multi-processor
NUMCPUVPS 16 # Number of user (cpu) vps
SINGLE_CPU_VP 0 # If non-zero, limit number of cpu vps to one

NOAGE 0 # Process aging
AFF_SPROC 0 # Affinity start processor
AFF_NPROCS 0 # Affinity number of processors

# Shared Memory Parameters

#LOCKS 2000 # Maximum number of locks
LOCKS 8000000 # Maximum number of locks
NUMAIOVPS 15 # Number of IO vps
PHYSBUFF 1024 # Physical log buffer size (Kbytes)
#PHYSBUFF 32 # Physical log buffer size (Kbytes)
LOGBUFF 128 # Logical log buffer size (Kbytes)
#LOGBUFF 32 # Logical log buffer size (Kbytes)
CLEANERS 64 # Number of buffer cleaner processes
SHMBASE 0x44000000L # Shared memory base address
#SHMVIRTSIZE 22020096 # 21gb initial virtual shared memory segment size - works
#SHMVIRTSIZE 20971520 # 20gb initial virtual shared memory segment size - works
#SHMVIRTSIZE 18874368 # 18gb initial virtual shared memory segment size - works
#SHMVIRTSIZE 16777216 # 16gb initial virtual shared memory segment size - works
SHMVIRTSIZE 14680064 # 14gb initial virtual shared memory segment size - works
SHMADD 1024000 # Size of new shared memory segments (Kbytes)
#SHMADD 4294967296 # Size of new shared memory segments (Kbytes) per IBM docs
#SHMADD 22020096 # 21gb to match shmmax and SHMVIRTSIZE per IBM docs
EXTSHMADD 1024000 # Size of new extension shared memory segments (Kbytes)
SHMTOTAL 0 # Total shared memory (Kbytes). 0=>unlimited
CKPTINTVL 300 # Check point interval (in sec)
#CKPTINTVL 120 # Check point interval (in sec)
TXTIMEOUT 300 # Transaction timeout (in sec)
STACKSIZE 64 # Stack size (Kbytes)

# Dynamic Logging
# DYNAMIC_LOGS:
# 2 : server automatically add a new logical log when necessary. (ON)
# 1 : notify DBA to add new logical logs when necessary. (ON)
# 0 : cannot add logical log on the fly. (OFF)
#
# When dynamic logging is on, we can have higher values for LTXHWM/LTXEHWM,
# because the server can add new logical logs during long transaction rollback.
# However, to limit the number of new logical logs being added, LTXHWM/LTXEHWM
# can be set to smaller values.
#
# If dynamic logging is off, LTXHWM/LTXEHWM need to be set to smaller values
# to avoid long transaction rollback hanging the server due to lack of logical
# log space, i.e. 50/60 or lower.
#
# In case of system configured with CDR, the difference between LTXHWM and
# LTXEHWM should be atleast 30% so that we could minimize log overrun issue.

DYNAMIC_LOGS 2
LTXHWM 70
LTXEHWM 80

# 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 worker threads
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 /opt/logs/dr.lostfound # DR lost+found file path
DRIDXAUTO 0 # DR automatic index repair. 0=off, 1=on

# CDR Variables
CDR_EVALTHREADS 1,2 # evaluator threads (per-cpu-vp,additional)
CDR_DSLOCKWAIT 5 # DS lockwait timeout (seconds)
CDR_QUEUEMEM 4096 # Maximum amount of memory for any CDR queue (Kbytes)
CDR_NIFCOMPRESS 0 # Link level compression (-1 never, 0 none, 9 max)
CDR_SERIAL 0 # Serial Column Sequence
CDR_DBSPACE # dbspace for syscdr database
CDR_QHDR_DBSPACE # CDR queue dbspace (default same as catalog)
CDR_QDATA_SBSPACE # List of CDR queue smart blob spaces

# CDR_MAX_DYNAMIC_LOGS
# -1 => unlimited
# 0 => disable dynamic log addition
# >0 => limit the no. of dynamic log additions with the specified value.
# Max dynamic log requests that CDR can make within one server session.

CDR_MAX_DYNAMIC_LOGS -1 # Dynamic log addition disabled by default

# Backup/Restore variables
BAR_ACT_LOG /opt/logs./bar_act.log # ON-Bar Log file - not in /tmp please
BAR_DEBUG_LOG /opt/logs./bar_dbug.log # ON-Bar Debug Log - not in /tmp please
BAR_MAX_BACKUP 0
BAR_RETRY 1
BAR_NB_XPORT_COUNT 20
BAR_XFER_BUF_SIZE 31
RESTARTABLE_RESTORE ON
BAR_PROGRESS_FREQ 0

# Informix Storage Manager variables
ISM_DATA_POOL ISMData
ISM_LOG_POOL ISMLogs

# Read Ahead Variables
# machine notes recommend increasing to < 2147483647
# don't forget to adjust RA_THRESHOLD accordingly (a bit less than RA_PAGES)
# too high a figure has brough initialization to a halt; back it down 2010-03-02
RA_PAGES 32 # Number of pages to attempt to read ahead
#RA_PAGES 1073741824 # Number of pages to attempt to read ahead < 2147483647
RA_THRESHOLD 8 # Number of pages left before next group

# 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 # Default temp dbspaces
DBSPACETEMP tempdbs0,tempdbs1,tempdbs2,tempdbs3 # Default temp dbspaces

# DUMP*:
# The following parameters control the type of diagnostics information which
# is preserved when an unanticipated error condition (assertion failure) occurs
# during OnLine operations.
# For DUMPSHMEM, DUMPGCORE and DUMPCORE 1 means Yes, 0 means No.

DUMPDIR /bak/dumps # Preserve diagnostics in this directory
DUMPSHMEM 1 # Dump a copy of shared memory
DUMPGCORE 0 # Dump a core image using 'gcore'
DUMPCORE 0 # Dump a core image (Warning:this aborts OnLine)
DUMPCNT 1 # Number of shared memory or gcore dumps for

# a single user's session

FILLFACTOR 90 # Fill factor for building indexes

# method for OnLine to use when determining current time
USEOSTIME 0 # 0: use internal time(fast), 1: get time from OS(slow)

# Parallel Database Queries (pdq)
MAX_PDQPRIORITY 100 # Maximum allowed pdqpriority
DS_MAX_QUERIES # Maximum number of decision support queries
DS_TOTAL_MEMORY # Decision support memory (Kbytes)
DS_MAX_SCANS 1048576 # Maximum number of decision support scans
DS_NONPDQ_QUERY_MEM 128 # Non PDQ query memory (Kbytes)
DATASKIP # List of dbspaces to skip

# OPTCOMPIND
# 0 => Nested loop joins will be preferred (where
# possible) over sortmerge joins and hash joins.
# 1 => If the transaction isolation mode is not
# "repeatable read", optimizer behaves as in (2)
# below. Otherwise it behaves as in (0) above.
# 2 => Use costs regardless of the transaction isolation
# mode. Nested loop joins are not necessarily
# preferred. Optimizer bases its decision purely
# on costs.
OPTCOMPIND 2 # To hint the optimizer

DIRECTIVES 1 # Optimizer DIRECTIVES ON (1/Default) or OFF (0)

ONDBSPACEDOWN 0 # Dbspace down option: 0 = CONTINUE, 1 = ABORT, 2 = WAIT (default=2)
OPCACHEMAX 0 # Maximum optical cache size (Kbytes)

# HETERO_COMMIT (Gateway participation in distributed transactions)
# 1 => Heterogeneous Commit is enabled
# 0 (or any other value) => Heterogeneous Commit is disabled
HETERO_COMMIT 0

SBSPACENAME sbspace2 # Default smartblob space name - this is where blobs

# go if no sbspace is specified when the smartblob is

# created. It is also used by some datablades as

# the location to put their smartblobs.
SYSSBSPACENAME sbspace2 # Default smartblob space for use by the Informix

# Server. This is used primarily for Informix Server

# system statistics collection.

BLOCKTIMEOUT 3600 # Default timeout for system block
SYSALARMPROGRAM /opt/IBM/informix/etc/evidence.sh # System Alarm program path

# Optimization goal: -1 = ALL_ROWS(Default), 0 = FIRST_ROWS
OPT_GOAL -1

ALLOW_NEWLINE 1 # embedded newlines(Yes = 1, No = 0 or anything but 1)

#Create Index Online Shared Memory usage limitation
ONLIDX_MAXMEM 5120 # Per pool per index (Kbytes)

#Timeout for client connection request
LISTEN_TIMEOUT 10 # Timeout (in Seconds)

#Following are the deprecated configuration parameters, instead of these
#use BUFFERPOOL configuration parameter
#BUFFERS, LRUS, LRU_MIN_DIRTY, LRU_MAX_DIRTY
#
# The following are default settings for enabling Java in the database.
# Replace all occurrences of /usr/informix with the value of $INFORMIXDIR.

#VPCLASS jvp,num=1 # Number of JVPs to start with

###JVPJAVAHOME /informix/ifxapp/informix/extend/krakatoa/jre # JRE installation root directory
###JVPHOME /informix/ifxapp/informix/extend/krakatoa # Krakatoa installation directory

###JVPPROPFILE /informix/ifxapp/informix/extend/krakatoa/.jvpprops # JVP property file
###JVPLOGFILE /informix/ifxapp/syslogs/jvp.log # JVP log file.

###JDKVERSION 1.3 # JDK version supported by this server
#JDKVERSION 1.6.0_18 # JDK version supported by this server

# The path to the JRE libraries relative to JVPJAVAHOME
###JVPJAVALIB /bin

# The JRE libraries to use for the Java VM

###JVPJAVAVM jsig:hpi:jvm:java:net:zip:jpeg

# use JVPARGS to change Java VM configuration
#To display jni call
#JVPARGS -verbose:jni

# Classpath to use upon Java VM start-up (use _g version for debugging)

#JVPCLASSPATH /usr/informix/extend/krakatoa/krakatoa_g.jar:/usr/informix/extend/krakatoa/jdbc_g.jar
###JVPCLASSPATH /informix/ifxapp/informix/extend/krakatoa/krakatoa.jar:/informix/ifxapp/informix/extend/krakatoa/jdbc.jar

# The following parameters are related to the buffer pool
##BUFFERPOOL default,buffers=1000,lrus=8,lru_min_dirty=50.000000,lru_max_dirty=60.000000
##BUFFERPOOL size=2K,buffers=5000,lrus=8,lru_min_dirty=50.000000,lru_max_dirty=60.000000
##BUFFERPOOL size=4K,buffers=1000,lrus=8,lru_min_dirty=50.000000,lru_max_dirty=60.000000
## bump LRUS up to max 512 from 64 per machine notes 2010_02_10
## bump LRUS to max 128 from 64 2010_03_03
BUFFERPOOL default,buffers=500000,lrus=64,lru_min_dirty=0.000000,lru_max_dirty=1.000000
BUFFERPOOL size=2K,buffers=500000,lrus=64,lru_min_dirty=0.000000,lru_max_dirty=1.000000
BUFFERPOOL size=4K,buffers=500000,lrus=64,lru_min_dirty=0.000000,lru_max_dirty=1.000000

Wed May 26 10:21:59 CDT 2010 onstat -g glo

IBM Informix Dynamic Server Version 10.00.FC4 -- On-Line -- Up 3 days 11:25:04 -- 18799640 Kbytes

MT global info:
sessions threads vps lngspins
28 127 40 33820

sched calls thread switches yield 0 yield n yield forever
total: 564858521 1699758078 3408452387 85341486 247862239
per sec: 30709 22730 7979 1 3100

Virtual processor summary:
class vps usercpu syscpu total
cpu 16 100471.15 3658.60 104129.75
aio 15 2742.86 31116.25 33859.11
lio 1 3.83 21.99 25.82
pio 1 0.60 5.81 6.41
adm 1 0.64 1.69 2.33
soc 5 5.29 20.02 25.31
msc 1 0.01 0.03 0.04
total 40 103224.38 34824.39 138048.77

Individual virtual processors:
vp pid class usercpu syscpu total
1 20467 cpu 20094.13 1403.78 21497.91
2 20468 adm 0.64 1.69 2.33
3 20469 cpu 30304.71 988.41 31293.12
4 20470 cpu 19138.44 654.89 19793.33
5 20471 cpu 8943.54 208.70 9152.24
6 20472 cpu 5111.08 83.75 5194.83
7 20473 cpu 3345.67 52.91 3398.58
8 20474 cpu 2648.47 45.47 2693.94
9 20475 cpu 2476.74 47.71 2524.45
10 20476 cpu 1690.67 32.61 1723.28
11 20477 cpu 1534.61 30.58 1565.19
12 20478 cpu 1260.46 23.68 1284.14
13 20479 cpu 1200.82 22.81 1223.63
14 20480 cpu 761.06 18.69 779.75
15 20481 cpu 686.35 16.53 702.88
16 20482 cpu 692.07 14.50 706.57
17 20483 cpu 582.33 13.58 595.91
18 20484 lio 3.83 21.99 25.82
19 20485 pio 0.60 5.81 6.41
20 20486 aio 1015.34 16350.23 17365.57
21 20487 msc 0.01 0.03 0.04
22 20488 aio 463.87 5997.35 6461.22
23 20489 aio 128.65 909.66 1038.31
24 20490 aio 109.01 760.34 869.35
25 20491 aio 100.37 707.80 808.17
26 20492 aio 97.76 684.46 782.22
27 20493 aio 94.89 668.70 763.59
28 20494 aio 92.40 652.27 744.67
29 20495 aio 93.27 642.95 736.22
30 20496 aio 96.90 635.06 731.96
31 20497 aio 92.24 630.95 723.19
32 20498 aio 91.11 627.57 718.68
34 20499 aio 91.03 616.39 707.42
33 20500 aio 88.40 620.37 708.77
35 20501 aio 87.62 612.15 699.77
36 20502 soc 0.58 4.73 5.31
37 20503 soc 1.07 3.78 4.85
38 20504 soc 1.13 4.58 5.71
39 20505 soc 1.43 2.92 4.35
40 20506 soc 1.08 4.01 5.09

tot 103224.38 34824.39 138048.77

Wed May 26 10:22:02 CDT 2010 onstat -F

IBM Informix Dynamic Server Version 10.00.FC4 -- On-Line -- Up 3 days 11:25:06 -- 18799640 Kbytes

Fg Writes LRU Writes Chunk Writes
35553 150251952 44743605

address flusher state data
13ffbd780 0 I 0 = 0X0
13ffbded8 1 I 0 = 0X0
13ffbe630 2 I 0 = 0X0
13ffbed88 3 I 0 = 0X0
13ffbf4e0 4 I 0 = 0X0
13ffbfc38 5 I 0 = 0X0
13ffc0390 6 I 0 = 0X0
13ffc0ae8 7 I 0 = 0X0
13ffc1240 8 I 0 = 0X0
13ffc1998 9 I 0 = 0X0
13ffc20f0 10 I 0 = 0X0
13ffc2848 11 I 0 = 0X0
13ffc2fa0 12 I 0 = 0X0
13ffc36f8 13 I 0 = 0X0
13ffc3e50 14 I 0 = 0X0
13ffc45a8 15 I 0 = 0X0
13ffc4d00 16 I 0 = 0X0
13ffc5458 17 I 0 = 0X0
13ffc5bb0 18 I 0 = 0X0
13ffc6308 19 I 0 = 0X0
13ffc6a60 20 I 0 = 0X0
13ffc71b8 21 I 0 = 0X0
13ffc7910 22 I 0 = 0X0
13ffc8068 23 I 0 = 0X0
13ffc87c0 24 I 0 = 0X0
13ffc8f18 25 I 0 = 0X0
13ffc9670 26 I 0 = 0X0
13ffc9dc8 27 I 0 = 0X0
13ffca520 28 I 0 = 0X0
13ffcac78 29 I 0 = 0X0
13ffcb3d0 30 I 0 = 0X0
13ffcbb28 31 I 0 = 0X0
13ffcc280 32 I 0 = 0X0
13ffcc9d8 33 I 0 = 0X0
13ffcd130 34 I 0 = 0X0
13ffcd888 35 I 0 = 0X0
13ffcdfe0 36 I 0 = 0X0
13ffce738 37 I 0 = 0X0
13ffcee90 38 I 0 = 0X0
13ffcf5e8 39 I 0 = 0X0
13ffcfd40 40 I 0 = 0X0
13ffd0498 41 I 0 = 0X0
13ffd0bf0 42 I 0 = 0X0
13ffd1348 43 I 0 = 0X0
13ffd1aa0 44 I 0 = 0X0
13ffd21f8 45 I 0 = 0X0
13ffd2950 46 I 0 = 0X0
13ffd30a8 47 I 0 = 0X0
13ffd3800 48 I 0 = 0X0
13ffd3f58 49 I 0 = 0X0
13ffd46b0 50 I 0 = 0X0
13ffd4e08 51 I 0 = 0X0
13ffd5560 52 I 0 = 0X0
13ffd5cb8 53 I 0 = 0X0
13ffd6410 54 I 0 = 0X0
13ffd6b68 55 I 0 = 0X0
13ffd72c0 56 I 0 = 0X0
13ffd7a18 57 I 0 = 0X0
13ffd8170 58 I 0 = 0X0
13ffd88c8 59 I 0 = 0X0
13ffd9020 60 I 0 = 0X0
13ffd9778 61 I 0 = 0X0
13ffd9ed0 62 I 0 = 0X0
13ffda628 63 I 0 = 0X0

states: Exit Idle Chunk Lru

Wed May 26 10:22:02 CDT 2010 onstat -m

IBM Informix Dynamic Server Version 10.00.FC4 -- On-Line -- Up 3 days 11:25:06 -- 18799640 Kbytes

Message Log File: /opt/logs/online.log
09:59:36 Fuzzy Checkpoint Completed: duration was 1 seconds, 26 buffers not flushed.
09:59:36 Checkpoint loguniq 4867, logpos 0x22fa1b8, timestamp: 0x3fb65513

09:59:36 Maximum server connections 31
10:04:38 Fuzzy Checkpoint Completed: duration was 1 seconds, 3 buffers not flushed.
10:04:38 Checkpoint loguniq 4867, logpos 0x23201b4, timestamp: 0x3fc0ab54

10:04:38 Maximum server connections 31
10:09:38 Fuzzy Checkpoint Completed: duration was 0 seconds, 10 buffers not flushed.
10:09:38 Checkpoint loguniq 4867, logpos 0x2339130, timestamp: 0x3fcc1302

10:09:38 Maximum server connections 31
10:14:42 Fuzzy Checkpoint Completed: duration was 2 seconds, 28 buffers not flushed.
10:14:42 Checkpoint loguniq 4867, logpos 0x234f2e0, timestamp: 0x3fd310ac

10:14:42 Maximum server connections 31
10:21:10 Fuzzy Checkpoint Completed: duration was 88 seconds, 26 buffers not flushed.
10:21:10 Checkpoint loguniq 4867, logpos 0x235030c, timestamp: 0x3fe4aed8

10:21:10 Maximum server connections 31

Messages In This Thread

  • index builds are very slow
    DOUGLAS MERRILL -- Wednesday, 26 May 2010, at 11:44 a.m.

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum is maintained by Administrator with WebBBS 5.12.