Reuse table space?

Hi gurus.
We did an upgrade to our R/3 system recently. When we did that, we created a new QA (QA2) client that I then pointed to my BW QA box. I think that I have deleted all of the R/3 QA1 info from BW, but my database has outgrown the available space. Is there any way to reuse table space without doing a reorg? I have been searching this forum as well as others and can't find an answer that fits my scenario.
Thanks! Points will be awarded!

Hi,
Cube may have aggregates associated with them.
Aggregates
An aggregate is a materialized, aggregated view of the data in an InfoCube. In an aggregate, the dataset of an InfoCube is saved redundantly and persistently in a consolidated form. Aggregates make it possible to access InfoCube data quickly in Reporting. Aggregates serve, in a similar way to database indexes, to improve performance. We Create aggregates in the following cases:
The execution and navigation of query data leads to delays with a group of queries.
You want to speed up the execution and navigation of a specific query.
You often use attributes in queries.
You want to speed up reporting with characteristic hierarchies by aggregating specific hierarchy levels.
An aggregate is made up of characteristics and navigation attributes belonging to an InfoCube. You can group the data according to different Aggregation levels. In doing so, you can also store values for hierarchy levels belonging to an external hierarchy. Both time-dependent attributes and time-dependent hierarchies can be used in aggregates. Characteristics that are not used in the aggregate are brought together.
If you have created aggregates for an InfoCube and entered data for them, the OLAP processor automatically accesses these aggregates. When navigating, the different results are consistent. The aggregate is transparent for the end user. New data is loaded at a defined time using logical data packages (requests) in an aggregate. After this transaction, the new data is available for rolling up in reporting.
An aggregation level indicates the degree of detail to which the data of the underlying InfoCube is compressed. An aggregation level must be assigned to each component of an aggregate (characteristics and navigation attributes). You can choose one of the following aggregation levels:
All characteristic values ("*"): The data is grouped by all the values of the characteristic or navigation attribute.
Hierarchy level ("H"): The data is grouped by the hierarchy level node.
Fixed value (‘F’): The data is filled according to a single value.
To use an aggregate for an InfoCube when executing a query, you must first activate it and then fill it with data. Select  the aggregate that you want to activate and fill. The system creates an active version of the aggregate .
System Activity
The system creates the tables required by the aggregate definition in the database. Aggregates are created according to the same schema as InfoCubes.
An aggregate contains two fact tables and a number of dimension tables.
The table names are derived from the technical names of the aggregates.
If the new data packages (requests) are loaded into the InfoCube, they are not immediately available for Reporting via an aggregate. To provide the aggregate with the new data from the InfoCube, you must first load the data into the aggregate tables at a time which you can set. This process is known as a Rollup.
If Infocube has aggregates and If you had loaded data to this Infocube, then, the newly loaded data wont be available for reporting untill and unless rollup is done. Roll up means adding the newly loaded data to aggregates.
If you switch off the aggregates it wont be identified by the OLAP processor. report will fetch the data directly from the cube. Switching off the aggreagte won't delete any data,but temporarly the aggregate will not be availbale as if it is not built on the info cube. No reporting is not possible on swtiched off aggregates. The definition of the aggregate is not deleted.
You can temporarily switch off an aggregate to check if you need to use it. An aggregate that is switched off is not used when a query is executed.This aggregate will be having data from the previous load's. If the aggregate is switched off means it wont be available for reporting but data can be rolled up into it.
If u deactivate the aggregates the data will be deleted from the aggregates and the aggregate structure will remain the same.
The system deletes all the data and database tables of an aggregate. The definition of the aggregate is not deleted.
Later when you need those aggregate once again you have to create it from scratch.
If I have more than one aggrgate and one of them is switched off then during roll up
The data will be loaded to switched off aggregates also.
But if the aggregate is deactivated the data will not be loaded to the aggregates. you have to do the initial fill by activcating the aggregates. Its like a init load.
Scenario: Suppose the info cube needs to be undergone some changes after agggregate rollup (say wrong data needs to be deleted),so first we need to deactivate the aggregate and then delete the wrong requests from the cube and refill the aggregate to capure the existing changes.In this way changes will reflect in the aggregate,if not the aggregate will still contain the wrong data.
When you delete aggregates both Structure as well as data is deleted.
Aggregation ratio
Aggregation ratio is no of records selected to no of records transfered
refer this presentation: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cccad390-0201-0010-5093-fd9ec8157802
it can be done from TCode ST03n or also from the query developed on BW statisitics/technical content
Check the below links:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cbd2d390-0201-0010-8eab-a8a9269a23c2
Aggregates
Aggregates
aggregates
Aggregates
To view the contents of an aggregrate, goto the Maintanance screen of the Aggregrate, Select the Aggregate (techincal name) for which you want to view the data and then click on "Aggregate Data" (Push button with glasses symbol).
"---" sign is the valuation of the aggregate. You can say -3 is the valuation of the aggregate design and usage. ++ means that its compression is good and access is also more (in effect, performance is good). If you check its compression ratio, it must be good. -- means the compression ratio is not so good and access is also not so good (performance is not so good).The more is the positives...more is useful the aggregate and more it satisfies the number of queries. The greater the number of minus signs, the worse the evaluation of the aggregate. The larger the number of plus signs, the better the evaluation of the aggregate.
if "-----" then it means it just an overhead. Aggregate can potentially be deleted and "+++++" means Aggregate is potentially very useful.
Refer.
http://help.sap.com/saphelp_nw70/helpdata/en/b8/23813b310c4a0ee10000000a114084/content.htm
http://help.sap.com/saphelp_nw70/helpdata/en/60/f0fb411e255f24e10000000a1550b0/frameset.htm
Thanks,
Jituk

