How to know how much I can shrink the table

How can I know how much I can shrink the table after firing the delete statement?

Hi,
alter table table_name shrink space;
For example:
create table HWM_TEST(
  ID      NUMBER,
  DB_USERVARCHAR2(12),
  TARIH   DATE
  STORAGE(
          MAXEXTENTS       UNLIMITED
insert into HWM_TEST
  select level   id,
          user    db_user,
          sysdate tarih
   from dual
  connect by level<100001;
  commit;
  100000
rows created.
  Commit complete.
  insert into HWM_TEST
  select * from HWM_TEST;
  insert into HWM_TEST
  select * from HWM_TEST;
  insert into HWM_TEST
  select * from HWM_TEST;
  insert into HWM_TEST
  select * from HWM_TEST;
  insert into HWM_TEST
  select * fromHWM_TEST;
  commit;
  100000
rows created.
  200000
rows created.
  400000
rows created.
  800000
rows created.
  1600000 rows created.
  Commit complete.
select count(*) from hwm_test;
   COUNT(*)
3200000
   1 row selected.
  Elapsed: 00:00:02.26
delete from HWM_TEST;
  commit;
  COUNT(*)
0
  1 row selected.
  Elapsed: 00:00:02.42
  alter table HWM_TEST enable row movement;
  alter table HWM_TEST shrink space;
  set timing on
  select count(*) from hwm_test;
COUNT(*)
0
   1 row selected.
  Elapsed: 00:00:00.01
Thank you

Similar Messages

  • How to know if this computer can handle a certain monitor's resolution?

    I am looking to buy a new monitor, but I am at a loss as to how to know whether my computer can handle the monitor's resolution, will be compatible with it. I used to run two NEC Multisync FE991SB (CRT) monitors side by side, and one of them died. Their native resolution seems to be 1280x1024 per monitor. I am considering buying a DoubleSight DS-263N (LCD) monitor, which has a native resolution of 1920 x 1200, and running it alongside the NEC Multisync FE991SB that has not died. Here are the relevant vital statistics:
    Hardware Overview:
    Machine Name: Apple Power Mac G5
    Machine Model: PowerMac7,3
    CPU Type: PowerPC G5 (2.2)
    Number Of CPUs: 2
    CPU Speed: 1.8 GHz
    L2 Cache (per CPU): 512 KB
    Memory: 4 GB
    Bus Speed: 900 MHz
    Boot ROM Version: 5.1.8f7
    Graphics/Displays:
    GeForce FX 5200:
    Chipset Model: GeForce FX 5200
    Type: Display
    Bus: AGP
    Slot: SLOT-1
    VRAM (Total): 64 MB
    Vendor: nVIDIA (0x10de)
    Device ID: 0x0321
    Revision ID: 0x00a2
    ROM Revision: 2060
    Displays:
    NEC FE991SB:
    Resolution: 1280 x 1024 @ 85 Hz
    Depth: 32-bit Color
    Core Image: Supported
    Mirror: On
    Mirror Status: Hardware Mirror
    Online: Yes
    Quartz Extreme: Supported
    DoubleSIght monitor specs (I might buy one of these):
    Display
    Viewable Area:550.08 x 343.8(H x V)Pixel Pitch:0.2865mm x 0.2865mmMax. Visible Angle:178' / 178'Response Time:5 ms (G T G)Brightness:500 cd/m typ.Aspect Ratio:16:10Contrast Ratio:800:1 typ.Recommended Resolution:1920 x 1200 max
    Monitor Stand
    Adjustable Monitor Stand:Tilt
    Video Signal
    Horizontal Frequency:31.5~ 82.3KHzVertical Frequency:56~76HzDigital Signal:HDCP Capable
    Interface
    Interface type:VGA 15-pin D-sub type/DVI-D type
    Power
    AC:Input: AC 110~220V, 50~60Hz; Output: DC+24V, 5.0APower Consumption:135W max., 2W Power Save Mode
    Characteristics
    Controls:Graphic OSD, Auto AdjustmentUSB:4 USB portsDimension:23.5in W x 18.0in H x 11.0in DWeight:23 lbs.Certification:FCCWarranty:Three year limited warranty (parts & labor)
    VESA
    VESA:100mm x 100mm
    Any advice on how i can learn about compatibility? And on what card i need to buy, if i do need to buy one? Thanks.

    Dear Discussion Folks,
    Thank you all so much for your help. I think I understand now, as a result of your comments and this reply from NVIDIA customer support:
    "I understand from your mail that you would like to know if GeForce FX 5200 Ultra supports your monitor that has a recommended digital resolution of 1920 x 1200.Please be informed that as per the NVIDIA records, the maximum digital resolution supported by this graphics card is 1600 x 1200 and the maximum analog resolution supported by this graphics card is 2048 x 1536. Since you have mentioned in your e-mail that the Apple's specs page says that the maximum digital resolution supported by this graphics card is 1920 x 1200, in this case, I request you to contact Apple Support over phone and get confirmed on this. The reason why I am requesting you to contact Apple is because, we at NVIDIA, manufacture only the basic chipsets for the graphics cards and sell them to Apple Computers. The Apple Computers produce the graphics cards using the NVIDIA chipsets."
    This reassured me that there's no reason to worry about the appearance of a contradiction between the Apple tech sheet and the NVIDIA tech sheet. I went ahead and ordered this monitor today: the DoubleSIght DS- 265W.
    (by the way, sorry about typing 1900x1200 when I meant 1920x1200).
    After it arrives in a week or two, I'll update this thread to confirm that its resolution is supported by the GeForce FX 5200 Ultra card.
    Thanks again,
    Mark

  • How to know how much size we need in a tablespace to create index

    Hi,
    can anybody plz let me know,
    how to know how much space i need in a tablespace to create an index.
    thanks in advance

    Estimate Index Size and Set Storage Parameters
    http://www.camden.rutgers.edu/HELP/Documentation/Oracle/server.815/a67772/indexa.htm#388
    Estimating Bitmap Index Size
    http://download.oracle.com/docs/cd/A87860_01/doc/server.817/a76992/ch6_acce.htm#3625
    HTH
    Girish Sharma

  • How to know how much quantity is available for the batch ?

    hi all,
    I am doing a batch split on delivery item....but when i enter the batch and quantity ( say 500qty) it says Zero quantity available for the batch....
    <b>How to know how much quantity is available for the batch for that material</b> so that can we use the batch during batch split.....because batches are attached to a handling unit as well.....
    regards,
    Subba

    HI Subba,
    You can know this Thr MMBE Transaction Code
    Reward if it helps
    regards
    Srini

  • How to know how many equipments can be produced?

    Hello friends,
    One equipment is having bill of material.  How to know how many equipments can be made with the stores stock? How to know for making min. no. of materials reqd for making optimum no. of equipments?
    bye,
    srinivas.

    Hi,
    Please have a look at the Rules of Engagement before posting to these forums. The link is here:
    [https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]
    Once you have read the above, please provide the necessary information.
    Regards,
    Amit

  • HT3696 How to know if your mac is using the latest Haswell architecture processor or not? and how to know the difference between the new imac and the 2012/13 imac?

    How to know if your mac is using the latest Haswell architecture processor or not? and how to know the difference between the new imac and the 2012/13 imac?

    Sorry to reopen an old post, but I've just purchased a 2nd hand late-2013 iMac (or so thats what the seller said).
    I'm always sceptical though, and just wanted to know if there is a way to check if my iMac is indeed the late-2013 model that included Haswell?
    I've attached screenshots of the About This Mac section hoping it may help shed some light.
    Thank you in advance for your help!
    PS - I can't compare to the iMac specs link you posted above because its now showing the late-2014 models.
    <Image Edited by Host to Remove Serial Number>

  • How many different binary search trees can store the keys {1,2,3}

    I am having a hard time answering this question:
    How many different binary search trees can store the keys {1,2,3} or how about {1,2,3,4} and how did u figure this out?
    Any responses helpful
    Thanks!

    the.maltese.falcon wrote:
    practissum, shame on you for doing this chap's homework for him. @ the OP, this is a Java forum, not a basic data structures forum.
    Also, you forgot the cases
    3
    1
    2and
    1
    3
    2
    the.maltese.falcon, I was just trying to help him get started with the base case. Notice that I didn't enumerate all of the possibilities, but was trying to help the OP get on the right track. You, however, have done this. So shame to you, sir!

  • HOW TO KNOW HOW OLD IS THE PHONE

    How to know how old is the iphone

    Plug the SN in here:
    http://www.chipmunk.nl/klantenservice/applemodel.html
    This will tell you when your phone was made.

  • When exporting from Photos, the panel for naming the file no longer shows up. Why and how do I change so I can name the file what I want?

    When exporting from Photos, the panel for naming the file no longer shows up. Why and how do I change so I can name the file what I want?

    You don't need to maintain all versions of the upgrade chain, but many of us do in case we need to work on a legacy file. If you want to rmove a version, though, ti should be done BEFORE installing the later one. Just reinstall CS5 and things should get back to normal.

  • How to put 'Continue in next page' below the table.

    Hi,
    I have an invoice where all the lines are not fitting into one page. So some of the lines are getting printed in the second page. But in this case I wanted to put a message below the first page as "continue on next page"
    Since Iam a newbie to XML/BI Publisher I kinda stuck here. Tons of thanks in advance.
    This is how I need the output
    --- PAge1 --
    heading1
    line1
    line2
    line3
    line4
    line5
    line6
    line7
    line8
    line9
    line10
    Continue on next page
    -- page 2--
    heading1
    line11
    line12
    line13
    line14
    line15
    line16
    line17
    _________

    There are so many threads for this lately,..
    Go here
    http://winrichman.blogspot.com/...
    Here is some of the thread people were desperately looking for answers :).
    how can we get "Page Continued" at footer of page.
    Re: How do I print the word "Continued" at the bottom of page in BI publisher?
    How to Display 'Continued' in second& subsequent page but not in last page?
    Re: Printing signature on footer section of every page
    Re: How to put 'Continue in next page' below the table.
    Re: How do I check the last page?
    Help needed in XML Publisher rtf file
    Re: Different value in footer
    Changing header information within a document
    Re: Invoice Page break
    Re: Footer information in very page
    Re: Check Printing
    Oops, I initially thought , there would less number of threads,
    Hope my blog helps them :)

  • *Urgent*How to insert data from MS SQL to the table that create at the adobe form?

    Hi,
    I'm using Adobe life cycle designer 8 to do my interactive form. I would like to ask how to insert data from MS SQL to the table that i have created in my adobe interactive form?
    I really need the information ASAP as i need to hand in my project by next week... i really appreciate any one who reply this post.
    Thanks

    Tou need to do a couple of things
    1. On the Essbase server, set up an odbc system connection to your MySQL database
    2. In the load rule , go to the file menu and select open SQL data source and in the data source put in your SQL statement . A couple of hints. Where it says Select, don't put in the word select and where it say from don't put in from. The system adds them for you. The easiest way ti enter a SQL statement is to do it all in the select area So if your SQL would normanlly say select * from mytable just enter the code as * from mytable in the select area
    The click ol/retrieve and enter in your connection info. Itshould bring data back into the load rule. Save the load rule and use it

  • Does anyone know if Garage Band can change the key on a performance track?

    Does anyone know if Garage Band can change the key of a performance track?

    What's a "performance track"?

  • I want to know what InputField is selected in the table

    Hi Experts
    Please help me
    I have table with 4 columns (each column have TableCellEditor of type InputField)
    I need to know what InputField is selected in the table(or in wich column)

    Hi,
    You can get the selcted row for the table but not for a particular column. Even if you are editing something your input field the complete row would be selected.
    Regards,
    Murtuza

  • How to know how much we have to pay to a bank monthly

    in import purchase, how to bring that L/C process in SAP
    i need a report how to know that a company how much they need to pay to that particular bank?
    Edited by: Praveensap23 on Nov 18, 2010 1:30 Pm

    One post,one question.
    Please close this thread. Post your question in subject in ERP-Financials forum.

  • How much power can deliver the USB port on AirPort Express?

    I am developing an appliance that requieres access to a WiFi router and a power source (UL 60950-1 compliant) of less than one watt (100-200 mA @ 3.3V) to power my own WiFi device, and the AirPort Express can be the right device to solve both problems with minimun overhead. The problem is that I cannot find the specification of the current / power limits of its USB port.
    To check if it can provide the usual five unit loads, I tried to charge an iPhone 4, but it fails showing the message "Charging is not supported with this accessory", and an external 2.5" HD which requires 500 mA causes the following message to appear on AirPort Utility:
    USB Power
    A device connected to this AirPort base station's USB port requires more power than this AirPort base station can provide. Plug the device into a power supply if possible, or connect it to a powered USB hub.
    Any insight will be welcome.

    Never mind - I tried "rebooting". I hate it how that always works!

Maybe you are looking for

  • Flash player not working in windows 7 internet explorer 64bit

    windows 7 - 64 bit adobe flash 11.5 (most recent one as of 11/9/12) Previously i was able to go to a website and view videos. I can no longer view my videos. I uninstalled and reinstalled the newest Adobe Flash that is currently out. When i went to p

  • Error updating a datablock that uses a view

    I have a view that is using a UNION ALL between two tables. I have written the instead of trigger properly and I have no problem updating, inserting or deleting thru the view in Oracle. The problem is that forms will query the view fine, but will not

  • Get element UI property in Event Handler

    Hi, it's possible read inside an action, ONACTIONGO_TO_DETAIL, the property TEXT, of a LinkToAction? I want to read the property : TEXT of the LinkToAction and use this property like a parameter of the navigation : WD_THIS->FIRE_TO_DETAIL_PLG( LV_TEX

  • Agent when approving through portal.

    Hello All, As the part of approval process in the workflow a mail is sent to the agents microsoft outlook inbox. The agent will click on the link and will go to the portal and set 'OK' or 'Rejected'. This is working fine. But in this case i need to k

  • Can I sync iCal calendars from two iMac's together?

    Can I sync iCal calendars from two iMac's together?