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

RE: Application slow and data not saved

Posted By: Marcus Haarmann
Date: Wednesday, 11 November 2009, at 8:23 a.m.

In Response To: Application slow and data not saved (MUMIN MARJUKI)

Hi,

you are definitely suffering from too low buffers.
If your system really has 1GB mem, see how much is available and give it

to BUFFERS (8000 is REALLY few, we have systems running with 2GB or
more,
in 32bit you are limited to somewhat round 3GB in total, but your
machine
has not enough memory to grant this amount.)

Monitor onstat -g seg if your shared memory is full, so users would be
rejected.
In this case, increase SHMVIRTSIZE also (each connection eats up shared
memory,
so when you have more users than in the past, you have to modify the
parameter).
You did not mention the number of users working or the number of
sessions.
Currently, your instance is working on 50MB of memory, while 1GB is
available.
Assuming you have other stuff running, (second instance ?, application
on same server ?)
I would try to set BUFFERS to 100000, SHMVIRTSIZE to 50000
(in case you have the necessary memory available) and then restart the
instance.
Monitor onstat -p and the buffer usage, maybe you get better results by
using higher values.
This should have a good effect for overall performance,
and of course in the read cache%.

Another option: do you perform update statistics periodically ?
Do you have sequential sqans on some tables ?
Do you have highly fragmented tables ?

As already said, you are running a very old unsupported instance.

Marcus

-----Original Message-----
From: MUMIN MARJUKI [mailto:mumin@akapost.com]
Sent: Wednesday, November 11, 2009 3:28 AM
To: ids@iiug.org
Subject: Application slow and data not saved [18044]

Hi,

I have IDS v7.30.UC7 running on Solaris 2.6 with 1024Mb RAM and 1 CPU
400Mhz .
There is 2 application db at this IDS. The problem is application will
running slow and sometime data cannot be saved when more user used this
application.
This application already running about 8 years and now it become slow..

this is onstat -p output :

Informix Dynamic Server Version 7.30.UC7 -- On-Line -- Up 2 days
00:14:22 --
50688 Kbytes

Profile
dskreads pagreads bufreads %cached dskwrits pagwrits bufwrits %cached
30945890 4485340 140820758 78.02 63142 251189 609906 89.65

isamtot open start read write rewrite delete commit rollbk
4122988 338018 649682 1248899 81844 10734 911 4852 918

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

ovlock ovuserthread ovbuff usercpu syscpu numckpts flushes 0 0 0
39755.92 1429.96 529 1158

bufwaits lokwaits lockreqs deadlks dltouts ckpwaits compress seqscans
7385086 711 3337555672 188 0 57 2095 42989

ixda-RA idx-RA da-RA RA-pgsused lchwaits
145303 1137 29458137 29599384 0

and this is my onconfig file :

Informix Dynamic Server Version 7.30.UC7 -- On-Line -- Up 2 days
00:15:09 --
50688 Kbytes

Configuration File: /home1/informix/etc/onconfig.spplbp
#***********************************************************************
***
#
# INFORMIX SOFTWARE, INC.
#
# Title: onconfig.std
# Description: INFORMIX-OnLine Configuration Parameters #
#***********************************************************************
***

# Root Dbspace Configuration

ROOTNAME rootdbs # Root dbspace name
ROOTPATH /home1/dataspace/rootchunk

# Path for device containing root dbspace ROOTOFFSET 1024 # Offset of
root dbspace into device (Kbytes) ROOTSIZE 2000000 # 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 rootdbs # Location (dbspace) of physical log PHYSFILE 10000 #
Physical log file size (Kbytes)

# Logical Log Configuration

LOGFILES 20 # Number of logical log files LOGSIZE 20000 # Logical log
size (Kbytes)

# Diagnostics

MSGPATH /home1/informix/online.log # System message log file path
CONSOLE /dev/console # System console message path ALARMPROGRAM
/home1/informix/etc/no_log.sh # Alarm program path

# System Archive Tape Device

TAPEDEV /dev/rst4 # Tape device path
TAPEBLK 16 # Tape block size (Kbytes)
TAPESIZE 12000000 # Maximum amount of data to put on tape (Kbytes)
#TAPESIZE 2097152 # Maximum amount of data to put on tape (Kbytes)

# Log Archive Tape Device

LTAPEDEV /dev/rst5 # Log tape device path LTAPEBLK 16 # Log tape block
size (Kbytes) LTAPESIZE 12000000 # 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
online_spplbp # Name of default database server DBSERVERALIASES # List
of alternate dbservernames NETTYPE tlitcp,1,200,CPU # Override sqlhosts
nettype parameters #NETTYPE ipcshm,1,200,CPU # Override sqlhosts nettype
parameters DEADLOCK_TIMEOUT 60 # Max time to wait of lock in distributed
env.
RESIDENT 0 # Forced residency flag (Yes = 1, No = 0)

MULTIPROCESSOR 0 # 0 for single-processor, 1 for multi-processor
NUMCPUVPS 1 # 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 10000 # Maximum number of locks
BUFFERS 8000 # Maximum number of shared buffers NUMAIOVPS 4 # Number of
IO vps PHYSBUFF 128 # Physical log buffer size (Kbytes) LOGBUFF 64 #
Logical log buffer size (Kbytes) LOGSMAX 40 # Maximum number of logical
log files CLEANERS 4 # Number of buffer cleaner processes SHMBASE
0xa000000 # Shared memory base address SHMVIRTSIZE 8000 # initial
virtual shared memory segment size SHMADD 8192 # Size of new shared
memory segments (Kbytes) SHMTOTAL 0 # Total shared memory (Kbytes).
0=>unlimited CKPTINTVL 300 # Check point interval (in sec) LRUS 8 #
Number of LRU queues LRU_MAX_DIRTY 60 # LRU percent dirty begin cleaning
limit LRU_MIN_DIRTY 50 # 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 32 # 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 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
/home1/informix/dr.lostfound # DR lost+found file path

# Read Ahead Variables
RA_PAGES # Number of pages to attempt to read ahead RA_THRESHOLD #
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 tempchunk1 # 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 /tmp # 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

# ADT*
# The following parameters control the type and level of secure auditing
# present in the OnLine system. By default, ADTMODE is 0 and auditing #
is disabled

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)

# OFF => 0, LOW => 1, HIGH => 100
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 DATASKIP off # 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

ONDBSPACEDOWN 0 # Dbspace down option: 0 = CONTINUE, 1 = ABORT, 2 = WAIT
LBU_PRESERVE 0 # Preserve last log for log backup OPCACHEMAX 0 # Maximum
optical cache size (Kbytes) SYSALARMPROGRAM
/home1/informix/etc/evidence.sh # System Alarm program path
TBLSPACE_STATS 1 CDR_LOGBUFFERS 2048 # size of log reading buffer pool
(Kbytes) CDR_EVALTHREADS 1,1 # 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) BAR_ACT_LOG
/tmp/bar_act.log BAR_MAX_BACKUP 4 BAR_RETRY 1 BAR_NB_XPORT_COUNT 10
BAR_XFER_BUF_SIZE 31 ISM_DATA_POOL ISMData # If the data pool name is
changed, be sure to ISM_LOG_POOL ISMLogs HETERO_COMMIT 0 OPT_GOAL -1
DIRECTIVES 1 RESTARTABLE_RESTORE off

I think bufwaits little bit high at onstat -p.
Does anything wrong with my onconfig file?

thanks

************************************************************************
*******
Forum Note: Use "Reply" to post a response in the discussion forum.

Messages In This Thread

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

IDS Forum is maintained by Administrator with WebBBS 5.12.