Proactive Tablespace Management

hi,
In Oracle Database 10g, by default, all tablespaces have built-in alerts that notify you when the free space in the tablespace goes below a certain predetermined threshold level. Is it True?
How to check default threshholds at tablespace level in 10g

user1175505 wrote:
hi,
In Oracle Database 10g, by default, all tablespaces have built-in alerts that notify you when the free space in the tablespace goes below a certain predetermined threshold level. Is it True?
How to check default threshholds at tablespace level in 10gYou can use Enterprise Manager.
You better read the documentation here for the alerts regarding tablespaces:
http://www.comp.dit.ie/btierney/oracle11gdoc/server.111/b28310/schema001.htm
regards

Similar Messages

  • Proactive Tablespace Management in a large environment

    Hi, I was wondering how others in the community manage tablespaces proactively. In our situation we have thousands of oracle databases and are not using a primary DBA service model. We don't have DBA's looking at individual databases on a daily basis.
    It often becomes a reactive measure to add space. Given the size of our environment tablespace management becomes a very tedious and time consuming action for us. Looking for way to minimize or automate this process.
    I'm looking for a way to have a more "intelligent autoextend". With autoextend, the database engine won't take action until there is space pressure (ie. 99%). I'm looking for something when it crosses a defined thershold (ie. 85%).
    To further add to the complexity we use shared storage (ASM) for many databases. There needs to be intelligence to check the available space first.
    We are considering writing a custom script and using EM's Corrective Action to invoke the script based on the threshold. This will be a fairly significant development effort.
    Is there anything from oracle "out of the box" that I should be considering?
    How are others out there managing space in their large, complex oracle environments?
    Ideas are much appreciated!

    I'm looking for a way to have a more "intelligent autoextend". With autoextend, the database engine won't take action until there is space pressure (ie. 99%). I'm looking for something when it crosses a defined thershold (ie. 85%).What will be a benefit of such "intelligent autoextend"? What is a difference if a data file extended being 85% full versus 99% full?
    From Application perspective there is no difference, it got the space for data in any case.
    My ultimate goal is to not have DBA's add space entirely (or close to it)why the "out of box" autoextend does not work for you?
    Just specify MAXSIZE according to your storage and DBA do not need to add space entirely. Until disk is full.
    But. If you really do need some "intelligent autoextend" you (or your DBA) can write a PL/SQL script that can use any level of intelligence you put in its logic. It can forecast, extend datafiles, add datafiles, shrink them, even check disk space and send email about it.
    Writing this script will be that "more exciting DBA task" ;)

  • DB2 Tablespace Management

    HI All
    Can anyone pls let us know how to perform Tablespace Management in DB2,like increasing tablespace and adding datafile..etc.
    Can it be done in SAP through DB02 Tcode if so how to do it,???
    also how to do it through DB2 from OS level.
    Thanks in Advance
    Infinite Team

    Hi All
    We noticed that BTABD was hundred percent and now database is not coming up and from operating system level if we login and try to increase the tablespace through sql command it says:
    "DB21034E  The command was processed as an SQL statement because it was not a
    valid Command Line Processor command.  During SQL processing it returned:
    SQL1036C  An I/O error occurred while accessing the database.  SQLSTATE=58030"
    Not only that any command we execute it gives same error message and if we start sap it says Activate Database Failed, R3trans Connect Failed, Database start up failed
    Pls help.
    Thanks in Advance
    Infinite Team

  • Segment space for Manual tablespace management

    Hi,
    wanted to know if 10g segment advisor can advise on segments that exsists in a tablespaces that is set to manual extent management.
    thanks,
    Ven.

    From the
    Oracle® Database Administrator's Guide
    10g Release 2 (10.2)
    Part Number B14231-01
    14 Managing Space for Schema Objects
    Understanding Reclaimable Unused Space
    You use the Segment Advisor to identify segments that would benefit from online segment shrink. Only segments in locally managed tablespaces with automatic segment space management (ASSM) are eligible. Other restrictions on segment type exist. For more information, see "Shrinking Database Segments Online".

  • System tablespace management in oracle 9i

    Hi,
    I would like to know whether system tablespace in oracle 9i by default is locally managed or dictionary managed

    Hi,
    I would like to know whether system tablespace in oracle 9i by default is locally managed or dictionary managed SYSTEM tablespace in 9i rdbms can ONLY be dictionary managed.

  • Tablespace management with ASSM

    Since ASSM is the default in 10g I was wondering how people are dealing with space management in their tablespaces? How do you know if you have enough space for the next extent of a table when you don't know how big the next extent is? Even if you did know the size of the next extent, how do you allow for the fact that the datafile for the tablespace is set to autoextend? And what if there isn't enough room on the disk for the tablespace to autoextend? What are you doing to deal with these questions?

    We use ASSM for managing all of our tablespaces. Are you using the Database Control web page? On the Administration tab, you can specify how big you want each extent to be. For example, if you have a 10 Mg tablespace, and you set the tablespace size limit to 20 Mg you can then specify to grow in 1 Mg extents until you reach the limit. If you aren't using Database Control tool, respond and I will get you the command line syntax for managing your tablespaces.
    What operating system is your database running on? Because you will need to monitor how much available disk space you have on your server, and how you do that depends on which OS you are running.

  • Tablespace management system and sysaux size.. a concern..

    Hi mates,
    I have the report of my tablespace as thus:
    FILE_NAME TABLESPACE_NAME STA Total MB % Free Aext
    /usr/lib/oracle/xe/oradata/XE/MD MDATE AVA 196.608 13.57 YES
    ATE.dbf
    /usr/lib/oracle/xe/oradata/XE/SL SLIPSTREAM AVA 327.680 17.54 YES
    IPSTREAM.dbf
    /usr/lib/oracle/xe/oradata/XE/sy SYSAUX AVA 542.720 1.77 YES
    saux.dbf
    /usr/lib/oracle/xe/oradata/XE/sy SYSTEM AVA 378.880 1.69 YES
    stem.dbf
    /usr/lib/oracle/xe/oradata/XE/TX TXCD AVA 131.072 99.46 YES
    CD.dbf
    /usr/lib/oracle/xe/oradata/XE/un UNDO AVA 1,048.576 90.92 NO
    do
    /usr/lib/oracle/xe/oradata/XE/us USERS AVA 102.400 98.38 YES
    ers.dbf
    Can you pls tell me if the size of the sysaux and system tablespace should be a concern as I have freespace of 1.69 and 1.77%.
    Thanxxxx.
    Kenny

    A datafile may not be able to resize (file system full). And resizing it may cause file fragmentation of that file (on that file system).
    I prefer to add a new file, e.g.
    ALTER TABLESPACE <tablespace> ADD DATAFILE [<filename>] SIZE <size>
    When using ASM, the filename is determined (per OFA standards) by ASM itself. No need for the DBA to concern him/herself with directory structures and filenames.
    By the way, the topic of this forum is SQL and PL/SQL - not database administration. I suggest that in future you post questions like this to the Database forum instead.

  • Tablespace management

    hi all,
    i am a newbie, i newly installed oracle 10g in windows 2003 server, and i add a tablespace and given 4 GB size. my disk space is 90 GB. now how much i can increase the tablespace sizes of TSs\
    SYSTEM
    SYSAUX
    USERS
    TEMP
    UNDOTBS
    EXAMPLE
    is this necessary to hold the EXAMPLE T.S, as it holds only 100 MB space (used 77 %)
    pls suggest me in this regard.
    thanks & Regards

    785092 wrote:
    hi all,
    i am a newbie, i newly installed oracle 10g in windows 2003 server, and i add a tablespace and given 4 GB size. my disk space is 90 GB. now how much i can increase the tablespace sizes of TSs\
    SYSTEM
    SYSAUX
    USERS
    TEMP
    UNDOTBS
    EXAMPLE
    You have all the 90GB to increase the size of your tablespaces. But do you need that?
    Also don't worry about increasing the above permanent tablespaces, as they all are autoextensible.
    is this necessary to hold the EXAMPLE T.S, as it holds only 100 MB space (used 77 %)It contains the sample schemas of the database.
    regards

  • Portal, Tablespace defragmentation and Locally Managed tablespaces

    We are setting up a Big portal installation. We want to use seperate small, medium and large tablespaces for data, lobs and index as described in the de-fragmention start living white paper. We will also use locally managed tablespaces.
    Has anybody set-up a portal installation like this. What where the large and medium data, index and lob segments ?
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by David Stoller ():
    Anyone try using IFS in a Locally Managed Tablespace? Is it OK?<HR></BLOCKQUOTE>
    Yes, we have all tablespaces managed locally. No problems with that.

  • Shrinking BLOB tablespace in Oracle 10g

    Hello,
    I have table created with 32 GB in Oracle 10g with BLOB field containing images. after that I have deleted some of the images from the table but when I'm checking free space, it is show full 32 GB. But when I'm looking at Toad it shows me out of 32 GB 17 GB is free.
    my question is how to shrink/resize blob tablespace/table having BLOB field in oracle 10g 2rel ?

    Hello urgent,
    Tablespace management is not really an Oracle Spatial topic, I suppose these are georaster images?. You probably want to search and post in the more general database forums.
    The quick answer is that it is not easy. Oracle tablespaces may only be "shrunk" if the free space is at the end of the datafile at the "high water" mark. If by some wild coincidence the images you removed were indeed at the back of the datafile, then you could alter the datafile with a RESIZE command. But the odds of that being the case are incredibly low. If you really, really MUST recover that space then about the only thing to do is export the data, delete it from the tablespace, shrink the tablespace and then import the data back in. Another approach if you have the space is just move the data into another empty tablespace and then drop the original tablespace. I would guess that the salary expended for you to take everything offline and do this would be more than just buying another cheap disk. Considering that in doing your daily work you may well indeed be in this position again in a few weeks, then it makes even less sense.
    Now having said all that I have been in the situation where I MUST recover that space without taking everything offline.
    One thing you can try is to "pop" the last items off the datafile (moving them to another tablespace) identified using the query below. But this is an exercise in futility unless your resources happen to be nicely "chunked" together near the highwater mark. Oracle tends to stripe resources across the available space in the datafile. So you might find you need to move half the contents before recovering any significant amount of space.
    Cheers,
    Paul
       SELECT '
       a.owner, '
       a.segment_name, '
       a.segment_type, '
       a.block_id, '
       a.tablespace_name '
       FROM '
       dba_extents a '
       WHERE '
       a.file_id = ( '
          SELECT '
          b.file_id '
          FROM '
          dba_data_files b '
          WHERE '
          b.file_name = :p1 '
       ORDER BY '
       a.block_id DESC

  • Defining tablespaces in 10.1.0.2

    I am doing full database exp/imp from Oracle 7.3.4 to Oracle 10.1.0.2.
    I finished the export.
    Now prior to imp I need to create tablespaces in 10.1.0.2 which are existing in 7.3.4 but not in 10.1.0.2 yet.
    Three are only seven tablespaces name in 7.3.4.
    Three are common tablespaces i.e: system, tmp & users.
    I need to add tools, wits_data, roolback & wits_indx.
    I need to know the file sizes of above tablespaces, I also need to kno " incremant by " what number.
    I also notice in 10.1.0.2 dbconsole its ask you maximum file size.
    Do I need to check on autoextent automitacally when tablespce is full.
    which should I check Unlimited or Values ?
    from dba_tablespaces:
    TABLESPACE_NAME**TOOLS***ROLLBACK******WDA********WINDX
    INITIAL_EXTENT**10240******1638400****199229440**96468892
    NEXT_EXTENT*****10240******1638400****512000*****491520
    MIN_EXTENTS*****1**********2**********1**********1
    MAX_EXTENTS*****121********121********121********121
    PCT_INCREASE****50*********0**********10*********10
    STATUS**********online*****online*****online*****online
    CONTENTS********perm*******perm*******perm*******perm

    I would definately do research on the changes in tablespace management between v7 and 10g -- you have a lot more options available, such as automatic segment space management.

  • Can't create new undo tablespace while undo tablespace is crushed

    We currently encounter an emergent error on our productive database. The undo tablespace on this database looks like crushed. And insert /update operations can't be executed because of the undo tablespace error.
    we tried to create a new undo tablespace to replace this broken tablespace, but the database reports ORA-00376 and ORA-00376 error.
    We have already deleted rollback segments which status is "NEED RECOVERY".
    Now we run our database in manual undo tablespace management mode. and add a new datafile into current broken undo tablespace. Then create a new rollback segment for public user. Now, user can insert /update data. But we are not sure if this method would occur any other problems.
    I really appreciate if you have any good suggestions.

    Hi,
    Actually ORA-00376 is the following cause and take action.
    cause: An attempt was made to read from a file that is not readable. Most likely the file is offline.
    Action: Check the state of the file. Bring it online.
    Again setup ur DB automatic UNDO MANAGEMENT and check status of the ur undo tablespace. and bring it online.
    and create another undo tablespac and switching the undo tablespace.
    Regards..

  • Drop huge Tablespace

    Hi Everybody,
    Here there are some steps that leaded me into a dead end, where I would like and greatly appreciate some help.
    1. We have a tablespace FONC, dictionary managed, 136Gb spliced in 11 datafiles
    FONC1 to FONC11.
    2. There it is a huge table in this tblsp, T1, 70GB, having BLOBs.
    3. Some other tables are in it also.
    My plan is to move all objects in this tblsp in a 2 new tblsp, one for the
    BLOBS, one for the rest. And to drop this tablespace at the end.
    I do not have enough disk space in order to have both tablespaces present in the
    same time.
    What I did.
    0. ArchiveLog off.
    1. Export the T1 table, the huge one (splitting the export in 24 files, placed
    in all free spaces I found).
    2. alter table move tablespace for the other tables.
    3. start the Drop table T1.
    4. after 6 hours, I stopped the drop, being short in time.
    5. start drop tablespace FONC.
    6. after another 5 hours, I cancelled this drop also.
    7. tblsp FONC contains nothing else but a 67GB temporary segment.
    8. took the tblsp FONC offline.
    9. shutdown db abort.
    10. delete datafiles FONC1 to FONC11.
    11. startup db - no errors except a message in SMON Log - timeout waiting for a
    tablespace management resource.
    12. Create new tablespace.
    13. Import table T1.
    14. Archivelog ON - error ORA-265 - instance needs recovery.
    15. Shutdown Abort.
    16. Startup Open.
    17. Shutdown Immediate.
    18. startup mount.
    19. ALter database datafile fonc1...11 offline drop.
    20. Recover database - everything ok.
    21. Alter ... ARCHIVELOG - same error.
    22. Other trials - same results ...
    No indications in any oracle log that SMON did an instance recovery, or other
    error message.
    Finally, the DB is operational, but ARCHIVELOG is OFF.
    My problem is how to get rid of the FONC tablespace without loosing another xxxx
    hours. A normal DROP tablsp including contents did not finished after 24 hours.
    I need a way just to invalidate the temporary segment in the FONC tblsp, to get
    rid of it, to be able to get rid of the tblsp FONC also. I guess that the
    missing datafiles impede the instance recovery. An solution to be done when the
    DB is online and in use is of course the most desirable one ...
    using DBMS_SPACE_ADMIN can be more helpfull ?
    Manually edit the controlfiles ?
    Using RMAN ?
    Thanks in advance, I appreciate what you are doing,
    Dan

    No I did not tried with Nologging.
    On the other hand, what I see that takes long are the updates on the tables fet$ and uet$. More than that, a system session is issuing all the time blocking locks on this tables, that makes the drop to take so much time. Releasing 67GB in extents is quite challenging ...
    So I need a way to lead only to delete on the fet$ and uet$ tables, and, a way to avoid the blocking locks. I thought that using DBMS_SPACE_ADMIN and invalidating the temporary segment first can be a solution.
    The real problem here is that I can not do try-and-see, I can not stop the exploitation of the DB so I was hoping that somebody went through the same experience and has a working solution.
    Thanks,
    Dan

  • EHPI and DB2 DMS storage management

    Hi Guys,
    I am having a trouble with Enhancement package installer while applying enchancement packs to ABAP instances in DB2 environment. I am using DMS  storage managementmethod  in DB2 for tablespace management. While applying the enhancement pack1 for netweaver the installation tool asks for creation of new tables and I create the required tables spaces as I needed. The tool fails with insufficent space in tablespaces. However the tablesspaces are setup to grow when required not like assigned free space in a tablespace.The file system has total 16GB available and it only needs about 3GB. Since it can't see some required freespace available with in the tablespace it can't proceed.
    1) Did any one face this issue. IF so how to overcome this issue.
    2) Is there anyway we can bypass this check and cotinue with installation. In some steps we can jump with a password but there is no such thing to this step.
    Your early reply is highly appreciated.
    Regards
    Srini

    EHPI tool itself check how much space you needed in a tablespace. You have to add that space in tablespace then only you can proceedd otherwise it will always show the error...
    thank sunny

  • Create index partition in the table partition tablespace

    Hello,
    I am running a custom job that
    * Creates a tablespace daily
    * Creates the daily table partition in the tablespace created
    * Drops the tablepartition X days old
    * Drops the tablespace for that partition on X+1 day.
    The above job runs perfectly, but 'm having issues with managing the indexes for these partitioned tables. In the old database (10g - Single Node), all the partitions/indexes existed in one BIG tablespace and when I imported the table creation script into the new database, I modified all the table partitions & indexes to go into their respective tablespace.
    Eg:
    Table_name........Partition_name.....................Index_Part_name..........................Tablespace_name
    ============...================............====================...........=================
    TABL1...................TABL1_2012_07_16............TABL1_IDX_2012_07_16............TBS_2012_07_16
    TABL1...................TABL1_2012_07_15............TABL1_IDX_2012_07_15............TBS_2012_07_15
    But now when the job runs, it creates the index into the default tablespace TBS_DATA.
    Table_name........Partition_name.....................Index_Part_name..........................Tablespace_name
    ============...================.............====================...........=================
    TABL1...................TABL1_2012_08_16............TABL1_IDX_2012_08_16............TBS_DATA
    TABL1...................TABL1_2012_08_15............TABL1_IDX_2012_08_15............TBS_DATA
    I can issue alter index rebuild to move the indexes to its default tablespace, but how can I ensure that the index gets created in its designated tablespace?
    NOTE - the partition/tablespace management job that I run only creates the table partition and not the index.
    The new env is a 2-Node 11gR2 RAC cluster on Linux x86_64.
    Thanks in advance,
    aBBy.

    Excerpt from the job -
    This creates the partition into the new tablespace.
    v_sql_new_part := 'alter table '||tab_owner||'.'||tab_name||' add partition '||v_new_part_nm||'
    values less than (to_date('''||v_new_part_dt_formatted||''',''DD-MON-YYYY'')) tablespace '||part_tbs;
    execute immediate v_sql_new_part;New tablespace for new partition - because this is a 10T database and having multiple tablespaces helps with backup/recovery.
    Thanks,
    aBBy.

