How to release space of SYSAUX tablespace

Hi,
I am now using htmldb 2.0 and created tens of tables in one schema. Several tables are stored in tablespace SYSAUX. Since now I am trying to store a big file to the table(1GB), I found the tablespace grows pretty fast and I have to extend the size. The odd thing is when I delete that file from my table, SYSAUX tablespace seems not release any room and when I insert the big file again into the table, SYSAUX grows again. How can I release the space then? I can't image that why it can't release any room. I also check the occupants of SYSAUX and found one occupant called "other" takes over 90% of space. I tried to move it out of SYSAUX, it doesn't work. What do "other" do actually? I got completely lost. Any help will be greatly appreciated.
Linke

Hi,
if you drop a table in Oracle 10g,
you will find teh extents of this table in
DBA_FREE_SPACE.
in DBA_FREE_SPACE???
I don't think so.
SQL >select ddf.tablespace_name,round(total/1024/1024,3) ttlSize,round((total-nvl(freespace,0))/1024/1024,3) used, round((total-nvl(freespace,0))/total*100,2) usedpct
from
(select tablespace_name,sum(bytes) total from dba_data_files group by tablespace_name) ddf,
(select tablespace_name,sum(bytes) freespace from dba_free_space group by tablespace_name) dfs
where ddf.tablespace_name=dfs.tablespace_name(+) and ddf.tablespace_name='USERS'; 
TABLESPACE_NAME                   TTLSIZE       USED    USEDPCT
USERS                                  16      2.813 17.58
SQL >create table test (col1 number) storage(initial 2m)
  2  /
Table created.
SQL >select ddf.tablespace_name,round(total/1024/1024,3) ttlSize,round((total-nvl(freespace,0))/1024/1024,3) used, round((total-nvl(freespace,0))/total*100,2) usedpct
from
(select tablespace_name,sum(bytes) total from dba_data_files group by tablespace_name) ddf,
(select tablespace_name,sum(bytes) freespace from dba_free_space group by tablespace_name) dfs
where ddf.tablespace_name=dfs.tablespace_name(+) and ddf.tablespace_name='USERS'; 
TABLESPACE_NAME                   TTLSIZE       USED    USEDPCT
USERS                                  16      4.813 30.08<--used 2mb
SQL >select sum(bytes)/1024/1024 from dba_segments where tablespace_name='USERS'
  2  /
SUM(BYTES)/1024/1024
                6.75
SQL >drop table test
  2  /
Table dropped.
SQL >select sum(bytes)/1024/1024 from dba_segments where tablespace_name='USERS'
  2  /
SUM(BYTES)/1024/1024
                6.75 <-- kept in the same tablespace

