| | |
High Water Mark.
Please support our Oracle advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Dec 2006
Posts: 44
Reputation:
Solved Threads: 1
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 8:18 am.
![]() |
Similar Threads
- Program to convert video to Flash AND watermark it? (Graphics and Multimedia)
- Feb 1, 2019, the world is scheduled to end.... (Geeks' Lounge)
- 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)
Other Threads in the Oracle Forum
- Previous Thread: Transfer database from one linux sserver to another
- Next Thread: beginning oracle
| Thread Tools | Search this Thread |
2009predictions acquisition amazon.com bartz bernanke cia citrix cloudcomputing crm database dell economy editor enterprise enterprise2.0 enterprisesoftware federalreserve forbes hp ibm intellipedia internet larryellison layoffs linux loughridge mediawiki michaeljackson microsoft neverland nortel notebooks oil operatingsystem oracle palm rimm saas salesforce sap seagate socialcomputing sql sun sybase technologystocks virtualiron virtualization vmware wiki wikipedia xen yahoo zoho





