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 > DB2 > bytes or kbs ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-11-11, 02:27
sidharthmellam sidharthmellam is offline
Registered User
 
Join Date: Jan 2011
Posts: 31
bytes or kbs ?

Dear All,

on DB2 Database , For the command "db2 get dbm cfg"

I get the out put


Database monitor heap size (4KB) (MON_HEAP_SZ) = AUTOMATIC(90)
Java Virtual Machine heap size (4KB) (JAVA_HEAP_SZ) = 2048
Audit buffer size (4KB) (AUDIT_BUF_SZ) = 0
Size of instance shared memory (4KB) (INSTANCE_MEMORY) = 5120000
Backup buffer default size (4KB) (BACKBUFSZ) = 1024
Restore buffer default size (4KB) (RESTBUFSZ) = 1024

In the above output , For example

(INSTANCE_MEMORY) = 5120000

What i understand, the INSTANCE_MEMORY configured is 5120000

is it in bytes or kb'S

i e should i read 5120000 as bytes = 4.88 MB

or

5120000 kbytes= 4.88 GB

Please clarify , For that matter For all the parameters.

Thanks in advance

Am getting confusion what is this 4kb mentioned here

Regards
Reply With Quote
  #2 (permalink)  
Old 11-11-11, 07:57
Stealth_DBA Stealth_DBA is offline
Registered User
 
Join Date: May 2009
Posts: 472
sidharthmellam, 4K indicates a 4K page (4,096 bytes). The number indicates how many 4K pages. So INSTANCE_MEMORY set to 5120000 indicates 20,971,520,000 bytes or 20.9 GB (5,120,000 * 4,096).
Reply With Quote
  #3 (permalink)  
Old 11-14-11, 02:11
sidharthmellam sidharthmellam is offline
Registered User
 
Join Date: Jan 2011
Posts: 31
Hello Stealth ,

Thanks You so much For the Response

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