DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2006

    Exclamation little challenge?


    we have a LOB in our Prod DB consuming 3GB space where as the actual required space is 1Gb, we need to do something so HWM drop down to 1GB,
    what are the diffrent ways of doing this and what is the best way
    to be done in prod env.
    do we definately have to brind DB down ? export schema? or just table? ...


  2. #2
    Join Date
    Nov 2000
    Pittsburgh, PA
    You can do an online move to another tablespace. Just make sure that all of the indexes for the table are compiled when you are done, and it would be better to do this when the database is idle.
    this space intentionally left blank

  3. #3
    Join Date
    Mar 2007
    Ft. Lauderdale, FL
    So... your problem is a LOB column using too much space?

    Statement below will move table to new tablespace BUT will not move LOB segments from current tablespace...

    ALTER TABLE table_name MOVE TABLESPACE target_tablespace

    Statement below will move segments that make up specific LOB column to new tablespace...

    ALTER TABLE table_name
    MOVE LOB(clob_column) STORE AS (
    TABLESPACE target_tablespace

    If your problem is just the LOB column I'll do just the second one.

    Hope this helps.
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.