Size of DB table

how to find out the size of the DB-Tables?

check transaction db16/db17
here are db related tx:
DB01 Analyze exclusive lock waits
DB02 Analyze tables and indexes
DB03 Parameter changes in database
DB11 Early Watch Profile Maintenance
DB12 Overview of Backup Logs
DB13 Database administration calendar
DB14 Show SAPDBA Action Logs
DB15 Data Archiving: Database Tables
DB16 DB System Check: Monitor
DB17 DB System Check: Configuration
DMIG Start Transaction for Data Migration
DB2 Select Database Activities
DB20 DB Cost-Based Optimizer: Tab. Stats
DB21 DB Cost-Based Optimizer: Config.
DB24 Database Operations Monitor
DB26 DB Profile:Monitor and Configuration
DB2J Manage JCL jobs for OS/390
DBCO Database Connection Maintenance
~As Find in forum.
Regards,
Amit
Reward all helpful replies.

Similar Messages

  • Displaying the sizes of every table in a database

    Hello All,
    I need to get the table sizes for each and every table in a database.
    I would have checked it manually but there are many number of tables.
    I am using SQL Server 2008 R2.
    Thanks and Regards, Readers please vote for my posts if the questions i asked are helpful.

    Hi,
    Please make habit of searching net before posting or if you dont know how to write a query. A simple search would lead you to
    http://stackoverflow.com/questions/7892334/get-size-of-all-tables-in-database
    SELECT
    t.NAME AS TableName,
    s.Name AS SchemaName,
    p.rows AS RowCounts,
    SUM(a.total_pages) * 8 AS TotalSpaceKB,
    SUM(a.used_pages) * 8 AS UsedSpaceKB,
    (SUM(a.total_pages) - SUM(a.used_pages)) * 8 AS UnusedSpaceKB
    FROM
    sys.tables t
    INNER JOIN
    sys.indexes i ON t.OBJECT_ID = i.object_id
    INNER JOIN
    sys.partitions p ON i.object_id = p.OBJECT_ID AND i.index_id = p.index_id
    INNER JOIN
    sys.allocation_units a ON p.partition_id = a.container_id
    LEFT OUTER JOIN
    sys.schemas s ON t.schema_id = s.schema_id
    WHERE
    t.NAME NOT LIKE 'dt%'
    AND t.is_ms_shipped = 0
    AND i.OBJECT_ID > 255
    GROUP BY
    t.Name, s.Name, p.Rows
    ORDER BY
    t.Name
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • How to change font size in a table?

    How to change font size in a table without using the font style of another document?  Please show a sample script.  Thanks!

    Hi Dave,
    Thank you so much for the email.  I tried every object and method I can
    posibly think about such as
    myTable.Rows.Item(1).PointSize = 24
    myCell.Characters.Item(1).PointSize = 24
    I got error message all the time.  These objects don’t support PointSize.
    All I need is to change point size of the text in InDesign tables created
    using VBScript. Could you help me with this?  Thanks,
    Regards,
    Li

  • How to set image size in a table view

    Hi,
    I've just built a small VC application showing some process chain logs in a table view. For the different status types Error, Warning and Success I show the well-known traffic light icons. But up to now I haven't found out how to set the image size in a table view (height & width field is greyed out for the table). Any ideas? Or is it just not possible?
    Thanks for your help,
    Heiko

    Hello Heiko,
    I don't know, if it is possible, but I would say,
    it's not implemented yet. Maybe you can change the picture size and use then the pictures, that might be a workaround, if you can't change the height and width in VC.
    Best Regards,
    Marcel

  • Need help in analyzing size of a table

    Hi,
    We have a table DUMMY_TABLE which has a clob column. We need to reduce the size of the table by updating the clob column. The table statistics before updating the clob column is showing 2MB of size as mentioned below. After we run the update script to update the clob column, the table statistics are as shown below (table size increased to 33MB). Can you please let us know, why is the table size getting increased after the update script.
    Note: Before the update script the clob column has even bigger data.
    Before running the update script:
    Table Size - 2 MB
    Blocks - 256
    Extents - 17
    After
    running the update script:
    Table Size - 33 MB
    Blocks - 4224
    Extents - 48
    The query which we run to get the statistics is: “SELECT * FROM user_segments WHERE segment_name LIKE 'DUMMY_TABLE'”
    Update script for updating clob column is:
    DECLARE
    data1 clob;
    BEGIN
    data1 :='Dear <%UserFirstName%>,
    Below is the password you requested for the <%Company Name%>.
    Password: <%xxx%>
    To access the login page of the <%Company Name%>, please click on the following web-address:
    <%ApplicationURL%><%UserIdentificationValue%>
    If your email software does not support web links (i.e. clicking on the web-address does not take you directly to the <%Company Name%>), copy the above web-address into the "Address" or "Location" bar of your Internet web-browser in order to access the CareerTracker.
    Sincerely,
    Human Resource Department
    <%Company Name%>
    This is an automated email; please do not reply to this email address.';
    UPDATE DUMMY_TABLE SET data = data1;
    END;

    Take the statistics of the tables and check again.
    begin
    DBMS_STATS.gather_table_stats(ownname=>'syslog',tabname=>'logs');
    end;
    Regards
    Asif Kabir

  • SQL1139n The total size of the table space is too big.

    Hi
    Our R3 QA system runs on Solaris 10, using DB6 822.
    We have now run into a problem, where we cannot extend a table. It is 66GB in size. Because the page file size is 8 kb, the limit is apparently 64 GB (we got it to 66GB).
    It seems we will have to increase the page file size to get past the problem, say 16k or 32k. The question is how?
    So far we have a framework in mind:
    Create new table
    Copy old table into new table
    Drop old table
    Recreate old table with bigger page file size
    Copy new table into old table (now this new /old is getting confusing..)
    Bob's you aunty, or something of that effect...
    Is the thinking correct? If it is I will need much more detail, as I am not too familiar with DB2.
    Thanks in advance!

    hi derik,
    the db6-specific limits for max tablespace/table size are
    64/128/256/512GB for 4/8/16/32KB pagesize.
    for problems like "tablespace/table reaches its pagesize dependent max. size",
    we (DB6 porting team of SAP) have developed a special tool/ABAP report called 'DB6CONV'.
    DB6CONV takes care of everything concerning a table conversion.
    it is in depth described in OSS note 362325. the report itself it delivered by means of a transport, which is attached to note 362325 and/or can be downloaded via sapmats.
    in your case you have to
    a) get the latest DB6CONV transport and import it into your system
    b) create a new tablespace with a pagesize >8k
    c) assign a new data class for this tbsp in tables TADB6 (for data tbsp) and/or IADB6 (for index/tbsp)
    d) run DB6CONV from transaction SE38 as described in note 362325
    to convert(transfer) the table that is at/near the size limit
    by specifying either target tablespaces or target data class
    e) DB6CONV will duplicate the table first into the new tablespace, then copy the data into the newly created table. this can be done either 'offline' (fastes way, but table is not accessible during the conversion) or 'online' (slow, but table is accessible the whole time - despite a short time period when the switch from original to target table is performed)
    please make yourself familiar with the tool and the documentation.
    and feel free to ask if you need more information or have additional questions/remarks.
    regards, frank

  • Warning messages This size of the table appears to be large

    I am getting below warning with search results. this warning appears on the top of the page then followed by results.
    the resuls table has no.records displayed to 25 already. I dont know how to get rid of this warning from the Page. Can some one help?
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.
    This size of the table appears to be large. Verify if the table belonging to this View Object (SOResultVO1) really needs to have a table size of 25. The Application's standard is 25.

    Hi All,
    Any solution on the above issue.
    I am also getting the same issue, but it is a custom form.
    Warning
    This size of the table appears to be large. Verify if the table belonging to this View Object (xxUserDetailsVO1) really needs to have a table size of 50. The Application's standard is 25.
    Thanks
    Badsha

  • Change font size of an table with javascript

    Hello!
    i am new to developing in javascript as well as to indesign. i have to make a few changes to an existing script. in a user dialouge i get the font size in which the imported table should be. but how can i change the font size of an table???
    please respond as soon as possible. thanks very much in advance.
    moketas

    Hi
    do you want do like this (rightside) ?
    To apply font to each cell, you must access TextFrame => Table => Cell => any TextObject
    var doc = app.documents[0];
    // two textframes, they have a table (2x2)
    var tf_one = doc.textFrames[0];
    var tf_two = doc.textFrames[1];
    //applied to story
    tf_one.parentStory.appliedFont = "Myriad Pro\tLight";
    tf_one.parentStory.pointSize = 24;
    //not effective against table text
    //applied to text-object of each cells of table
    tf_two.parentStory.tables[0].cells.everyItem().texts[0].appliedFont = "Myriad Pro\tBold";
    tf_two.parentStory.tables[0].cells.everyItem().texts[0].pointSize = 24;
    thank you
    mg.

  • How to get the size of the table

    Hi All,
    How to get the size of the table in Oracle 10g?
    Is there any script which needs to be run?
    Regards,
    Apoorv

    Hi All,
    Sorry but somehow the table user_segments is not populated in my case. But we have another table SYS.ALL_TABLES whose structure is given below. Would I be able to calculate the table size based on the columns given below:
    ColumnName     Data Type
    OWNER     VARCHAR2 (30 Byte)
    TABLE_NAME     VARCHAR2 (30 Byte)
    TABLESPACE_NAME     VARCHAR2 (30 Byte)
    CLUSTER_NAME     VARCHAR2 (30 Byte)
    IOT_NAME     VARCHAR2 (30 Byte)
    STATUS     VARCHAR2 (8 Byte)
    PCT_FREE     NUMBER
    PCT_USED     NUMBER
    INI_TRANS     NUMBER
    MAX_TRANS     NUMBER
    INITIAL_EXTENT     NUMBER
    NEXT_EXTENT     NUMBER
    MIN_EXTENTS     NUMBER
    MAX_EXTENTS     NUMBER
    PCT_INCREASE     NUMBER
    FREELISTS     NUMBER
    FREELIST_GROUPS     NUMBER
    LOGGING     VARCHAR2 (3 Byte)
    BACKED_UP     VARCHAR2 (1 Byte)
    NUM_ROWS     NUMBER
    BLOCKS     NUMBER
    EMPTY_BLOCKS     NUMBER
    AVG_SPACE     NUMBER
    CHAIN_CNT     NUMBER
    AVG_ROW_LEN     NUMBER
    AVG_SPACE_FREELIST_BLOCKS     NUMBER
    NUM_FREELIST_BLOCKS     NUMBER
    DEGREE     VARCHAR2 (10 Byte)
    INSTANCES     VARCHAR2 (10 Byte)
    CACHE     VARCHAR2 (5 Byte)
    TABLE_LOCK     VARCHAR2 (8 Byte)
    SAMPLE_SIZE     NUMBER
    LAST_ANALYZED     DATE
    PARTITIONED     VARCHAR2 (3 Byte)
    IOT_TYPE     VARCHAR2 (12 Byte)
    TEMPORARY     VARCHAR2 (1 Byte)
    SECONDARY     VARCHAR2 (1 Byte)
    NESTED     VARCHAR2 (3 Byte)
    BUFFER_POOL     VARCHAR2 (7 Byte)
    ROW_MOVEMENT     VARCHAR2 (8 Byte)
    GLOBAL_STATS     VARCHAR2 (3 Byte)
    USER_STATS     VARCHAR2 (3 Byte)
    DURATION     VARCHAR2 (15 Byte)
    SKIP_CORRUPT     VARCHAR2 (8 Byte)
    MONITORING     VARCHAR2 (3 Byte)
    CLUSTER_OWNER     VARCHAR2 (30 Byte)
    DEPENDENCIES     VARCHAR2 (8 Byte)
    COMPRESSION     VARCHAR2 (8 Byte)
    DROPPED     VARCHAR2 (3 Byte)

  • How can I know the size of DB Table

    Hi, Guys,
    1. How can I know the size of the DB Table in terms of kb
    2. If I delete some records from the Table, does the actual size of the Table remains  same or will it be reduced.
    3. If size remains same after deletion, how to reduce the size ( i.e. occupied space).
    thanks
    Mahesh

    Hi
    1. How can I know the size of the DB Table in terms of kb
    There is no precise method/tcode/program to know the Table size of a tables.
    Just based on the record size of a table(say for example 2kb), and if 200 records are there then, we roughly assume that it occupied 400 kb.
    All the tables are stored in Table spaces.
    2. If I delete some records from the Table, does the actual size of the Table remains same or will it be reduced.
    Time being it remains same. it won't get reduced immediately
    during some next DB reorganisation it gets reorganised by reducing it.
    3. If size remains same after deletion, how to reduce the size ( i.e. occupied space).
    during next DB reorganisation it gets reorganised by reducing it.
    Reward points if useful
    Regards
    Anji

  • Checking the total size of a table with VARARRAY objects

    Hi,
    I have a table PEARSON_RESULTS which stores some 3-4 fields along with a VARARRAY object. I have prepared this table using a plain relational table (which contained no VARARRAY object) as input. The plain relational table has segment size of 6GB. But when I run query
    sql> SELECT SUM(BYTES) FROM USER_SEGMENTS WHERE SEGMENT_NAME = 'PEARSON_RESULTS'
    This query result is just 2MB . Therefore I guess that the VARARRAY objects might be stored in some other segments (other than the primary table) which I am not aware of.
    Could someone please tell me how to calculate the size of a table having VARARRAY column correctly.
    Thanks,
    Anuj

    If the VARRAY is stored as a LOB, you can query DBA_LOBS to get segment_name and segment_sizes for related LOBs.

  • How to find the size of a Table

    Dear all,
    How can i find the size of a table in a schema and size of the schema also.
    Thanks
    Mahi

    Try out with the help of this package, which will give out the total bytes, unused bytes, calculate the free bytes from total byes-unused bytes.
    dbms_space.unused_space(
    upper(oname),upper(tbname),upper('TABLE'),
    total_blocks, total_bytes,
    unused_blocks, unused_bytes,
    last_used_extent_file_id ,
    last_used_extent_block_id,
    last_used_block
    );

  • Why there is a huge difference between a row size on a disk based table and a row size in memoptimized table of SQL 2014?

    Hi All,
    I have two table with similar structure and data, one is on disk and the other is in memory. I somehow calculated the difference between a row size of on disk and in memory table and found that the row size of in memory is 700 Bytes more than the disk based
    tables.
    aa

    As others mentioned, memory optimized tables and disk based tables have different structures in SQL Server 2014.
    For memory optimized tables, the number of indexes on table also contribute to the size. You can calculate the exact size of rows and thus the table size using the formula given in the below articles
    Table and Row Size in Memory-Optimized Tables
    Estimate the Size of a Table
    Krishnakumar S

  • How can we find size of a table having blob columns

    I have a problem in which i need to get the size of table that ishaving BLOB column in it.
    How to find the size?
    for ex: i am having a table DocBlob which is having a BLOB column DocObject. How to get the size of DocBlob table?
    Also how one can see the data of the BLOB column. In toad or Pl/Sql dev tool, we can not see anything. here we use to store the images in it. how we can verify that what image or data is stored in these columns??
    thanks..

    Tables are segments. LOB Segments are segments.
    SELECT blocks or bytes FROM user_segments
    You can also use dbms_lob.getlength to retrieve the length of a LOB.
    http://www.morganslibrary.org/reference/dbms_lob.html

  • Size of dimention table  fact table ratio  question..

    Hey Guys !!!
    I have  very basic question regarding the ratio of size of dimention table and fact table..
    its mentioned that the ratio of dim table / fact table  sizes should not be greater than 1:20 for performance reasons .. thats OK..
    now lets say if i have fact table with customer dim_id ,some other dimention ids , and revenue (KF) .. with 1 million records ..
    so ideally my customer dimention table should not have more than  200,000 recods (.ie 200,000 different customers ).
    doesnt this put limitation on number of customers in a cube ?
    if so, how do we handle this ?
    please correct me if i am wrong  in interpreting the concept of dimension table.
    thanks in advance
    swapnil

    Hi ASRao ,
    thanks  for replying ...
    you said exactlly what i know  ..
    sorry i didnt put my question in correct prespective ...
    whay i meant was...
    lets say  , i need to have more than specified (1:20 ) number records in dimension table ,it will definately hamper my reporting performance ...
    so, is there any solution to handle this kind of problem ?
    like how would i maintain my efficiency of reporting in this case ?
    thanks in advance

  • Size of schema / table / index

    Hi,
    Is there some direct queries or DBA views to find the following
    1. current size of a particular schema
    2. used, max, free size of a particular schema
    3. size of each index in a schema
    4. size of each table in a schema
    TIA
    regards,
    Prakash

    Alok,
    dba_free_space doesn't give any clue at the schema level.
    Prakash,
    1. sum(bytes) from dba_segments where owner='YOURUSER'
    2. not clear for me what do you want here.
    3. user_segments (or dba|all_segments with owner) and segment_type like 'INDEX%'
    4. user_segments (or dba|all_segments with owner) and segment_type like 'TABLE%'
    Nicolas.

