Why is my SYSTEM tablespace not freeing space?

Oracle 9.2.0.4.0 (64 bit) on Solaris 9
I have around 50 (similar) schemas on my database (each schema has 15 stored proc packages). This morning I saw the SYSTEM tablespace has only 1.5MB free (normally it has 10MB free).
Since I am running very low on physical OS disk, I decided to drop 5 unwanted schemas.
I was hoping that it will free 3 – 5 MB of SYSTEM space, since procedures, functions, packages, and triggers resides in the SYSTEM tablespace.
But this did not happen after dropping 5 schema I still have 1.5MB free, I did not even get a meg. Why is that, am I missing someting?
I will solve my disk problem some other way, but[b] I am now very interested in finding out why I did not get more free space from Oracle after dropping schemas that had many packages.
Thanks in advance if you have some info for me.
Regards, Nazrul Islam

Dropping users will not free any space in system tablespace (not that you will see in dba_free_space, anyway) unless those users have segments (i.e. tables, indexes, clusters etc) stored in system. The packages owned by the users you dropped are stored in rows in various tables in the data dictionary. When you drop the user, Oracle essentially does something like:
DELETE FROM obj$
WHERE owner# = < user_id of the user beign dropped >The space for these rows is allocated in existing extents in obj$ and the other tables, just like any other data in the database. The space freed by the delete remains allocated to the table.
HTH
John

