Unix Technical Forum

UDB V8 FP8 - Tablespace Filesystem caching enabled for DMS Raw?

This is a discussion on UDB V8 FP8 - Tablespace Filesystem caching enabled for DMS Raw? within the DB2 forums, part of the Database Server Software category; --> All: I see that that DMS tablespaces using raw devices have "File System cache" enabled by *default*. My understanding ...


Go Back   Unix Technical Forum > Database Server Software > DB2

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 04:40 AM
UDBDBA
 
Posts: n/a
Default UDB V8 FP8 - Tablespace Filesystem caching enabled for DMS Raw?

All:

I see that that DMS tablespaces using raw devices have "File System
cache" enabled by *default*. My understanding is that file system cache
is applicable only for SMS.

Here is the tablespace snapshot:

Tablespace name = TYESDATA1
Tablespace Type = Database managed space
File system caching = Yes


Any ideas why file system cache this is enabled by *default* for DMS
raw?
Does it affect performance given that DMS does not do double buffering?

Thanks much for the help!

Vijay

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 04:41 AM
Ian
 
Posts: n/a
Default Re: UDB V8 FP8 - Tablespace Filesystem caching enabled for DMS Raw?

UDBDBA wrote:
> All:
>
> I see that that DMS tablespaces using raw devices have "File System
> cache" enabled by *default*. My understanding is that file system cache
> is applicable only for SMS.


File system caching applies to DMS file, too, but not to DMS raw. Your
snapshot doesn't show it, but are your containers actually raw devices
or just files in a filesystem?

The default has *always* been for DB2 to use the filesystem cache, and
only recently (DB2 UDB V8.2) has added the ability to disable the cache
via an ALTER TABLESPACE command. Prior to this there were other options
such as using Direct IO or Concurrent IO (AIX), DB2_NT_NOCACHE (Win32),
etc. The ALTER TABLESPACE syntax has abstracted these methods into a
common statement usable across all platforms.

FYI When IBM adds new features such as this they generally must be
explicitly enabled to activate the feature for some time before they
become the default. For example, Hash Joins were introduced in V5.2,
but were not enabled by default until V8.1.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 04:42 AM
UDBDBA
 
Posts: n/a
Default Re: UDB V8 FP8 - Tablespace Filesystem caching enabled for DMS Raw?

Thanks. The DMS are raw logical volumes. So, i guess caching is not
used although it is *always* enabled by default.

Vijay

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-27-2008, 04:42 AM
Ian
 
Posts: n/a
Default Re: UDB V8 FP8 - Tablespace Filesystem caching enabled for DMS Raw?

UDBDBA wrote:
> Thanks. The DMS are raw logical volumes. So, i guess caching is not
> used although it is *always* enabled by default.
>


This is probably just an instrumentation problem - the snapshot monitor
probably looks at a bit in the tablespace header to determine whether
caching has been disabled for the tablespace, but of course this doesn't
apply if the containers are devices.

You could probably open a PMR to have this corrected.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-27-2008, 04:42 AM
UDBDBA
 
Posts: n/a
Default Re: UDB V8 FP8 - Tablespace Filesystem caching enabled for DMS Raw?

Thanks Ian

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:20 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com