If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Informix - Performance Tuning - Help !

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-23-11, 07:07
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Informix - Performance Tuning - Help !

Hi Experts,

I am basically DB2 DBA. But I need to analyze two informix servers (9.4 and 10.x on AIX 5.3)

Please help me find some document that can be helpful.

The situation is such that I do not even know where is the relevant information and how to query this info. Can someone hep me with an example.

eg. tarnsactions per second
Hit ratios
Lock waits
Informix memory usage
disk space alllocations and usage.

Thanks

DBFinder

Last edited by DBFinder; 09-23-11 at 07:11.
Reply With Quote
  #2 (permalink)  
Old 09-25-11, 16:05
begooden-it begooden-it is offline
Registered User
 
Join Date: Sep 2011
Location: Pont l'Abbé, Brittany, France
Posts: 183
Hi Db,

for what you want, the start point is the onstat command, logged as informix.
* the main one for what you want: onstat -p
will give you the main 50 main indicators of your instance ( mainly the ones you are looking for )

for disk space, use onstat -d

for memory usage per session, use onstat -g ses

onstat is very simple to use and has many options thatwill give you almost all
the perf counters of your instance.
type onstat -- to have a brief help

Hope this helps

Eric
Reply With Quote
  #3 (permalink)  
Old 09-27-11, 09:20
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Thanks Eric,

How can I find the memory allocated to informix ?

Regards
Reply With Quote
  #4 (permalink)  
Old 09-27-11, 09:38
begooden-it begooden-it is offline
Registered User
 
Join Date: Sep 2011
Location: Pont l'Abbé, Brittany, France
Posts: 183
Hi,

on all onstat -<something> commands output, at the first line on the right you have the current Shared Memory allocated size in Kb.

if you want more details, onstat -g mem and onstat -g seg are good candidates.

To have all the options of onstat, type onstat -- | more.

And if you are furious for coding SQL, explore the sysmaster database, but sincerely onstat is so practical and useful when you are in a rush.

Regards,

Eric
Reply With Quote
  #5 (permalink)  
Old 09-27-11, 09:42
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Thanks for quick response.

I can find my way around now.

Regards
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On