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 > Finding Pagesize through Qurey

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-23-09, 13:01
Blackprince Blackprince is offline
Registered User
 
Join Date: Nov 2008
Posts: 18
Question Finding Pagesize through Qurey

Hi all,


I am strugling to find the pagesize of Informix Qurey,
I know ouside of Qurey onstat -b can give it , but if i could get it through qurey it would be realy flexible.

In IDS select value/1024 from sysshmhdr where (name='bufsize')
works

But For informix XPS name , value pair dont exsit , do any one have some other idea?

Thanks in Advance
With Regards
Stiju

Last edited by Blackprince; 03-24-09 at 03:13.
Reply With Quote
  #2 (permalink)  
Old 03-23-09, 16:38
ibm.ids ibm.ids is offline
Registered User
 
Join Date: Nov 2008
Posts: 64
Depends what version of IDS you are using.
For v<10 there is only one page size for all spaces:
Code:
select sh_pagesize from sysshmvals
For v>=10 every single space can have its own page size:
Code:
select name, pagesize from  sysdbspaces
HTH
Reply With Quote
  #3 (permalink)  
Old 03-24-09, 02:47
Blackprince Blackprince is offline
Registered User
 
Join Date: Nov 2008
Posts: 18
But both are not valid for XPS,
Is there some other table storing this information for XPS?
i forgot to mention about XPS in previous post
Reply With Quote
Reply

Thread Tools
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