Maybe you are looking for

  • Sound gone after security update!

    I just ran the latest security update (2006-2) on my wife's Intel Core Duo Mini and the sound device is no longer available. No start up chime. No sound what so ever. The volume level does not even appear in the menu bar and the volume keys on the ke

  • How to get Purchased Ringtones back on iphone, How to get Purchased Ringtones back on iphone

    I purchased 4-5 ringtones over a period of time and got my phone replaced in england since then i dont have them on my phone how do it get them back ? Please help

  • ICWC document emailed with no extension or PDF corrupted.

    CRM 5.0 SP11. 1. We access a document in the inbox and an attached document exist & agent has visbility to the document in the Document Search (order ack, invoice) saved in CMS as OTF files. 2. Agent can click the hyper link and see the document (Goo

  • MBP froze now screen is very dimmed but still on froze screen

    Hi guys, earlier today I was using my 2012 MBP with not too many programs open. The computer then froze and I let it sit for a bit but it was still frozen. I then shut the computer lid and then the screen was black. I had thought it was turned off bu

  • Performance problems using BPM

    Hello all, We have Request/Reply interface using the JMS adapter towards the SAP R/3 system. So the interface has 3 steps : 1. Request from JMS adapter - Asynchronous 2. Request/Reply using RFC adapter towards the R/3 - sync 3. Reply to JMS adapter -