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 > snapshot functions dont return page_size

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-30-06, 10:02
subramanyamp subramanyamp is offline
Registered User
 
Join Date: Mar 2006
Posts: 13
Question snapshot functions dont return page_size

Hi

I am using this query for getting the capacity information.

SELECT tablespace.tablespace_id tablespaceid, tablespace.tablespace_name caption , tablespace.tablespace_type tablespacetype,tablespace.tablespace_state tablespacestate,tablespace.bufferpool_id, (tablespace.used_pages * page_size) usedspace,(tablespace.free_pages * page_size) freespace, (tablespace.total_pages * page_size) allocatedspace, page_size, tablespace.num_containers, tbs_contents_type FROM TABLE( SNAPSHOT_TBS_CFG('dwctrldb',-2) ) as tablespace

But the page_size is not getting returned there by the capacity is coming (-)

i am using UDB 8.1 on a windows box.

any idea why the page_size is coming (-)
Reply With Quote
  #2 (permalink)  
Old 03-30-06, 10:15
przytula przytula is offline
Registered User
 
Join Date: Nov 2004
Posts: 374
tbs

last modif on this function is fp4
anyhow it does return page_size in higher version
db2admin:/cygdrive/c/workdir: db2 "select page_size from table(SNAPSHOT


PAGE_SIZE
--------------------
4096
4096
4096
32768
__________________
Best Regards, Guy Przytula
DB2/ORA/SQL Services
DB2 DBA & Advanced DBA Certified
DB2 Dprop Certified
http://users.skynet.be/przytula/dbss.html
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