Tables space information in datasource

Hello all,
We need to develop a generic data source that is extracting data from DB02 (tablespace information). We are interested in the fields from system table DBA_TABLESPACES like: Size, free, used, max size, total free space, total used.
Could anyone help on this issue?
Thank you
Ramona

Hi ,
You can create a generic datasource on a table/view.
Use transaction Rso2 to create the same.
Select maintain generic DataSources.
A new screen will be opened giving a table related application component under in the application. Select table/view push button.
Give the table name.
Save and generate the DataSource.
Select the witch fields are transferred to bw.
Generate the DataSource.
Hope it helps.
Thanks and Regards,
MuraliManohar.

Similar Messages

  • Information about table spaces.

    Hi!
    I have a requirement to   create a Bex by which I can display the  list of table spaces available and status of  those  table spaces like memory free, Used. Though we can get this information from  DB02  I need to generate a  report and  broadcast that to users.
    Can anyone help me in telling me the table name  where you can get the list of table spaces  and infomation or any function module which lists the  table spaces name and  status of them. 
    Regards
    Venkat

    Hello,
    Could you please share more information about this? We need to do the same thing. How did you create your generic datasource? what table/Function module did you used?
    Thank you
    Ramona

  • 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.

  • Temp Tables space problem with ORA-01114 and  ORA-27072:

    RDBMS :Oracle:9.2.0
    OS: Linux AS3
    Storage: SAND arrray (RAID 5)
    Problem on exeuting dml statement
    SQL> select * from myview ;
    select * from myview
    ERROR at line 1:
    ORA-01114: IO error writing block to file 201 (block # 3977)
    ORA-27072: skgfdisp: I/O error
    Linux Error: 28: No space left on device
    Additional information: 3976
    ORA-01114: IO error writing block to file 201 (block # 3977)
    ORA-27072: skgfdisp: I/O error
    Linux Error: 28: No space left on device
    Additional information: 3976
    With Regards
    Joy

    Hello joy,
    So, still looking for solution. I suggest you a sloution and it works well only if as you mentioned (in your previous post) that file causing error is temp file. So, get rid of this better you create new temporary table space and drop old one and then delete the old files manually.
    But this will work only for Temp Tablespace not for normal tablespaces and datafiles. Prepare new temporary tablespace at different location from the previous one, try to make it on different disk beacuse it may be due to corruption of physical medium too.
    Try this. If it works... you are through... otherwise i have no other options...
    Please update.....

  • How to Access Table Space Map in Oracle 10g OEM

    How and from where to Access Table Space Map in Oracle 10g OEM ??
    Thanks

    Hi,
    first of all, the online help system of grid control is outstanding. Just click on Help in the upper right corner and enter "Tablespace Extent Map" in the search form.
    Result:
    Show Tablespace Contents Page
    Each Oracle database is divided into one or more logical units called tablespaces. You can use Oracle Enterprise Manager to manage these tablespaces and create or modify the parameters for the tablespaces. Use the Tablespace property sheet to set general and storage information for the specified tablespace.
    Use the Show Tablespace Contents page to display the list of tablespace segments that comprise the existing tablespace. You can display Tablespace Extents by choosing Show Tablespace Extent Map at the bottom of the page. An extent is a logical unit of database storage space allocation made up of a number of contiguous data blocks. One or more extents in turn make up a segment. When the existing space in a segment is completely used, Oracle allocates a new extent for the segment.
    You can view segment extents by clicking on the link in the Extents column to display the Extents in Segments page.
    You can display the Show Tablespace Contents page by choosing Show Tablespace Contents from the command drop down list on the Tablespace property page, the Tablespace View page, or the Tablespace search results page.
    Note: Developers could only display the tablespace map to a maximum hard coded number of 30,000 extents. Tablespaces are often larger than that. If a tablespace is larger than 30,000 extents, the portion over that is displayed as Unmapped. To avoid exceeding the memory capacity of the tablespace map and to display the map without unmapped extents, use a search criteria displaying results of less than 30K extents.
    For an overview of tablespaces, see the "Overview of Tablespaces " chapter of the Oracle Database Concepts Guide.
    For more information about managing tablespaces, see the " Managing Tablespaces" chapter of the Oracle Database Administrators Guide.
    For more information about managing datafiles, see the " Managing Datafiles and Tempfiles" chapter of the Oracle Database Administrator's Guide.

  • Dump on table space

    HI,
    We are executing the TCode : FV65 and getting the dump as follows.
    =====
    ShrtText                                                                               
    No storage space available for extending an internal table.
    What happened?                                                                               
    You attempted to extend an internal table, but the required space was not available.
    Error analysis                                                                               
    The internal table "IT_5402" could not be enlarged further. To allow  error handling, the table had to be deleted before this log was created. So, if you branch to the ABAP debugger from the display of this log, the table will there be displayed with 0 rows. 
    Information on where terminated                                                                   
        The termination occurred in the ABAP program "SAPLSDH4" in "TO_SORT_TAB". The main program was "SAPMF05A ".                                                             
    The termination occurred in line 746 of the source code of the (Include) program "LSDH4F09" of the source code of program "LSDH4F09" (when calling the editor 7460).
    ======
    I beleive, its a standard program but I am not getting a clue how to get out of it.
    Please advise.
    regards,
    sachin

    Hi Sachin,
    Then you should not face this issue. Just check with your basis if there is sufficient table space available on the server.
    If now only you are facing this problem then there must be some issue with the table space available.
    Regards,
    Atish

  • Oracle Table space Query

    Hi All,
    I am getting following error while inserting the data into the table
    ORA-01653 Unable to Extend table employee_trns by 128 in tablespace DATA_HI
    it seems to be table doesn't have much sapce
    So Can anyone tell me how to Add an Extra table space for above table employee_trns
    Help Appreciated
    Thanks
    Lavanya
    Edited by: Lavanya on 28-Sep-2012 05:33

    Lavanya wrote:
    Hi Veeresh,
    alter tablespace DATA_HI add DATAFILE 'C:\tablespace\DATA_HI_02.dbf' size 300m
    I'm trying with above syntax it's showing
    INSUFFICIENT PRIVILEGES
    Can you help me out please
    ThanksWhat research have you done to find out what that error means?
    It seems the account you used to connect to oracle doesn't have the necessary privileges to ALTER TABLESPACE.
    What account/username are you using?
    Learning how to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
    Go to tahiti.oracle.com.
    Drill down to your product and version.
    <b><i><u>BOOKMARK THAT LOCATION</u></i></b>
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab (for 10.x) or the "Master Book List" link (for 11.x) you will find the complete documentation library.
    Spend a few minutes just getting familiar with what <b><i><u>kind</u></i></b> of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what <b><i><u>kind</u></i></b> of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth. They are <b><i><u>reference</b></i></u> manuals. Just get familiar with <b><i><u>what</b></i></u> is there to <b><i><u>be</b></i></u> referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    Then set yourself a plan to dig deeper.
    - Read a chapter a day from the Concepts Manual.
    - Take a look in your alert log. One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them (listed in your alert log) in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - When you have finished reading the Concepts Manual, do it again.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.
    Edited by: EdStevens on Sep 28, 2012 7:54 AM

  • Migrating from Informix 9.21 to Oracle 9.2.0.4(Using Existing Tables space)

    Hi
    I want to create tables & indexes on different tablespaces as planned. I have already created table spaces using OEM. (for a given schema different set of tables have to be created on diffrent tablespaces and so on)
    But,it appears,"OMWB Table Space Discoverer" is not much of useful. It allows to specify one for tables, one for indexes and TEMP. Is there anyway I can 'discover' all the tablespaces from the target and assign the tables & indexes to various tablespaces as planned.
    Any suggestions?
    Rgds
    Jeya

    Hi,
    I was unable to reproduce your problem. I carried out the following steps in attempt to replicate the issue:
    1. I launched the workbench, version 10.1.0.2, selecting the Oracle Lite "Default Repository".
    2. Using the Oracle Enterprise Manager Console, I created a user "rtdb" with the password "rtdb" on my target Oracle 9i database.
    3. I captured a test Informix database, generating its source and oracle models.
    4. I then proceeded to migrate the database to Oracle and supplied my target Oracle9i database information in the "Migration Wizard, Step 1 of 4: Destination Database Details", supplying rtdb/rtdb as the username/password.
    5. My test database migrated with no such error messages reported.
    If you carried out the migration steps as I have outlined above, and are still experiencing issues with a "Failed to connect" error, I would contact support.
    Regards,
    Hilary

  • Temporary table space usage

    Hi could someone help me ...
    for the following query...
    SELECT returnflag
    , linestatus
    , sum(quantity) as sum_qty
    , sum(extendedprice) as sum_base_price
    , sum(extendedprice * (1 - iscount)) as sum_disc_price
    , sum(extendedprice * (1 - iscount) * (1 + l_tax)) as sum_charge
    , avg(quantity) as avg_qty, avg(extendedprice) as avg_price
    , avg(iscount) as avg_disc, count(*) as count_order
    FROM lineitem
    WHERE shipdate <= date '1998-12-01'
    GROUP BY returnflag, linestatus
    ORDER BY returnflag, linestatus;
    Explain Plan :
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 5 | 135 | 299K (2)| 01:00:00 |
    | 1 | SORT GROUP BY | | 5 | 135 | 299K (2)| 01:00:00 |
    |* 2 | TABLE ACCESS FULL| LINEITEM | 57M| 1493M| 297K (1)| 00:59:35 |
    Predicate Information (identified by operation id):
    2 - filter("L_SHIPDATE"<=TO_DATE(' 1998-09-02 00:00:00',
    'syyyy-mm-dd hh24:mi:ss'))
    would any parts of this query be carried out on the temporary table space (sums and averages? / sort group by?) ... or what impact would the temp table space have when running this query?
    any help would be appriciated

    im using 11g r2,
    what about usage of temporary table space (approximatly) with the following ..
    ============================================
    create view revenue (supplier_no, total_revenue) as
    select
    suppkey, sum(extendedprice * (1 - iscount))
    from
    lineitem
    where
    shipdate >= date '1994-12-01'
    group by
    suppkey;
    select suppkey, name, address, phone, total_revenue
    from supplier, revenue
    where suppkey = supplier_no and total_revenue = (select max(total_revenue)from revenue)
    order by suppkey;
    ==========================================================
    View created.
    Execution Plan
    Plan hash value: 2790460729
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)|
    Time |
    | 0 | SELECT STATEMENT | | 50000 | 5126K| | 381K (1)|
    01:16:23 |
    | 1 | MERGE JOIN | | 50000 | 5126K| | 381K (1)|
    01:16:23 |
    | 2 | SORT JOIN | | 100K| 3027K| | 380K (1)|
    01:16:09 |
    |* 3 | VIEW | REVENUE | 100K| 3027K| | 380K (1)|
    01:16:09 |
    | 4 | WINDOW BUFFER | | 100K| 2148K| | 380K (1)|
    01:16:09 |
    | 5 | HASH GROUP BY | | 100K| 2148K| 1207M| 380K (1)|
    01:16:09 |
    |* 6 | TABLE ACCESS FULL| LINEITEM | 34M| 733M| | 297K (1)|
    00:59:35 |
    |* 7 | SORT JOIN | | 50000 | 3613K| 8712K| 1182 (1)|
    00:00:15 |
    | 8 | TABLE ACCESS FULL | SUPPLIER | 50000 | 3613K| | 308 (1)|
    00:00:04 |
    Predicate Information (identified by operation id):
    3 - filter("TOTAL_REVENUE"="ITEM_1")
    6 - filter("L_SHIPDATE">=TO_DATE(' 1994-12-01 00:00:00', 'syyyy-mm-dd
    hh24:mi:ss'))
    7 - access("S_SUPPKEY"="SUPPLIER_NO")
    filter("S_SUPPKEY"="SUPPLIER_NO")
    Statistics
    =========================================================
    presumably temp table space will be used for sort and merge joins? .. but how does temp table space work with the view?

  • DB Space Information in CCMS

    Hello,
    please, did everybody know, how it would be possible to get the Information  about the Space ofg the data base into the CCMS? So i need for an reporting issue the information about used Space and free space of the whole data base. When I look into the Alert tree there is just information to the  tablespaces ...
    I found the function module DB6_His_Overview, but this one create only webdynpros.??
    Thanks for helping me
    kind regards Lars

    Hi Lars,
    this function module DB6_HIS_OVERVIEW is the dataprovider of the DB02 overview screen of database history. There are two disadvantages if you use it
    1. It does not reflect the current state but provides only data of the last collected history
    2. It is not an officially relased function module and might change in the future
    Alternatively you could use the new adminstrative SQL tablefunctions and views provided by DB2 9 via some EXEC SQL. E.g. there is the SNAPTBSP_PART administrative view. It returns used and free space information in terms of PAGES. So you need some join with SYSCAT.TABLESPACES like
    select sum(v.tbsp_used_pages * (s.pagesize / 1024 ) )
    from SYSIBMADM.SNAPTBSP_PART as v,syscat.tablespaces as s
    where v.tbsp_name = s.tbspace 
    For DB2 8.2 this view is not yet available but there is a similar table function snap_get_tbsp_part, which will also work
    Best regards
    Ralf

  • 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

  • How to find out the tables related to CRM datasources?

    How to find out the tables related to CRM datasources? For example, the table related to 0CRM_OPPT_H.
    Regards,
    R.Ravi

    Hi Ravi,
    To find out all tables used go into the CRM source system to transaction RSA3 and prepare the selections for extraction of your datasource.
    In a parallel session execute transaction ST05 and press the button 'Activate Trace'
    Go back to the extracor checker and execute the extraction.
    Switch sessions and subsequently 'Deactivate Trace' and 'Display Trace'.
    This will list all tables used.
    regards,
    Olav

  • 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?

Maybe you are looking for

  • I ordered my iPhone on Friday and it is still on Processing Items?

    So i ordered my Iphone on Friday and it still says "Processing Items" and "Delivers Oct 14 via" i got a verizon 16 GB White iPhone! And i havent gotten any email by apple besides the one confirming my order! And its already Wednesday night Do you thi

  • Moderate NAT

    I am only getting a moderate nat on my xbox. How can I get it to an open NAT? Solved! Go to Solution.

  • Will any USB keyboard work w/GarageBand?

    I have never used garageband and would like to buy a keyboard for my son to use with a Leopard mac. Will any USB keyboard work? Is it necessary to install drivers? Thanks.

  • Why is consistency check warning [39054] raised?

    Hi, Today I migrated a 10g repository to 11g. After the upgrade I was checking the global consistency and the following warning is occuring several times WARNINGS: BUSINESS MODEL Declaraties: [39054] Fact table "[fact table 1]" is not joined to logic

  • J2EE SCS Message port

    The default port that the installation uses for the j2ee message server is 36xx, where xx is the SCSxx number.  This is similar to the way an ABAP central instance (DVEBMGSxx) is setup also to use 36xx. But the central instance is completely configur