Re-org tablespace with BOLBS.

Hi,
I want to do reorg of tablespace wich has tables with BLOBS in it. It is a 9i database and the size of this tablespace is around 1000 GB. The records are being extracted out of this table and at present the internal space used by lobs as queried by dbms_lob.getlength is 250 GB.
I know that it has to be done only by exp/imp and it is going to take a long time.
1.What should be the optimum internal space used(which is 250 g, now) at which I should think of starting the reorg. This cannot come below 150 g.
2.How long will the reorg take.
3.Is there any method or base line which will indicate me the approximate time required.
Any experience, input at this forum will greatly help me.
Thanks
KH

Do you really have a single 1TB tablespace?Yes
Respect!! Out of interest, how many datafiles isThe number of datafiles are
COUNT(FILE_NAME)
524
s that? On what OS?the OS is
SunOS srvrname 5.9 Generic_118558-06 sun4u sparc SUNW,Sun-Fire-V490
Incidentally, why are you having to reorganise this
tablespace? I think I can guess but I'd like to know
for sure.
This tablespace has grown to 1000 + Gig. When it was designed there
was no plan to purge/delete older records. Now the purge job is going
on to control the size of the database. And records are being
extracted and stored in an archival database. Thus the internal space
used by the lobs in that tablespace(I queried with dbms_lob.getlength)
has reduced to 250 Gig. But you know the tablespace is still holding
the 1000+ Gigs space and I know re-org is the only way to release space of this tablespace.
The option I am left with is the export and then import which will
for sure going to take weeks but may be month. As one of my
colleague's experience is that for a 10 Gig re-org it took 72 hours,
and other senior management is also of the same opinion.
Is there any relation to calculate how long will this take.
Thanks APC
KH

Similar Messages

  • Long runtime when Generate Org model with CRM_R3_ORG_GENERATE. never finish

    Hi All,
    I tried to generate org.model with CRM_R3_ORG_GENERATE.
    But it ran for a long time. For a day and still not finished.
    I killed it and did again.  Same situation happen.
    I see process is running and use almost CPU time.
    Is this normal for this transaction? Can we tune it up?
    Note that our R/3 sale structure is quite large. The system is used by global.
    Thanks in advance for your advice
    Pichet A.

    I test extract list in  CRM_R3_ORG_GENERATE  to text file.
    It size is 87MB.
    Can I generate in background?

  • Org Unit with more than one Chief Position

    Hi,
    we have implemented MSS via the portal using a one-to-one relationship between Org Units and Chief Positions, and we would now like to have multiple Chief positions attached to one Org Unit.
    As far as I can tell from the SAP documentation, this should be straightforward, but the results we are getting do not seem correct.
    I have an Org Unit that has position 1 and position 2 assigned to it with relationship A/B 012 denoting that they are Chief Positions.
    User 1 is holder of position 1 and user 2 is holder of position 2. 
    Both users have the same security roles.
    The views used on the portal are configured using the MSS Object and Data Provider functionality, using the standard ORGEH view, evaluation path for root objects SAP_MANG and evaluation path objects SBES.  The checkbox 'Excl. Managers' is ticked.
    The problem is this - both users can see all the subordinate employees in the Org Unit when they log on to MSS but user 1 can also see user 2 in his list of employees, which is not correct as user 1 and user 2 are both chiefs.  User 2 cannot see user 1 in his list of employees, which we would expect.
    The only logic we can see for user 1 being able to see user 2's details is that user 1 must be somehow defined as the 'superior' Chief Position, but we have not defined this as far as we know.
    Any ideas as to why this is happening for us?
    Many thanks,
    Fran.

    Hi Fran,
    Sounds like you have set up the reporting structures and MSS properly.  I do question why two chiefs for one org unit.  As you stated, both can see all employees and so both can approve time, give pay increases, etc. without the approval of the other.  If this is want you want, then you have set it up properly.  Usually, one has to approve the actions of the other, thus, is in a superior relationship.  This can be handled by having a higher level new org unit with the higher person as chief and the lower stay as head of the lower org unit which reports to it. 
    As you have it now, both individuals have the same rights and access.  They should both be excluded from iViews if you checked the "Excl. Managers" box.  Since, you just recently made one a manager, have you checked for any date dependencies?  If the Chief #1 is selecting a view for "Current Year", for example, he would be able to see all persons who reported to him for this year, which includes Chief #2.  There are no 'superior chief' designations (except by structure), so without being able to view your configuration, my suggestion is to check all dates for the assignments and relationships vs. dates of the view.

  • Storage clause for locally manged tablespace with unifom size extents

    in oracle 9i PERSONAL EDITION
    I HAVE CREATED A TABLESPACE TEST1 AS LOCALLY MANAGED WITH UNIFORM SIZE AS 256K.MY DB_BLOCK_SIZE IS 4K
    I HAVE CREATED A TABLE XYX IN THE TEST1 TABLESPACE WITH THE STORAGE (INITIAL 52K NEXT 52K)
    WHEN I QUERIED THE DBA_EXTENTS IT SHOWS THE INITAIL EXTENT AS 256 K
    BUT WHEN I QUERIED THE DBA_SEGMENTS IT SHOWS THE INITAL_EXTENT AS 52K.
    IS THEIR ANY SIGNIFICANCE OF SPECIFYING THE STORAGE CLAUSE IN LOCALLY MANAGED TABLESPACES.

    take a example what is effect of set storage parameter in table whoes tablespace is locally manager and have uniform size
    i have a tablespace whoes
    [b]uniform size is 32k
    but when i create a table then i set initial 128k
    now when table is create it create 4 extent
    of 32 each(32*4=128)
    because tablespace uniform size is 32
    if we give intial 256 then it create
    8 extent(32*8=256)
    like
    create tablespace tt_check
    datafile 'E:\ORACLE\SAFE_DATA\tt_check.dbf' size 10m
    extent management local uniform size 32k;
    create table tt_1
    (no number)
    tablespace tt_check
    storage(initial 128k
    next 128k);
    1* select extent_id,segment_name,tablespace_name,bytes from dba_extents where segment_name='TT_1'
    QL> /
    EXTENT_ID SEGMENT_NAME TABLESPACE_NAME BYTES
    0 TT_1 TT_CHECK 32768
    1 TT_1 TT_CHECK 32768
    2 TT_1 TT_CHECK 32768
    3 TT_1 TT_CHECK 32768
    hope it will help you
    kuljeet pal singh

  • Tablespace with too many extents are evil for performance

    I think the tablespace with too many extents are not bad for performance after introduction of LMT tablespace?? May be true with DMT tablespace(earlier versions). This is just observation after reading the LMT vs DMT tablespaces.
    Experts - Please comment on your thoughts.

    Indeed, I work in an environment where there is over 50 databases to be administered and so we have lots of DBAs interacting with each other.
    I'm stunned by this myth of "reorganization". Most of the DBAs move tables + rebuild indexes regularly generating huge redo  on a monthly basis. Also provoking indexes to do all the splits again generating even more redo. They claim "it helps performance a lot" however not one is able to quantify and quite justify it other than "less extents less I/O, good". Even when I bring up the existence of shrink they say "do not like it, prefer the classic move". People really have a way of holding on to their good ol' practices of Oracle 8i.
    For full table scans (which should never be done on a OLTP scenario) this extent issue would be relevant IF data on the table is the victim of large deles and Oracle hasn't re-used that space yet. If your multiblock reads is a multiple of your extent size, than there won't be any overhead of I/O call, no matter the number of your extents. For OLTP this is not relevant because Oracle will access the table via ROWID.
    I rarely have ever seen an index benefit from a rebuild significantly. In my experience what people often understand as "index fragmentation" is often just an unoptimized execution plan due to cardinality issues where oracle ends up fetching a large percentage of the table via single reads on that index.

  • Determine  Org id with purchasing group

    Hello,
    Is there any FM to get the org id with purchasing group.
    Regards,
    Neelima

    You didn't mention what you have as input in order to get the org id. But in any case, try FM BBP_OM_STRUC_GET_ORG_FROM_ORG. It gives you the parent org unit ID of an org unit.

  • Create tablespace with extend, etc.

    Hi guys,
    I am typing the following commands bellow: (ORACLE_HOME and ORACLE_SID is set up correctly).
    #sqlplus “sys/<sys-password> as sysdba” ==> worked very well, of course !
    SQL> create tablespace imm datafile ‘$ORACLE_HOME/oradata/$ORACLE_SID/imm01.dbf’ size 100M autoextend on next 100M;
    ERROR at line 1:
    ORA-01034: ORACLE not available
    I have the below scripts set up correctly. Any one know how can I solve this problem ?!
    Any help is appreciate !
    # dbstart
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Apr 7 16:46:24 2006
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SQL> Connected to an idle instance.
    SQL> ORACLE instance started.
    Total System Global Area 672223892 bytes
    Fixed Size 455316 bytes
    Variable Size 268435456 bytes
    Database Buffers 402653184 bytes
    Redo Buffers 679936 bytes
    Database mounted.
    Database opened.
    SQL> Disconnected from Oracle9i Release 9.2.0.1.0 - Production
    JServer Release 9.2.0.1.0 - Production
    Database "immdb" warm started.
    # lsnrctl start
    LSNRCTL for Solaris: Version 9.2.0.1.0 - Production on 07-APR-2006 16:46:46
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Starting /apps/oracle/OraHome//bin/tnslsnr: please wait...
    TNSLSNR for Solaris: Version 9.2.0.1.0 - Production
    System parameter file is /apps/oracle/OraHome/network/admin/listener.ora
    Log messages written to /apps/oracle/OraHome/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=gama2)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Solaris: Version 9.2.0.1.0 - Production
    Start Date 07-APR-2006 16:46:46
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security OFF
    SNMP OFF
    Listener Parameter File /apps/oracle/OraHome/network/admin/listener.ora
    Listener Log File /apps/oracle/OraHome/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=gama2)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "immdb.gama2" has 1 instance(s).
    Instance "immdb", status UNKNOWN, has 1 handler(s) for this service...
    Service "oradb.gama2" has 1 instance(s).
    Instance "oradb", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    Cheers,
    Murilo

    Can i perhaps add Operating system environment variable to DATAFILE value somehow? I don't want to create tablespace with full file path, starting from drive name and ending with file name.You can use variables in dbca when you create a database (I already can hear you say you don't want that)
    You can also use Oracle Managed Files for the entire database ( I already can hear you say you don't want that)
    You can not use relative paths, which begs the question why you don't want to use an absolute path, assuming you seldomly create a tablespace.
    I don't want to see posts like yours with unjustified 'complaints', yet I do respond to it.
    Sybrand Bakker
    Senior Oracle DBA

  • Undo tablespace with active transaction/segment corrupted

    How to recover if undo tablespace with active transaction/segment corrupted

    Try RMAN blockrecover or restore the tablespace from latest backup and recover it.

  • Tablespaces with Multiple Datafiles

    I've got a Version 7.3.3.4 tablespace with multiple datafiles. There's a lot of object fragmentation. I want to be able to
    drop and recreate many (but not all) of the objects in this tablespace but exercise some control on which objects go to
    which datafiles in order to better utilize the available space on each datafile. I've been told that Oracle assigns objects
    to datafiles in a "round robin" fashion. I'd like info on exactly how this process works and if I can have a more direct effect
    on where objects are placed within the tablespace?
    Thanks,
    Paul Hargreaves
    [email protected]

    Hi,
    I am interested by having more information about tablespaces and how they are fragmented.
    I could, perhaps help you first by telling you that there is a ALTER command for coelescing space in ORACLE 7.3.4 :
    ALTER TABLESPACE tablespace COALESCE ;
    Of course you should have the permissions (ALTER TABLESPACE)
    This command is for the entirely tablespace ...
    In fact, i need a query that gives me for each tablespaces, how are they fragmented (with segment_name ..).
    Thanx
    Steff

  • Database Tablespaces with different block sizes...

    Hi ,
    What are the pros and cons of setting different block sizes to tablespaces, and where may be this useful???
    Thanks,
    Simon

    http://asktom.oracle.com/pls/ask/f?p=4950:8:101384681997409236::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:44779427427730
    generally speaking tablespaces with different block sizes than the db standard are for transportable tablespaces only.
    however,
    Burleson will tell you to micromanage your memory allocations with multiple block sized tablespaces and various keep/recycle caches.
    http://www.dbazine.com/oracle/or-articles/burleson2
    I think its overkill and you can most likely get performance improvements from looking at other things such as the SQL your applications are running against the db. My rule of thumb is that 70% of your performance improvements are going to come from sql tuning. You can focus on the other 30% when the vast majority of your queries use 5 LIO per row per join. (Milsap's ratio not mine)

  • HR Org. integration with SRM 5.0

    Hi,
    We are trying to integrate HR org. structure from ECC 6.0 into SRM 5.0. We have replicated the Org str. with O, C, S Object types. But since the HR org. has 25000 Employees assigned to it, we are not sure about how to go about this.
    If we replicate all these 25k employees and do not assign roles to them, can we create Shopping Cart on their behalf?
    Helpful answers will be rewarded.
    Regards
    Rajeev

    Hi Pranav and Sundeep,
    Our situation is like this:
    Our HR Org str. has multiple Org Units and has got approx 25K employees assigned to it. We are trying to replicate this to SRM 5.0. While doing so, we have the following doubts in our minds:
    1. Since only 250 people out of 25K use SRM, how can we handle this situation? After we will replicate the 25K employees, it will create a BP in SRM. And to create a SC on behalf of someone else, we need to assign a user id to the BP. Please correct if my understanding is not ok. Please give your suggestions.
    2. Can all the employees be replicated into SRM w/o affecting the system performance during Workflow?
    I have completed all the ALE config with all Infotype filters in ECC 6.0, but when I try to replicate from R/3 (PFAL), no employee data gets replicated to SRM. Can anyone suggest a reason for this?
    Your suggestions are most solicited.
    BR
    Rajeev

  • Org Publisher with EP?

    Hi,
    Anyone implemented Org Publisher with EP7?
    Can you provide the steps to automate and refresh the Orgcharts published on the portal?
    Thanks
    Jay

    There are iview properties which you can set to set the refresh or cache limit of an iview.

  • Em new Tablespace with OFA names

    Hello,
    I created my database with the DBCA and used OFA for the datafiles names. When creating a new Tablespace with the Enterprise Manager, he wants a file name from me. Is there any way to use OFA with the EM ?
    Ilja

    >
    Any way or solution I can add a new tablespace in EM without adding a datafile by myself ?
    >
    Hi Ilja,
    I noticed the same behavior of EM also. Didn't care much, because I am a command line addicted :-)
    If you create your Database on ASM, though, then EM gives you full support for using OMF conventions together with (default) ASM templates. But the main benefit of ASM is not to lead EM to nice behavior in that particular area, of course.
    Short answer is: Not that I am aware of, sorry.
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • Find tablespace with most indexes

    Hi everyone,
    I was wondering if any of you know a better way than mine to find the tablespace with the most indexes?
    I made this query but maybe it can be done in another way?
    SELECT DISTINCT tablespace_name
      FROM user_indexes
    WHERE tablespace_name IS NOT NULL
       AND index_type != 'DOMAIN'
    GROUP BY tablespace_name
    HAVING COUNT(*) >= (SELECT COUNT(*)
                          FROM user_indexes
                         WHERE tablespace_name IS NOT NULL
                           AND index_type != 'DOMAIN'
                         GROUP BY tablespace_name
                        );Thanks

    Solomon Yakobson wrote:
    No. TABLESPACE_NAME in DBA_INDEXES is null (among other cases) for partitioned indexes. Yes, I know. That's why I asked in the way I did. The NOT NULL was from OP.
    But, you are right. OP should have been told that he/we would not find partioned indexes.
    select tablespace_name
    from   (select   rank () over (order by count (distinct index_name) desc) rnk,
                     tablespace_name
            from     (select index_name, tablespace_name
                      from   dba_indexes
                      union all
                      select index_name, tablespace_name
                      from   dba_ind_partitions
                      union all
                      select index_name, tablespace_name
                      from   dba_ind_subpartitions)
            where    tablespace_name is not null
            group by tablespace_name)
    where  rnk = 1;Regards
    Peter

  • Backing up and restoring tablespaces with RMAN

    We have some tables that we want to backup and other tables that we don't.
    We are separating these tables by tablespaces and schema.
    SchemaA uses tablespaceA
    SchemaB uses tablespacesB
    We are also backing up
    sys
    sysaux
    undo
    tablespaces.
    Lets say we lose our tablespaces and do a restore. I am assuming that all my stored procedures can be restored no matter which schema I save them in. even if I save them in a schema that has a default tablespace that is not being backed up because the code in is in the System tablespace.
    Is my assumption correct?

    Here the key concept is Mean Time To Recover(MTTR), usually it is faster and easier to use an export backup file for this purpose, but this doesn't mean RMAN is bad :) RMAN was, is and will be the best practice for Oracle's B&R.
    Still you may assist your RMAN backup with a daily norows export backup and also maybe a file system backup depending on your environment and application's need. Backup's backup do not harm :)

Maybe you are looking for

  • In Smartform the data already stored in Arabic ?

    Dear Freinds,           I have developed Smartform and the data is coming perfectly relating to all fields but one particular field data is not getting printed and iam getting data in an un readable format . The data has to be displayed as Arabic TEx

  • SOAP Runtime exception: 1023  method IF_SOAP_TRANSPORT_BINDING~receive

    SOAP:1.023 SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: HTTP COMMUNICATION FAILURE") SOAP Runtime exception: 1023 occured in  method  IF_SOAP_TRANSPORT_BINDING~receive of class CL_SOAP11_HTTP_TPB

  • How do I get a Soundscape (Logic Pro X) into FCP X?

    I want to create a Soundscape to use in FCP X but I can't get the Soundscape to record anything to export. This is because I am completely clueless on using Logic Pro X. I have downloaded a YouTube tutorial based on Logic Pro 9 but this app seems to

  • How to find which VO assigned to which AM

    Hi, At one page, i can't find the VO which is assigned to which AM thru "About the Page" Link. Because i want to extend that CO file which has that AM related to VO. Then only i can do calculate the Total of one attribute when the RN loads. How to fi

  • Ciscowork3.2.1 daemon manager is not working after patch installation

    Ciscowork 3.2.1 daemon manager is not working after patch installation Hi Team Ciscowork 3.2.1 daemon manager is not working after patch installation. C:\Documents and Settings\Administrator>net start crmdmgtd The CiscoWorks Daemon Manager service is