How to find the size of a Oracle 11g table

I want to find the size of a table in Oracle 11g.
I hope, my question is clear.
Please revert with the reply to my query.
Regards

--- List all tables sorted by size
set lines 100 pages 999
col     segment_name     format a40
col      mb           format 999,999,999
select     segment_name
,     ceil(sum(bytes) / 1024 / 1024) "MB"
from     dba_segments
where     segment_type = 'TABLE'
group     by segment_name
order      by ceil(sum(bytes) / 1024 / 1024) desc
--- List all tables owned by a user sorted by size
set lines 100 pages 999
col     segment_name     format a40
col      mb           format 999,999,999
select     segment_name
,     ceil(sum(bytes) / 1024 / 1024) "MB"
from     dba_segments
where     owner like '&user'
and     segment_type = 'TABLE'
group     by segment_name
order      by ceil(sum(bytes) / 1024 / 1024) desc
/

Similar Messages

  • How to find the size of a database?

    I'm not an oracle dba but a report developer. I'd like to find out the size of my database.
    Is this possible using simple query?

    francislazaro wrote:
    I'm not an oracle dba but a report developer. I'd like to find out the size of my database.
    Is this possible using simple query?There are many threads related to the same topic,
    http://forums.oracle.com/forums/search.jspa?threadID=&q=How+to+find+the+size+of+a+database&objID=f61&dateRange=all&userID=&numResults=15&rankBy=10001
    HTH
    Aman....

  • How to find the size of an arrayList through Expression Builder.

    Hai OTN,
    How to find the size of an arrayList through Expression. I have a managed bean in View Scope.I am using Jdeveloper 11.1.1.2 with ADF Faces components.
    Managed Bean :
    ArrayList<IllnessEmployeesObj> employeeGridList =
    new ArrayList<IllnessEmployeesObj>();
    JSPX :
    Value="#{viewScope.PandIVH.employeeGridList.size}"
    Error : java.lang.NumberFormatException: For input string: "size"

    Hi Dinil,
    I have provided you with a sample that would show you the how you can get the size of an arraylist
    the sample has a page untitled1 and a bean named test.
    I have run in on jdev 11.1.2 and it is ok, it will be ok on 11.1.3
    after running the sample you will see the 2.
    please remember that you must add the JSTL taglib on the viewcontroller.
    just right click on viewcontroller, go to tag lib select the jstl.
    page
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
    <f:view>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>untitled1</title>
    </head>
    <body>
    <h:form>
    <h:outputText value="#{fn:length(test.a)}"/>
    </h:form>
    </body>
    </html>
    </f:view>
    bean
    import java.util.ArrayList;
    public class Test {
    public Test() {
    a= new ArrayList();
    Object o=new Object();
    a.add(o);
    a.add(o);
    ArrayList a;
    public void setA(ArrayList a) {
    this.a = a;
    public ArrayList getA() {
    return a;
    I hope this sample came handy.
    regards,

  • How to find the size of the pipe. I mean the total number of bytes/messages available in the named pipe?

    How to find the size of the pipe. I mean the total number of bytes/messages available in the named pipe?
    NAVEEN

    I'm afraid this forum for Microsoft Project Customization and Programming  is not the correct forum for your question. Please Choose correct forum in order
    to get help from experts. I think your question is more relevant to SQL server
    kirtesh

  • How to reduce the size of cloned Oracle Applications Instance

    How to reduce the size of cloned Oracle applications instance, so as to save the storage space for the cloned systems.
    How can we remove unimplemented modules in the instance so that we can reclaim the space occupied by them.
    can any please suggest on this..?

    mumbai,
    I would recommend to leave it as it is.
    If you can add some inexpensive HDD to your test system then do so.
    The Apps DB storage decreasing process is quite painful and isn't straightforward.
    You can’t just delete unused schemas & tablesapces (if they are not used than they are not consuming reasonable space anyway). The modules in Apps are using each other procedures and objects. The effect of deleting one module (schema) is highly unpredictable.
    If you will do something like that than you will not be able to patch your cloned system after that.
    Some things can be done however in order to reduce size of a testing Apps system:
    - Decries UNDO & TEMP tablespaces. Normally you do not need that big tbs in test system as you have got in the production.
    - If your REDO LOG files are quite big and you have got a lot of redo groups you can recreated smaller REDO log files.
    - On Apps tier you can delete OUTput and LOG files
    In case you still would like to decrease data volume in your testing system you need to take a look on some tools which provide data subtracting capabilities from Apps DB. This process has to be quite intelligent. The tool have to know the data structures in APPS DB and subtract data in the way to not harm logical relationships between records. After a subtracting process you will need to make multiple FULL exp/imp cycles in order to reduce physical space consumed by the database. Beside the fact that those tools are quite expensive you will need to spend a lot of your time to implement those.
    BTW: That is the size of you production DB? Have you analyzed which module takes most of the space? May be you can identify top 10 objects and try to archive a data from those object preventing the future grow of the production database.
    Just my 0.02£
    Yury
    Check this out:
    A.
    http://www.freelists.org/archives/ora-apps-dba/05-2006/msg00000.html
    B.
    - Users can subscribe to your list by sending email to
    ora-apps-dba-request_at_freelists.org with 'subscribe' in the Subject field
    C.
    http://www.freelists.org/archives/ora-apps-dba/05-2006/threads.html

  • How to find the structure fields data in database tables?

    how to find the structure fields data in database tables?

    Your question doesn't appear to be Web Dynpro ABAP related. Please only post questions in this forum if they are directly Web Dynpro ABAP related.  There are several other more general ABAP related forums.

  • Where can I find the syntax guide for Oracle 11g?

    Sooooo frustrating...I've perused the Oracle site, have done Google searches, and cannot seem to find the syntax guide for Oracle 11g. Can someone provide me the URL or clue me in as to where it might be buried? Am I just being stupid???
    Thanks in advance for your review and am hopeful for a reply.
    PSULionRP

    the syntax guide for Oracle 11gWhat does that mean exactly ? Maybe the Reference guide ?

  • How to find the size (in Mb) of a project in Aperture 3?

    I do not know a quick way to find the size of the originals e versions in a project in Aperture 3.  Would any one know how to do this?
    Tks
    Pedro

    Take a look in the "More Like This" section in the right-hand column for discussions about this.
    The answer is: you can't.  Aperture is not so simply structured that you can select a group of Images and "weigh" them.
    If needed, your easiest solution is to export the Images as a new Library and include the Originals.  The size of that Library is more than but close to the size of the Originals and the Versions.
    HTH.

  • How to find the file versions in Oracle applications?

    I am requested by the Oracle applications team to check the versions of the following files.
    POXWPA6B.pls-115.68.11510.6
    POXWPA7B.pls-115.38.11510.7
    I have zero experience in managing oracle applications. I would appreciate if some one could let me know how to find the versions in my server. My DB and the applications are in Linux servers.
    Also would appreciate if some one could provide pointers to handling Application DBA scenario like this.
    Thanks,
    -- Bala

    Here is an example:
    1) /u01/oracle/testappl/po/11.5.0/patch/115/sql>strings -a POXWPA7B.pls | grep -i Header
    /* $Header: POXWPA7B.pls 115.3 1999/11/10 16:10:34 pkm ship       $ */
    /* $Header: POXWPA7B.pls 115.3 1999/11/10 16:10:34 pkm ship       $ */
    2) /u01/oracle/testappl/po/11.5.0/patch/115/sql>adident Header POXWPA7B.pls
    POXWPA7B.pls:
    $Header POXWPA7B.pls 115.3 1999/11/10 16:10:34 pkm ship       $
    $Header POXWPA7B.pls 115.3 1999/11/10 16:10:34 pkm ship       $

  • 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
    );

  • How to find the size of a file or folder

    How can I find the size of a file or folder?
    I am trying to determine the size of my iPhoto and Mail folder.
    It says "Size: --" under general from Get Info.

    It's working fine...
    When you ask for that info, and Finder presents those '--' dashes instead of a value, actually, Finder is calculating the value in background.
    That's something that i recently noticed and wonder why tha heck he needs to do all that work by himself, kinda re-inventing the wheel of file size value "calculus"...
    I posted some thoughts about it here: File / Folder size... How do Finder gets it?
    Will appreciate feedback about this!
    Props!

  • How to find the size of a field

    Can somebody tell how to find the sie of a varchar2 field?
    Thanks.

    SQL> desc global_name
    Name Null? Type
    GLOBAL_NAME VARCHAR2(4000)
    SQL> select global_name from global_name;
    GLOBAL_NAME
    ITFD.XXXXX.CO.XX
    1* select vsize(global_name) from global_name
    SQL> /
    VSIZE(GLOBAL_NAME)
    16

  • How to find the DB schema of XI DB tables to operate on the XI DB table

    Hi all,
    I have to execute some queries on internal XI DB. For this I need the schema name of the DB table where the data about the message is available. Can anyone tell, how to find the DB schema-name of the DB table? I have PI 7.1 system with internalDB.
    How to access the DB of the PI 7.1 system using NWA?
    Regards,
    Soorya

    Hi,
    The PI 7.1 Server shall definitely posses a Database. This Database shall have the ABAP and Java Dictionary tables in 2 different database schemas.You sholud be getting the names of the schema from the basis team supporting your server.
    I hope your are referring to the Java DB Schema for access. In order to get the schema name for the Java Dictionary, you should have access to the NetWeaver Adminstrator (NWA) of the PI Server.
    Logon to NWA, navigate to Configuration Management --> Infrastructure --> Application Resources. Select the Resurce Type to show as JDBC Drivers. Select the system driver and click on Dependent JDBC Datasources. This table should give you the schema name of the Java Table Storage of the PI 7.1 server.
    Regards,
    Alka.

  • How to find the size (and sizelimit) BPS web interface

    Hello.
    We have build an application with the SEM-BPS webinterface builder.
    In the past we had problems with the size off this application. After we had added some new tabs in the application the size limit had been exceeded and the web inteface could not been activated. So we had to remove the new tabs into a new webinterface.
    Now we have to add again some new tabs into the webinterface application. That brings up some questions.
    Wat is the sizelimit of the webinterface application?
    Can we change this limit?
    How can we know the size off the current application?
    How can we find out the size of a separate tab in the webinterface? (So that we can make a prediction of the size which will be added to the web interface)?
    Thanks and regards,
    Eldo.

    Trevor.Dennis wrote:
    John, are there already differences?  I thought 13.1 was mainly about retina display support, but I guess there would also be other fixes released while they were at it.
    Yes, definitely already differences. I sympathize with Photoshop instructors (online and offline).
    The headline change was Retina support but that was also made available to non-Cloud versions.
    Other Cloud-only changes in 13.1 are listed here
    http://helpx.adobe.com/photoshop/using/whats-new.html
    http://psd.tutsplus.com/articles/news/cs6_1/
    Non-Cloud CS6 users have been very vocal and disgruntled about some of these changes.

  • How to find the size of data transferred(migrated) in the receiver system

    Hi all,
    I have successfully implemented time-based reduction Process type using TDMS.
    Now, I want to know the size of the data that was transferred to the receiver system. Is there a way to find out about this?
    Thanks ,
    Mohammed Tauseef Ahmed

    Thanks Eddy for the reply.
    The log shows the message Total data transfer volume (KB): 16.055.606
    How do I interpret  16.055.606 KB, doe this mean 16,055 KB or 16 million KB(which does not look possible)?
    Thanks,
    Mohammed Tauseef Ahmed

Maybe you are looking for

  • Podcasts not syncing correctly w iTunes

    Despite my settings to just sync unplayed episodes of selected podcasts, my iPhone shows ALL podcasts and includes episodes that have been marked as played already, even after syncing. Any solutions on getting the iPhone to work properly? I don't hav

  • PHP/MySQL field recognize carriage returns?

    I'm a novice PHP/MySQL database driven site builder. I need to have users enter text into a field with carriage returns and have the database recognize and store those carriage returns so it displays when the data is displayed on a PHP page. How do I

  • How to identify that my physical standby database in use real time apply?

    Hi, Can any one give me the SQL to identifiy that my physical standby database is in real time applying redo logs? Its urgen please.... Thanks.

  • Sub templates: ?template:TemplateName? shifts content of the template

    Hi, I have a sub template which is defined by the following code: <?template:TemplateName?> Content of a template <?end template?> The subtemplate is called by the following code: <?import:file:///D:/BITemplates/Template.rtf?> <?call@inlines:Template

  • Macbook Pro 17 freezes in Yosemite Mail

    I'm going around in circles with a MacBook Pro 17" after Yosemite was installed. It freezes in Mail and I have to do all kinds of restarts and restore and sometime those don't work. A pink and grey screen with faded Apple logo and run bar show but it