Maybe you are looking for

  • ITunes will not recognize my iPod, but windoes DOES.

    When i plug my 30gig iPod into my pc via usb, windows recognizes it, and it even prompts iTunes to pop up. After this however, nothing happens. I cannot get iTunes to recognize my iPod, therefore cannot update it. I have tried all of the steps on the

  • IPhoto Library:  explanation of directory structure for purposes of backup

    I am sure this has been addressed elsewhere, but my search attemps were not particularly fruitful. I am about ready to replace the hardrive in my MacBook (after doing a Migration Assistant maneuver from a PowerBook) with a 120 GB drive. Since I no lo

  • What do you have to do to get yourelf banned here?

    Dear administrator, I think you took down the wrong thread.

  • Unlocking of Outbound / Inbound Queues in CRM

    Hi Experts, Is there any way through which we can Unlock Outbound / Inbound Queues in bulk; which are in "READY" status in CRM. Or Is there any method to process Queues in READY / WAITING status in bulk. Thanks and regards, Amit

  • Trade Promotion Workflow

    Hello, Is  there any documentation how to customize approval workflow for trade promotions? The SAP Help doucment is not too clear on config . http://help.sap.com/saphelp_crm60/helpdata/en/eb/aa80ae2ea44778a987960a847fc6ce/frameset.htm Thanks a lot.