System tablespace space not regained when objects are dropped

Mine is a Oracle 10g 10.2 on windows.
I am importing a export file into a user ,It takes some amount of space in SYSTEM and another tablespace .When I drop the user space in system tablespace is not coming back. ANY IDEA WHY
BEFORE IMPORT
SQL> select sum(bytes)/1024/1024 from dba_segments where owner='SYSTEM';
SUM(BYTES)/1024/1024
22.1875
SQL> select sum(bytes)/1024/1024 from dba_segments where owner='SYS';
SUM(BYTES)/1024/1024
544.1875
SQL> select sum(bytes)/1024/1024 from dba_segments where segment_name='SOURCE$';
SUM(BYTES)/1024/1024
41
I use the following commands to import
SQL>create user <username> identified by <password> default tablespace <tsname> quota unlimited on <tsname>;
SQL>grant create session,imp_full_database to <username>;
imp system file=filename.dmp log=logname.log fromuser=<username> touser=<username> statistics=none
AFTER IMPORT
SQL> select sum(bytes)/1024/1024 from dba_segments where segment_name='SOURCE$';
SUM(BYTES)/1024/1024
53
SQL> select sum(bytes)/1024/1024 from dba_segments where owner='SYSTEM';
SUM(BYTES)/1024/1024
22.1875
SQL> select sum(bytes)/1024/1024 from dba_segments where owner='SYS';
SUM(BYTES)/1024/1024
728.375
AFTER DROPPING THE USER/SCHEMA
SQL> select sum(bytes)/1024/1024 from dba_segments where owner='SYS';
SUM(BYTES)/1024/1024
728.375
SQL> select sum(bytes)/1024/1024 from dba_segments where owner='SYSTEM';
SUM(BYTES)/1024/1024
22.1875
SQL> select sum(bytes)/1024/1024 from dba_segments where segment_name='SOURCE$';
SUM(BYTES)/1024/1024
53
I even tried deleting the objects first and then dropping the user
SQL> delete from source$ where obj# in(select object_id from dba_objects where owner='USERNAME');
211252 rows deleted.
SQL> commit;
Commit complete.
SQL> drop user USERNAME cascade;
User dropped.
The space used by the schema on system tablespace is not coming back.

Hi user509593!
Adding objects to a tablespace requires space in that tablespace. This space is managed in segments and extents. If an extent is fully used (that means 100 % usage) a new extent will be added to a segment. Oracle uses a mechanism called "High Water Mark" to mark the last used extent.
Your problem is that oracle don't set this High Water Mark back if you are dropping objects from a tablespace. Once an extent is marked as it it retains marked as used.
Before Adding Objects:
u = used Extent
x = free Extent
| = High Water Mark
uuuuuuxxxxx
...........|
After Adding Objects:
uuuuuuuxxxx
............|
After dropping objects:
uuuuuuuxxxx
............|
The only chance to get your "unused" space back is to reorganized your tablespace. But before you reorganize something please read the documentation to know all about the costs and traps that comes with reorganization.
Hope this help!
null