Similar Messages

  • How to verify reused table space in oracle 10g ?

    Hi..
    From my system, i have seen that the table size keep increasing event the delete query is running. Due to that, I would to check either the oracle allowed to reuse the table space or not ? if not then how could i enable it ?
    Please help me..
    Thank you,
    Baharin

    You can use dbms_space.space_usage to check the for free space.
    Space reuse will depend on whether you are using MSSM or ASSM, PCT_FREE, PCT_USED, and how new data is inserted ?
    You can shrink or move the table and rebuild indexes to reclaim space.

  • Table space not reused after deletion ?

    Hi..
    I am running on oracle 10g. Based on my system, i have created one query to delete old data from the table on daily basis. Below the sample query :-
    delete from SNP_EXP_TXT
    where I_TXT in (select I_TXT_SESS_MESS from SNP_SESSION
    where SESS_END < trunc(SYSDATE - 1));
    I have check on the database and all the old data are deleted from the table. But, I am confused why the table space keep increasing even the old data has been deleted.
    I am assume that the problem because of the table space cannot be reused after the deletion. Could somebody help me how could i verified that and how could i ensure that all the table space can be reused ?
    Thank you,
    Baharin

    Is there only one table, or are there other objects in the tablespace ? Are you sure this is the table that is growing ?
    select segment_name, segment_type, bytes from dba_segments where tablespace = 'XXX';
    It will also depend on how the data is inserted ? If you insert append, then it will grow the table.

  • Percentage of used table space not reduce after deletion

    Hi..
    This is my query to delete data from database:-
    delete from $tb_data where to_char(partition_dt,'MON') = '$mm';
    The $tb_data and $mm is variable and the $tb_data will be read input table name (as example backup_nx160, backup_ngn and etc) and the $mm will be capture the input month.
    My question is why the percentage of used table space is not reduce after delete query was executed. Could somebody help me..
    Please help me..
    Thank you,
    Baharin

    baharin wrote:
    Hi..
    Is it the deleted space will be reused by the system ?Yes.
    .. How could i check the real free tablespace or real usage table space ?If you have gathered statistics on the schema recently, then sum (avg_row_len*num_rows) should give you the exact number of bytes that are being consumed - assuming all tables are in a single tablespace under consideration. You can subtract this value from sum (dba_data_files.bytes) figure for the tablespace, to know exact free space.

  • Reuse of Space in 9.2.0.1.0

    Hello All,
    short question:
    I am running an Oracle 9i Enterprise 9.2.0.1.0 since 3 Years now.
    There are some Tables with more than a billion entries. Actually we are running out of disk space (so far auto-extend worked for us)
    From the "big" tables we deleted a lot of content.Row by Row.
    Now we are wondering, if the space created by the delete will be useg again by the database automatically?
    I mean, the data files will stay at the same size as before. But will Oracle use the deleted rows/space again now?
    Kind regards
    Tobias

    will Oracle use the deleted rows/space again now?yes.
    SQL > create table t3 as select * from dba_objects where rownum<10;
    Table created.
    SQL > select rowid from t3;
    ROWID
    AAABr6AADAAAAIaAAA
    AAABr6AADAAAAIaAAB
    AAABr6AADAAAAIaAAC--to be deleted
    AAABr6AADAAAAIaAAD
    AAABr6AADAAAAIaAAE--to be deleted
    AAABr6AADAAAAIaAAF--to be deleted
    AAABr6AADAAAAIaAAG
    AAABr6AADAAAAIaAAH
    AAABr6AADAAAAIaAAI
    9 rows selected.
    SQL > delete t3 where rowid in ('AAABr6AADAAAAIaAAC','AAABr6AADAAAAIaAAE','AAABr6AADAAAAIaAAF');
    3 rows deleted.
    SQL > commit;
    Commit complete.
    SQL > select rowid from t3;
    ROWID
    AAABr6AADAAAAIaAAA
    AAABr6AADAAAAIaAAB
    AAABr6AADAAAAIaAAD
    AAABr6AADAAAAIaAAG
    AAABr6AADAAAAIaAAH
    AAABr6AADAAAAIaAAI
    6 rows selected.
    SQL > insert into t3  select * from dba_objects where rownum<5;
    4 rows created.
    SQL > commit;
    Commit complete.
    SQL > select rowid from t3;
    --the deleted space is not reused, because there's more free space to use before extending
    ROWID
    AAABr6AADAAAAIaAAA
    AAABr6AADAAAAIaAAB
    AAABr6AADAAAAIaAAD
    AAABr6AADAAAAIaAAG
    AAABr6AADAAAAIaAAH
    AAABr6AADAAAAIaAAI
    AAABr6AADAAAAIaAAJ
    AAABr6AADAAAAIaAAK
    AAABr6AADAAAAIaAAL
    AAABr6AADAAAAIaAAM
    10 rows selected.
    SQL > insert into t3  select * from dba_objects where rownum<1000;
    999 rows created.
    SQL > commit;
    Commit complete.
    SQL > select rowid from t3 where  rowid in ('AAABr6AADAAAAIaAAC','AAABr6AADAAAAIaAAE','AAABr6AADAAAAIaAAF')
      2  /
    --reuse deleted space then extend more space
    ROWID
    AAABr6AADAAAAIaAAF
    AAABr6AADAAAAIaAAE
    AAABr6AADAAAAIaAAC
    SQL > select rowid from t3 where rownum<10;
    ROWID
    AAABr6AADAAAAIaAAA
    AAABr6AADAAAAIaAAB
    AAABr6AADAAAAIaAAC  --reuse
    AAABr6AADAAAAIaAAD
    AAABr6AADAAAAIaAAE  --reuse
    AAABr6AADAAAAIaAAF  --reuse
    AAABr6AADAAAAIaAAG
    AAABr6AADAAAAIaAAH
    AAABr6AADAAAAIaAAI
    9 rows selected.

  • Can't add new datafile into a table space?

    Hi, Oraclers,
    I am learning Oracle. I found one problem: I can't add new datafile to an existing
    table space. I tried to add via OEM and SQLPlus. None of them works.
    I can see that the datafile, say ras01.dbf, is in my hard drive. But I can't see
    it via OEM datafile.
    Also, this datafile creating procedure has never stopped. In SQLPlus, after I
    submitte ths statement, after 7 days, this sql statement is still running. The
    same thing happened in OEM.
    The sql statement is:
    ALTER TABLESPACE "RASBLK"
    ADD
    DATAFILE
    'H:\ORACLE\PRODUCT\10.1.0\ORADATA\NMDATA\RAKBLK35.DBF' SIZE
    26214400K REUSE AUTOEXTEND
    ON NEXT 2048M MAXSIZE 30720M
    Oracle is 10g V10.1.0.2.0
    os is Window Server 2003 Service Pack 1.
    What's the problem?
    Thanks,
    Message was edited by:
    shinington

    so you have definitely tried to use a Winlows Server with NTFS for a 1TB++ Database ?
    I never heard of that and I wouldn't even dare to dream of that, but as stated above theoretically (that is: according to MS) this should work.
    But surely your process has crossed some internal limitations, at least that is what it looks like.
    I guess you must go to your %ORACLE_BASE%\admin\%SID%\bdump or udump directories to eventually find a trace file there.
    recommendation is: move to some kind of bigger system (Solaris,AIX).

  • Create table space command with no specification of data file path.

    I am using following command for creating table space in oracle 11g
    CREATE TABLESPACE testTbSpace DATAFILE 'dataFileName.dbf' SIZE 50M REUSE AUTOEXTEND ON NEXT 1M MAXSIZE 32767M NOLOGGING"
    But it is creating datafile dataFileName.dbf at disk at following path
    echo $ORACLE_HOME/dbs
    I dont want to create datafile at this path and also dont want to specify data file path in 'create table space' command.
    Is there is any parameter,which i can set and above command start to create dataFileName.dbf at that path
    Edited by: user8680179 on May 15, 2012 1:54 AM

    user8680179 wrote:
    i issued following commands from 'SYS' user;
    1. show parameter db_create_file_dest;
    NAME TYPE VALUE
    db_create_file_dest string
    2.alter system set db_create_file_dest='dataFilePath';
    System altered.
    3.show parameter db_create_file_dest;
    NAME TYPE VALUE
    db_create_file_dest string dataFilePath
    4.CREATE TABLESPACE testTbSpace2 DATAFILE 'test1.dbf' SIZE 50M REUSE AUTOEXTEND ON NEXT 1M MAXSIZE 32767M NOLOGGING;
    Tablespace created.
    But still my test1.dbf file is creating at old path($ORACLE_HOME/dbs)Is datafilepath a real location? I don't think so! Give a proper path like "d:\oracle\" and retry.
    Aman....

  • UNDO table space in oracle

    Hi,
    Recently i have added one data file(2GB) to undo table space.Later i gog to know it is not recommend to extent the undo table space.In oracle 9i undo management is handle automatically.(in my init<SID>.ora file undo_management='AUTO')
    I have 3 data file undo_1,undo_2,undo_3.
    undo_2 is the datafile of 2Gb that i have added.
    My question is ....is there any possibility to remove that data file from the DB(undo_2) if possible how can i dod that.
    Pls help me.
    roshantha

    SQL> show parameter undo
    NAME TYPE VALUE
    undo_management string AUTO
    undo_retention integer 900
    undo_tablespace string UNDOTBS1
    SQL>
    SQL>
    ##FIRST : CREATE AN ANOTHER TEMPORARY UNDO TABLESPACE FOR YOUR DATABASE USERS.
    SQL> create undo tablespace UNDOTBS_TEMP datafile 'c:\undotbs_temp1.dbf' size 2G;
    Tablespace created.
    SQL> show parameter undo
    SQL> alter system set undo_tablespace=UNDOTBS_TEMP;
    System altered.
    SQL> show parameter undo
    NAME TYPE VALUE
    undo_management string AUTO
    undo_retention integer 900
    undo_tablespace string UNDOTBS_TEMP
    ##NOW DROP YOUR UNWANTED TABLESPACE INCLUDING DATAFILES
    SQL> drop tablespace undotbs1;
    Tablespace dropped.
    SQL> drop tablespace undotbs2 including contents and datafiles;
    Tablespace dropped.
    ##NOW RECREATE THE UNDOTBS and RUSE THE FILE YOU WANTED TO
    SQL> create undo tablespace UNDOTBS1 datafile 'C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\UNDOTBS01.DBF' reuse;
    Tablespace created.
    SQL> alter system set undo_tablespace=UNDOTBS1;
    System altered.
    SQL> show parameter undo
    NAME TYPE VALUE
    undo_management string AUTO
    undo_retention integer 900
    undo_tablespace string UNDOTBS1
    SQL>
    hope it helps :-)
    Thanks,
    Z

  • Created Table space datafile  with out .dbf Extenstion

    Hi all,
    by mistake I added a datafile to a table space with out .dbf extension..
    ALTER TABLESPACE "MEDIA" ADD DATAFILE 'L:\ORACLE\ORADATA\MEDIAGATA02' SIZE 100M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE 32767M
    I could not rename it unless I set this table space off line . But this is a production server so I could set as off-line.
    1. Will my database function normally or would crash!!!..
    2. with out .dbf extension will the table space function ?
    3. will the data store can be retried in any case of database crash?
    regards
    S.K

    Check the size of the tablespace, if there aren't any data then drop the tablespace and create a new one.
    Regards
    Asif Kabir

  • Table space not getting cleaned after using free method (permanent delete)

    Hi ,
    We are using the free method of the LIB OBJ, to permanently delete the objects. As per documentation, the ContentGarbageCollectionAgent will be cleaning the database which runs in a scheduled mode. But the log of that ContentGargabageCollectionAsgent shows, all zero for objects without reference, objects cleared,etc. I.e the table space remains the same before and after deleteing all the contents in the cmsdk database. But the agent is running as per the schedule but just comes out doing nothing.
    Can anbody put some light on this issue.
    thanks
    Raj.

    Hi Matt,
    Thanks for replying. It's been a very long time waiting for you ;)
    ---"Are you running the 9.2.0.1, 9.2.0.2, or 9.2.0.3 version of the Database?"
    we are using 9.2.0.1
    ---"If you installed the CM SDK schema in the "users" tablespace ......."
    Yes we are using USERS tablespace for our Development.
    I ran the query. The result is:
    SYSTEM MANUAL NOT AFFECTED
    USERS MANUAL NOT AFFECTED
    CTXSYS_DATA MANUAL NOT AFFECTED
    CMSDK1_DATA MANUAL NOT AFFECTED
    (USERS belongs to develpoment cmsdk schema. And CMSDK1 for Prod CMSDK schema)
    From the results I see only "Manual", but still I don't see the tablespace size being coming down. Both table space sizes (USER and CMSDK1) always grows higher and higher.
    Also to let you know, We use ORACLE EM Console (Standalone) application to see the oracle databse information online. Will there be any thing to do with the tool we use to see the table space sizes. We make sure we always refresh it before making a note.
    So is there anything else I can see. Once I saw the ContentGarbageCollection agent to free 1025 objects and deleted 0 objects. But I don't see any change in the table space size. I am little confused b/w freed and deleted.
    thanks once again for your response Matt.
    -Raj.

  • What is difference between table space and shchema

    what is difference between table space and shchema ?

    784633 wrote:
    so each user has it own space of tables - schema ?yes, but let's clarify a bit ....
    The "schema" is the collection of all objects owned by a particular user. So if user SCOTT creates two tables, EMP and DEPT, and a view EMP_RPT, and a procedure GET_MY_EMP, those objects (tables, views, procedures) collectively make up the SCOTT schema.
    Those objects will be physically stored in a tablespace.
    A tablespace is a named collection of data files. So tablespace USERS will be made up of one or more data files. A specific datafile can belong to one and only one tablespace. If a tablespace has more than one data file, oracle will manage those files as a collection invisible to the application - much like the OS or disk subsystem handles striping across multiple physical disks.
    A specific object in the SCOTT schema can exist in only one tablespace, but not all objects of the schema have to be in the same tablespace. Likewise a tablespace can contain objects from multiple schemas.
    and can one user to access tables of other users?As others have said - FRED can access tables belonging to SCOTT as long has SCOTT has granted that access to FRED.

  • Space in bytes used by a single index in given table space

    Hi All,
    How can i find a table space used by index in bytes
    Eg:
    suppose i have a table space USERS and i have a table say customer . one index defined on table customer called CUSTOMER_UQ and mapped to table to table space USERS . How can i find the bytes used by object CUSTOMER_UQ in table space USERS.
    Thanks

    The used space in Karthik's example is the number of bytes actually used by entries in the index, not the amount of space allocated to the index itself.
    To find out how much space in disk is allocated to the index you can use (as the owner of the index) something like:
    SELECT bytes FROM user_segments
    WHERE segment_name = <index name>You could also use all_segments or dba_segments if you have access as another user, but you would also need to specify the owner name.
    John

  • BRtools table space creation error

    hi,
    Iam trying to create new table space in my R/3 system. When i went to brtools - space management sytem throwing error owner failed.I tried with all users to login like ( <SID>adm,administrator etc ...)even then same problem.Could you please suggest how to create table space with what login id
    Error:
    Main options for creation of tablespace in database WA6
    1 - Tablespace name (tablespace) ......... [PSAPECDATA]
    2 - Tablespace contents (contents) ....... [data]
    3 - Segment space management (space) ..... [auto]
    4 - SAP owner of tablespace (owner) ...... [EC5ADM]
    5 - Data type in tablespace (data) ....... [both]
    6 # Joined index/table tablespace (join) . []
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    c
    BR0280I BRSPACE time stamp: 2006-06-14 21.08.45
    BR0663I Your choice: 'c'
    BR0259I Program execution will be continued...
    BR0824E Owner EC5ADM not found in database or not SAP owner
    BR0691E Checking input value for 'owner' failed
    BR0669I Cannot continue due to previous warnings or errors - you can go back to
    repeat the last action
    BR0280I BRSPACE time stamp: 2006-06-14 21.08.45
    BR0671I Enter 'b[ack]' to go back, 's[top]' to abort:
    Please suggest.
    - Cheers

    Login as ora<sid> and run brtools. Tablespace owner will be SAP<SID> or SAPR3 depends upon your version.
    Thanks
    Prince

  • Table space not reduce after delete in oracle 11G

    Hi Team,
    I have a DB 11.1.0.7 on unix.
    I have execute delete tables on tablespace, but this not reduce.
    Thanks

    935299 wrote:
    What segment space management type is defined for the tablespace in question?
    MANUAL
    Then you should check out the documentation some more.
    But even if you shrink the table segement what is that going to do for the data file size?
    I don't undertand you.
    ThanksYour thread is titled "Table space not reduce after delete in oracle 11G" which implies to me that you are interested in reducing the size of a tablespace (which really means reducing the size of the underlying datafile(s)).
    So, if you shrink the size of the sys.aud$ table, will that cause the datafile(s) to become smaller? Will it accomplish your goal? What else, if anything, needs to happen?

  • Table space not reduce after delete in oracle 10g

    Hi..
    Based on my system, i have found that my oracle table space did not reduce after the deletion query. Why ?.. Could somebody help me. As your info, I am using oracle 10g.
    Thank you,
    Baharin

    After Delete the table space will not be set free. high water mark will not be reset. to regain the space you need to recognize the objects from which you deleted the data. This can be done in many ways.
    1) Move the objects.
    Alter table temp move --> optionally tablespace clause can be used. After this you need to rebuild table indexes.
    2) With 10g table can be shrinked or reorganize to free the space.
    alter table mytable enable row movement;
    alter table mytable shrink space;
    3) Export/Import
    export the objects and drop and recreate with import.

Maybe you are looking for

  • Reader X stops working after closing PDF file

    We have a small problem on our businesscompany with Reader X. When a user opens up a PDF file (windows XP sp3) it opens ok and everything seems to be fine. After reading the user closes it. But when a user wants to open up a new PDF file, nothing hap

  • Reports for consignment

    Hi All, Is there any report where I can check check Vendor/Customer consignment stock at plant level?

  • Zen micro with playforsure and removable d

    if u have the playsforsure firmware installed on your zen micro, can you still use the removable disk function on computers without windows xp. also, can you still charge it on computer without windows xp?

  • Question on PDP scenario?

    Hi Friends Why SRM 7.0 doesnt support PDP with standalone scenario. What settings need to be done inorder to enable PDP with standalone scnario in SRM 7.0 Regards Akhila

  • Error in planning function

    Hi, I am loading flat file to sem-bps. In tcode BPS0 when i double click on parameter group it is prompting to give the file name. When file name is selected i am getting the following message: Planning function and parameter group carried out withou