How to free space that is not being used?

I have a tablespace with very few data (0.18 Mb) but somehow Oracle is using 10Gb for this tablespace, the tablespace is this one:
Tablespace Name and Mb FREE_SPACE USED_SPACE TOTAL_SPACE
HIST_PROMOTIONS_IDX 10099,8125 ,1875 10100
The tablespace is composed by this 3 data files:
FILE_NAME ALLOCATED_MB USED_MB FREE_SPACE_MB
/oraindices/IRI9/data/HIST_PROM_ID1.dbf 5000.00 .06 4999.94
/oraindices/IRI9/data/HIST_PROM_ID2.dbf 100.00 .06 99.94
/oraindices/IRI9/data/HIST_PROM_ID3.dbf 5000.00 .06 4999.94
Is there any way to reasign the space usage for this tablespace?
thanks

If I read this correctly, only a couple of MB are used in that tablespace.
The resize should work, but you'll still have 3 datafiles where 1 would suffice. Also, sometimes, it will give you an error because blocks are located towards the end of the file.
I would create a new tablespace using the size being used and move the objects in the large tablespace into this new one (move tables and rebuild indexes). When all is completed, take the large tablespace offline and, if all works well after a couple of days, drop that large tablespace.

Similar Messages

  • How to identify SQL_PROFILES that are not being used?

    In dba_hist_sqlstat table were found 26 Sql_Profiles, some of them are not used.
    Questions:
    - Is there any way to identify which one are not used?
    I tried verifying DBA_SQL_PROFILES but this does not help to much.
    - Analyzing one by one, Is the only way to find why they are not used?
    Thanks,
    Deyanira

    Hello;
    You should be able to Join the views DBA_USERS and DBA_PROFILES to see whats in use. ( or not in use )
    select distinct
      profile
    from
      dba_profiles
    where
      profile not in ( select profile from dba_users )  On the second question I would ask the DBA.
    Best Regards
    mseberg
    Dan is correct. I have misread the question. Sorry about that.
    Edited by: mseberg on Jun 28, 2012 3:06 PM

  • Cannot delete an old vault that is not being used.

    Cannot delete an old vault that is not being used. I get the following notification: The operation can’t be completed because the item “#3 Vault-GTech RAID mini-1TB” is locked.  I placed this vault on a external HD until I set up a new vault with the same name in Aperture.
    Now I want to delete the older Vault. Any suggestions?  Thank you, Bob Stern

    OK think I have it, but you'll need to use the terminal window and sudo to do this If you never used either then read this carefully before you begin.
    start
    Open a terminal, go to /Applications/Utilities and click on the Terminal app.
    Type the following but do not press return: sudo chflags nouchg
    Make sure to enter a space at the end of the above command
    Go to Finder, locate the vault and drag it to the Terminal window at the end of the above command. The mouse pointer will turn into a green plus sign showing you your are dragging the file.
    When you let go the full path of the vault will be at the end of the command, now press return.
    If this is the first time you are running sudo you'll get some text telling you to be very careful. You'll also be prompted for your password, enter it.
    Back in Finder in the Info window for the vault the Locked checkbox should be clear.
    that's it
    good luck, post back if you have any troubles.
    regards

  • HT1689 can i use an old iphone that is not being used as a phone as just an ipod?

    Can i use an old iphone that is not being used as a phone as just an ipod?

    Yes. Instructions are here: http://support.apple.com/kb/HT3406

  • With new Free Characeristics Aggregates are not being used

    Hi....i have a query from a multicube with two infocubes where i  have two aggregates one for each cube...in my query both aggregates are being used with no problems....when i add a new free characteristic that appers on aggregates something happens and the aggregates are not being used anymore...i dont understand why this happens because i know that ......free characteristics ....doesnt affects the aggregates usage....is this correct??? or not?
    Regards

    Since this is an open forum, not Adobe support... you need to contact Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"
    -or by telephone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

  • How to tell which Indexes are not being used?

    We are a large development shop and have many customers. Our database design is very generic so that it works for all of our customers. Each night we use an SSIS ETL process to bring down large amounts of data from the iSeries into SQL. One
    particularily large customer takes a very long time and we are looking for ways to speed up thier data import and transformation. I would like to see which indexes he does not use and possibly remove them. Each night we fully repopulate hundreds of staging
    and ods tables and incrementally delete and repopulate the days work for a handful of history type tables. Removing some indexes off of the large tables could make a big impact. 
    How can i tell which indexes the customer does not use?

    > IDENTIFYING UNUSED INDEXES IN A SQL SERVER DATABASE 
       Just because an index is not being used does not necessarily mean it should be removed.
    > Index This: All About SQL Server Indexes
    sp_BlitzIndex
    José Diz     Belo Horizonte, MG - Brasil

  • How to find which table is not being used ?

    Hi,
    I am in need of releasing space from the common schema we have. i have been permitted to drop the tables which has not been used for the last three months.
    Can anyone please suggest how to find the tables that has not been used for a given amount of time.
    Thanks and Regards.
    Rajib

    i have been permitted to drop the tables which has not been used for the last three months.Can I just chip in an observation on this premise? It's not unusual for systems to have processes that run quarterly or even annually. You need to be very careful about dropping "unused" tables - you might just kill your organisations end of year reporting system.
    Is buying more disk space really not an option?
    Cheers, APC

  • Spooling out profile that are not being used

    hi guys,
    is there anyway to spool out those profile that are not in used or assigned to any username or roles?

    flaskvacuum wrote:
    hi guys,
    is there anyway to spool out those profile that are not in used or assigned to any username or roles?
    SQL> CREATE PROFILE test LIMIT
      2     FAILED_LOGIN_ATTEMPTS 5
      3     PASSWORD_LIFE_TIME 60
      4     PASSWORD_REUSE_TIME 60
      5     PASSWORD_REUSE_MAX 5
      6     PASSWORD_VERIFY_FUNCTION null
      7     PASSWORD_LOCK_TIME 1/24
      8     PASSWORD_GRACE_TIME 10;
    Profile created.
    -- Created but not assigned --
    SQL> select distinct profile from dba_profiles where profile not in (select profile from dba_users);
    PROFILE
    TEST
    SQL>

  • How do I delete places in the organizer that are not being used?

    In Elements Organizer 12, I think I accidentally created a "place" on the map that I do not want to apply to any photos.  When I try to do conduct an advanced search, the place is appearing as a checkbox.  I do not want this place to show up in the search field, as we have never been there.  How do I remove places that are not associated with any photos?

    If you are accessing emails from multiple devices, you are better off using the IMAP protocol. Then the devices sync with the server and they are all looking at the same information. With POP, you are going to get your emails spread about, some on Outlook, some on the iPad. It could get very confusing.
    By default, the iPad will not delete from a POP server. Instructions for changing this are here: http://support.apple.com/kb/HT3228

  • How to remove the bufgs that are not being used

    Hi,
    I have a IP block that has BUFGs that may or may not be used depending on which design the IP block is used. If they are not used I would like them to be removed but the tools are not consistent, sometimes they remove them and sometimes they do not.
    How do I specifically tell Vivado to remove a BUFG in the .XDC file?
    I've seen someone suggest to use the following attribute in the VHDL file but I need something in the XDC file
    attribute buffer_type of drck_i : signal is "none";
    Thank you,
    Luis

    Hi 
    If the BUFG instance is instantiated in the IP or your design then the buffer_type attribute will not work.
    The opt_design trims the unconnected instances during implementation. Ensure that the BUFG does not have  DONT_TOUCH property set on it which might affect trimming.
    Thanks,
    Deepika.

  • How do i set system preferences to delete file cache that is not being used

    My file cache is using over a GB of memory.  How do i set the system to free up memory that is being held but not used?

    It's normal since Mavericks for almost all memory to be in use, either by applications or by the file cache. That's what you should want, since unused memory is going to waste. The relevant measure of whether memory is in short supply is what Apple calls "memory pressure."
    Apple's explanation of memory pressure is here. If you want a more detailed, technical description, see here, and for the source code, see here.

  • How to  check customer reference no. not  being use more than once

    I have the following situation and appreciate if  some one could show me a simple solution.
    “On the Sales order window, when user enter a value for Customer Ref. No”, check if the entered value has already  been used on any existing Sales Order, and give message eg. “this Ref. No already been used in SO. 257”
    What is the easiest way of implementing the validation?
    Using Formatted Search?
    Triggers or Stored Procedure?
    Or one must go about doing this simple task using SDK, DIAPI?
    sample code illustrating solution would be much appreciated.
    I tried to create a query and used it with Formatted search on the Field, but failed on an error.
    the code using temporary hard coded value instead of $[$x.0.0] looks like this
    if (SELECT    COUNT(*)
    FROM         dbo.ORDR
    WHERE     (NumAtCard = 'AAA' and CardCode ='1234')
    ) =0     
         Begin
                       select 'AAA' --redisplay value
         end
    else
                  begin
    SELECT     TOP 1 'already used in SO '+ Convert(Char(3),DocEntry)
    FROM        dbo.ORDR
    WHERE     (NumAtCard = 'AAA')    
             end
    where 'AAA' is the reference no. to check for customer '1234', this code works when I run it in SQL query analyser, but failed when I run it as query in Business one. the idea was to redisplay the entered No. 'AAA' if it is not found in any existing SO for cust ='1234'
    can anyone point out what the error is or show  alternative code for the query.
    thanks

    Hi Andy,
    I believe the best way to do this is probably to use the SDK as (to my knowledge) this is the only way you can get a message to be displayed and to stop the actual processing of the document.
    If you want to go the formatted search route I would suggest you change your query a bit. I have played with your query and the following is an example as I got it working in SBO. I think SBO gets confused if there is more than one select statement that returns a result and I have started using variables to save the results of the select statements in.
    [code]Declare @Val varchar(100)
    declare @Count integer
    set @Val = $[$14.0.0]
    if (SELECT COUNT(*) FROM dbo.ORDR WHERE (NumAtCard = @Val and CardCode = $[$4.0.0])) > 0
    begin
    SELECT TOP 1 @Val = 'already used in SO '+ Convert(Char(3),DocEntry) FROM dbo.ORDR WHERE (NumAtCard = @Val)
    end
    select @Val[/code]
    I hope it helps a bit,
    Adele

  • How to free so that it can be used with other companies. I was with Vodafone but changed to Orange

    I changed from Vodavone to Orange, and I can't use the telephone anymore. Is there anyone who knows how to solve this problem?

    Only the carrier an iPhone was sold as carrier locked with can officially unlock the iPhone. Contact Vodafone.

  • How do I find out that Overflow is being used

    We have configured Overflow for one of our Caches using bdb.
    I have a few questions with regard to the overflow scheme
    1. How do I test that Overflow is being used indeed ?
    2. Where does bdb store its data, is it on the file system or in memory ? Is there a way to see the data in the bdb scheme ?
    3. Following is the configuration we are using, is that the right way to use overflow ?
    Thanks,
    J
    <distributed-scheme>
    <scheme-name>dist-person</scheme-name>
    <service-name>dist-person-service</service-name>
    <thread-count>15</thread-count>
    <partition-count>6421</partition-count>
    <serializer>
    <class-name>
    com.tangosol.io.pof.ConfigurablePofContext
    </class-name>
    <init-params>
    <init-param>
    <param-type>string</param-type>
    <param-value>custom-types-pof-config.xml</param-value>
    </init-param>
    </init-params>
    </serializer>
    <backing-map-scheme>
    <read-write-backing-map-scheme>
    <internal-cache-scheme>
    <overflow-scheme>
    <front-scheme>
    <local-scheme>
    <high-units>968000000</high-units>
    <low-units>726000000</low-units>
    <unit-calculator>BINARY</unit-calculator>
    <expiry-delay>5d</expiry-delay>
    </local-scheme>
    </front-scheme>
    <back-scheme>
    <external-scheme>
    <scheme-ref>DiskOverflowScheme</scheme-ref>
    </external-scheme>
    </back-scheme>
    </overflow-scheme>
    </internal-cache-scheme>
    <cachestore-scheme>
    <class-scheme>
    <class-name>com.sac.triton.stores.CustomCacheLoader</class-name>
    <init-params>
    <init-param>
    <param-type>java.lang.String</param-type>
    <param-value>com.entities.Person</param-value>
    </init-param>
    </init-params>
    </class-scheme>
    </cachestore-scheme>
    <read-only>true</read-only>
    </read-write-backing-map-scheme>
    </backing-map-scheme>
    <autostart>true</autostart>
    </distributed-scheme>
    <external-scheme>
    <scheme-name>DiskOverflowScheme</scheme-name>
    <bdb-store-manager></bdb-store-manager>
    </external-scheme>

    Hello,
    BDB will store its data on the file system. You can specify the locatino with the following:
    <bdb-store-manager>
    <directory>{FILE_LOCATION}</directory>
    </bdb-store-manager>
    As far as I am aware you can't see the data in the bdb scheme.
    Regards,
    Nick

  • How can I activate an old version of Photoshop that I've loaded on my new tablet? The web activation doesn't work, and when I call the number, it says it's not being used anymore. Meanwhile, I'm down to 13 days till it stops working due to not being activ

    How can I activate an old version of Photoshop that I've loaded on my new tablet? The web activation doesn't work, and when I call the number, it says it's not being used anymore. Meanwhile, I'm down to 13 days till it stops working due to not being activated. HELP?  I really need to continue using this product for my home business.It works fine not activated but the threat is that it will stop working in 13 more days if I don't get it activated, and none of the activation methods they list seem to work.

    The new serial number is to the right of your chosen download.

Maybe you are looking for

  • Db function throws ORA-04067 Procedure does not exist error in forms

    I have a db function that returns a value that I assign to a non-db item in Forms. The function compiles fine in the database, I've granted execute privileges to the forms user, and the form in which it's called compiles fine, but when I run the form

  • Order Receipient/Delivery not possible credit customer blocked

    This has occured, and we have never created sales order for this customer, but I am unable to create any orders? what can be done?

  • Oracle 10g for Solaris 9 (SPARC 64-bit) installation problem

    I am trying to install Oracle Database 10g that I downloaded to my Solaris 9 (64-bit) SunBalde 100 and I got an error when it was running the Database Configuration Assistant. The error that I got is "ORA-12154: TNS: could not resolve the connect ide

  • All or nothing approach to non-Apple downloads

    I downloaded software from a site. Opening it was blocked because I did not get it from the Apple store or, apparently, through their channels. In order to run it, I have to allow my laptop to allow downloads from anywhere. I want to be able to accep

  • Improving code performance in JDBC

    Hi, I have a the following code in my application. Vector ls = new Vector(); ResultSet rs = st.executeQuery(select .........); while(rs.next()) { Object creation; add to the Vector; return Vector; Problem is query returns 2 million records and it is