Total number of DataBases on my the Server

Can any body tell me how I find out the total number of Databases on the Server with SQL?

Hi,
log on as a dba and then
select distinct owner from dba_objects;
will show a list of all schema owners.
or
select owner, count(object_name) from dba_objects where object_type = 'TABLE' group by owner;
will show a list of schema owners and the number of tables that they contain.
Regards Michael

Similar Messages

  • To find out the database running in the Server

    Hi,
    How to find out the number of database running in the server other than this command : ps -ef | grep pmon
    Thanks,
    Suresh Bommalata.

    There's no single answer.
    1. What if one or more of the database instance(s) is/are down at the moment that you run "ps -ef | grep smon" ?
    2. "ps -ef" cannot be used on Windows.
    3. You could check the oratab file (the location is platform specific -- generally /opt or /var/opt or /etc on Unix/Linux) but not all databases may be registered on the oratab file
    4. You could look for the running (if any !) listener on the server and check the listener.ora listener.log file (database instances do not need to be in the listener.ora !)
    So : You have to run multiple checks.
    Hemant K Chitale
    Edited by: Hemant K Chitale on Aug 2, 2010 3:09 PM

  • Count total number of rows present in the schema

    Count total number of rows present in the schema including table, sequence, view
    Desirable Output
    table          Sequence     Views
    1000          20          1000

    You mean You need to count the No of Tables, View and Sequence Present in the Schema ??
    Hi Some thing like this,
    SELECT a.view_cnt AS "View Count", b.tab_cnt AS "Table Count",
           c.seq_cnt AS "Sequence Count"
      FROM (SELECT COUNT (*) view_cnt
              FROM USER_VIEWS) a,
           (SELECT COUNT (*) tab_cnt
              FROM USER_TABLES) b,
           (SELECT COUNT (*) seq_cnt
              FROM USER_SEQUENCES) cWhich give you,
    View Count      Table Count      Sequence Count
           153              878                   32Thanks,
    Shankar
    Edited by: Shankar Viji on Aug 28, 2012 3:03 AM

  • Total number of pages before generating the PDF - OMR

    Dear all,
    We are facing the following problem. We want to apply OMR (optical mark recognition) barcoding on a batch of invoices.
    Basically there are two steps in the proces:
    - Fetch the batch of invoices created during the day, let's say 1000 invoices.
    - Calculate for this batch of invoices the total number of pages per customer. 1 customer can have multiple invoices per day.
    - If the number of pages per customer > 12, remove the invoices from the total batch (1000 invoices become then 800 for example).
    - Apply OMR logic on the remaining 800.
    My question is regarding step 2. The calculation of the total number of pages per customer. Is it possible to get the total number of pages before generating the PDF? Or do we have to 'simulate' the PDF to get to this number?
    Another question I have, does anybody have experience implementing OMR using adobe forms? Any experience to share?
    Thanks for your feedback
    Simon

    Hi Philippe,
    we can only determine the page size when its already loaded with data and its published/sent by ADS.
    i.e., the no of pages increases based on the data you feed to the form which mean by the time the form/script determines the number of pages it has published dynamically data is already there. so your requirement cannot be solved in that approach.
    the next approach which I can think of is as follows.
    lets say you display the invoices data as a table in the form.
    so then lets specify the row height to .5" which mean in a form with content area size of 15" we can display 30 records.
    so in the interface or the source program count the number of records per customer if they are < (12pages X 30 records = 360) leave them as they are else remove them for the list and process the data for other customers.
    As per your other query of having OMR on the form I have no Idea, I never worked on that but if its just any other type of barcode that shouldn't have any problem.
    Hope this helps you,
    Cheers,
    Sai

  • Access is not inserting, updating or deleting records in my database table on the server

    I am having a problem with an application I developed using Dreamweaver 8 and Access 2000 several years ago which is no longer working correctly. The problem is that Access is not inserting, updating or deleting records in my database table on the server but is reflected in changes to my Web site. I used the Dreamweaver server behaviors: insert record, update record and delete record to make the changes to my Access table on the server. My Access table on the server shows all of the records I inserted or updated in the past, but not any of the newly inserted on updated records.
    does any one have any ideas as to what my problem is?
    Jim

    No, that has nothing to do with your problem. Let's make sure I understand the symptoms.
    1) Your site is online at a remote host.
    2) You use a dynamic page in your online site to update a database record (insert, delete, or update)
    3) The update then appears correctly on your dynamic content page.
    4) You download the mdb and it appears to not have any of the upates you just made.
    Please correct any of these statements if they are wrong.
    If the above is correct, then you must be looking at a cached mdb, or the mdb you are looking at is in the wrong location. Do this: search your entire drive for copies of the mdb, including in the Windows temp directories which is likely where the cached copy is located. Delete any extra copies and download again.

  • How to get the total number of occurrences based on the value of a column.

    Hello everyone,
    This is the first time that I will ask question here on your forum but has been following several threads ever since. I guess that now is my turn to ask a question. So anyway here is the thing, I have a query that should return count the number of rows depending on the value of SLOT. Something like this:
    WIPDATAVALUE          SLOT             N            M
    1-2                   TRALTEST43S1     1            3
    1-2                   TRALTEST43S1     2            3
    3                     TRALTEST43S1     3            3
    4-6                   TRALTEST43S2     1            4
    4-6                   TRALTEST43S2     2            4
    4-6                   TRALTEST43S2     3            4
    7                     TRALTEST43S2     4            4-----
    As you can see above, on the SLOT TRALTEST43S1, there are three occurrences so M (Total number of occurrences) should be three and that column N should count it. Same goes with the SLOT TRALTEST43S2. This is the query that I have so far:
    SELECT DISTINCT
    WIPDATAVALUE, SLOT
    , LEVEL AS n
    , m
    FROM
      SELECT
        WIPDATAVALUE
        , SLOT
        , (dulo - una) + 1 AS m
      FROM
        SELECT
          WIPDATAVALUE
          , SLOT
          , CASE WHEN INSTR(wipdatavalue, '-') = 0 THEN wipdatavalue ELSE SUBSTR(wipdatavalue, 1, INSTR(wipdatavalue, '-')-1) END AS una
          , CASE WHEN INSTR(wipdatavalue, '-') = 0 THEN wipdatavalue ELSE SUBSTR(wipdatavalue, INSTR(wipdatavalue, '-') + 1) END AS dulo
        FROM trprinting
        WHERE (containername = :lotID OR SLOT= :lotID) AND WIPDATAVALUE LIKE :wip
    ) CONNECT BY LEVEL <= m
    ORDER BY wipdatavalue;And that it results to something like this:
    WIPDATAVALUE          SLOT             N            M
    1-2                   TRALTEST43S1     1            2
    1-2                   TRALTEST43S1     2            2
    3                     TRALTEST43S1     1            1
    4-6                   TRALTEST43S2     1            3
    4-6                   TRALTEST43S2     2            3
    4-6                   TRALTEST43S2     3            3
    7                     TRALTEST43S2     1            1-----
    I think that my current query is basing its M and N results on WIPDATAVALUE and not the SLOT that is why I get the wrong output. I have also tried to use the WITH Statement and it works well but unfortunately, our system cant accept subquery factoring.
    I know you guys will be helping out because you are all awesome. Thanks everyone
    Edited by: 1001275 on Apr 19, 2013 8:07 PM
    Edited by: 1001275 on Apr 19, 2013 8:18 PM

    Hi,
    Sorry, it's still not clear what you want.
    Are you saying that, given this table:
    CREATE TABLE trprinting
      WIPDATAVALUE       VARCHAR2(255)
    , SLOT               VARCHAR2(255)
    INSERT INTO trprinting (wipdatavalue, slot) VALUES ('1-2',  'TRALTEST43S1');
    INSERT INTO trprinting (wipdatavalue, slot) VALUES ('3',    'TRALTEST43S1');
    INSERT INTO trprinting (wipdatavalue, slot) VALUES ('4-6',  'TRALTEST43S2');
    INSERT INTO trprinting (wipdatavalue, slot) VALUES ('7',    'TRALTEST43S2');you want to produce this output:
    WIPDATAVALUE SLOT                     N          M
    1-2          TRALTEST43S1             1          3
    1-2          TRALTEST43S1             2          3
    3            TRALTEST43S1             3          3
    4-6          TRALTEST43S2             1          4
    4-6          TRALTEST43S2             2          4
    4-6          TRALTEST43S2             3          4
    7            TRALTEST43S2             4          4? If so, here's one way:
    WITH     got_numbers     AS
         SELECT     wipdatavalue
         ,     slot
         ,     TO_NUMBER ( SUBSTR ( wipdatavalue
                               , 1
                           , INSTR ( wipdatavalue || '-'
                                ) - 1
                     )          AS low_number
         ,     TO_NUMBER ( SUBSTR ( wipdatavalue
                               , 1 + INSTR ( wipdatavalue
                     )          AS high_number
         FROM     trprinting
    SELECT       wipdatavalue
    ,       slot
    ,       ROW_NUMBER () OVER ( PARTITION BY  slot
                                 ORDER BY          low_number
                        )                    AS n
    ,       COUNT (*)     OVER ( PARTITION BY  slot )     AS m
    FROM       got_numbers
    CONNECT BY     LEVEL               <= high_number + 1 - low_number
         AND     low_number          = PRIOR low_number
         AND     PRIOR SYS_GUID ()      IS NOT NULL
    ORDER BY  low_number
    ,            n
    ;Much of the complexity here is caused by storing 2 numbers in 1 VARCHAR2 column, wipdatavalue. Relational databases work best when there is no more than 1 item in any given column of any given row. This is so basic to datbase design that it is called First Normal Form. Also, numbers belong in NUMBER columns, not VARCHAR2. If you stored your data like that in the fist place, then you wouldn't need the sub-query I called got_numbers, which is about 60% of the code above. (That could be reduced by replacing SUSTR and INSTR with the less efficient REGEGP_SUBSTR.)

  • Total number of RFQ's against the vendor

    Hi Gurus;
                  Where can i find the total number of RFQ issued against each vendor. Please mention the table or any other source from which i can find this data.
    Thanks.

    Did you try to find the table yourself?
    its EKKO with BSTYP = 'A'

  • Database recovery from the server backup - 10g Oracle with Linux

    My server OS is Linux and nightly we are taking a whole logical volumes backup as it is and databses are not shutdown.
    so i would like to know how much worth keeping this copy in recovery purposes as it is taking few hours to copy all daily.
    If some one can share some points would be appriciated.

    Hi,
    What kind of backup is it please explain, what tool are you using for this logical volume backups? Are you sure that if you logical volume backup starts at 10:00, everything is logically frozen at that point in time and if recovery needed, everything will be restored at exact 10:00? Since oracle database is open on logical volumes, during backup of logical volumes, your database files will not be consistent and hence backup of database is not valid and will not work (unless you have some utility to logical freeze everything during backup to make backup consistent).
    I would recommend you to configure the oracle database backup (hot or RMAN) and put backup on a logical volume and configure backup of that logical volume and remove the logical volume from backup list where your database exists. Database backup should finish before backup of logical volume statrts
    Salman

  • How can I tell if an RSS Feed has been updated? In Safari I can see the total number of feed updates in the menu bar. Can't figure out how to do that in Firefox.

    See question.

    You will find that the number of audiobook titles available without DRM is much smaller than the number of titles available with it. eMusic probably has the largest collection of MP3 format audiobooks, which are not wrapped in DRM, but their catalog is a pale shadow of Audible's collection.
    The source of your ire is the publishers. They are the ones who insist on DRM, rather than Apple or Audible. (Though there are also policies at those vendors, which make it difficult or impossible for authors who choose to go without DRM (such as Cory Doctorow) to offer their titles without DRM. I suspect that it’s the fault of the publication system, but who knows for sure.)
    Personally, I don't care about the DRM. Audible titles play just fine on my iPhone, and that's the only place I play them, so I never notice it. Someday that might change, and then maybe I'll be angry. But that seems low probability.

  • How to get total number of Database connections from Java code

    Hi,
    I am using Myql4.1.12.
    I am conncting to mysql through Java.
    I want to know how many active database connections were running at a specific time. Is it possible?
    Can you please help me.
    Thanks in advance.

    Seems like this would be a question for MySql, not for Java. And if it's possible you'd run some MySql utility to do that, not code it in a Java app.

  • How to know number of databases running

    HI Experts,
    How to easily know how many databases are running in Windows OS and Solaris OS
    Thanks
    Shaan

    Hi Adith,
    It means i have to loggin to sqlplus, but even if i logging to sqlplus it won't show total numbers of databases running on the server. Is there any other way to know.
    My query is how do I know about number and name of the databases running on a server which is unknown to me. Lsnrctl is one option, but it also doesn't give the 100% result.
    Thanks
    Shaan

  • How to Find the number of Databases in a server.

    HI,
    Please tell me how to find the number of Databases are in a server . when the DB is not up.
    ps -ef | grep ora_
    This i know whether our DB is up or not. But i want to know how many databases are in a server .If the database is down .
    Cheers,
    Gobi.

    Hi,
    [oracle@oralinux admin]$ lsnrctl status
    LSNRCTL for Linux: Version 9.2.0.4.0 - Production on 01-DEC-2006 16:25:41
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
    TNS-01169: The listener has not recognized the password
    [oracle@oralinux admin]$
    Plz give me the solution.
    Cheers ,
    Gobi.

  • SQ01 restricting the number of database accesses

    Hi,
    I created a report using SAP Query (SQ01). When I run the query a dialog box appears asking the maximum number of database accesses.
    The value entered here directly affects the result of the report. The user has to change the value manually in order to see the complete set of results, set it 999999 for example.
    I want to get rid of that dialog box. Is it possible?
    If not can I change the default value '100' to anything I want?
    Thanks...

    That is true, it is a bit loaded report. It includes additional fields, selections and another select statement for each record. I tried to keep it as simple as possible but that is the only way that I could think of.
    The joins are:
    VBAK - VBAP
    VBAP - VBUP
    VBAP - MARD
    VBAP - MARA
    The report basicly brings the stock amounts of open sales order items.  In addition the total consignment level for that item is also requested, so I wrote a select statement   in record processing which finds the total consignment level from the MKOL table for that item. I could not simply add MKOL to my join list because it than divides each item to the number of vendors that exists in the MKOL table. The user is not interested in the amount for each vendor, only the total amount.
    The performance is not that bad, but as I said before the result of the report is different for different limits of database accesses.
    Is there a way to omit the limit?

  • Total no. of users logged into the database

    Can we find out total number of users logged into the database? I do not have DBA privileges.
    If it is not possible by a straight SQL then do I have any other options?
    Thanks.

    You can find the list of all users using the query "Select * from V$Sesssion_connect_info". This requires access to system tables. But this query gives the OS user information and not the database user information.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Krishnan:
    Can we find out total number of users logged into the database? I do not have DBA privileges.
    If it is not possible by a straight SQL then do I have any other options?
    Thanks.<HR></BLOCKQUOTE>
    null

  • How can I view the total number of songs in my iTunes?

    iTunes no longer displays to the total number of songs. Also the side scroll bar has disappeared. Can anyone help?
    Thanks
    Marcia

    You can restore much of the look & feel of the previous version with these shortcuts:
    ALT to temporarily display the menu bar
    CTRL+B to show or hide the menu bar
    CTRL+S to show or hide the sidebar
    CTRL+/ to show or hide the status bar (won't hide for me on Win XP)
    Click the magnifying glass top right and untick Search Entire Library to restore the old search behaviour
    Use View > Hide <Media Kind> in the cloud or Edit > Preferences > Store and untick Show iTunes in the cloud purchases to hide the cloud items. The second method eliminates the cloud status column (and may let iTunes start up more quickly)
    If you don't like having different coloured background & text in the Album view use Edit > Preferences > General and untick Use custom colours for open albums, movies, etc.
    tt2

Maybe you are looking for

  • GUI_DOWNLOAD: problems with table containing char length 8000

    Hi I have some problems using GUI_DOWNLOAD. Here is some of my code: DATA: g_record TYPE Z_CHAR8000 OCCURS 0 WITH HEADER LINE. z_char8000 is a char of length 8000 insert code to fill data in g_record     CALL FUNCTION 'GUI_DOWNLOAD'       EXPORTING  

  • ESATA HDD not recognised on cold boot, OK on reboot

    Hi, I have a HP Elitebook 8740w from which I have removed the internal HDD and connected an eSATA HDD which is powered from the USB bus (I've done this for security purposes). I'm having a problem whereby when booting at  initial power-on, a Non-Syst

  • Layered Menu Buttons not working on DVD player

    Hello, I just made an SD DVD with several layered menus. The backgrounds for the menus come from photoshop files with different layers for normal, selected, and active states. Navigating the main menu works fine in the simulator and when I play the d

  • Hw to pass parameter from report to forms

    Dear Friends, I m working on Forms n Reports 6i, I m running report n passing parameter from the forms now the requirement is that if report run successfully it shuld give the msg otherwise give an user define error msg. Hw do i pass any parameter fr

  • Back to my mac question

    Ok so i've been reading up on the boards about this for a while, but i only had a chance to really start messing with it last night. However I am still bit confused about few things. So i guess I need help from somebody who got this thing to work and