How many tables are in my database

I wanted to check how many tables I have so I ran the following query to list all of the tables in all of the tablespaces.
select t.table_name, df_name from dba_tables t, v$tablespace df
where t.tablespace_name = df.name;
I got back 34377 tables or records.
but if I wanted to count the number of tables I have I could run the following command.
SQL> select count(*) from dba_tables;
I got back 34700 tables.
Can anyone tell me why these numbers don't match or what I am missing here?

Also you can try to count them regarding to your tablespace which is better
SELECT COUNT(*),tablespace_name  FROM USER_TABLES group by tablespace_name;also Laurent Schnieder provide with way that you count your tables in specific schema like the following :
SQL> select
  2    table_name,
  3    to_number(
  4      extractvalue(
  5        xmltype(
  6     dbms_xmlgen.getxml('select count(*) c from '||table_name))
  7        ,'/ROWSET/ROW/C')) count
  8  from user_tables;http://www.dba-oracle.com/t_count_tables_schema.htm

Similar Messages

  • How can i check how many tables are in my database?

    Hi Guyz,
    If any body can tell how can i check how any and which tables are in my database.how big are they.and who are the owners.
    Thanx in advance,
    Navneet Kaur

    hi,
    how any and which tables.select count(*) from dba_tables;
    how big are they.and who are the owners.select a.owners,a.table_name,sum(b.bytes)/1024/1024/1024 from dba_tables a, dba_segments b
    where a.table_name=b.segment_name
    group by a.owner
    regards
    Jafar

  • How many tables are created in Master data loading ( Including hierchy )

    hi ,
    Please anybody , can you tell us how many tables are created in Master data loading ( Including hierchy )
    thanks
    Phani

    Hi PP,
    Depending upon the definition of an infoobject, the tables are created when the objects are activated.
    /BI<C OR DIGIT>/<TABLE CODE><INFOOBJECT>
    <C or digit>: C = Customer-defined InfoObjects
    digit = SAP-defined InfoObjects
    <table code>: S = SID table
    T = Text table
    P = Time-independent master data attributes
    Q = Time-dependent master data attributes
    M = Union of time-dependent and time-independent master
    data attributes
    X = SID table for time-independent navigational attributes
    Y = SID table for time-dependent navigational attributes
    H = Hierarchy table
    K = Hierarchy SID table
    I = Hierarchy SID structure table
    J = Hierarchy interval table
    Thnaks...
    Shambhu

  • How many table are affected when sales order creation(O2C)

    Hi all,
             HOw many table are affected when sales order creation, can any one please help ,and please give me a description indepth please please. I know some of the table affected
    Thanks&Regrads,
    Surya

    Hi Kantur Shekar madhuri,
    Would you confirm the whether in your schedule line category is activated for "Product Allocation" or not.
    if not please activate and re run your scenario.
    Regards
    Arun

  • How many tables are created?

              How tables does weblogic (7.0) create in database when using JMSJDBCStore? According
              to the DDL, there are only two tables; JMSSTORE and JMSSTATE.
              Jeba
              

    That's it. Two.
              And in the next release (named 9.0?) it will likely
              go down to one.
              Tom, BEA
              Jeba Bhaskaran wrote:
              > How tables does weblogic (7.0) create in database when using JMSJDBCStore? According
              > to the DDL, there are only two tables; JMSSTORE and JMSSTATE.
              >
              > Jeba
              

  • How many tables are there in Infocube

    Hi Experts,
    Apart form Facttable and Infocube is there any other table in the Infocube. 
    Can any one help on this it is very urgent.
    Cheers
    Vara

    Hi Vara,
    How are you doing?
    You can check the number of tables generated for a cube.
    Go to SE11 transaction.
    In the table name field, give <Cube Name>
    Press F4.
    In the popup screen, you will see the list of all related tables for the given cube.
    Please refer to the below example. You can find the answer.
    If your cube name is "TEST", it can have the below tables generated based on the number of dimensions it has.
    Dimension related (Max 13):
    /BIC/DTEST1
    /BIC/DTEST2
    /BIC/DTEST3
    /BIC/DTEST4
    /BIC/DTEST5
    /BIC/DTEST6
    /BIC/DTEST7
    /BIC/DTEST8
    /BIC/DTEST9
    /BIC/DTESTA
    /BIC/DTESTB
    /BIC/DTESTC
    /BIC/DTESTD
    Predefined dimensions:
    /BIC/DTESTP (Data Package dimension)
    /BIC/DTESTT (Time dimension)
    /BIC/DTESTU (Unit dimension)
    Request related:
    /BIC/ETEST ( E tbale for compressed data)
    /BIC/FTEST ( F table for independent requests)
    Get back to me if you still have any issue.
    Regards,
    Sashi

  • How much documents are therein the database maxdb???

    Hi,
    My boss wants to know how many documents are in the database......how can I know???
    Thanks in advance!!
    Nerea.

    Hello Nerea,
    first of all it would be good to know which application you are using.
    Are you talking about a content server?
    We could tell you how many rows are in which table - but I'm not sure if that corresponds to your documents.
    It might be best to check with the application, how and where they store these docments.
    Regards,
    Melanie

  • How to check how many tables used in one particular program

    Hi Gurus,
          I am wondering how to check for how many tables are used for one particular  program whether its a custom (Y* or Z* program) or
    a sap program (R*) .I have tried ST05 .But its not satisfactory .Could u help me plz in this  regard .
    Thanks in Advance !!!!!!!!

    hi,
    Go with the transaction se80
    select type as the Progarm
    in the below block provide your program name.....
    there u can find the drop down of your object related tables, types, fields, etc.....go with the tables u can find the respective information of the tables....
    or
    go with the se30
    and enter the program name...
    and go with the trips and tricks....
    u can find the drop down of the
    abap objects performanceexamples....
    and go with the required thing.....
    then u can find the required....
    Cheers,
    Brahma

  • How many instance are running ?

    Dear Friends ,
    how do i figure out how many instance are running on database? OR , How many database are running in a server ? Is it possible to find out from 'os' or 'database' level ?
    Waiting for ur kind reply ... ...
    Edited by: shipon_97 on Sep 4, 2008 10:38 AM

    Hi,
    On unix/linux use: ps -fea|grep pmon
    This will show all pmon process running (Each one is an Instance and you will see the name of the Instance here too), you can also check on /etc/oratab all the oracle databases in the server.
    On Windows go to Control Panel, Administration, Services and take a look on the Oracle services.
    Cheers,
    Francisco Munoz Alvarez
    www.oraclenz.com

  • How to see how many deadloacks are?

    Hi Friends!
    In working in BI, and sometimes my process were cancelled by deadlock.
    How can I verify if there are or how many deadlocks are in the database?

    Hi,
    You can programme a daily CheckDB in DB13. There you will have the deadlocks of each day:
    BR0974I Checking database messages in /oracle/<SID>/saptrace/background/alert_<SID>.log ...
    BR0976W Database message alert - level: WARNING, line: 793248, time: 2010-05-24 20.50.10, message:
    ORA-00060: Deadlock detected. More info in file /oracle/<SID>/saptrace/usertrace/gep_ora_1616.trc.
    Best regards,
    Martina

  • How to find that how many mailboxes are stored in each database

    Hi every one.
    Good evening
    My question is, i have two databases in exchange 2010 server and i have around 150 mailboxes in both databases.
    mdb01 & mdb02. I need to now how many mailboxes are stored in each database like
    pls see example.. this is just a example..i dont no how many are stored in each datbase :-(
    mdb01----20 mailbox
    mdb02----130 mailboxes
    and also i would like to know about the below details also
    available mailboxsize in each database----DBsize---DB white space--
    Thanks for your kind help
    Karan

    To see how many mailboxes you have in each database, run:
    Get-Mailbox -Server <ServerName> | group database | ft Name,count -AutoSize
    ...and to get a hunch of how much free space you have available, run
    Get-MailboxDatabase -Server <ServerName> -Status| ft Name,databasesize,available* -AutoSize
    ...but to get the exact amount of free space, you need to dismount the database and run
    eseutil /ms
    See:
    How To Check Database White Space In Exchange
    Martina Miskovic

  • How many records are  fetched my query into my internal tables

    Hi
    I am in the debugger, would like to know, how many records are  fetched my query into my internal tables. How do I  find out ?
    thanks
    siva

    Hi,
    Do the following,
    Step 1:
      Fill your internal table with select query.
    Step 2 : Use DESCRIBE statement with LINE addition to get the no of rows in the internal table.
    for further informations, check
    http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb3798358411d1829f0000e829fbfe/content.htm
    Regards,
    Anirban

  • How to know status of session in tables& how many status are available?

    Hi Experts,
    these are tables having of BDC Session status tablels APQD, APQI , APQL..
    could any one tell me how to find the error status in the tables.
    APQL is the session log table but i am unable to find the details of error session.
    error status found in APQI table.
    and also tell me how many status are avilable for session?
    and tell me the meaning .(like E for error )
    Thanks.

    Hello Kalyan,
    Please find the status of the sessions as below:
    1. New
    2. Incorrect
    3. Processed
    4. In Process
    5. In Background
    6. Being Created
    7. Locked.
    I think you are asking about the status of the session. it will be in SM35 as tab strips. If you are asking about the status in the LOG it will be Success or Error and it will update at runtime through BDCLM-MART field.
    I think it will help you.
    Regards,
    Subrahmanyam.

  • How many books are approved a day - here are some stats

    Do you want to know why it is taking forever to get your iBook approved? Do you wonder how many books are actually approved per day? I was asking myself the same question and because Apple doesn't release any numbers, I monitored the numbers on the iBookstore recently to get an idea.
    Here are the numbers (just to get a rough idea, not scientifically proven)
    The iBookstore has finally a feature that lets you browse only iBooks (aka Multi-Touch Books). It displays the numbers of all available Paid and Free iBooks. That is what I was monitoring each morning.
    When I started to monitor the iBookstore on May15th it had a total of 3,217 iBooks. If you use January 19th as the start date, then Apple would have approved an average of 26 books a day.
    Now here is a table where I wrote down the number from the iBookstore each morning of that day. The two columns next to it show the difference (how many approved that day) and the total number of approved iBooks (paid and free)
    There are a few interesting conclusions you can draw from the numbers.
    * You see a drop over the weekend. Maybe that is proof that the department is located in the US and not in China or India.
    * The approval numbers fluctuate but the average is about twice as high as the 26 books from the original start. So they must have hired more staff (or reading faster)
    * Interesting that there was a big junk of free iBooks yanked off the bookstore
    Another unscientific info about the bestseller ranking from my own stats.
    With about 10 sales a day I land in the 30s rank.
    WIth about 2 sales a day it ranges from number 50-100
    Those numbers fluctuate wildly and I'm sure there are other factors (i.e. total sales) in that calculation.
    It would be interesting to hear numbers and experiences from other users.
    Edgar Rothermich
    DingDingMusic.com

    I looked up the number of book titles per category in Apple's and Amazon's bookstores yesterday:
    Category
    Amazon
    Apple
    Percent
    Professional & Technical
    107804
    360619
    26.98%
    26.98%
    Fiction & Literature
    20700
    227773
    17.04%
    44.02%
    Reference
    49942
    95433
    7.14%
    51.16%
    Business & Personal Finance
    78007
    76608
    5.73%
    56.89%
    Halth, Mind & Body
    63303
    4.74%
    61.63%
    History
    244585
    51904
    3.88%
    65.51%
    Religion & Spirituality
    123177
    49448
    3.70%
    69.21%
    Romance
    82851
    48581
    3.63%
    72.85%
    Children & Teens
    67825
    47718
    3.57%
    76.42%
    Nonfiction
    46908
    3.51%
    79.93%
    Mysteries & Thrillers
    64773
    41776
    3.13%
    83.05%
    Sci-Fi & Fantasy
    60828
    39861
    2.98%
    86.03%
    Arts & Entertainment
    71065
    37874
    2.83%
    88.87%
    Biographies & Memoirs
    60365
    33643
    2.52%
    91.38%
    Science & Nature
    87395
    27825
    2.08%
    93.47%
    Computers & Internet
    29770
    17558
    1.31%
    94.78%
    Politics & Current Events
    33551
    17461
    1.31%
    96.09%
    Travel & Adventure
    21181
    11874
    0.89%
    96.97%
    Cookbooks, Food & Wine
    8593
    0.64%
    97.62%
    Sports & Outdoors
    20909
    8443
    0.63%
    98.25%
    Lifestyle & Home
    73509
    8082
    0.60%
    98.85%
    Humor
    30506
    7265
    0.54%
    99.40%
    Comics & Graphic Novels
    4559
    0.34%
    99.74%
    Parenting
    27879
    3407
    0.25%
    99.99%
    Textbooks
    100
    0.01%
    100.00%
    1356622
    1336616
    These numbers are upper bounds, as book titles can be in up to three categories. So the real number of unique titles is probably closer to 1/3 or 1/2 of the 1.33 million, which is close to K T's 700,000 number.
    Amazon and Apple are similar in total number of titles (with a few different categories). I had expected there to be much less titles in the Apple bookstore compared to Amazon. So selection size isn't much of a differentiator anymore. That said, number of sales are still far higher in the Amazon store. Many early eBook adopters still prefer their Kindle over the iPad when looking for new eBooks.

  • How do we know how many PDFs are generated?

    Hello All-
    We have created an Application ID with enough credentials on it to call the Adobe Services and our developers are using WebServices to call the Form Server in their code with that particular App Id and Generate the PDFs and what we really want to know is if there is any setting in the Adminui or in the code where we can set that and see how many PDFs are being generated for a period of time from that particular App Id? We are not using PDFGen component.
    we are using Adobe LiveCycle 8.0.1 SP3, WebSphere 6.1 and DB2 8.2 database.
    It will be great if someone can tell me if they did this before.
    Thanks in Advance

    On the old discussion software, they had distinctive avatars and identifiers under the avatars. They could have adopted distinctive avatars with the new forum software but they didn't. The reason that they didn't, I assume, is because the new software allows secondary icons to identify users. Every level had its own icon, the Hosts had their own icon, and Apple employees had theirs. This identification system was temporarily disabled along with the rest of the levels and reputations because of the performance hit that was being caused. It may come back if they can fix the performance problems.
    Until then, Hosts and Apple employees have been using text signatures, such as "Apple Discussions Host" to identify themselves. There may be Apple employees who have not gotten the word about the text signatures.
    BTW, to see what I mean by the identification icons, look at how Jive has implemented this feature on their own support forums. On this forum page, look to the right in the box labeled "Legend".

Maybe you are looking for

  • The file "iTunes Library.itl" can not be read because it was created by a new version of iTunes.

    so my computer got unplugged and its battery died right as it was finishing an iTunes update. when i restarted it, i got the above message. i re-installed iTunes from the website and that didn't help. i went directly to the mp3 files and tried to ope

  • Sayit App for Playbook doesn't work

    I cannot get Sayit for the BB Playbook to work. The program states to allow permissions for mic but I don't have any settings to do so After numerous reinstalls (3 different playbooks) still doesn't work. The company doesn't respond to my emails so I

  • How to read a txt file then insert them into db tables

    Hi, Please help me to solve this problem. This is what I need to do: 1. read a text file which holds the values to be inserted into some database tables. For example it holds ename, deptno, sal, dname for emp and dept tables. These are in a text file

  • Viewing a transaction log for a query

    Hi all, I have an application which has a query in some functionality of it. I want to check how many times in a month that query is referenced or used. I hope oracle maintains a transaction log or something of this sort. Is there a way to analyze th

  • Thumbnails not appearing in iPhoto

    iPhoto crashed after I uploaded new photos, and when I reloaded all of my albums and events have no thumbnails. The pictures still appear to be there (if I double click on them they show up ) but no thumbails. How do I restore?