Results 1 to 3 of 3

Thread: bytes or kbs ?

  1. #1
    Join Date
    Jan 2011
    Posts
    32

    Unanswered: 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

  2. #2
    Join Date
    May 2009
    Posts
    508
    Provided Answers: 1
    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).

  3. #3
    Join Date
    Jan 2011
    Posts
    32
    Hello Stealth ,

    Thanks You so much For the Response

    Regards

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •