How to coalesce RBS tablespace??

Hi,
I´m using a database 9.2.0.7 that is using RBS and not UNDO Tablespace.
This tablespace is full and i can´t empty this.
How can i do that? Empty this tablespace. No one is logged on this database, so this tablespace don´t have any transaction on this.
ORA-01562: failed to extend rollback segment number 34
ORA-01650: unable to extend rollback segment RBS1 by 128 in tablespace RBS
Tks,
Paulo.

Cross check your 10g init.ora parameter with Metalink doc id 216205.1 (This note/doc mentioned lots of parameters for performance) and make sure you have collected stats for 10g database. If you are using global temporary table in 10g then delete stats for global temporary table and lock stats like
ONLY for GLOBAL Temporary Table
analyze table scott.GTEMP delete statistics;
execute DBMS_STATS.Lock_Table_Stats(ownname=>'SCOTT', tabname=>'GTEMP');
Hope performance will improve drastically.
Regards,
Virag Sharma

Similar Messages

  • RBS Tablespace Issue

    Hi All,
    Greetings,
    Oracle 8.0.6
    SunSolaris
    My Rollbacksegment Tablespace datafile size is 1640 MB
    but the actual used space is 217 MB.
    is there any way to compress the size of 1640MB
    Please Help me in this
    Thanks in Advance
    Adil

    Hi,
    01628, 00000, "max # extents (%s) reached for rollback segment %s"
    // *Cause:  An attempt was made to extend a rollback segment that was
    //          already at the MAXEXTENTS value.
    // *Action: If the value of the MAXEXTENTS storage parameter is less than
    //          the maximum allowed by the system, raise this value. => Alter your RBS and allow more than 121 extents to be created in this RBS.
    Also i found that RBS tablespace is marked as PERMANENT.Yes, it's normal.
    ..it means the rollback data does not get flushed out periodically?No
    Also Should this tablespace be temporary? No, this can't be
    How can i counter this problem?Free advise: RTFM about Rollback Segments! Start here (8i doc) or read the Concepts book.
    Regards,
    Yoann.

  • Can size of RBS tablespace be reduced?

    Hi folks.
    Hope this is the right forum for this question.
    Anyway, we're running Oracle 8.1.6 Standard Edition on Win NT
    4.0. A few months ago, we ran a SQL Update statement on a table
    with 176,000 rows and then did a Commit. As a result our RBS
    (rollback?) tablespace grew quite large. Also, as a result, we
    now do more frequent Commits. Anyway, my question is: can we
    reduce the size of the RBS tablespace and if so how? I tried to
    do it using DBA Studio but it wouldn't let me. Do I first have
    to remove some Rollback Segments? (We have 6 now, each one 8,192
    KB in size.)
    Any hints, suggestions, etc. would be appreciated.
    Thanks.

    Hello Craig
    To reduce the size of rollback segment you may issue the
    following statement :
    alter rollback segment <Segment-Name> shrink to <integer> K ;
    If you have given the Optimal value for the specified Rollback
    segment, you can shrink it to Optimal value as :
    alter rollback segment <Segment-Name> shrink ;
    Hope it will help you.
    Manish Gupta

  • RBS tablespace abnormal growth

    I am checking the tablespace size , i am seeing growht of RBS tablespace / it increases 297 MB in one day...Can any body tell me what is the reason & how i can solve that?

    As you wish. You can put the other datafile to another disk. Oracle will stripe the data auomatically. Or you can enlarge your existing datafile if you don't have another disk to use.
    Less datafiles means less administration effort. So you should trade off if it's worth to add a second or third datafile to your TEMP Tablespace. But more performance will perhaps also increase your salary ;-)
    Dim

  • How to deal with tablespaces in Oracle XE (10g)

    Hi,
    First want to say I'm not a DBA so my knowledge on how to work with tablespaces is very limited. I built an application in Apex 3.2.1 on Oracle XE 10g and today for the first time I received this error when trying to save information to the database:
    ORA-01691: Unable to extend lob segment by .... for table space FLOW....
    What is the best way to deal with this? For now, after doing some google searching, I set my tablespace to AUTOEXTEND (it had reached about 500MB which was its max size). Is this the correct way to deal with this situation? Or should I create a new tablespace? I've never changed any of the default settings/tablespaces that came with the Apex/Oracle XE installation.
    Any advice would be greatly appreciated....
    Thanks,
    Francois
    Edited by: HighTen76 on May 1, 2012 2:02 PM

    ORA-01691: Unable to extend lob segment by .... for table space FLOW....
    It seem related to tablespace is full and not able to extend more due to low hdd space or autoextend off or xe datasize limit(4g) reached!!!!
    SELECT sum(BYTES/1024)/1024 AS SIZE_IN_MB FROM DBA_DATA_FILES;
    SIZE_IN_MB must not be more then 4gb
    If SIZE_IN_MB is less then 4g then check that Autoextend is off or on.
    I hope this help
    Regards
    Hitgon
    Edited by: hitgon on May 2, 2012 12:26 PM

  • How to see the tablespace size

    hi
    how to get the tablespace size??
    thx

    Hello,
    select SUM(bytes)/1024/1024 MB from dba_data_files
    where tablespace_name = 'xxxxxx';
    works fine.
    I am trying to build a function for that:
    select SUM(bytes)/1024/1024 MB
    from dba_data_files
    where tablespace_name=upper('&user')
    However, I need to make some enhancements:
    1. how to make comments in sql files?Refer to the REM statement in the sqlplus reference manual
    2. a lot of outputs are generated:
    SQL> @get_size
    Enter value for user: tts1
    old 3: where tablespace_name=upper('&user')
    new 3: where tablespace_name=upper('tts1')
    MB
    2048
    how to avoid that so that only the size is
    displayed.
    for example:
    SQL> @get_size
    Enter value for user: tts1
    MB
    2048
    Refer to set verify off in the sqlplus reference manual.
    >
    3. how to let the function accept a parameter such
    as:
    SQL> @get_size tts1
    Refer to the define command in the sqlplus reference manual.
    >
    4. how to include a usage (help) to that function
    such as:
    SQL> @get_size
    usage: get_size <tablespace name>
    Many thanksRefer to the prompt statement in the sqlplus reference manual.
    Sybrand Bakker
    Senior Oracle DBA

  • How to rollback RBS and what happens to existing data

    Let's say I am using Remote Blog Storage (RBS) in one of my content database and I decide not to use anymore.
    1. How can I roll back RBS?
    2. What will happen to my data and how can I migrate it from RBS to how SharePoint/SQL Server stores it normally in database?

    There's a few blogs around with steps such as this one:
    https://alipka.wordpress.com/2010/06/19/how-to-disable-rbs-in-sharepoint-2010/
    I'd tackle it in several steps.
    Make sure that no new content is being externalised
    Move existing content back into the database
    Remove old connections
    Or i'd just try doing backup and restore operations for site collections to clean databases that don't have the RBS configured.

  • How SMON coalesces free space in oracle 9i and 10g

    how SMON coalesces free space in oracle 9i and 10g?
    Is it doing same as it was behaving in oracle 7 like looking through free extent table every five minutes (sys.fet$) to see if there are any adjacent free extents that can be coalesced into a single extent, and on every 25th cycle (i.e. every two hours and five minutes) it looks at the segment table (sys.seg$) to see if there are any temporary segments that need to be eliminated, as explained by jonathan lewis?
    what are extent and segment tables available in oracle 9i and 10g like sys.fet$ and sys.seg$ in oracle7?

    >
    how SMON coalesces free space in oracle 9i and 10g?
    Is it doing same as it was behaving in oracle 7 like looking through free extent table every five minutes (sys.fet$) to see if there are any
    adjacent free extents that can be coalesced into a single extent, and on every 25th cycle (i.e. every two hours and five minutes) it looks
    at the segment table (sys.seg$) to see if there are any temporary segments that need to be eliminated, as explained by jonathan lewis?
    what are extent and segment tables available in oracle 9i and 10g like sys.fet$ and sys.seg$ in oracle7?I think you need to go and have a look at the Oracle 9i documentation here
    http://www.oracle.com/technology/documentation/oracle9i_arch_901.html
    and automatic segment management in 10g
    http://www.oracle.com/technology/pub/articles/10gdba/week15_10gdba.html
    HTH.
    Paul...
    Software - OS (+ version), Server,
    Hardware - CPU + Disk configuration.
    Please include all of the above information with database queries.
    This will help those who are trying to help you!
    Furthermore, please do not top-post and do try to trim your replies!

  • How to check RBS maintainer is running or not and how to stop the RBS maintainer for a specific content db.

    HI
    how to check RBS maintainer is running after deleting orphan blobs and  while deleting the blobs from rbs storage,
    and also how to stop the RBS maintainer for a specific content db.
    when I run below query  I found the orphancleanup value true
    SELECT [config_key],[config_value] FROM [mssqlrbs_resources].[rbs_internal_config]
    where config_key='orphan_cleanup_in_progress'
    adil

    HI
    the  RBS maintainer was run from one of web front end server  And for one content database , that fine
    but I  now know this information only this did by other administrators.
    Now I did not found this Maintainer running in windows task scheduler, but blobs are decreasing from content database RBS storage folder, and  also I found this maintainer running I checked from  when  run sql queriy in  sql
    server
    SELECT
    [config_key],[config_value]
    FROM
    [mssqlrbs_resources].[rbs_internal_config]
    where
    config_key='orphan_cleanup_in_progress’
    it  given me true
    here now  I want to stop this orphan cleane up , what settings and script I will run?
    adil

  • How i can change tablespace of a table in oracle 8.04

    Dear I want to move tablespace of a table in oracle 8.04 version but it is not working my statement is
    ALTER TABLE ACCOUNTING_ENTRY MOVE TABLESPACE EDI_TSPACE;
    and got the following error message:
    ORA-14004: missing PARTITION keyword
    how i can change tablespace of a table

    Hi,
    It seems that the move tablespace feature is available on 8.1 or higher versions of Oracle. In your case you can try one of the foll....
    Option 1:
    Step 1:CREATE TABLE T1
    TABLESPACE NEWTBS
    AS(SELECT * FROM T);
    Step 2: Rename or Drop the old table.
    Step 3: Rename the new table to the old table name.
    Option 2:
    Step 1: Export the old table.
    Step 2: Rename or Drop the old table.
    Step 3: Create the table in the new tablespace. You may use the INDEXFILE from the imp command here.
    Step 4: Import the old table and use IGNORE=Y
    Reply back if you need assistance on syntax.
    Regards.

  • How to query the tablespace size increment speed?

    Hello,
    Do you have any directions or ideas on how to know the tablespace size increments history. or how to know the frequency of tablespace size increment.
    when I went into new database, I never managed this database before, i want to know the tabelspace size increments speed for do the reasonable space extend.
    so could you please give us a guide thanks!

    RLUO wrote:
    Hello,
    Do you have any directions or ideas on how to know the tablespace size increments history. or how to know the frequency of tablespace size increment.
    when I went into new database, I never managed this database before, i want to know the tabelspace size increments speed for do the reasonable space extend.
    so could you please give us a guide thanks!Hi, there good way is using DBMS_SPACE.OBJECT_GROWTH_TREND as Rajesh mentioned that.But also you can use some AWR views to getting this information.Seee below link.
    tablespaces' growth trend

  • How to monitor temp tablespace

    I server in 11gR2 and 10gR2.
    Is there a way to monitor its usage, like, who is using it, how much space a session is using, what are the objects crated, ie. temp tables.
    Thanks.

    Hi
    This might helpful
    select TABLESPACE_NAME, BYTES_USED, BYTES_FREE from V$TEMP_SPACE_HEADER;Also checkout the below link.
    http://blog.flimatech.com/2010/06/15/how-to-monitor-temp-tablespace-usage/
    Cheers
    Kanchana

  • How to Shrink UNDO Tablespace

    Hello,
    We had a UNDO Tablespace of 22Gb but it is using just 2GB. How to shrink undo tablespace. we are using clustered 3 node production database 10.2.0.4
    Is there is way that we can shrink UNDO Tablespace or do i need to create a UNDO tablespace and assign the undo tablespace to DB and drop the old UNDO?
    How to ensure that transactions are done and free to drop the old UNDO?
    Is it something we need to restart all the three nodes as each node has its own UNDO Tablespace.
    Need Help on this issue.
    would appreciate your quick response.
    Thanks

    if i am in your place i will do the following:
    <pre class="jive-pre">1-Query DBA_DATA_FILES to determine the name of the datafiles of the UNDO</pre>
    2. Create a new UNDO tablespace.
    <pre class="jive-pre">CREATE UNDO TABLESPACE undo_ts2 DATAFILE '/directory/undo_ts2_01.dbf' SIZE xxxM;</pre>
    3. Modify the database parameter to use the new UNDO tablespace.
    <pre class="jive-pre"> ALTER SYSTEM SET undo_tablespace=undo_ts2 SCOPE=BOTH; </pre>
    4-The Drawback:
    <pre class="jive-pre">New transactions will begin using the new undo tablespace. After some time passes (at least the number of seconds specified by the UNDO_RETENTION initialization parameter), you can drop the old UNDO tablespace. The downside to this approach is that for a short time period, your database will have two UNDO tablespaces</pre>
    Regards
    Mohamed

  • How many datafile in tablespace

    Hi,
    I have migrate database 9i to 10g so some question is required?
    how many datafile in tablespace ?
    i hv following query is use
    select file_name,tablespace_name from dba_data_file ?

    Dear Mohamed
    Select name, ts#
    from v$datafile;
    this statment give you only the datafiles
    and
    select file_name, tablespace_name
    from dba_data_files;
    give you the tablespace name and datafiles
    thank you
    Mohamed Tawfik

  • How to estimate undo tablespace size in 11g?

    I found someone document said, use this sql to estimate undo tablespace:
    select (UR*(UPS*DBS))+(DBS*24) as "bytes" from (select value as UR from v$parameter where name='undo_retention'),(select (sum(undoblks)/sum(((end_time-begin_time)*86400))) as UPS from v$undostat),(select value as DBS from v$parameter where name='db_block_size');
    but in my 11g database, the "select value as UR from v$parameter where name='undo_retention'" is 0. so above sql is always get 196608(8192*24)
    How to estimate undo tablespace size in 11g?
    Thanks very much!

    for undo segments size you should turn it to be autoextend on as well undo management set to be AUTO
    i.e
    undo_managment='AUTO'
    for retention see that link
    Ora-01555, snapshot too old: rollback segment number 2 with name "_SYSSMU1
    BTW as hemant stated leave it to be auto which is good approach but make sure enough space on disk has been
    dedicated for undo segments are allowed to grow to the size they need to be based on the requested undo_retention.
    Khurram                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Screen turns green

    I turn on my iPad one day and found that the screen color runs and it sort of sparkled with green pixels.  Everything else worked fine.  I tried resetting and it didn't solve the problem.  After a while (half hour later) the screen went back to norma

  • My z3 doesn't recognize my earphone

    my  blackberry earphone i'm using is working on other units and in my z3. but when i updated my z3 into 10.2.1.3054 i can't play videos and music into my earphone. how can i downgrade it?

  • Need some help with a slideshow (?)

    Im doing a flash video and want to do a neat slideshow that is automatic and kind of highlights each item that is shown. Let me explain a little further and maybe some of you understand what i am talking about. Imagine there is a circle with 10 items

  • How can i find all requests inofrmation

    Hi All, i have the request and i deleted then i reconstructed, now i want to know when this request is deleted and when this was reconstructed and who were deleted. i want the total info.. about the requests, for this where can i check. Thanks,

  • J2ee tutorial bookstore2 example - again

    Folks, I've been trying to run the bookstore2 example of the j2ee tutorial. When I click on the start shopping link nothing happens. I found this in the server.log file [#|2005-05-11T11:26:22.353+0100|WARNING|sun-appserver-pe8.1|javax.enterprise.syst