Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8052037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:27:03+00:00 2026-06-05T07:27:03+00:00

I am not a database administrator by any means so I might be wrong

  • 0

I am not a database administrator by any means so I might be wrong in stating some of the things here.

In SQL Server, when we add a large amount of data in the database and then when we delete it, the size of the data files (.mdf file) or database (or whatever it is called) does not get reduced to the original size. We need to shrink it.

Do the same fundamentals work in Oracle? If yes then how should I go about shrinking an Oracle 11g database?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T07:27:05+00:00Added an answer on June 5, 2026 at 7:27 am

    Full explanation from the Oracle Documentation: Reclaiming Wasted Space. For the short version:

    “You can shrink space in a table, index-organized table, index,
    partition, subpartition, materialized view, or materialized view log.
    You do this using ALTER TABLE, ALTER INDEX, ALTER MATERIALIZED VIEW,
    or ALTER MATERIALIZED VIEW LOG statement with the SHRINK SPACE
    clause.”

    So, after running the Oracle Segment Advisor to recommend areas to shrink, something like the following will shrink space in a table named mytable.

    SQL> alter table mytable enable row movement;
    Table altered
    
    SQL> alter table mytable shrink space;
    Table altered
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

this is a different question concerning: add a connection to database not working, asp.net
If the database is not Oracle, it is MS SQl 2008. My task: if
Let me start by saying I am not an SQL or SQL Server expert
I've created a simple project with an SQL Server database with dozens of tables
(Disclaimer - I'm not the database designer. I'm just the poor developer what has
Can we create a new MySQL database( not a table, I want a new
As the post title implies, I have a legacy database (not sure if that
My google search skills have failed me, and I am not a database expert
I have a database that does not display the database window when opening. Instead
I've read in blogs that the database should not be hit when the unit

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.