Checking HANA Table sizes in SAP PO

Hello All,
We have SAP PO 7.4 deployed on SAP HANA SP 09, and the SAP PO is growing fast, and it grew by 200 GB over the last 2 days. The current size of the data volume is showing almost 500 GB just for the PO system. This is HANA tenant database installation.
The total memory used by this system show about 90 GB RAM.  However, I just don't how to get the list of the table with SIZE. I looked the view CS_M_TABLE, which is showing all the tables which are using the memory, but that does not still add up though. I need to get the list of all the physical table size so I can understand to see which table is growing fast and try to come with something that would explain why we are seeing about 500 GB of database size for a SAP Java PO System.
Thanks for all the help.
Kumar

Hello,
As very simple bit of SQL that you can adapt to your needs.
select table_name, round(table_size/1024/1024) as MB, table_type FROM SYS.M_TABLES where table_size/1024/1024 > 1000 order by table_size desc
select * from M_CS_TABLES where memory_size_in_total > 1000 order by memory_size_in_total desc
It's just a basic way of looking at things but at least it will give you all tables greater than 1GB.
I would imagine others will probably come up with something a bit more eloquent and perhaps better adapted to your needs.
Cheers,
A.

Similar Messages

  • Way to find Missing table Index in SAP ?

    Hi All,
    Is there any way to check missing tables index in SAP?
    and also DB size ? and reorganize the index and tables?
    Cheers
    Usman

    Hi Usman,
    Transaction <b>SE14, DB02</b> .. program to reorganize the index and tables .. <b>Report RSSDBREO </b>
    Db Size :<b>Tr.DB02</b> Perform DB Check and you will get the size.
    Or you can check on your database server sap data files systems. so you will know gross size of your DB.
    Thanks
    Saquib Khan
    Message was edited by: Saquib Khan

  • How to reduce the size of System tables(RS*) in SAP BW?

    Hi All,
    We need to reduce the size of a system tables(RS*) in SAP BW system without impacting anything to system.
    Could you please let us know is there any Global program/Function module to do the same.
    If not if you know any individual program or other way to reduce the system table size it will be very much useful.
    Sample System tables(RS*) are given below.
    RSHIENODETMP
    RSBERRORLOG
    RSHIENODETMP~0
    RSBMNODES
    RSBKDATA
    RSBMNODES~001
    RSRWBSTORE
    RSBMLOGPAR
    RSBERRORLOG~0

    Sudhakar,
    There are tables you can archive / clean up and then there are tables you cannot do anything about. For example - if your system has a million queries - the RSRREPDIR , RZCOMPDIR tables will be large.
    The tables that typically get archived are :
    1. BALDAT / BALHDR - application log tables
    2. Monitor tables - search for Request archiving which will tell you how to archive the same
    The other tables -
    First you would have to understand why they are large in the first place ... if you have too many hierarchies - then some tables can be huge - delete some of the hierarchies you do not need and the table sizes should come down.
    RSRWBSTORE - this is the internal store for workbooks - this will have the last executed version of the workbook stored in the table. This information is called when the workbook is executed without refreshing the variables - which is why you get the workbook output first and then get prompted to refresh the variables.

  • DPM DB table sizes - check

    DPM 2012 SP1 environment.
    I've noticed that our DPMDB size reached 40GB (plus 15GB log), which seemed bit high (personal feeling, not based on any data), so I've checked table sizes and sorted them by the space used and the 2 largest tables are tbl_TE_TaskTrail (~18GB) and tbl_RM_RecoverySource
    (14GB).
    What exactly is contained in these DBs and are their sizes normal (as in proportional to the overall DB size)?

    Hi,
    The SQL job will run very quickly as it just triggers the DPM task.
    lets get some verbose tracing and see if we can find where we're failing under the covers.
    1) Stop and disable the MSDPM service.
    2) Delete or move all the MSDPM*.errlog files
    3) Open regedit and add the following value to enable verbose logging for MSDPM
      Location: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Data Protection Manager
       Name:       MSDPMTraceLogLevel 
       Type: REG_DWORD
       Value:     0x43e
    4) Re-Enable the MSDPM service.
    5) Run the below SQL Script to get the nightly maintenance job that runs at midnight.
    USE DPMDB        
    SELECT SCH.ScheduleId as "SQL JOB ID", SCH.JobDefinitionId,sch.ScheduleXml,JD.Xml
    FROM tbl_JM_JobDefinition JD
    JOIN tbl_SCH_ScheduleDefinition SCH
        ON JD.JobDefinitionId = SCH.JobDefinitionId
    WHERE JD.Type = '282faac6-e3cb-4015-8c6d-4276fcca11d4' -- summary manager
    AND JD.IsDeleted = 0
    AND SCH.IsDeleted = 0
    It will return the SQL Job ID - locate that job under the SQL Server Agent - Jobs.
    6) Run the SQL job manually by Right-clicking and select "Start job at step..."
    7) After 10 minutes, run the following from an administrative command prompt from where the new msdpm*.errlog is located.
       find /i "GarbageCollector.cs" msdpm*.errlog >GarbageCollector.cs.txt
    8) Open the GarbageCollector.cs.txt in notepad and see if you can find the entry where the dbo.tbl_TE_TaskTrail is being cleaned up.  It should show the number of rows effected
    Look for:  DELETE FROM dbo.tbl_TE_TaskTrail WHERE IsGCed = 1
    You can look at other entries and see if there are any errors in there that would prevent garbage collection of that table from occurring.
    9) Remove or rename the MSDPMTraceLogLevel from the registry and restart MSDPM to disable verbose logging.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Preinstall check failed - Unable to install SAP HANA Client

    Hi all,
    Recently I had to format my system and after loading the Windows 8 I downloaded the SAP HANA Client, SAP HANA Studio and SAP HANA JDBC Drivers for re-distribution from https://hanadeveditionsapicl.hana.ondemand.com/hanadevedition/ into the default folder which is C:Programfiles:SAP HANA Client and Studio
    I installed the client and then the studio and then clicked on the executable ngdbc.jar file and clicked on ok.
    Then I went to SAP HANA 70 client win32 folder and clicked on the hdbsetup to load client. I am getting the following error:
    Preinstall check failed
    SDB::Install::System::getMountPointWin: Malformed file path normalization: "ngdbc.jar"
    Can any one please explain what this error is and how do I fix this error. I searched in the forum but could not find anything related to this error.
    Thank you.
    Regards
    Pavan.

    I am posting the results of my issues here, to be sure this is documented.
    Close all applications
    Uninstall SAP/b1 and all related components
    Delete folder X:\Program Files\sap
    Delete folder X:\Program Files (x86)\sap
    Open REGEDIT and clean out all parent keys where "HANA" appears
    Install the SAP/b1 client first!
    Run the HANA Client installation "...as Administrator"
    When the installation runs, it should default to "Install new"
    Make sure you set/select the folder path properly to show X:\Program Files\sap\hdbclient
    Once the clean-up was finished and the install was restarted, it installed without any issues.
    Thanks,
    ~ terry o.
    NOTE: Updated path 03/09/2015

  • How to check one table exist or not in SAP

    Hi, Gurus:
    How to check one table exist or not in the SAP.
    Thanks,

    Hi,
    Query the table DD02L..
    Select single * from DD02L where tabname = 'Your table name'
                          AND TABCLASS = 'TRANSP'.  " For transparent tables.
    Thanks
    Naren

  • Sap script '' how to create table frame in sap script"""

    i have some problem in sap script''  how to create table frame in sap script"""

    Hi,
    you can use BOX command..
    Syntax
    /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
    Effect: draws a box of the specified size at the specified position.
    Parameters: For each of XPOS, YPOS, WIDTH, HEIGHT and FRAME both a measurement and a unit of measurement must be specified. The INTENSITY parameter should be specified as a percentage between 0 and 100.
    1. XPOS, YPOS: Upper left corner of the box, relative to the values of the POSITION command.
    Default: Values specified in the POSITION command.
    The following calculation is performed internally to determine the absolute output position of a box on the page:
    X(abs) = XORIGIN + XPOS
    Y(abs) = YORIGIN + YPOS
    2. WIDTH: Width of the box. Default: WIDTH value of the SIZE command.
    3. HEIGHT: Height of the box. Default: HEIGHT value of the SIZE command.
    4. FRAME: Thickness of frame.
    Default: 0 (no frame).
    5. INTENSITY: Grayscale of box contents as % .
    Default: 100 (full black)
    Measurements: Decimal numbers must be specified as literal values (like ABAP numeric constants) by being enclosed in inverted commas. The period should be used as the decimal point character. See also the examples listed below.
    Units of measurement: The following units of measurement may be used:
    • TW (twip)
    • PT (point)
    • IN (inch)
    • MM (millimeter)
    • CM (centimeter)
    • LN (line)
    • CH (character).
    The following conversion factors apply:
    • 1 TW = 1/20 PT
    • 1 PT = 1/72 IN
    • 1 IN = 2.54 CM
    • 1 CM = 10 MM
    • 1 CH = height of a character relative to the CPI specification in the layout set header
    • 1 LN = height of a line relative to the LPI specification in the layout set header
    /: BOX FRAME 10 TW
    Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).
    /: BOX INTENSITY 10
    Fills the window background with shadowing having a gray scale of 10 %.
    /: BOX HEIGHT 0 TW FRAME 10 TW
    Draws a horizontal line across the complete top edge of the window.
    /: BOX WIDTH 0 TW FRAME 10 TW
    Draws a vertical line along the complete height of the left hand edge of the window.
    /: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15
    /: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW
    /: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
    /: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
    Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.
    check the fallowing link also
    http://help.sap.com/saphelp_40b/helpdata/en/d1/803293454211d189710000e8322d00/content.htm
    Mark the points if u find it useful...
    Regards,
    Omkar.

  • Enqueue Replication Server - Lock Table Size

    Note : I think I had posted it wrongly under ABAP Development, hence request moderator to kindly delete this post. Thanks
    Dear Experts,
    If Enqueue Replication server is configured, can you tell me how to check the Lock Table size value, which we set using profile parameter enque/table_size.
    If enque server is configured in the same host as CI, it can be checked using
    ST02 --> Detail Analysis Menu --> Storage --> Shared Memory Detail --> Enque Table
    As it is a Standalone Enqueue Server, I don't know where to check this value.
    Thanking you in anticipation.
    Best Regards
    L Raghunahth

    Hi
    Raghunath
    Check the following links
    http://help.sap.com/saphelp_nw2004s/helpdata/en/37/a2e3ab344411d3acb00000e83539c3/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/44/5efc11f3893672e10000000a114a6b/content.htm
    Regards
    Bhaskar

  • Lock table size change in instance profile RZ10

    i need your help. I changed the table size from 10000 to 17000 and then to 20000 but still have the same table size as before.i used rz10 to change the parameter enque/table_size.
    the steps i followed are as in all documents i can find.
    1. change parameter value
    2. save it (parameter and instance)
    3. activate it.
    4.on restart instance (i just left it for the offline backup to do this).
    on the 4th step is that enough, because after the system came back i checked the parameter in rz11 and the current value on the parameter is still 10000. (owner entries and granule still 12557 as before)
    am i missing something?
    vinaka
    epeli

    Hi,
    it COULD be that the offline backup did indeed no restart of the instance. From Oracle I know that there is a so called "reconnect-status" where the SAP instance is trying over a defined period of time to log to the database again after the workprocesses lost connection to the database processes. In this timeframe the instance is not to be considered as restarted.
    If you check ST02 you see the point of time where the instance was restarted in reality the last time. If this date is before your offline backup you need to do the restart manually.
    Best regards, Alexander

  • Do we have some way to reduce Dimension table size using NLS?

      Initially we thought the Cube
         archive in NLS would be like:
    Replicate Cube in NLS with DAP.  DAP creation will create a new structure same like "Star Schema".
    While we load data to NLS it deletes from DB.
    And hence it reduced size of the DB.
    Associated Dimensions will also be replicated in the NLS.
    After actually implementation we found :
    Fact table size is reducing and DB size with associated E/F fact table is reducing
    Dimension tables are still there in DB, and still saving space in DB.
    Do we have some other way to reduce Dimension table size using NLS?
    As when we are analyzing top 100 tables in SAP BW, we are seeing multiple dimensions are part
    of this list.
    Thanks,
    Jaydip

    Hi Jaydip,
    Please check below link it might be helpful for you.
    http://www.informatik.uni-jena.de/dbis/lehre/ss2011/dbarch/SAP_BW_DB2_NLS_22062011.pdf

  • Solution Manager Monitoring Table Size

    Hi Gurus!
    Question for you!
    Is there a way to monitor the size of a table, or even the number of registers that it has, or anything like it?
    The problem is that in several ocasions the size of tables gets too big that we end up having to delete old information or archive them, and I wanted to know about this before it becomes a problem.
    Thanks in advance and BR,
    Lucas

    Hello,
    Did you check this link http://help.sap.com/saphelp_nw70/helpdata/en/f0/02a63b9bb3e035e10000000a114084/frameset.htm on sap Help portal.
    Hope this will help.
    Regards,
    Benjamin

  • Lock table overflow in SAP

    We are tyring to execute a transaction and it is giving the error Lock table overflow, Though the  enque/table_size parameter is set to 96,000 KB which i guess good enough.
    Can you please suggest.
    Thanks,
    Chandu

    Hello Chandu,
    how many records this transaction is locking?
    SAP Note 746138: Analyzing lock table overflows, describes how to analyze this issue.
    Are you using Standalone enqueue? If that's the case check that the enqueue table size is defined in the ASCS instance.
    kind regards,
    Mercedes

  • How to Export/Import HANA table data.

    Hello,
    I try EXPORT HANA table.
    I try to export a table by using the HANA Studio on the client PC.
    but does not work.
    the following steps:
    HANA Studio
    <table> > Export > Select tables for export > Next >
    Error message : "Choose a location"
    There is the question
    Export possible? HANA database table by using client PC(HANA Studio).
    Best regards,
    Hosoya

    Hi Hosoya,
    Which version of the HANA server/studio you are using? I checked in Revision 24 and was able to do the table export as follows:
    Quick Launch>Export>SAP HANA Studio>Tables>'Select the server'>'Select the table'>Export table options
    In Export Table options screen we can specify either the Server Location as 'Export Tables on Server' or to the client location
    as 'Export tables to current client'
    Note: The server and studio I use are on different servers.
    Regards, Rahul

  • Is it possible to see decrease of table size & size of tablespace

    Hello
    I wander is it possible to see decrease of table size & size of tablespace(in db02 or in brtools). I have in mind decrease due to archiving in XI.
    Thank you in advance

    Hi,
    Yes it is possible to decrease of table size & inturn size of tablespace.
    You can go for table reorg.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70c8f19f-8010-2c10-ac89-8d828039d8b4.
    Check SAP Note 541538 - FAQ: Reorganization
    Also
    1.From DB02--> detail analysis menu you can take out top 50 tables & indexes. you can mark the size of the index should be generally less than the table.If its more or very much similar size of table, you can rebuild it using SE14. This can free some space.
    or else you may use brspace to do this.
    http://help.sap.com/saphelp_nw70/helpdata/EN/58/6bec38c9fa7e44b7f2163905863575/frameset.htm
    In case of table this option is risky as it may result in data loss.
    2. Earlywatch alert gives the top 20 degenrated index. you can check that which also gives a factor 'storage quality'.
    3. Run report SAP_DROP_TMPTABLES. It removes temporary database objects. ( we do this in our BW system)
    Hope this helps.
    Thanks,
    Sushil
    Edited by: Sushil Suryawanshi on May 25, 2009 1:30 AM

  • How to check the file size before loading it to the context

    Hello,
    I have an application to upload a file and write it to the server using the FileUpload UI and IWDResource Interface.
    I would like to limit the size of the file the user is uploading to, say, 2MB.
    The problem is that the current API doesn't allow me to check the file size before I store it in IWDResource. The API available for IWDResource:
    IWDResource resource = ...
    InputStream stream = resource.read(false);
    size = stream.available();
    Is working on the file only AFTER storing it in the context and the server's memory. This way, if a user decides to upload 1GB file for example, he can easily crash the server.
    I am already familiar with <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71">this</a> arcticle but it doesn't answer this question as well, all it does is calculating the file size only after storing it in the context.
    Any ideas...?
    Roy

    Hi Ram,
    Have you activated your Objects ?
    You need to activate your objects in order to see them in RWB.
    Thanks & Regards,
    Varun Joshi

Maybe you are looking for