Topic: Database Administration >> Space Management
|
Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property.
You may review the entire Oracle Certification Program Candidate Agreement online Here.
|
|
|
|
| Navi |
Posted: Sep 01, 2007 02:17:35 AM |
Total Post: 60
Joined: Jun, 2007
|
Hi,
Free space management is important because without it oracle would not
know where to put things like tables or indexes when you wanted to
create or modify them.
Locally managed tablespace use Bitmaps stored in the header of the
datafiles.
Question:-
In Bitmap whether each bit represents the extent of the Datafile or
each block of the Datafile?
If Each bit represents the extent of the datafile, then whether this
statement is true:-
When all the blocks of the extent is used or freed, then only oracle
changes the bitmap values to show the new status of the extent.
If Each bit represents the block of the datafile then whether this
statement is true:-
Whenever each block is used or freed oracle changes the bitmap values to
show the new status of the blocks.
Please Guide me.
Regards,
Naveen |
|
|
meraj |
| Posted: Sep 08, 2007 04:56:39 AM | |
|
Total Post: 40
Joined: Sep, 2006
|
Frankly this is not clear to me also....... Please someone help on this.
Meraj
|
|
|
|
|
Navi |
| Posted: Sep 08, 2007 07:33:52 AM | |
|
Total Post: 60
Joined: Jun, 2007
|
Hi,
Locally managed tablespaces have a bitmap in the header of datafiles to manage the extent allocation.
It is not exactly a bit per extent because tablespaces may have non uniform size of extent.
So, the bitmap is updated when extents are allocated (not blocks) or deallocated.
It is the same as in dictionary managed tablespaces where a row is inserted in SYS.UET$ and SYS.FET$.
Nothing is done here at block level.Remember you can have extents allocated even if they have only empty blocks (when you do alter table ... allocate extent for example).
However, a locally managed tablespace may have automatic segment space management (instead of freelist) that manages the segment blocks usage.
But that is a different thing, it is a bitmap in the segment header, and here it is managed at block level.
Regards,
Naveen
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |
|
|
|
|
Forum Rules & Description
Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user
|
| |
Get FREE Magazines
|
Top 10 Forum User
|
| Murtuja Khokhar | 857 |
| Mohammed Taj | 746 |
| positive fanatic | 483 |
| Jayanta Sur | 479 |
| Vigyan Kaushik | 386 |
| Gopu Gopi | 333 |
| Gitesh Trivedi | 322 |
| Vinoth Kumar | 264 |
| neeraj sharma | 258 |
| Ramesh Jois | 246 |
|
|