Locally Managed Tablespaces vs. Dictionary managed
How hard is it to change a production dictionary managed tablespace into a locally managed tablespace ..Can this be done without exp/imp?
Are there any performance benefits over DMT..
What are the convincing reasons to put LMT instead of DMT for existing production tablespaces.
Is it really worth it?
Please give your ideas. I am looking for practical answers who have really implemented LMT's and gained some benefits
thanks in advance
Re: Locally Managed Tablespaces vs. Dictionary managed
Quote:
Originally posted by saneja
How hard is it to change a production dictionary managed tablespace into a locally managed tablespace ..Can this be done without exp/imp?
Not hard at all. Create a new database with the tablespaces as LMT's, then do the import of the data.
Quote:
Are there any performance benefits over DMT..
Enough that DMT's will be going by the wayside. In future releases of Oracle, all tablespaces will be LMT's.
Quote:
What are the convincing reasons to put LMT instead of DMT for existing production tablespaces.
See Note 105120.1 on MetaLink
A Locally Managed Tablespace is a tablespace that manages its own extents maintaining a bitmap in each datafile to keep track of the free or used status of blocks in that datafile. Each bit in the bitmap corresponds to a block or a group of blocks. When the extents are allocated or freed for reuse, Oracle changes the bitmap values to show the new status of the blocks. These changes do not generate rollback information because they do not update tables in the data dictionary (except for tablespace quota information), unlike the default method of Dictionary - Managed Tablespaces. ** Reduced recursive space management ** Reduced contention on data dictionary tables ** No rollback generated ** No coalescing required
Quote:
Is it really worth it?
Enough that Oracle Corp. is making all TS's LMT's in the future.
Re: Locally Managed Tablespaces vs. Dictionary managed
Quote:
Originally posted by saneja
How hard is it to change a production dictionary managed tablespace into a locally managed tablespace ..Can this be done without exp/imp?
In resent Oracle versions you can use the DBMS_SPACE_ADMIN.TABLESPACE_MIGRATE_TO_LOCAL() procedure to do this, or you could create a new set of tablespaces on your existing database and MOVE the tables/indexes. You don't necessarily need to create a new db.