Similar Messages

  • [svn:fx-trunk] 8551: Fix for focusSkin and errorSkin to account for bogus bitmap snapshots when objects are 3D transformed .

    Revision: 8551
    Author:   [email protected]
    Date:     2009-07-14 11:31:50 -0700 (Tue, 14 Jul 2009)
    Log Message:
    Fix for focusSkin and errorSkin to account for bogus bitmap snapshots when objects are 3D transformed.
    Bugs: SDK-17766
    Reviewer: Glenn
    QE Notes: None
    Doc Notes: None
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-17766
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ErrorSkin.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/FocusSkin.as

  • Function return value == -10. Native error code -2146824584 ADOBD.Recordset: Operation is not allowed when object is closed

    I want to call Stored Procedure that return records and output parameter, from CVI
    I can get output parrameter but when I want to get records stream I recieve following wrror:
    function return value == -10. Native error code -2146824584 ADOBD.Recordset: Operation is not allowed when object is closed

    in Stored procedure I create table variable and and insert into string values
    when I remove usage of table variable the error desappear

  • Changes are not reflected when objects transported from Quality to Productn

    Hi
    In case of moving some Transport requests from Quality to Production, some times the changes made to the selection screen of a report program doesn't reflect in Production. Also we don't see any Transport error while transporting. Moreover, we can see the changes by regenerating the Program in production.
    Would any one help me out in this with the reason for this.
    Pls suggest what needs to be done.
    Satish.

    HI,
    Thanks for the reply.
    - I have checked the respective transport too, and every thing seems to be fine.
    - Recently we went to go live, for the next release, so earlier before go live, we didnt faced any proble.. Only now we are facing this problem, that we find the changes relating to selection screen are not reflected when the object / prog is moved from qty to Prd.
    - Only problem is with the selection screen.(not getting reflected in PRD. In Qty we are able to see those changes.
    - Then in order to reflect these changes in PRD, we have to re generate the object, then only it get s updated..
    Satish.
    Edited by: satish c on Sep 22, 2009 3:35 PM

  • Object not sending when JTextFields are cleared

    Hi all,
    In short i've got a very strange problem. Its like this, when i send information out of a textfield to my objectoutputstream it arives propperly.
    when i clear it in the same button click it doesn't arrive anymore.
    If i don't clear the fields and checkboxes nothing is wrong and the object is send as it should be.
    Strange fact that i have another button to manually clear the fields when i click that it clears and i can send objects as much as i please
    this one doesn't work
    saveBtnNew.addActionListener( new ActionListener() {
         public void actionPerformed(ActionEvent AE) {
         System.out.println("geklikt");               
         profileInfo = new Object[] { profName, profPass, surName, lastName,
                     secNew, telNew, metNew };
         ServerConnection.insertTableObject = profileInfo;                    
         ServerConnection.insertType = ServerConnection.PROFILE;     
         profName.setText("");
         profPass.setText("");
         surName.setText("");
         lastName.setText("");
         secNew.setSelected(false);
         telNew.setSelected(false);
         metNew.setSelected(false);
    });this one does
    saveBtnNew.addActionListener( new ActionListener() {
         public void actionPerformed(ActionEvent AE) {
         System.out.println("geklikt");               
         profileInfo = new Object[] { profName, profPass, surName, lastName,
                     secNew, telNew, metNew };
         ServerConnection.insertTableObject = profileInfo;                    
         ServerConnection.insertType = ServerConnection.PROFILE;     
    });thnx in advance wiz

    Well, I guess the ObjectOutputStream uses a Thread and the object in written to the stream after the text field has been updated.
    You should be passing the text field text not the Object anyway I would guess. So you code should be something like:
    profileInfo = new Object[] { profName.getText(), profPass.getText()....

  • Disk image space not regained after deleting...

    Using my Powerbook I created backups and a 300gb disk image as a pseudo partition on a 1TB Time Capsule. This was prior to owning my MBP. I then used the same Time Capsule to make backups for my new MBP. I went back to my Powerbook to try to regain that 300gb's by deleting the disk image. I stuck it in the trash and deleted... But no space was regained and now the disk image is obviously gone. I'm afraid, as I think more carefully about it, that I needed to erase the disk image, once mounted, in Disk Utility (which is where the disk image was created in the first place). I'm also afraid that I'm now going to have to reformat the entire drive, erasing all back ups from both the PB and MBP, to regain the space? If anyone knows anything about this or has any advice it would be greatly appreciated.
    Thanks for your time!
    Andrew

    Thank you, Bob.
    Ok, here's where I'm at...
    I ran a Drive Genius 2 scan on the TC with my MBP and cancelled it after about 5 percent was completed. It was going to take all day and I didn't think it was going to do anything. To my surprise when I went back to my desktop and got info on the TC it showed over 500gb available, whereas before it showed 116gb available... so somehow I regained more than just my 300gb disk image worth of space back. Weird. (Although, I now understand how those figures can sometimes be misleading.) This rough figure would tell me that the MBP is also recognizing the Powerbook back ups as well even though they are not visible in Finder.
    Next, I connected with my PB and Finder showed only 116gb available... which wasn't too surprising. I then ran the same procedure with Drive Genius, this time only to about .65 percent complete and when I went to get info it showed that I had 805gb available. HA! So I guess it is not recognizing the MBP backups but that's no big deal. I won't be making anymore back ups with the PB anyway.
    Well, thanks for your help, Bob. I always learn something when I come to Discussions!
    Andrew

  • Crystal Report 2011 does not display when keyfigures are zero

    I am using Crystal report 2011 with BEX Queries as Data Source. I am not able to see some of the characteristics values when keyfigures are zero or null. In BEX query there is a costCenter Characterstic, few costcenter characteristics values are zero for some months but BEX Query is designed to show as spaces even if the keyfigures are zero for those costcenters. When I am using the same Bex Query with Crystal report 2011 all the costcenters with keyfigures as zero are not showing up on the report. Can anybody suggest how I can show the characterstics values even if all the keyfigures are zero. (I have not selected any kind of suppression in section expert in crystal report), (In Bex Query CostCenter- Properties-Advanced----Access Type for Result values are set to Master Data)

    Hi,
    Have you made sure the correct Transport files have been loaded on the SAP system? Since you're using CR 2011, you need to make sure the Transports that come with this version of CR are present on the SAP system.
    Could you see if the workaround mentioned in SAP Note: 1391673 works for you?
    Here's a snippet of the SAP Note:
    SAP Development team of BW BEX MDX Interface suggest the following implementation:
    Since Crystal Reports is not correctly interpreting the character used to represent NULL values (by default the value: X) please use the Customizing transaction: RSCUSTV4 to change the sent value.
    Please note, this is a Global setting, and will also modify the behaviour in BEx application.
    WORKAROUND: Create a formula field based on the selection that always returns a number - converting null to 0.
    Create a formula in BEx for the KF.
    Edit the Selection
    Edit the formula to behave like:
    COUNT ('KF') * 'KF' + 0
    ('RKF' + 0) * 1
    Not generally acceptable since it requires duplicating fields.
    Also, business may not accept 0,00 for a NULL result.
    Hope this helps!
    -Abhilash

  • Received a replacement ipod nano in early January . Works well in a sound system but keeps turning off when earphones are used. tried 3 pair but same result. When tried for support comes up as  expires. Says I have to purchase . Why????

    Received an ipod nano replacement in January. It works in a sound system but keeps turning itself of or loosing sound when earphones are used. I have tried several sets os earphones with the same result. When I just tried to seek support my Serial number comes up with warranty expired although the letter says 3 mths warranty. What gives Apple ??? Any one any advice??/

    This is usually an indication that your headphones are not plugged all the way in.  The white plastic part of the headphones should be flush with the Nano and no silver from the plug should still be visible.  The headphone jacks on the new 6G Nanos are a bit tighter than previous generations, so it requires a bit of extra push to get the headphones to pop all the way in.
    Also check make sure the jack is clear of debris such as lint.
    B-rock

  • Workflows not triggered when documents are created in Doc Set via Content Organizer

    The following is my scenario:
    A document set (containing several documents) is created in Library A on Site A
    Using Send To, the Document Set is sent to the Drop Off Library on Site B (a different Site Collection)
    A Content Organizer rule then moves the Document Set and its documents to destination Library B
    In Library B I have defined a workflow (using Visual Studio 2012) that is triggered when new item is create
    When the Document Set arrives in Library B from the Drop Off library (i.e. when the Content Organizer moves the Doc Set to Library B), the workflow is triggered (and executes) on the Document Set, but it is NOT triggered on the documents within the Document
    Set.   How can I get the workflow to trigger on the documents within the set when they are created via the Content Organizer rule?
    The interesting thing is that if I manually add another document to the Document Set in Library B, the workflow is triggered on that document.  It just does not trigger when the documents are created via the Content Organizer.

    Hi,
    In edit Content Organizer rule page, I see there is an option as Automatically create a folder for each unique value of a property:
    However, unlike the drop down used in the property based filters above, this drop down *only* contains properties that are required by your content type. 
    This is done to prevent adding folders that have no values for a property. 
    If you need to put similar documents to the same folder, you could consider making use of this feature.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Help! Javascript not working when object moved from one page to another!

    Hello all:
    I am new to Adobe Livecycle Designer (version 8.0). I have created a 3 page interactive pdf form with numerous objects (text fields, radio buttons, drop-down boxes, etc.), that our business wants to begin using soon.
    I am having difficulty with some of my Javascript not working with a few of my objects on page 2 of the form. Specifically, there is a drop-down box for "Country" on page 2 of my form. When the user selects, for example, "United States" from the list, I have Javascript that is supposed to change the "Currency" drop-down box rawValue to "US Dollars" accordingly (upon the change event).
    I think my Javascript syntax is proper, but I am not certain. Here is my simple Javascript associated with the "Country" drop-down box (Note: rawValue 80 = "United States" and rawValue 105 = "US Dollars"):
    form1.Page1.cmbContactInfoCountry::change: - (JavaScript, client) -
    if (this.rawValue == 80) {     
         cmbCurrency.rawValue = 105;
    This seems pretty straight forward and it WORKS when my "Country" drop-down box is moved to page 1 of the form, but it WILL NOT WORK when I move the "Country" drop-down box back to page 2 of the form (which is where it belongs).
    Does anyone have any suggestions or solutions? I have spent probably 6-8 hours racking my brain trying to figure out why it works when on one page, but it does not work when move to a different page. I am guessing that I may have corrupted something OR that I am not fully addressing the proper name of the object?
    Please help!
    Frustrated and helpless near Chicago!
    Taylor T

    Hi Jono:
    Thank you for your quick reply.I was able to obtain the full name of the cmbCurrency object using the method you taught me. That is brilliant! Great short-cut tool.
    Unfortunately, I am still having issues with getting Javasript for the cmbCountry object to work with the cmbCurrency object. I haved pasted my new Javascript below.
    JavaScript for cmbCountry object:
    //UNITED STATES
    if (this.rawValue == 1) {
              xfa.resolveNode("form1.#subform[1].cmbCurrency").rawValue = 1;
    else
    //CANADA
    if (this.rawValue == 2) {
              xfa.resolveNode("form1.#subform[1].cmbCurrency").rawValue = 2;
    I have checked the "Specify Item Values" checkbox of the cmbCurrency drop-down object and Value 1 = "US Dollars" and Value 2 = "Canadian Dollars".
    When I select "Canada" from the cmbCountry drop-down object, the rawValue of the cmbCurrency drop-down object is changed to "US Dollars" (when it is clearly defined as "Canadian Dollars"). When I select "United States" from the cmbCountry drop-down object, the rawValue of the cmbCurrency drop-down object stays blank for uknown reasons. Very strange.
    Since I am not able to further explain in detail on what I am experiencing, I have posted a link to my file below (I just signed up for an account at ShareFile). I would forever be indebted to you if you can help me figure this out!
    https://thomptk.sharefile.com/?cmd=d&id=07ede2fe11db4549

  • Img alt="text" not displayed when images are turned off in Safari

    I have tried to search this, but every search has returned too many posts, so I apologize in advance.
    Have I made some error or is there an issue with my Safari? For some reason my Safari does not display alt="text" when images are turned off?
    This is what is supposed to happen (see http://www.w3schools.com/tags/attimgalt.asp) and it works fine in my other browsers (Opera, FF), but with Safari I get nothing - no image, no alt text, no indiciation that an image is supposed to be in that place. According to w3c, Safari is supposed to be compliant.
    There is no problem with the site itself, I am designing the site and test with and without images to see how it degrades. As I said, it works properly in Opera and FF - the alt="text" text is displayed in place of the image - but not in Safari.
    Is this just my Safari? How do I fix this if it is?
    Is it Safari in general? If so, how do we get it fixed, because this is clearly just not correct?

    It's not just you. I see the same thing in my Safari. It appears to be a Safari problem, in which case the best thing to do is submit feedback to Apple's developers via the Mac OS X feedback form. (You will not receive a response, as that page notes, but the feedback will get to the people who can use it.)

  • System Writer is not found when running SystemState

    I ran DPM backups and got errors when i was tring to run system state, realised i get the error "System Writer is not found"in windows backup. I checked VSS admin list writers and system writer was not stated in output.
    I there after ran to google and tried to follow https://support.microsoft.com/en-us/kb/2009272?wa=wsignin1.0   however that didnot work because my event ID registered error ID 8193 which i as well googled and ended up on https://social.technet.microsoft.com/Forums/windowsserver/en-US/7b52f7c1-a783-409e-9af3-da64567676df/vss-error-8193?forum=winserverfiles
    But i didnot have any profilesthat had BAK extension or id in them. So now i am still stuck with tihis problem. Any help highly appreciated. 
    JHL Net Solutions

    Hello,
    The HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS\VssAccessControl. NT
    AUTHORITY\NETWORK SERVICE already has the value of (REG_DWORD)  1.
    Here is the the event id 8193
    Volume Shadow Copy Service error: Unexpected error calling routine CreateVssExamineWriterMetadata.  hr = 0x80042302, A Volume Shadow Copy Service component encountered an unexpected error.
    Check the Application event log for more information.
    Operation:
       Writer Exposing its Metadata
    Context:
       Execution Context: Requestor
       Writer Instance ID: {F9E9B938-768C-43E4-9107-6B36ACAB40D2}
       Writer Class Id: {E8132975-6F93-4464-A53E-1050253AE220}
       Writer Name: System Writer
    System 
      - Provider 
       [ Name]  VSS 
      - EventID 8193 
       [ Qualifiers]  0 
       Level 2 
       Task 0 
       Keywords 0x80000000000000 
      - TimeCreated 
       [ SystemTime]  2015-04-27T15:19:37.000000000Z 
       EventRecordID 16060 
       Channel Application 
       Computer mycomputername 
       Security 
    - EventData 
       CreateVssExamineWriterMetadata 
       0x80042302, A Volume Shadow Copy Service component encountered an unexpected error. Check the Application event log for more information.  
       Operation: Writer Exposing its Metadata Context: Execution Context: Requestor Writer Instance ID: {F9E9B938-768C-43E4-9107-6B36ACAB40D2} Writer Class Id: {E8132975-6F93-4464-A53E-1050253AE220} Writer Name: System Writer 
       2D20436F64653A2042554543584D4C4330303030393037302D2043616C6C3A2042554543584D4C4330303030393033312D205049443A202030303030333838382D205449443A202030303030333635322D20434D443A202022433A5C57696E646F77735C73797374656D33325C7762656E67696E652E657865222020202020202D20557365723A204E616D653A204E5420415554484F524954595C53595354454D2C205349443A532D312D352D313820 
    Binary data:
    In Words
    0000: 6F43202D 203A6564 43455542 434C4D58 
    0010: 30303030 30373039 6143202D 203A6C6C 
    0020: 43455542 434C4D58 30303030 31333039 
    0030: 4950202D 20203A44 30303030 38383833 
    0040: 4954202D 20203A44 30303030 32353633 
    0050: 4D43202D 20203A44 5C3A4322 646E6957 
    0060: 5C73776F 74737973 32336D65 6562775C 
    0070: 6E69676E 78652E65 20202265 20202020 
    0080: 7355202D 203A7265 656D614E 544E203A 
    0090: 54554120 49524F48 535C5954 45545359 
    00a0: 53202C4D 533A4449 352D312D 2038312D 
    In Bytes
    0000: 2D 20 43 6F 64 65 3A 20   - Code: 
    0008: 42 55 45 43 58 4D 4C 43   BUECXMLC
    0010: 30 30 30 30 39 30 37 30   00009070
    0018: 2D 20 43 61 6C 6C 3A 20   - Call: 
    0020: 42 55 45 43 58 4D 4C 43   BUECXMLC
    0028: 30 30 30 30 39 30 33 31   00009031
    0030: 2D 20 50 49 44 3A 20 20   - PID:  
    0038: 30 30 30 30 33 38 38 38   00003888
    0040: 2D 20 54 49 44 3A 20 20   - TID:  
    0048: 30 30 30 30 33 36 35 32   00003652
    0050: 2D 20 43 4D 44 3A 20 20   - CMD:  
    0058: 22 43 3A 5C 57 69 6E 64   "C:\Wind
    0060: 6F 77 73 5C 73 79 73 74   ows\syst
    0068: 65 6D 33 32 5C 77 62 65   em32\wbe
    0070: 6E 67 69 6E 65 2E 65 78   ngine.ex
    0078: 65 22 20 20 20 20 20 20   e"      
    0080: 2D 20 55 73 65 72 3A 20   - User: 
    0088: 4E 61 6D 65 3A 20 4E 54   Name: NT
    0090: 20 41 55 54 48 4F 52 49    AUTHORI
    0098: 54 59 5C 53 59 53 54 45   TY\SYSTE
    00a0: 4D 2C 20 53 49 44 3A 53   M, SID:S
    00a8: 2D 31 2D 35 2D 31 38 20   -1-5-18 
    JHL Net Solutions

  • System preferences will not open when selected from the apple in the upper left corner. My software is 10.6.8

    After upgrading to 10.6.8.... When selecting System preferences from the apple in the upper left corner, no action take place. System preferences will not open.

    After upgrading to 10.6.8.... When selecting System preferences from the apple in the upper left corner, no action take place. System preferences will not open.

  • Ipod does not pause when headphones are removed

    My Ipod touch 3g does not pause when playing music when my headphones are pulled out or removed. Can someone help with this problem? Thanks in advance

    if a restore hasn't fixed it then it's probably a hardware problem. is it still under guarantee? you probably need to take it to apple.

  • Triggering on when objects are INVALID

    Hi, I'd like to have a trigger which compile an objects right after the object's status changes to INVALID. How can I do it ?
    Is there any trigger event ? or should I use audit ?

    Przemek Piechota wrote:
    Hi, I'd like to have a trigger which compile an objects right after the object's status changes to INVALID. How can I do it ?
    Is there any trigger event ? or should I use audit ?It's possible to have INVALID objects when making change on an object without checking its dependencies. So before making any change in the production database, you HAVE to be sure that no any objects will be INVALID by checking its dependencies from DBA_DEPENDENCIES view
    There're generally two ways to be notifed when there are an INVALID object in any database
    The first method is using OEM. Go to Administration->Metric and POlicy Settings-> and set the value for the Owner's Invalid Object Count metric and change Collection Schedule to any time you want
    The second method is writing a shell script which queries (each 10 minute for example) all your databases (using status column of the DBA_OBJECTS view) and send you email or sms message when finds any INVALID object
    Kamran Agayev A.
    Oracle ACE
    My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/

Maybe you are looking for

  • JVM problem during Oracle8i installation on Redhat Linux 9

    Hi there, I was trying to install Oracle8i Release 2 (8.1.6) for Linux on P4-1.7Ghz pc running Redhat Linux9. I created a new user and gave appropriate piviliges also.When i gave the ./runInstaller command it gave me the error as follows.. ./runInsta

  • How do I take a datagrid row and put in textInput

    On a search form we have a datagrid that will be populated from a database.  My task is to take the row a user clicks on to populate forms with the data.  Essentially this is taking one row and putting each field into its own textInput control. Each

  • Updating Serial # Location via DTW???

    Hi,  we recently had to relocate some inventory from one location to another.  During initial upload we populated the serial # location during goods receipt.  I now need to change that location for about 100 serial numbers.  Is there a way to do this

  • Makeing subforms visible depending on what is selected from the dropdown

    Good day all; Looks like I am batting "0" today. For some reason I am not able to get a number of things to work today- Maybe I should just write this day off as a loss..;>)) Any way; I am trying, without success to get sub forms to become visible de

  • How to generate a unique WSDL for two webservices ?

    Hi , Does anyone know if there is a way to generate a unique WSDL file for two webservices ? Actually, the problem is more general. I have two EJB that are exposed through web services. They both contain a simple data structure that is passed back an