Similar Messages

  • SYSAUX Tablespace Shrinnk

    Our SYSAUX tablespae has been grown up to 26 GB. When I had checked the v$sysaux_occupants, SYSMAN was occupying 24 GB, so I reconfigured the DB control and now SYSAUX tablespace current usage is only 937MB out of 26GB. Now I want to reclaim this 25 GB of space.
    Plese let me know the steps to reclaim the space from SYSAUX tablespace.?

    Hi, you have to use Segment Advisor via OEM or PL/SQL(dbms_advisor) packages can reclaim wasted space.
    Also you can define all objects (tables and indexes) and do "alter table <tablename> shrink cascade".
    see more informaton
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/schema.htm#ADMIN01401
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14196/storage002.htm#ADMQS0065

  • Release the space from Tools tablespace

    Hi,
    I have found that TOOLS tablespace is 99%.
    The tools tablespace is typically used for collecting database statistics – not part of the application. These include Quest and Perfstat. How can I check at the objects in the tools tablespace to see what has grown and then determine if we need to purge data and reorg the objects.
    The mount point for this database is only 8 gig and is 84% used so we should not add “overhead” space unless absolutely necessary. The tools tablespace is already large for the size of the rest of the database.
    /dev/orabwelv 8388608 7011424 1377184 84% /ORACLE/BWEBPRD
    These are the contents in the tablespace
    OWNER TABLE_NAME OBJECT_TYPE TABLESPACE_NAME
    ORACLE PLAN_TABLE TABLE TOOLS
    ORACLE_APP STPL_DBAPRVS_PENDINGL TABLE TOOLS
    ORACLE_APP STPL_DBAPRVS_ACTIVITY_LOGL TABLE TOOLS
    ORACLE T_WEBBPRD TABLE TOOLS
    POSTD PLAN_TABLE TABLE TOOLS
    MONITORER TABLESPACE_GROWTH TABLE TOOLS
    MONITORER SEGMENT_GROWTH TABLE TOOLS
    OWNER TABLE_NAME OBJECT_TYPE TABLESPACE_NAME
    PERFSTAT STATS$PGA_TARGET_ADVICE TABLE TOOLS
    PERFSTAT STATS$SQL_WORKAREA_HISTOGRAM TABLE TOOLS
    PERFSTAT STATS$SHARED_POOL_ADVICE TABLE TOOLS
    PERFSTAT STATS$STATSPACK_PARAMETER TABLE TOOLS
    PERFSTAT STATS$INSTANCE_RECOVERY TABLE TOOLS
    PERFSTAT STATS$PARAMETER TABLE TOOLS
    PERFSTAT STATS$IDLE_EVENT TABLE TOOLS
    PERFSTAT STATS$PGASTAT TABLE TOOLS
    PERFSTAT STATS$SEG_STAT_OBJ TABLE TOOLS
    PERFSTAT STATS$SEG_STAT TABLE TOOLS
    PERFSTAT STATS$SQL_PLAN TABLE TOOLS
    OWNER TABLE_NAME OBJECT_TYPE TABLESPACE_NAME
    PERFSTAT STATS$SQL_PLAN_USAGE TABLE TOOLS
    PERFSTAT STATS$UNDOSTAT TABLE TOOLS
    PERFSTAT STATS$DLM_MISC TABLE TOOLS
    PERFSTAT STATS$RESOURCE_LIMIT TABLE TOOLS
    PERFSTAT STATS$SQL_STATISTICS TABLE TOOLS
    PERFSTAT STATS$SQLTEXT TABLE TOOLS
    PERFSTAT STATS$SQL_SUMMARY TABLE TOOLS
    PERFSTAT STATS$ENQUEUE_STAT TABLE TOOLS
    PERFSTAT STATS$WAITSTAT TABLE TOOLS
    PERFSTAT STATS$BG_EVENT_SUMMARY TABLE TOOLS
    PERFSTAT STATS$SESSION_EVENT TABLE TOOLS
    OWNER TABLE_NAME OBJECT_TYPE TABLESPACE_NAME
    PERFSTAT STATS$SYSTEM_EVENT TABLE TOOLS
    PERFSTAT STATS$SESSTAT TABLE TOOLS
    PERFSTAT STATS$SYSSTAT TABLE TOOLS
    PERFSTAT STATS$SGASTAT TABLE TOOLS
    PERFSTAT STATS$SGA TABLE TOOLS
    PERFSTAT STATS$ROWCACHE_SUMMARY TABLE TOOLS
    PERFSTAT STATS$ROLLSTAT TABLE TOOLS
    PERFSTAT STATS$BUFFER_POOL_STATISTICS TABLE TOOLS
    PERFSTAT STATS$LIBRARYCACHE TABLE TOOLS
    PERFSTAT STATS$LATCH_MISSES_SUMMARY TABLE TOOLS
    PERFSTAT STATS$LATCH_PARENT TABLE TOOLS
    OWNER TABLE_NAME OBJECT_TYPE TABLESPACE_NAME
    PERFSTAT STATS$LATCH_CHILDREN TABLE TOOLS
    PERFSTAT STATS$LATCH TABLE TOOLS
    PERFSTAT STATS$TEMPSTATXS TABLE TOOLS
    PERFSTAT STATS$FILESTATXS TABLE TOOLS
    PERFSTAT STATS$DB_CACHE_ADVICE TABLE TOOLS
    PERFSTAT STATS$SNAPSHOT TABLE TOOLS
    PERFSTAT STATS$LEVEL_DESCRIPTION TABLE TOOLS
    PERFSTAT STATS$DATABASE_INSTANCE TABLE TOOLS
    Please Suggest
    Message was edited by:
    user592074

    Thanks Chandra!
    Request you to kindly suggest me how to release the sapce from tool table. Database version is 9.2.0.6 (64 bi Please find the output below.
    SEGMENT_NAME SIZE_MB
    PLAN_TABLE .125
    SEGMENT_GROWTH 25
    STATS$BG_EVENT_SUMMARY 2
    STATS$BG_EVENT_SUMMARY_PK 2
    STATS$BUFFER_POOL_STATISTICS 1
    STATS$BUFFER_POOL_STATS_PK 1
    STATS$DATABASE_INSTANCE 1
    STATS$DATABASE_INSTANCE_PK 1
    STATS$DB_CACHE_ADVICE 2
    STATS$DB_CACHE_ADVICE_PK 1
    STATS$DLM_MISC 1
    STATS$DLM_MISC_PK 1
    STATS$ENQUEUE_STAT 2
    STATS$ENQUEUE_STAT_PK 2
    STATS$FILESTATXS 3
    STATS$FILESTATXS_PK 3
    STATS$IDLE_EVENT .125
    STATS$IDLE_EVENT_PK .125
    STATS$INSTANCE_RECOVERY 1
    STATS$INSTANCE_RECOVERY_PK 1
    STATS$LATCH 25
    STATS$LATCH_CHILDREN 1
    STATS$LATCH_CHILDREN_PK 1
    STATS$LATCH_MISSES_SUMMARY 1
    STATS$LATCH_MISSES_SUMMARY_PK 1
    STATS$LATCH_PARENT 1
    STATS$LATCH_PARENT_PK 1
    STATS$LATCH_PK 22
    STATS$LEVEL_DESCRIPTION .125
    STATS$LEVEL_DESCRIPTION_PK .125
    STATS$LIBRARYCACHE 1
    STATS$LIBRARYCACHE_PK 1
    STATS$PARAMETER 21
    STATS$PARAMETER_PK 24
    STATS$PGASTAT 1
    STATS$PGA_TARGET_ADVICE 1
    STATS$PGA_TARGET_ADVICE_PK 1
    STATS$RESOURCE_LIMIT 1
    STATS$RESOURCE_LIMIT_PK 1
    STATS$ROLLSTAT 2
    STATS$ROLLSTAT_PK 1
    STATS$ROWCACHE_SUMMARY 3
    STATS$ROWCACHE_SUMMARY_PK 3
    STATS$SEG_STAT 3
    STATS$SEG_STAT_OBJ 1
    STATS$SEG_STAT_OBJ_PK 1
    STATS$SEG_STAT_PK 1
    STATS$SESSION_EVENT 1
    STATS$SESSION_EVENT_PK 1
    STATS$SESSTAT 1
    STATS$SESSTAT_PK 1
    STATS$SGA 1
    STATS$SGASTAT 3
    STATS$SGASTAT_U 5
    STATS$SGA_PK 1
    STATS$SHARED_POOL_ADVICE 1
    STATS$SHARED_POOL_ADVICE_PK 1
    STATS$SNAPSHOT 1
    STATS$SNAPSHOT_PK 1
    STATS$SQLTEXT 5
    STATS$SQLTEXT_PK 1
    STATS$SQL_PGASTAT_PK 1
    STATS$SQL_PLAN 5
    STATS$SQL_PLAN_PK 1
    STATS$SQL_PLAN_USAGE 5
    STATS$SQL_PLAN_USAGE_HV 1
    STATS$SQL_PLAN_USAGE_PK 1
    STATS$SQL_STATISTICS 1
    STATS$SQL_STATISTICS_PK 1
    STATS$SQL_SUMMARY 17
    STATS$SQL_SUMMARY_PK 8
    STATS$SQL_WORKAREA_HISTOGRAM 1
    STATS$SQL_WORKAREA_HIST_PK 1
    STATS$STATSPACK_PARAMETER .125
    STATS$STATSPACK_PARAMETER_PK .125
    STATS$SYSSTAT 21
    STATS$SYSSTAT_PK 25
    STATS$SYSTEM_EVENT 3
    STATS$SYSTEM_EVENT_PK 4
    STATS$TEMPSTATXS 1
    STATS$TEMPSTATXS_PK 1
    STATS$UNDOSTAT 1
    STATS$UNDOSTAT_PK 1
    STATS$WAITSTAT 1
    STATS$WAITSTAT_PK 2
    STPL_DBAPRVS_ACTIVITY_LOG .0625
    STPL_DBAPRVS_PENDING .0625
    STPL_DBAPRVS_PENDING_PK .0625
    TABLESPACE_GROWTH .3125
    T_WEBBPRD .0625
    90 rows selected.
    Message was edited by:
    user592074

  • How to find free space in a Tablespace?

    Hi,
    I have a limited access to objects in my database ( do not have access to many tables).
    I have been allocated 300GB of size in my tablespace which allows me to create my objects.
    Now, I want to find out how much of this tablespace size allocated to me have been used up. I do not have access to dba_data_files or dba_segments.
    Is there a way out for me? Could anyone show me a way please?

    This query will give you the required information but it makes use of DBA tables.
    SELECT B.TABLESPACE_NAME, TBS_SIZE SIZEGB, A.FREE_SPACE FREEGB
    from  (select tablespace_name, round(sum(bytes)/1024/1024/1024 ,2) as free_space
           from dba_free_space
           GROUP BY TABLESPACE_NAME) A,
          (select tablespace_name, sum(bytes)/1024/1024/1024 as tbs_size
           from dba_data_files
           group by tablespace_name) b
    where a.tablespace_name(+)=b.tablespace_name;
    However, you said that you are aware of your tablespace details so the above query can be modified to get the free space in your tablespace. Now I am using user_frees_space and not dba_free_space. Generally user* tables are and should be made accessible to the users.
    select  tablespace_name, round(sum(bytes)/1024/1024/1024 ,2) as free_space
    from    user_free_space
    where   tablespace_name = 'Your tablespace name'
    GROUP BY TABLESPACE_NAME;
    Ishan

  • How to retrieve old statistics backed up in SYSAUX tablespace.

    Hi, Folks
    From 10g onward, Oracle stores statistics collected previously when new statistics is gathered. Old statistics can be queryed via dba_tab_stats_history. but dba_tab_stats_history view doesn't show values like histogram, rows, min, and max. I would like to compare old statistics with new ones. Is there any way to retrieve previous statistics data backed up in SYSAUX tablespace?
    [oracle@rh01 ~]$ sqlplus '/as sysdba'
    SQL*Plus: Release 10.2.0.3.0 - Production on Wed Sep 2 10:26:27 2009
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> desc dba_tab_stats_history
    Name Null? Type
    OWNER VARCHAR2(30)
    TABLE_NAME VARCHAR2(30)
    PARTITION_NAME VARCHAR2(30)
    SUBPARTITION_NAME VARCHAR2(30)
    STATS_UPDATE_TIME TIMESTAMP(6) WITH TIME ZONE
    SQL>

    If it is stored you can query it. The trick is knowing where it is stored and without specific information about what you are looking for there's not much I can do other than refer you to tables whose names begin with the prefix 'WRH.''
    Try this for starters:
    select table_name from dba_tables where table_name like 'WRH%STAT%';

  • How does repeated snapshot import impact tablespace free space?

    Hello,
    Our client is doing DEC-2014 reconciliation in FCM. Every time he changes profile mappings he has to do snapshot import again. So far he did at least ten times snapshot import for DEC-2014 period. In our FCM database Tablespace FCM_TX_TS_DATA free space is reduced 7 GB for this period already by querrying dba_free_space table.
    By my understanding during the repeated snapshot import for the same period, the previous load data is deleted and the current load data is inserted. After data delete the table space will not be set free, and high water mark will not be reset.
    During snapshot import will the deleted blocks from the previous load be reclaimed when new load data is inserted in the table? If not, what is the best way to reclaim the free space in FCM_TX_TS_DATA tablespace?
    Thanks,
    Hongfei Liu (AT&T)

    Przemek P wrote:
    Hallo. I need to replace all schemas from one server to another. I want to know how much free space will be left on /data after this kind of refresh. Both servers are Oracle 9 so I will use exp/imp. Here is how I do it. Could you check if I think good? On target server there is 72 GB free space on /data.
    Filesystem Size Used Avail Capacity Mounted
    /dev/vgsmxdata/lvsmxcopy 194.74G 122.56G 72.18G 63% /data
    Overall size of schemas to be exported from SOURCE_DB is 150 GB. The same schemas on TARGET_DB takes 90GB. So difference is 60GB. Free space in datafiles in TARGET_DB is 30GB. Does it mean that in first place the free space in datafiles will be filled and after that datafiles would be extended? That would mean that a database would extend to 150GB and free space on /data would be 40 GB after refresh. Am I right?
    yes

  • How to reduce the size of a sysaux tablespace

    Hi All,
    I am using oracle 10g database. My SYSYAUX tablespace size is aroud 6GB.
    Actually statspack was configured in this database because of this the tablespace grows more. Now i removed statspack (perfstat user). now the space used comes around 600MB. I want to reduce the size of the tablespace. Can any body help me.
    Kiran

    Your statspack report is generated in sysaux tablespace ?
    SYSAUX tablespace was installed as an auxiliary tablespace to the system tablespace when we created our database.
    Some database components that formerly created and used separate tablespaces now occupy the SYSAUX tablespace.
    Viewing Components using SYSAUX tbs.
    SQL> column occupant_name format a15
    SQL> column occupant_desc format a30
    SQL> column schema_name format a10
    SQL> select schema_name,occupant_name,occupant_desc,space_usage_kbytes
    from v$sysaux_occupants;
    You can move components tbs other that SYSAUX first you know which component move is applicable or not.
    SQL> column move_procedure format a25
    SQL> column move_procedure_desc format a40
    SQL> select move_procedure,move_procedure_desc from v$sysaux_occupants;
    Two major components consume lot of space.
    1.AWR ( automatic workload repository)
    2.OEM ( oracle enterprise manager repository)

  • My daughter uses her iPad for school. Last year she had two textbooks on it. We deleted them, but now it says she doesn't have enough data to even load one. How do you release space?

    I need to release space on an iPad so we can download some ibook textbooks.

    iPhone, iPad, and iPod: Understanding capacity
    http://support.apple.com/kb/ht1867
    How much space is used by your Other? You may be able to reduce.
    How Do I Get Rid Of The “Other” Data Stored On My iPad Or iPhone?
    http://tinyurl.com/85w6xwn
    How to Remove “Other” Data from iPhone, iPad and iPod Touch
    http://www.igeeksblog.com/how-to-remove-other-data-from-iphone/
    With an iOS device, the “Other” space in iTunes is used to store things like documents, settings, caches, and a few other important items. If you sync lots of documents to apps like GoodReader, DropCopy, or anything else that reads external files, your storage use can skyrocket. With iOS 5/6/7, you can see exactly which applications are taking up the most space. Just head to Settings > General > Usage, and tap the button labeled Show All Apps. The storage section will show you the app and how much storage space it is taking up. Tap on the app name to get a description of the additional storage space being used by the app’s documents and data. You can remove the storage-hogging application and all of its data directly from this screen, or manually remove the data by opening the app. Some applications, especially those designed by Apple, will allow you to remove stored data by swiping from left to right on the item to reveal a Delete button.
    What is “Other” and What Can I Do About It?
    https://discussions.apple.com/docs/DOC-5142
    iPhone or iPad Ran Out of Storage Space? Here’s How to Make Space Available Quickly
    http://osxdaily.com/2012/06/02/iphone-ipad-ran-out-of-available-storage-space-ho w-to-fix-quick/
    6 Tips to Free Up Tons of Storage Space on iPad, iPhone, and iPod Touch
    http://osxdaily.com/2012/04/24/6-tips-free-up-storage-space-ipad-iphone-ipod-tou ch/
    Also,
    How to Clear Message/iMessage Cache on iPhone & iPad And Reclaim Lots of Free Space
    http://www.igeeksblog.com/how-to-clear-message-imessage-cache-on-iphone-ipad/
    What is Stored in iCloud and What is Not
    https://sites.google.com/site/appleclubfhs/support/advice-and-articles/what-is-s tored-in-icloud
     Cheers, Tom

  • Online Rebuild Index Vs Shrinking With Compact Segment with Release space

    Hi All,
    I want to know which is the better option from these as far as availabiltiy of index
    is concerned
    I have been doing online INdex rebuild and haven't faced much problems but new to Shrinking
    What Grid COntrol says about shrinking is
    "This will first compact the segments and then release the recovered space to the tablespace.
    During the short space release phase, any cursors referencing this segment may be
    invalidated and queries on the segment could be affected"
    I dont know how much is that affect...Can anybody share their experience and knowledge
    about shrinking .....
    My Idea is to reclaim the space from the INdexes
    Thanks
    Gagan

    It depends on many factors of which you have mentioned none.
    The affect of cursor invalidation, for example, might be different on Monday than on Tuesday.
    You should test this in as real a simulated environment as you can but likely any issues will be minimal.
    Just don't be surprised by a surprise or two.

  • System and sysaux tablespace

    hi,
    can anyone tell me whata system and sysaux tablespace contains, and how to manage them.

    The system tablespace
    The system tablespace is always available when a database is open (it cannot be taken offline).
    The system tablespace stores the data dictionary (or their base tables, respectively).
    The sysaux tablespace
    The sysaux tablespace is new with Oracle 10g. It is used to store database components that were stored in the system tablespace in prior releases of the database.
    Also, the tablespaces that were needed for RMAN's recovery catalog, for Ultra Search, for Data Mining, for XDP and for OLAP are going to sysaux with 10g.
    Additionally, it is the place where automatic workload repository stores its information.
    The SYSAUX tablespace was installed as an auxiliary tablespace to the SYSTEM tablespace when you created your database. Some database components that formerly created and used separate tablespaces now occupy the SYSAUX tablespace.
    If the SYSAUX tablespace becomes unavailable, core database functionality will remain operational. The database features that use the SYSAUX tablespace could fail, or function with limited capability.
    refer the links:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/tspaces.htm#i1011659

  • What is the use of SYSAUX Tablespace in Oracle 10G

    Dear Experts,
    Please Tell me What is the use of SYSAUX Tablespace in Oracle 10G Because
    during Web Load Testing It is going to increase countinuosly.Although i am not using this with any tables.
    How Can I find out the what is gong on in this.
    Can I Remove this tablesspace and other non using Schemas like FLOWS_020100,MDSYS,OUTLN,DIP and TSMSYS etc.

    What is SYSAUX?
    The SYSAUX tablespace provides storage of non-sys-related tables and indexes that traditionally were placed in the SYSTEM tablespace. For example, the tables and indexes that were previously owned by the system user can now be specified for a SYSAUX tablespace. Unfortunately, Oracle still places the SCOTT schema and the other demonstration schemas in the SYSTEM tablespace. Go figure.
    The SYSAUX tablespace is specified with the CREATE DATABASE command. This is demonstrated in the example database creation script in Figure 1.1.
    CREATE DATABASE test
    MAXINSTANCES 1
    MAXLOGHISTORY 1
    MAXLOGFILES 5
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    DATAFILE '/usr/oracle/OraHome1/oradata/aultdb1/test/system01.dbf' SIZE 300M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    EXTENT MANAGEMENT LOCAL
    SYSAUX DATAFILE '/usr/oracle/OraHome1/oradata/aultdb1/test/sysaux01.dbf' SIZE 120M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE '/usr/oracle/OraHome1/oradata/aultdb1/test/temp01.dbf' SIZE 20M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL
    UNDO TABLESPACE "UNDOTBS1" DATAFILE '/usr/oracle/OraHome1/oradata/aultdb1/test/undotbs01.dbf' SIZE 200M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    CHARACTER SET WE8ISO8859P1
    NATIONAL CHARACTER SET AL16UTF16
    LOGFILE GROUP 1 ('/usr/oracle/OraHome1/oradata/aultdb1/test/redo01.log') SIZE 10240K,
    GROUP 2 ('/usr/oracle/OraHome1/oradata/aultdb1/test/redo02.log') SIZE 10240K,
    GROUP 3 ('/usr/oracle/OraHome1/oradata/aultdb1/test/redo03.log') SIZE 10240K
    USER SYS IDENTIFIED BY "password" USER SYSTEM IDENTIFIED BY "password";
    Oracle10g sysaux
    With the new SYSAUX tablespace, Oracle comes closer to providing all the needed tablespaces for a truly OFA-compliant database right out of the box. With just one CREATE DATABASE command we can specify the SYSTEM tablespace, the TEMPORARY tablespace, the AUXSYS tablespace, the default UNDO tablespace, and the redo logs.
    Of course, with the Oracle Managed Files option you can create an entire database with a single command, but the database created is not suitable for production use and is not OFA-compliant.
    The SYSAUX tablespace is required in all new 10g databases. Only the SYSAUX tablespace datafile location is specified. Oracle specifies the remainder of the tablespace properties including:
    online
    permanent
    read write
    extent managment local
    segment space management auto
    If a datafile is specified for the SYSTEM tablespace, then one must be specified for the SYSAUX tablespace as well. If one is not specified, then the CREATE DATABASE command will fail. The only exception is for an Oracle Managed File system.
    During any update of a database to Oracle Database 10g, a SYSAUX tablespace must be created or the upgrade will fail. The SYSAUX tablespace has the same security profile as the SYSTEM tablespace. However, loss of the SYSAUX tablespace will not result in a database crash, only the functional loss of the schemas it contains.
    Can I drop SysAux?
    DROP DATAFILE
    Read this...

  • Block Corruption in the SYSAUX tablespace

    Problem Description: Block Corruption in the SYSAUX tablespace :
    ==================================
    We are facing block corruption issue in the SYSAUX tablespace during rman backup..
    So currently we are using SET MAXCORRUPT FOR DATAFILE 3 TO 2; parameter to take the backup and it is running fine.. Now we have to fix the issue..
    Please let us know the steps to fix the issue..
    Please find the details below.
    Dbv output:
    sesoxpro33.p51x1> dbv file=/oradata/p51x/data/p51x_sysaux_01.dbf blocksize=32768 end=64000
    DBVERIFY: Release 10.2.0.3.0 - Production on Fri Aug 26 20:47:29 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    DBVERIFY - Verification starting : FILE = /oradata/p51x/data/p51x_sysaux_01.dbf
    Page 64 is influx - most likely media corrupt
    Corrupt block relative dba: 0x00c00040 (file 3, block 64)
    Fractured block found during dbv:
    Data in bad block:
    type: 0 format: 0 rdba: 0x00000000
    last change scn: 0x0000.00000000 seq: 0x0 flg: 0x00
    spare1: 0x0 spare2: 0x0 spare3: 0x0
    consistency value in tail: 0x00000001
    check value in block header: 0x0
    block checksum disabled
    DBVERIFY - Verification complete
    Total Pages Examined : 64000
    Total Pages Processed (Data) : 22547
    Total Pages Failing (Data) : 0
    Total Pages Processed (Index): 23859
    Total Pages Failing (Index): 0
    Total Pages Processed (Other): 14586
    Total Pages Processed (Seg) : 0
    Total Pages Failing (Seg) : 0
    Total Pages Empty : 3007
    Total Pages Marked Corrupt : 1
    Total Pages Influx : 1
    Highest block SCN : 281617057 (2054.281617057)
    SELECT tablespace_name, segment_type, owner, segment_name FROM dba_extents
    WHERE file_id = 3 and 64 between block_id AND block_id + blocks - 1;
    TABLESPACE_NAME SEGMENT_TYPE OWNER
    SEGMENT_NAME
    SYSAUX SYS_LOB0000000594C00007$$
    OS & database Details :
    ==========
    Oracle Solaris on x86-64 (64-bit)
    Oracle Server - Enterprise Edition -- 10.2.0.3
    If any more informatin is needed, Please let me know..
    Thanks & Regards,
    Suresh Bommalata.

    refer:
    logical corruption found in the sysaux tablespace
    Check the metalink note: Identify the corruption extension using RMAN/DBV/ANALYZE etc - 836658.1
    Note 28814.1 - Handling Oracle Block Corruptions in Oracle7/8/8i/9i/10g
    Note 472231.1 - How to identify all the Corrupted Objects in the Database reported by RMAN
    http://download.oracle.com/docs/cd/B12037_01/server.101/b10734/rcmrecov.htm
    http://oracleinstance.blogspot.com/2010/05/block-recovery-using-rman-backup.html

  • Sysaux tablespace

    Hi,
    I am having a small doubt on 9i to 10g upgradation.
    If I have a SYSAUX tablespace already on my 9i database and I am using that tablespace for general purpose, how can upgrade it to 10g database. Is there any way other than exp/imp of the tablespace.
    Thanks a lot for your help.

    Upgrade process will create a SYSAUX tablespace.
    From the Oracle® Database Upgrade Guide
    10g Release 2 (10.2)
    Part Number B14238-01 manual:
    "SYSAUX Tablespace
    This section displays the minimum required size for the SYSAUX tablespace, which is required in Oracle Database 10g. The SYSAUX tablespace must be created after the new Oracle Database 10g release is started and BEFORE the upgrade scripts are invoked".
    ~ Madrid

  • SYSAUX tablespace grow too quick????

    We have EBS R12.1 on LINUX system. Recently I found our development EBS database SYSAUX tablespace grow very quick. The SYSAUX tablespace has two data files and each data files size is 6GB (total 12 GB). In one month all 12 GB space are gone.
    My questions are:
    1. what objects or reports or ??? take this much space?
    2. how to delete un-need space?
    3. what is reasonable SYSAUX size?
    Thanks.

    I double check SYSAUX space usage and found it only use less than 100MB. Why SYSAUX show all 12 Gb space are gone?
    SQL> l
    1 SELECT occupant_name, schema_name, move_procedure,
    2 space_usage_kbytes
    3 FROM v$sysaux_occupants
    4* ORDER BY 1
    SQL> /
    OCCUPANT_NAME SCHEMA_NAME MOVE_PROCEDURE SPACE_USAGE_KBYTES
    AO SYS DBMS_AW.MOVE_AWMETA 45888
    AUTO_TASK SYS 320
    EM SYSMAN emd_maintenance.move_em_tblspc 0
    EM_MONITORING_USER DBSNMP 0
    EXPRESSION_FILTER EXFSYS 0
    JOB_SCHEDULER SYS 1152
    LOGMNR SYSTEM SYS.DBMS_LOGMNR_D.SET_TABLESPACE 13376
    LOGSTDBY SYSTEM SYS.DBMS_LOGSTDBY.SET_TABLESPACE 1600
    ORDIM ORDSYS 0
    ORDIM/PLUGINS ORDPLUGINS 0
    ORDIM/SQLMM SI_INFORMTN_SCHEMA 0
    PL/SCOPE SYS 640
    SDO MDSYS MDSYS.MOVE_SDO 0
    SM/ADVISOR SYS 198528
    SM/AWR SYS 1006144
    SM/OPTSTAT SYS 10866560
    SM/OTHER SYS 8192
    SMON_SCN_TIME SYS 3328
    SQL_MANAGEMENT_BASE SYS 1728
    STATSPACK PERFSTAT 0
    STREAMS SYS 1216
    TEXT CTXSYS DRI_MOVE_CTXSYS 0
    TSM TSMSYS 256
    ULTRASEARCH WKSYS MOVE_WK 0
    ULTRASEARCH_DEMO_USE WK_TEST MOVE_WK 0
    R
    WM WMSYS DBMS_WM.move_proc 0
    XDB XDB XDB.DBMS_XDB.MOVEXDB_TABLESPACE 56192
    XSAMD OLAPSYS DBMS_AMD.Move_OLAP_Catalog 0
    XSOQHIST SYS DBMS_XSOQ.OlapiMoveProc 45888
    29 rows selected.

  • Sysaux tablespace issue-missing sysux datafile

    hi,
    I ve upgraded an database for 9i to 10g. The upgrade was sucessfull and the Db was in normal usage. Due to some functionality testing the database was restored to a state from the backup taken after upgrade. But while restoring the database i forgot to include the path of the datafile of sysaux tablespace in the control file re-creation script.
    I didnt notice this issue for long time until i realised the mistake made by me.
    I found in the alert logs which showed errors such as
    ORA-01157: cannot identify/lock data file 124 - see DBWR trace file
    ORA-01110: data file 124: '/oracle/ora/dbs/MISSING00141'
    ORA-27037: unable to obtain file status
    since the path of the sysaux tablespace was not referred in the script i thought of referring it now and i issued the following command
    alter tablespace sysaux add datafile '<path>/sysaux01.dbf' reuse;
    i issued this as the datafile was already present and i thought of jus reusing it again.
    But what had happened is this datafile had been added as an additional datafile for the sysaux tablespace,which means the sysaux is still referring '/oracle/ora/dbs/MISSING00141' as one of the datafile.
    but one important thing is that there isnt any such datafile ie '/oracle/ora/dbs/MISSING00141' when i checked inside the dbs folder.
    The path is getting referred as part of the sysaux tablespace but its physical location is not found.
    So i did took this datafile offlinedrop issuing
    alter database datafile '/oracle/ora/dbs/MISSING00141' ofline drop
    but the problem i m facing now is the AWR is not opening up and it throw error stating first datafile of sysaux tablespace '/oracle/ora/dbs/MISSING00141' not found.
    ORA-00376: file 124 cannot be read at this time
    ORA-01110: data file 141: '/oracle/ora/dbs/MISSING00141'
    ORA-06512: at line 21.
    any solution for solving the problem would be appreciated
    thanks,
    ahmed

    Hi, I've got exactly the same problem up to the point where I try to offline drop the MISSING0009 datafile.
    The command says it completed OK but the phantom datafile does not go and still reports that it's there in dba_data_files, althoguh the online_status is RECOVER, the status is ONLINE.
    I'm not sure how to get rid of the entry if the offline drop command doesnt work. I've tried recreating the control file and deleting the entry for this datafile too but somehow it returned after that too!
    I''m also not sure what to do when I do get rid of it - since I cant recover the old sysaux01.dbf datafile since it's not consistent with the database since there has been a week inbetween and we're not running archivelogging.
    I would assume that all the stuff usually put in the SYSAUX tablespace is therefore lost, but I dont think we use anything that normally puts stuff in there, I've only noticed this since I was trying to install em.
    Do I have to rebuild the database from scratch? Or any ideas on how I can recover the situation? Can I do something like startup upgrade and re-run the upgrade scripts which will put their stuff back into sysaux....?
    Many thanks for ideas
    Rob

Maybe you are looking for

  • A Lot Of Questions....Look

    p4 3.2 ghz 800mhz fsb HT 2x512 ddr333 pc2700 40gb WD @7200rpm + 40gb Maxtor @7200rpm ATI Radeon 9550 256ddr AGP Windows XP SP2 350w psu here are my system compnents WD 40gb:http://www.newegg.com/app/viewproductdesc.asp?description=22-140-118&DEPA=1 M

  • Why after ccleaner mozilla not load images in some websites. How fix it?

    Why after ccleaner mozilla not load images in some websites. How fix it?

  • Input data type of Matlab script node

    Hi, I have 1D array of complex number in single precision. Matlab script node is used to import data into Matlab and do some data processing, and then export. Data type of input is currently double precision. How to re-define this input data type of

  • Use of Planning Strategy 70

    While we understand how to use this strategy, we are interested to know which other SAP customers are currently using it. We have an implementation coming up and believe that this is the proper solution but would like to open a dialog with others tha

  • VISUALIZER in a new window

    Hello, sorry for my very bad english! I want to ask if it is possible to open a further itunes windows to display visual effects. Because i want to connect a beamer with my notebook and want to display the visual effects on the beamer and on the Disp