Home > Ask the SAP Experts > Basis administration for Windows Questions & Answers > Comparing locally managed and dictionary managed tablespaces
Ask The SAP Expert: Questions & Answers
EMAIL THIS

Comparing locally managed and dictionary managed tablespaces

Farooq Ali EXPERT RESPONSE FROM: Farooq Ali

Pose a Question
Other SAP Categories
Meet all SAP Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 04 June 2007
What is the difference between locally managed and dictionary managed tablespaces, and what are the benefits of using a locally managed tablespace?

>
EXPERT RESPONSE
When Oracle allocates space to a segment (like a table or index), a group of contiguous free blocks called an extent is added to the segment. Metadata regarding extent allocation and unallocated extents are either stored in the data dictionary or in the tablespace itself. Tablespaces that record extent allocation in the dictionary are called dictionary managed tablespaces, and tablespaces that record extent allocation in the tablespace header are called locally managed tablespaces.

Locally managed tablespaces have the following advantages over dictionary-managed tablespaces:

  • Local management of extents avoids recursive space management operations, which can occur in dictionary-managed tablespaces if consuming or releasing space in an extent results in another operation that consumes or releases space in a rollback segment or data dictionary table.
  • Local management of extents tracks adjacent free space, eliminating coalescing free extents.
  • Reliance on data dictionary is reduced. This minimizes access to the data dictionary, potentially, improving performance and availability.

Due to these improvements, Oracle recommends using locally managed tablespaces for all new tablespaces if fragmentation is expected to be an issue The only drawback with locally managed tablespaces is that 'used-extent' information is not kept in the data dictionary. It must be read from the segment header blocks (and additional extent map blocks if any) whenever it is required, including queries against DBA_SEGMENTS and DBA_EXTENTS. If a tablespaces with a large number of mostly small segments is locally managed rather than dictionary managed, then access to these views can cause a lot more physical I/O and thus impact the cache retention of user data. Furthermore, if the segments are mostly constant in size then the risk of the tablespace contributing to ST enqueue contention if dictionary managed is low. Thus, there is little motivation to make such a tablespace locally managed and a minor performance risk in doing so.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Basis administration for Windows
Changing SAP spool servers for all the printers in your QA system
What is the recommended size of Oracle data files for SAP?
What is the difference between SPFILE and PFILE in Oracle?
Quick analysis of SAP BI objects
What does the Parameter tab mean in SU01
Changing a customer message priority level after it's sent
Fixing inconsistencies in TemSe and Spool systems
Common 'sequential read' misconception
List of deletable SAP system files
How do I know if a profile parameter is dynamically changeable or static?

SAP Basis
Error when clicking the SAP GUI logon button
The difference between an SAP system and a non-SAP system
Becoming an SAP administrator: The self-study route
Basis consultant wants to learn NetWeaver Portal
SAP administration information for a Basis interview
SAP ABAP development quiz
What does the Parameter tab mean in SU01
Changing a customer message priority level after it's sent
Basis administration info in preparation for an interview
Easier maintenance of output types, procedures, conditions, etc.
SAP Basis Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Basis  (SearchSAP.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



SAP White Paper Topics
HomeNewsTopicsBlogsTipsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
SearchSAP.com is a search service provided by TechTarget and is completely
independent of and not affiliated with SAP AG.
  TechTarget - The IT Media ROI Experts