Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8332

Re: Blocks in sybase iq

$
0
0

Hi Santosh,

 

I usually use "sp_iqstatus" which gives a good summary of database and server info including database total size allocated in blocks, number of blocks used and usage percent. It includes also IQ pages size, block size, etc.

 

Part of sp_iqstatus output :

 

Page Size:,131072/8192blksz/16bpp  /* page size : 131072 = 128 kb, Block size = 8192 = 8 kb */

 

Name, Value

' Main IQ Blocks Used:','11330 of 268800, 4%=88Mb, Max Block#: 1057106'

' Cache Dbspace IQ Blocks Used:','0 of 0, 0%=0Mb, Max Block#: 0'

' Shared Temporary IQ Blocks Used:','0 of 0, 0%=0Mb, Max Block#: 0'

' Local Temporary IQ Blocks Used:','97 of 38400, 0%=0Mb, Max Block#: 11345'

' Main Reserved Blocks Available:','12800 of 12800, 100%=100Mb'

' Shared Temporary Reserved Blocks Available:','0 of 0, 0%=0Mb'

 

 

The value 268800 is total IQ blocks allocated (free and used) to database.

The value 11330 is the number of blocks used and it should be the same as PhysicalBlocks in sp_iqdbsize.

 

To find the equivalent in KB, multiply #blocks by blcok size (8 KB in this example).

 

Regards,

Tayeb.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>