View *all* databases in oracle 8i

Hello all,
Is there a statement/command which i can type to view ALL the databases in the oracle8i database. I am having a certain problem with an application which is using the database, only i am not aware which database it is using!! I do have dba priviledges..
Thanks in advance

You cannot do this from SQL*Plus. SQL*Plus connects to a single database. From there you can see any other database your database has a link to. You can see which databases those are by querying DBA_DB_LINKS. That is not necessarily the same thing as all "the databases in the system". If all your databases are linked to the database you're connecting to, then you can monitor them through SQL*Plus - you just have to suffix everything in the FROM clause with @db_name.db_link. Which is a lot of hard work: OEM does make this sort of thing very easy.
Rgds, APC

Similar Messages

  • Query to View all datbases in oracle 10g

    How to view all databases all databases in a system. I am using oracle 10g .
    i created 4 databases .
    when created with dbca i am able to see databases in /etc/oratab.
    but not able to see when created manually .

    910342 wrote:
    How to view all databases all databases in a system. I am using oracle 10g .
    i created 4 databases .
    when created with dbca i am able to see databases in /etc/oratab.
    but not able to see when created manually ./etc/oratab will be updated by agent automatically,
    So when you created database manually it is not going to edit oratab file.

  • View All sessions in Oracle 10.2.0.1.0

    Hi,
    I am newbie using
    Oracle Version 10.2.0.1.0
    How to view all the sessions similar to 9i EM
    Thanks.

    Same thing in 10.2 than in 9.2 : v$session
    Take a look to the Reference Guide :
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/toc.htm
    Nicolas.

  • Ensure that all database components/objects provided by Oracle are VALID

    Hi Guys
    need some clarification concern the below point from -> 1503653.1
    Ensure that all database components/objects provided by Oracle are VALID in the source database prior to starting the upgrade.
    Ensure that you do not have duplicate objects in the SYS and SYSTEM schema.
    Question 1:
    what do you really mean by all the database components/ objects provided by oracle are Valid?
    does the below object consider an Oracle object? I got to know this objects is invalid after  after running -> dbupgdiag.sql
    SQLTXADMIN   SYNONYM        1
    Question 2:
    if my user application objects is invalid? Can i still be able to forward with the upgrade?
    It seem that the main concern is those ORACLE's component/ objects have to be VALID.

    hi all,
    want to add on.
    does ORACLE's component means objects own by SYS and SYSTEM?
    like the below objects that is spool out by the script  -> dbupgdiag.sql
    that it is in invalid status.
    SYS          USER_AUDIT_TRAIL                         VIEW
    SYS          DBA_AUDIT_SESSION                      VIEW
    SYS          USER_AUDIT_SESSION                    VIEW
    SYS          DBA_AUDIT_STATEMENT                 VIEW
    SYS          DBA_COMMON_AUDIT_TRAIL          VIEW
    SYS          DBA_AUDIT_OBJECT                         VIEW
    SYS          USER_AUDIT_OBJECT                       VIEW
    SYS          DBA_AUDIT_EXISTS                           VIEW
    SYS          USER_AUDIT_STATEMENT               VIEW

  • Column 'Blocked' of view v$instance in Oracle Database 10g

    Hi All,
    What is the description of column "blocked" of view "v$instance" in Oracle Database 10g?
    I could not find the information in Oracle® Database Reference
    10g Release 2 (10.2)
    Thanks and Regards,
    Vaibhav

    SQL> describe v$instance
    Name Null? Type
    INSTANCE_NUMBER NUMBER
    INSTANCE_NAME VARCHAR2(16)
    HOST_NAME VARCHAR2(64)
    VERSION VARCHAR2(17)
    STARTUP_TIME DATE
    STATUS VARCHAR2(12)
    PARALLEL VARCHAR2(3)
    THREAD# NUMBER
    ARCHIVER VARCHAR2(7)
    LOG_SWITCH_WAIT VARCHAR2(15)
    LOGINS VARCHAR2(10)
    SHUTDOWN_PENDING VARCHAR2(3)
    DATABASE_STATUS VARCHAR2(17)
    INSTANCE_ROLE VARCHAR2(18)
    ACTIVE_STATE VARCHAR2(9)
    BLOCKED VARCHAR2(3)
    SQL> select version from v$instance;
    VERSION
    10.2.0.2.0

  • How to view all table of a database

    How to view all table of a database created on a oracle 9.2/10g database management system.
    How to view available tables of oracle dbms which comes by default with package.
    Thank you so much in advance!
    With Regards,
    Niks

    You posted the same question twice.
    How to view all table of a database

  • What are all database monitering tools available in oracle

    what are all database monitering tools available in oracle

    Monitoring Database Operations
    Monitoring and Tuning the Database
    Oracle Database Online Documentation 11g Release 2 (11.2)

  • Importing all tables and users from Oracle 8i database to Oracle 10g

    Hi friends,
    It would be highly appreciated if someone would kindly advise steps needed to
    import full Oracle 8i database ( with all users, tables, table spaces
    and other components ) to Oracle database 10g .
    Thanks and regards

    hi
    ur exp ur database from oracle 10g. from exp cmd instead of expdp cmd bcoz oracle 10g. expdp cmd is not compitable with oracle 8.
    simple give cmd>exp cmd if u want exp complete database from oracle 10g..
    if u have any problem go reference oracle database utilities ....
    and then imp in oracle 8 using imp cmd cmd>imp cmd bcoz here u want imp complete database....
    i hope u do ur work successfully...
    regards
    Mohammadi

  • How to view all tables and column names from a remote database

    Hey Guys,
    I have a database in a remote server. I have the db link and the schema name.. Now i want to view all the tables in the remote database with column names.. I dont have access to that database using sql developer.. But i can view some tables using the db link..Is there any way i can view all the tables with the column names?

    user10683742 wrote:
    Dont think i have DBA access..It gives the following error
    ORA-00942: table or view does not exist
    00942. 00000 - "table or view does not exist"You don't have to have 'dba' access, per se. You just have to have SELECT ALL TABLES privilege. when you use a db_link, you are connecting to the remote db with the user defined in the link, and .. on that db .. you will have the privileges of the user defined in the db link. Exactly as if you had used sqlplus to connect to that db with that user.

  • View All SQL That HAs Been Run On A Database

    Hi,
    Is there any way to view all SQL that has been run on a database? Im looking for some sort of history if such thing exists.
    Cheers
    Paul

    user12086523 wrote:
    Hi,
    Is there any way to view all SQL that has been run on a database? Im looking for some sort of history if such thing exists.
    Cheers
    PaulWhen you figure out how to capture that data, please let me know what storage vendor you will be using to store the information. I'd like to buy stock in it.
    Seriously, whenever anyone indicates that they want the full history of everything that ever happened, I've got to wonder just how they envision using such massive amounts of raw data.

  • Query: to view all users that have been created for access to a database

    Hi,
    Is there a command syntax that we could give to see all the users who have been created for access to a particular database. I want to view all the users that have been created using sql* plus.
    can anyone help or is it impossible?
    Thanks

    This is for begging:
    [email protected]> select grantee, privilege from dba_sys_privs where privilege like '%CREATE%SESSION%
    2 /
    GRANTEE PRIVILEGE
    A CREATE SESSION
    AA CREATE SESSION
    U1 CREATE SESSION
    U2 CREATE SESSION
    BD1 CREATE SESSION
    DBA CREATE SESSION
    EMI CREATE SESSION
    MOB CREATE SESSION
    ODM CREATE SESSION
    OHP CREATE SESSION
    SEC CREATE SESSION
    SYS CREATE SESSION
    TU1 CREATE SESSION
    TU2 CREATE SESSION
    U01 CREATE SESSION
    XDB CREATE SESSION
    MOBI CREATE SESSION
    OHP4 CREATE SESSION
    PFAY CREATE SESSION
    UD01 CREATE SESSION
    UR01 CREATE SESSION
    ADHOC CREATE SESSION
    BATCH CREATE SESSION
    DEBUG CREATE SESSION
    DEV01 CREATE SESSION
    HRAPP CREATE SESSION
    MDSYS CREATE SESSION
    MOBI2 CREATE SESSION
    SKING CREATE SESSION
    SPACE CREATE SESSION
    UPASS CREATE SESSION
    WKSYS CREATE SESSION
    CTXSYS CREATE SESSION
    ORDSYS CREATE SESSION
    PRAC01 CREATE SESSION
    RTABLE CREATE SESSION
    CONNECT CREATE SESSION
    Than you have to select also all the users that have granted roles with this privilege
    this will give you the full set of users who can connect
    Best Regards
    Krystian Zieja / mob

  • ORACLE DATABASE SPACE USAGE report not showing all databases in 11g

    Hi All,
    I have scheduled "Oracle Database Space Usage (Group)" report for all databases available in the OEM11g. But in the report i am not able to see all the databases in the group. Can any one please help on this.
    Regards,
    GK

    We had the same problem in 12c EM. This had to something with "tablespace allocation metric". This metric was disabled for some databases. This could be your case in 11g also. This metalink note might worth seeing .
    Oracle Database Tablespace Monthly Space Usage shows no data (Doc ID 1536654.1)

  • Migrate peoplesoft sybase HRMS database to oracle 11g

    Hi All,
    I want to know if I can migrate a sybase peoplesoft HRMS database to oracle 11g using sql developer 3.0. I am trying to do this following the steps given in the link below but it is taking for ever for the convert step, I could see the messae saying building converted model.
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SybaseMigration/SybaseMigration.htm
    The sybase database is 55GB and the version is 12. There are around 20,000 tables in Sybase Database.
    Please advise, if this is possible with SQL Developer??
    If yes, how long this process might take(for each step in the above link), based on any past convertions of the same size database??
    If this is not feasable with SQL Developer because of the complexity of the database, are there any other tools we can look into which might be faster/better than SQL Developer.
    Please advise.
    Thanks..

    Hi Dermot, Tanks for the reply.
    "Do you know the number of views and procedures captured". Below is the ouput from some of the tables in migration repositary.
    count from md_derivatives table, grouped by derived_type.
    MD_CATALOGS     1
    MD_USERS     1
    MD_CONNECTIONS     2
    MD_SCHEMAS     4
    MD_TRIGGERS     40
    MD_VIEWS     34316
    MD_TABLES     48048
    MD_INDEXES     55850
    MD_INDEX_DETAILS     112043
    MD_COLUMNS     766244
    Count from md_views table 34316
    Count from md_additional_properties table 110322
    "Is there a chance the convert phase has hung, or does it refresh ever so ofter with details of another object being "migrated"?"
    It is not hung. I can see the message 'Translating views' right now, and the View names change often but not fast roughly every minute. When I checked for what the session is doing, I could see the below two sql statements.
    SELECT PROP_KEY, VALUE, PROPERTY_ORDER, CONNECTION_ID_FK
    FROM MD_ADDITIONAL_PROPERTIES
    WHERE REF_ID_FK = :1
    ORDER BY PROPERTY_ORDER;
    SELECT ID
    FROM MD_TABLES -- Some times this is MD_VIEWS
    WHERE SCHEMA_ID_FK = :1 AND UPPER (TABLE_NAME) = UPPER (:2)
    "What is the current "Being migrated" information?"
    Translating View xxx.
    "Does the tablespaces your migration repository schema is based on have sufficient space?"
    Yes, Since there is no data at this point, it is all done in one table space which is set to grow UNLIMITED. At this point the size of the table space is a little over 500M.
    "Is SQL Developer being run on the same machine as the Oracle database containing the migration repository? (conversion can be alot quicker for procedure,view,trigger conversion if SQL Developer is on the same machine as the repository)"
    NO. SQL developer is running on my machine but the migration repositary is in the database which is on HP-UX box. Below are some of the details of the server. Also, since the database in on HP-UX, I couldn't find SQL developer for UNIX. I also read in the release note of 3.0 that it is not supported with UNIX, Is that right? else is there a way I can install SQL developer on the Unix server and that might improve the performance!, if yes, please guide me with the steps to do this installation.
    Server:
    Processors: 4, CPU version: PA 8700 CPU module 3.1, clock Frequency: 750MHz, Hardware Model: 900/800/L3000-7x, Kernel width Support 64.
    Physical Memory 8199.3 MB
    Real Memory --> Active: 2990487.0 KB, Total: 3956471.8 KB
    Virtual Memory --> Active: 5787735.5 KB, Total: 6864998.0 KB
    Free Memory Pages: 127049 at 4 KB/page
    Swap Space --> Avail: 4096 MB, Used: 4096 MB, Free: 0 MB
    OS Identification: B.11.11 U
    I see the below when I do a 'glance' on the server. Looks like it is using most of the memory and the Swap. These are the numbers from the server after the migration started, they stay consistent all time with very small variation.
    CPU Util S SR RU U | 34% 31% 39%
    Disk Util F F | 4% 4% 13%
    Mem Util S SU UB B | 93% 93% 93%
    Swap Util U UR R | 86% 86% 86%
    PROCESS LIST Users= 1
    User CPU Util Cum Disk Thd
    Process Name PID PPID Pri Name ( 400% max) CPU IO Rate RSS Cnt
    oraclefap 16560 1 178 oracle 97.9/98.3 132507 0.1/ 0.6 16.0mb 1
    My Machine where SQL Developer is Running
    Windows XP Professional SP3. 2GB Memoery. All this, time I was using around 1 Gb of memory while this process is running, Out of which SQL developer uses only 200 to 300 MB at any given point and the CPU is less than 5%.
    "What version of Oracle database have you installed the migration repository in?"
    Below is the Banner.
    Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
    PL/SQL Release 10.2.0.4.0 - Production
    CORE     10.2.0.4.0     Production
    TNS for HPUX: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    Also please let me know about this request I have popsted. https://apex.oracle.com/pls/apex/f?p=43135:7:2259365896228241::NO:RP,7:P7_ID:29361
    I would greatly appreciate any help. Thanks again.

  • How to view all procedures from commandprompt

    Hai All,
    we have query select * from tab; in oracle
    to view all tabels in database.Like this how can we view all procedures

    The oracle specific response:
    In oracle, select * from tab is actually only included for backwards compatibility (With Oracle 5)
    It is better to use the view USER_TABLES
    ie select * from user_tables
    For stored procedures:
    select * from user_procedures
    More applicable to the Java world, and also database independant, check out the class java.sql.DatabaseMetaData
    It has methods
    getTables() and getProcedures() that should give you much the same info, just directly in java.
    Cheers,
    evnafets

  • Quick Migrate: SQL Server database to Oracle

    When I try Quick Migrate: SQL Server database to Oracle, I get the following error messages:
    1. Locating source plugin...failed
    2. Checking multi-schema privileges...Privilege 'CREATE ROLE" is not granted with admin option.
    Error #1 I do not understand.
    Error #2: I created the user as follows:
    DROP USER GRAINTEST CASCADE
    CREATE USER GRAINTEST
    IDENTIFIED BY SQL
    DEFAULT TABLESPACE SMARTSOFT_DATA
    TEMPORARY TABLESPACE TEMP
    QUOTA UNLIMITED ON SMARTSOFT_DATA
    QUOTA UNLIMITED ON SMARTSOFT_INDEX
    GRANT CONNECT,
    RESOURCE,
    CREATE ROLE,
    CREATE VIEW,
    CREATE SESSION,
    ALTER ANY TRIGGER TO GRAINTEST
    DROP ROLE R_GRAINTST
    CREATE ROLE R_GRAINTST NOT IDENTIFIED
    GRANT R_GRAINTST TO GRAINTEST
    WITH ADMIN OPTION
    Thanks
    Murray

    Murray,
    Apologies for referring to the 1.5 documentation but the 2.1 documentation still has the same information about creating a user to hold the repository.
    You initially reported 2 problems -
    1. Locating source plugin...failed
    2. Checking multi-schema privileges...Privilege 'CREATE ROLE" is not granted with admin option.
    For the first error have you installed the necessary JDBC driver ? I have just installed SQL*Developer 2.1 on a new laptop and could successfully connect following the documentation steps -
    Oracle® SQL Developer
    User’s Guide
    Release 2.1
    2.5.2 Before Migrating From Microsoft SQL Server or Sybase Adaptive Server
    To configure a Microsoft SQL Server or Sybase Adaptive Server database for
    migration:
    1. Ensure that the source database is accessible by the Microsoft SQL Server or
    Sybase Adaptive Server user that is used by SQL Developer for the source
    connection. This user must be able to see any objects to be captured in the
    Microsoft SQL Server or Sybase Adaptive Server database; objects that the user
    cannot see are not captured. For example, if the user can execute a stored
    procedure but does not have sufficient privileges to see the source code, the stored
    procedure cannot be captured.
    2. Ensure that you can connect to the Microsoft SQL Server or Sybase Adaptive
    Server database from the system where you have installed SQL Developer.
    3. Ensure that you have downloaded the JTDS JDBC driver from
    http://jtds.sourceforge.net/.
    4. In SQL Developer, if you have not already installed the JTDS driver using Check
    for Updates (on the Help menu), do the following:
    a. Click Tools, then Preferences, then Database, then Third Party JDBC Drivers.
    b. Click Add Entry.
    c. Select the jar file for the JTDS driver you downloaded from
    http://jtds.sourceforge.net/.
    d. Click OK.
    ========
    The second error is again documented in the 2.1 documentation -
    5.99 Privilege Warning for Migration
    This dialog box is displayed if you click Verify in the Quick Migrate box and the
    database user for the connection does not have all privileges necessary for a
    multischema migration. For multischema migrations, this user must granted the
    RESOURCE role with the ADMIN option; and this user must also be granted the
    CREATE ROLE, CREATE USER, and ALTER ANY TRIGGER privileges, all with the
    ADMIN option.
    If you are performing a single-schema migration, you can ignore this warning.
    =====
    Which errors are you now seeing and which user was used to hold the repository ?
    If you are using GRAINTEST for the repository then create it using this syntax -
    CREATE USER GRAINTEST IDENTIFIED BY password <=== change password as necessary
    DEFAULT TABLESPACE users TEMPORARY TABLESPACE temp; <=== change tablespaces as necessary
    GRANT CONNECT, RESOURCE, CREATE VIEW, CREATE PUBLIC SYNONYM TO
    GRAINTEST WITH ADMIN OPTION;
    GRANT ALTER ANY ROLE, ALTER ANY SEQUENCE, ALTER ANY TABLE, ALTER TABLESPACE,
    ALTER ANY TRIGGER, COMMENT ANY TABLE, CREATE ANY SEQUENCE, CREATE ANY TABLE,
    CREATE ANY TRIGGER, CREATE ROLE, CREATE TABLESPACE, CREATE USER, DROP ANY
    SEQUENCE, DROP ANY TABLE, DROP ANY TRIGGER, DROP TABLESPACE, DROP USER, DROP ANY
    ROLE, GRANT ANY ROLE, INSERT ANY TABLE, SELECT ANY TABLE, UPDATE ANY TABLE TO
    GRAINTEST with admin option ;
    then when making the migration make sure the Oracle connection is to this user.
    Please update the thread with the errors you get after following these steps.
    Regards,
    Mike

Maybe you are looking for

  • Does anyone know anything about the "sign in" feature of Photoshop elements 8?

    I watched a tutorial indicating you could 'sign in' when using the organizer and I cannot find this function.

  • TDMS Set Properties fails

    Hi. I am currently developing an application which writes some data into a TDMS file. I have used the TDMS Set Properties VI to add some special properties as meta data. Basically it works, but only once. Now I would like to know why: The error messa

  • Create object reference by name

    I wish to disable and enable a bunch of controls on the front panel. Instead of creating hard-wired property nodes, I wish to cycle through an array of string names of controls and set the corresponding control's property. Is it possible to create a

  • How i can change my security question without call with my phone???

    I forgot the true answer of the security question. How can i change them with out call the Apple support?

  • Join third party wireless network

    I have an AE, not (n), and would like to connect it to my working Thomson wireless router to be used as the iTunes streamer. What do I do? I have tried a few suggestions I found but what happens is that when AE is rebooting it freezes and then the co