Similar Messages

  • The Program Cannot restore the system partition not enough space

    Hi..,
    When i try to restore my pc using OKR Button, I am getting This Notice from OKR Application.
    "The Program Cannot restore the system partition because there is not enough available space on the hardrive"
    Please help Me ...
    Thanks in Adavance.

    Hi Jaulpellissery,
    Welcome to Lenovo Community Forums
    I’m sorry to hear that the OKR (One Key Recovery) is not working as expected and displaying error message, this issue will occur if any changes are made in HDD (Hard Disc Drive) partition. Please let me know if you have made any changes in the partition space.
    Hope to hear back soon
    Best Regards
    Shiva Kumar
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • System DSN not visible to 'domain users', why??

    We have a Windows Server 2012 R2 Remote Desktop Services RDS farm.
    I set up a 32-bit *system* DSN properly with the 32-bit ODBC app for Crystal Reports 2011, a 32-bit app.
    When a domain user opens CR the newly created DSN does not appear in CR, though it appears for an admin user.
    Why is the system DSN not visible to the domain users per se??
    I checked the proper registry item and gave 'Domain Users' read permission to it, still no work.
    Certain users need to see the DSN so they can configure the report to talk to the proper server, database, etc.
    System DSNs are supposed to be visible/usable to all users.
    What should I do??
    Thank you, Tom

    FWIW some other DSNs are visible to CR2011 but nothing we can use, they were somehow automagically created during installation of other software stuff.
    I've tried every way I can think of to install the DSNs (different providers, different accounts) but I still can not get the desired DSN visible to my domain user login after opening a Crystal Reports 2011 report and clicking 'change database location'...
    I thought about and tried using a DSN-less connection string but that did not go very far...it would be usable, people could type in ID and password if they must, but I could not get it to even let that happen...I also did not quite know what the string
    should be, the database itself is SQL Server 2012 (11.0), I don't know the exact version OTOH.
    The Remote Desktop Services Hosts are all Windows 2012 R2...could that be the cause of the problem?? Every other server I've put system DSNs was 2003 or 2008...
    Thank you, Tom

  • Kstat_lookup() failing: "Not enough space"

    Hi,
    I have a peculiar problem. I'm looking up CPU statistics using kstat(), and I'm getting a failure in kstat_lookup() on some machines.
    Here is the relevant code:
    kstat_ctl_t* pKstatCtl;
    kstat_t* pCpuStats;
    if ((pKstatCtl = kstat_open()) == NULL)
    // Handle error...
    if ((pCpuStats = kstat_lookup(pKstatCtl, NULL, -1, "cpu_stat0")) == NULL)
    // Handle error...
    ... // kstat_read(), etc.
    I am compiling this program on Solaris 2.6, and it works fine on every 2.6 machine I've used. It is interesting to note that, when I run "truss" on the program and watch the results of iostat(KSTAT_IOC_READ), it returns a number in the range of 600-800. I think this is the number of bytes read.
    When I run this program on a Solaris 2.8 machine (without recompiling it there, for reasons which are too complicated to explain here), it works most of the time. However, one of these 2.8 machines is having problems. The kstat_lookup() call fails, and strerror(errno) returns "Not enough space". Note that it's not the kstat_read() that's out of space, it's kstat_lookup(). I tried running the program on another 2.8 machine in the same cluster, and it worked. However, truss told me that ioctl(KSTAT_IOC_READ) was returning 264752.
    What's going on here? Why is kstat_lookup() failing with "Not enough space"? Why does this work on one machine and not another?
    Thanks,
    Chris

    Jason - the discs may be advertised as having 4.7GB of space, but in fact this is a bit of an urban legend - it all depends on how you count the bits, in groups of 1000 or in groups of 1024. Disc manufacturers like to count in 1000's, which gives a larger capacity, whereas your computer will count in groups of 1024...
    If you allow 4.37GB per disc, you'll be much nearer the mark.

  • 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

  • I do not have many messages but my iphone 5s says messages take up 4.6GB of space.  When comparing with friends who have many more message, less than 1 GB is being used on their phones.  Why are mine taking up so much space and how do I correct that?

    I do not have that many messages on my new iPhone 5s (maybe about 15 conversations and only one or two going back a little ways) yet when I go to Settings, Usage it shows that my messages are taking up 4.6GB of space.  When comparing with others (some who have hundeds of messages) they are using under 1GB for their messages.  Why are mine taking up so much space??

    I found a post with this solution that worked for me - .Do a backup, then download ibackupbot. It lets you look into the contents of that backup. Look in system files>mediadomain>library>sms>attachments. I found a ton of huge files related to long deleted texts. ibackupbot let me delete all that old crap. I then restored the phone with that now modifec backup and Bingo! freed up 9 GB. No problems.
    But note, if you are not technically inclined you probaly don't want to be digging around and deleting back up files. You delete the wrong thing and you could jack up your phone badly. Be careful.

  • Shrink system tablespace, or any laternate to reduce disk space usage!

    Dear All,
    My Database is 11gR1 and Linux is the operating system.
    My System tablespace is consuming 24,000 MB disk space, The user i have created that contain all the objects is another tablespace.
    I just want to know is there any way to shrink system tablespace or anything else that can be done to reduce its size?
    Plus what are the directories from where we can delete logs and other files that do not affect the running of database. My disk space is 99% full and i have to delete files.
    Regards, Imran

    misterimran wrote:
    Dear All,
    My Database is 11gR1 and Linux is the operating system.
    My System tablespace is consuming 24,000 MB disk space, The user i have created that contain all the objects is another tablespace.
    I just want to know is there any way to shrink system tablespace or anything else that can be done to reduce its size?
    Plus what are the directories from where we can delete logs and other files that do not affect the running of database. My disk space is 99% full and i have to delete files.
    Regards, ImranFirst, do this:
    sql> select distinct owner from dba_segments where tablespace_name = 'SYSTEM';Make sure the only objects in the SYSTEM ts are owned by legit users of that ts - SYS, SYSTEM, and OUTLN
    As for log files .. look at your listener log. look at your alert log. look at any trace files in adump, bdump and udump that are old enough you don't want them any more.

  • TCP Provider: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.

    Hi All,
    We have snapshot replication . Job is failing in between due to below error.
    Error messages:
    The process could not connect to Subscriber 'XX:SD'. (Source: MSSQL_REPL, Error number: MSSQL_REPL20084)
    Get help: http://help/MSSQL_REPL20084
    TCP Provider: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full. (Source: MSSQLServer, Error number: 10055)
    Get help: http://help/10055
    A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information
    see SQL Server Books Online. (Source: MSSQLServer, Error number: 10055)
    Get help: http://help/10055
    Login timeout expired (Source: MSSQLServer, Error number: HYT00)
    Get help: http://help/HYT00
    Please suggest

    Hi Khushi,
    According to your description, your snapshot replication job fails and you come across the error related to TCP Provider. Based on my research, the issue could occur as the following two situations.
    1. OS runs out of memory for TCP buffers. When people use the two switch: the /PAE switch in the c:\boot.ini file and the /3gb switch in the boot.ini file. If the applications require many OS resources, such as by opening many TCP connections, this can cause
    the OS to run out of memory for resources like TCP buffers.
    2.OS runs out of available TCP “ephemeral” ports. When the client machine is opening many TCP connections and is running Windows Server 2003, Windows XP, or any earlier version of Windows, it may run out of TCP “ephemeral” ports.
    To work around the issue, please follow the two solutions as below.
    1.Remove the /3gb switch from c:\boot.ini. The root problem in this case is memory pressure on the OS, so removing the /3gb switch will give more memory to the OS and will alleviate this problem.
    2.Make more ephemeral ports available following the steps in the article:
    http://support.microsoft.com/kb/196271
    For more information about the process, please refer to the article:
    http://blogs.msdn.com/b/sql_protocols/archive/2009/03/09/understanding-the-error-an-operation-on-a-socket-could-not-be-performed-because-the-system-lacked-sufficient-buffer-space-or-because-a-queue-was-full.aspx
    Regards,
    Michelle Li

  • HT1296 when syncing with itunes with my i pad it says not enough space ? dont know why as my i pad is a 16gb

    When syncing with i tunes message comes up saying not enough space and i cant understand why as ipad is 16GB

    - Because as the message says what you want to sync to the iPad exceed the space available on the iPad. You either have to sync less to the iPad or delete some items from the iPad.
    - Also, in the colored bargraph that shows the distribution of storage on the iPad, how large is the "other" category? If larger than about 1 1/2 GB then restoring the iPod should reduce that so you can regain that storage.

  • Why do I get the message that my operating system is not supported?

    My computer is running Windows 7 - 64-bit. I have the latest softwear on both my iPhone and my iPad. I have installed Edge Inspect on these devices and have the Google Chrome edge inspect extension installed. I have been able to enter my passcodes for both devices in the Chrome extension. Why do I get the message that my operating system is not supported just yet?

    This is VERY interesting ... even though I got that strange message, once I linked my iPhone and my iPad to the Google extension, it worked! Whatever I display in Google Chrome automatically displays in the Edge Inspect app on the small devices. This is neat! The only problem that I can see is that Adobe needs to replace the error message with information about how to use the application.

  • HT1199 Why I couldn't change my screensaver, my system preferences not responding?

    Why my system preferences not responding (display & screensaver) and my mail doesn't received all mails?

    Your
    com.apple.systempreferences.plist
    file is corrupt in your
    (use the Finder > Go > Go To folder and paste & Go)
    ~/Library/Preferences
    Trash the flle you can (may be two of them, one is a lock file) and reboot.
    Reset your system preferences again.
    Step by Step to fix your Mac

  • Why the system tablespace increase a lot?

    I have noticed that the system tablespace of my prod Oracle 10g R2 on AIX 5.3L reaches over the 85% warning level now, and the size has increased from ~68% to 88% of 1.6G total assigned capacity during the last 7 months. How do i find out what reason causes the increase? can I remove some "fat" out of them? or just keep increasing the size? My fresh backup AIX 5.3L system with the same 10g R2 only takes 38% of 1.6 G.

    SEGMENT_NAME SEGMENT_TYPE MBYTES
    SYS_LOB0000125172C00039$$ LOBSEGMENT 152
    C_OBJ#_INTCOL# CLUSTER 136
    I_CON1 INDEX 104
    C_OBJ# CLUSTER 96
    C_COBJ# CLUSTER 88
    HIST_HEAD$ TABLE 57
    CON$ TABLE 41
    I_COL1 INDEX 41
    C_FILE#_BLOCK# CLUSTER 38
    I_HH_OBJ#_COL# INDEX 34
    I_HH_OBJ#_INTCOL# INDEX 34
    SOURCE$ TABLE 32
    I_CON2 INDEX 27
    IDL_UB1$ TABLE 26
    I_CDEF4 INDEX 26
    I_H_OBJ#_COL# INDEX 25
    I_COL2 INDEX 20
    OBJ$ TABLE 19
    I_COL3 INDEX 19
    I_CCOL1 INDEX 19
    I saw some LOB segments in SYS; however my fresh new 10g R2 (v SE) on other AIX machine does not list those. Where are they from?
    I checked the user_lobs, Here are the tables which has LOB seg stored the system tablespace
    AW_OBJ$
    VIEWCON$
    SNAP$
    SNAP$
    TABPART$
    INDPART$
    TABSUBPART$
    INDSUBPART$
    TABCOMPART$
    INDCOMPART$
    DEFSUBPART$
    KOTTD$
    KOTTB$
    KOTAD$
    KOTMD$
    KOTTBX$
    KOTADX$
    SUM$
    SUM$
    SQL$TEXT
    METASTYLESHEET
    EXTERNAL_TAB$
    EXTERNAL_TAB$
    JIREFRESHSQL$
    AUD$
    AUD$
    FGA_LOG$
    FGA_LOG$
    PS$
    STREAMS$_DEF_PROC
    STREAMS$_DEF_PROC
    STREAMS$_DEF_PROC
    REDEF_DEP_ERROR$
    NCOMP_DLL$
    EXPIMP_TTS_CT$
    ATTRIBUTE_TRANSFORMATIONS$
    RULE$
    RULE$
    REG$
    AQ_EVENT_TABLE
    AQ_SRVNTFN_TABLE
    AQ_SRVNTFN_TABLE
    SCHEDULER$_JOBQTAB
    SCHEDULER$_JOBQTAB
    SCHEDULER$_JOB_ARGUMENT
    SCHEDULER$_PROGRAM_ARGUMENT
    SCHEDULER$_EVENT_QTAB
    KUPC$DATAPUMP_QUETAB
    KUPC$DATAPUMP_QUETAB
    KUPC$DATAPUMP_QUETAB
    KUPC$DATAPUMP_QUETAB
    KUPC$DATAPUMP_QUETAB
    KUPC$DATAPUMP_QUETAB
    KUPC$DATAPUMP_QUETAB
    STREAMS$_INTERNAL_TRANSFORM
    AQ$_MEM_MC
    AQ$_MEM_MC
    AQ$_KUPC$DATAPUMP_QUETAB_P
    AQ$_KUPC$DATAPUMP_QUETAB_P
    AQ$_KUPC$DATAPUMP_QUETAB_P
    AQ$_KUPC$DATAPUMP_QUETAB_P
    AQ$_KUPC$DATAPUMP_QUETAB_P
    AQ$_KUPC$DATAPUMP_QUETAB_P
    AQ$_KUPC$DATAPUMP_QUETAB_P
    AQ$_KUPC$DATAPUMP_QUETAB_D
    SYS_EXPORT_FULL_01
    SYS_EXPORT_FULL_02
    Does not look like any non-system user here?
    Message was edited by:
    user508054

  • Could not allocate space for object temporary system object: ... in database 'tempdb' because the 'PRIMARY' filegroup is full.

    Using SQL Server 2008 R2. Tempdb resides on disks W and X
    both of those are 250 GB each. Nothing else resides on these disks. The recovery mode for tempdb is set to Simple and is split in 8 files and one log file. Each of the tempdb file is set for auto growth by 128 MB and max size is unlimited. The log file is
    set for auto growth by 10% and max size unlimited. 
    I get the following error at least once a week while running an ETL:
    [SQLSTATE 01003] (Message 8153) Could not allocate space for object '<temporary system object: 335532118192937>' in database 'tempdb' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup,
    adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup. [SQLSTATE 42000] (Error 50000). The step failed.
    I have to then shrink the tempdb log and files to create space on the disks.
    What is a permanent solution to this problem, I don't want my ETL to break due to TempDB diskspace full.
    Thanks in advance. 

    Hi,
    Permanent solution would be finding out query which is causing tempdb log file to grow out of proportion and fill it and I would like you to take help of below article
    Troubleshooting out of space issue in Tempdb
    Please change Autogrowth value for Log file from 10 % to may be 100 M. This is just a tentative value you need to study
    growth of tempdb to reach to correct value. You kept 128 MB autogrowth for tempdb data file is this value tentative or you just put it.
    Below article can be referred for tempdb details
    Working with tempdb
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Solaris: The System does not have the required swap space

    I'm trying to install Oracle onto Solaris 9. The installation check fails with the error
    The System does not have the required swap space.
    I've read the install Guide I get the following when I do the memory checks
    bash-2.05# /usr/sbin/prtconf | grep "Memory size"
    Memory size: 1024 Megabytes
    bash-2.05# /usr/sbin/swap -s
    total: 767688k bytes allocated + 117080k reserved = 884768k used, 379040k available
    The install guide doesn't say how to increase the Swap Space. I would like to increase the Swap Space just for the duration of the installation. From the install guide I'll need a Swap Space of 1.5 times the Ram on the machine so I'll need 1.5GB Swap Space. Can someone help me out with the required syntax to increase the Swap File Size?

    Found something on the web that did the trick. Create a few files and then add to your swap.. In case it's of interest to anyone else here's what I had to do
    swap -l (lists files in swap)
    mkdir /tmp/swap/ (create dir for file to add to swap)
    mkfile tmp/swap/swap11 (create file for swap)
    swap -a tmp/swap/swap11 (add file to swap)
    swap -l (check files in swap)

  • Ur mount point have not more space and ur system table space is full how u

    ur mount point have not more space and ur system table space is full how u resize or add file . u have not other mount point .what steps u follow

    Answers in your duplicated thread: Some inter view Questions Please give prefect answer  help me
    You can get all the answers at http://tahiti.oracle.com.
    You understimate job recruiters, a simple crosscheck is enough to discard people with experience from people who memorize 'interview answers'.
    Don't expect to get a job just because you memorize answers for 'job interviews', get real life experience.

Maybe you are looking for

  • Start Routine to populate the Logical Source System

    Hi Friends please help me with the below 1. <b>Requirement</b> : to Populate The system Date , Source System in BI for Each load request. <b> 1 Solution:</b> I thought of writing the Start Routine for this but it is giving me error syntax Error: END

  • Importing eclipse projects to JDeveloper

    Is there any way to import Eclipse project into JDevelper 10g? Thanks.

  • FI & CRM Integration ???

    Hi Gurus Can any body please explain me what is the Integration and Process configuration between FI and CRM. Thanks in Advance... Meenakshi.N

  • Why are photos multiplying?

    last i noticed I had 1500 photos in the organizer. It now says i have 5000 because for some reason I have 3 or 4 of the same photo. These are not ones i have edited and saved the original on, they just make clones of themselves late at night i think.

  • Business Rules on super-sub types

    We are currently in the process of modeling business rules. We have some super-subtype entities in our datamodel. We also have business rules on the super-type as wella as the sub-types. What name for these BR's should we use, more specific which ent