•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Oracle section within the Web Development category of DaniWeb, a massive community of 370,604 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,034 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Oracle advertiser:
Views: 8981 | Replies: 1
![]() |
•
•
Join Date: Dec 2006
Posts: 24
Reputation:
Rep Power: 2
Solved Threads: 0
Hi
You have to understand Oracle storage.
Each table is made up of extents and each extent is made up of oracle blocks - a common block size is 8k. So you have a table with 10 extents (80K).
You populate your table with 2 million rows of data and you will have many hundreds of extents. Now lets assume that you delete over half of the records in the table. Oracle still has the same number of extents but many of the blocks are empty. When you run a query against the table Oracle will scan through all the blocks including empty ones looking for data. So you can think of the total number of extents / blocks used as the high water mark.
To fix you export the table, drop it and import it back in.
Alistair
You have to understand Oracle storage.
Each table is made up of extents and each extent is made up of oracle blocks - a common block size is 8k. So you have a table with 10 extents (80K).
You populate your table with 2 million rows of data and you will have many hundreds of extents. Now lets assume that you delete over half of the records in the table. Oracle still has the same number of extents but many of the blocks are empty. When you run a query against the table Oracle will scan through all the blocks including empty ones looking for data. So you can think of the total number of extents / blocks used as the high water mark.
To fix you export the table, drop it and import it back in.
Alistair
Last edited by alit2002 : Dec 4th, 2006 at 7:18 am.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Oracle Marketplace
- Feb 1, 2019, the world is scheduled to end.... (Geeks' Lounge)
- Program to convert video to Flash AND watermark it? (Graphics and Multimedia)
- Code tags whine-a-thon (DaniWeb Community Feedback)
- print words in reverse in a given sentence (C)
- Video forums go ballistic when I say "Why edit video at all" (Geeks' Lounge)
- Positioning in GUI (Python)
- Php site face lift (PHP)
- High-Level Languages (Computer Science and Software Design)
Other Threads in the Oracle Forum
- Previous Thread: Transfer database from one linux sserver to another
- Next Thread: beginning oracle


Linear Mode