How to check for DB2 Direct IO and FILE SYSTEM CACHING

30 May,2012 by Tom Collins

Question : I’m running DB2 9.5 . How do I check the FILESYSTEM CACHING status on a DB2 tablespace?

 Answer:  DB2 bufferpools and Linux filecache perform approximately the same function.

Thefunction is : copy data from disk.

 DirectIO directs reads from disk into DB2 memory.DirectIO is set up on a tablespace by tablespace basis. The tablespace option is NO FILE SYSTEM CACHING

 Can be applied to: system tablespaces, temporary tablespaces

 Note: LOB and LONG VARCHAR doesn’t benefit – and continues to use file cache

 Check FILESYSTEM caching by  db2 -v "get snapshot for tablespaces on myDB" | more 

Check for File system caching

 

Author: Rambler(http://www.dba-db2.com)

Share:

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment on How to check for DB2 Direct IO and FILE SYSTEM CACHING

Comments are moderated, and will not appear until the author has approved them.


dba-db2.com | DB2 Performance Tuning | DBA DB2:Everything | FAQ | Contact | Copyright