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 > how to verify tablespace is enabled for file system cache?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-06-09, 13:43
gabrielatme gabrielatme is offline
Registered User
 
Join Date: Nov 2008
Posts: 8
how to verify tablespace is enabled for file system cache?

Hi,

How can I verify if tablespace is enabled for file system cache?

does have view? table?

thanks

Last edited by gabrielatme; 05-06-09 at 13:48.
Reply With Quote
  #2 (permalink)  
Old 05-06-09, 13:46
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
What DB2 version and OS?

Andy
Reply With Quote
  #3 (permalink)  
Old 05-06-09, 13:49
gabrielatme gabrielatme is offline
Registered User
 
Join Date: Nov 2008
Posts: 8
DB2 V9
OS Linux RedHat 5
Reply With Quote
  #4 (permalink)  
Old 05-06-09, 13:54
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Use the Snapshot view:

DB2 Database for Linux, UNIX, and Windows

Andy
Reply With Quote
  #5 (permalink)  
Old 05-06-09, 14:05
gabrielatme gabrielatme is offline
Registered User
 
Join Date: Nov 2008
Posts: 8
I tested but he comes back values between 0 and 3.

they put in IBM information Center it doesn't inform what means these values. I am speaking about the column FS_CACHING

any help?
Reply With Quote
  #6 (permalink)  
Old 05-06-09, 14:14
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
FS_CACHING will be 0 if filesystem caching is enabled. You can also get this info from db2pd -tablespaces. Example:

db2pd -d sample -tablespaces

Database Partition 0 -- Database SAMPLE -- Active -- Up 0 days 00:00:11

Tablespace Configuration:
Address Id Type Content PageSz ExtentSz Auto Prefetch BufID BufIDDisk FSC NumCntrs MaxStripe LastConsecPg Name
0x078000002041F640 0 DMS Regular 4096 4 Yes 4 1 1 On 1 0 3 SYSCATSPACE
0x078000002040ABA0 1 SMS SysTmp 4096 32 Yes 32 1 1 On 1 0 31 TEMPSPACE1
0x078000002040F400 2 DMS Large 4096 32 Yes 32 1 1 On 1 0 31 USERSPACE1



FSC column
Reply With Quote
  #7 (permalink)  
Old 05-06-09, 14:17
gabrielatme gabrielatme is offline
Registered User
 
Join Date: Nov 2008
Posts: 8
thank you very much
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