Groups > DB2 > DB2 UDB > Re: SMS or DMS




SMS or DMS

SMS or DMS
Tue, 1 Jan 2008 15:44:00 -0300
Hi all,
without considering DMS in a device, normally, the simplest choices are SMS 
or DMS in files.
Is there any performance improvement using a DMS tablepsace container in a 
file instead of a SMS ?

Also, if a SMS tablespace container is used, does it make sense to 
reorganize the tables?

Thanks
Diego

Post Reply
Re: SMS or DMS
Wed, 02 Jan 2008 14:16:56 -050
Answers inline:

netzorro wrote:
> Hi all,
> without considering DMS in a device, normally, the simplest choices are SMS

> or DMS in files.
> Is there any performance improvement using a DMS tablepsace container in a

> file instead of a SMS ?

Not really, excepts for the catalogs, and to allow lobs to be cached in 
filesystem memory. Generally, I would recommend automated storage with 
DB2 in DMS files.

> 
> Also, if a SMS tablespace container is used, does it make sense to 
> reorganize the tables?

Yes, if reorgchk says to do this.

> 
> Thanks
> Diego
> 
Post Reply
Re: SMS or DMS
Thu, 03 Jan 2008 12:14:02 +010
netzorro wrote:

> Hi all,
> without considering DMS in a device, normally, the simplest choices are
> SMS or DMS in files.
> Is there any performance improvement using a DMS tablepsace container in a
> file instead of a SMS ?

SMS grows and shrinks on demand while DMS uses pre-allocated files.  The
growing of SMS containers may have a slight impact on performance.  But I
doubt this will have a measurable impact on real-world applications.

-- 
Knut Stolze
DB2 z/OS Utilities Development
Post Reply
about | contact