How to Find Oracle instances?

Hi all,
Could you please guide how to check oracle instances?
Thanks in advance!!

Hi all,
Could you please guide how to check oracle
instances?
Thanks in advance!!Hi,
If you mean "how to find out running instances?" then the answer is OS dependent.
On Windows, you can look for windows services for service names starting with "OracleService...".
On UNIX, you can inquire the same using
ps -ef|grep pmon
Regards

Similar Messages

  • How to find bpel instance in 11g based on the index values

    We have 10g BPEL process where we define 4 index values for all the instances. Whenever support request comes, we ask index values and based on that we search the process instance.
    We have migrated this 10g bpel process to 11g now. How to find bpel instance in 11g based on the index values ???

    I have multiple bpel in my composite. I checked in ci_indexes table and it shows the instance number of the bpel process. But the em console is showing only the composite instance number. when I opened composite instance, I could see all the bpel process with instance number in the audit trail. How can I find the the actual composite instance number that I should search for in the em console ???

  • How to find which instance in the RAC cluster the application is connected

    How to find which instance in the RAC cluster the application is connected to ?
    Raees

    well if you know the user through which your application is connected to instance, you can easily find out by querying gv$session view.
    select inst_id,sid,serial#,program,username from gv$session where username is not null;
    Thanks
    Gaurav

  • How to find oracle archieved products

    Hi
    I want to download Oracle Forms 6i for all OS(Vista). here is a link http://www.oracle.com/technology/products/forms/index.html which everybody say we can find Oracle Forms6i. But i feel that now its difficult to find archieved products. If any body has info on how to find Oracle forms 6i download link please reply.
    thanks a lot

    Oracle Forms 6i (6.0.8) is obsolete and no longer supported. It was also never certified to be installed on Vista or any of the newer OSs. The likelihood that you will experience problems installing on those platforms is quite high and is not recommended. That said, if you really would prefer to use an obsolete product you can still download it for a limited time here:
    http://www.oracle.com/technology/software/products/forms/htdocs/winsoft.html
    I do not know how long this URL will remain available as we are slowly cleaning up all of the old references to now unsupported products.

  • How to find Oracle script in the database

    Hi,
    I've an Oracle instance with Fine Grained Auditing (FGA).
    In this DB was created a series of policies and now I want to find the scripts created for insert it in another database.
    for example:
    dbms_fga.add_policy (
    .....................How can I find this SQL script from this database?
    I have also export dmp file
    Must I use TOAD for export the objects?
    Thanks in advance!

    you'll need to use datapump export/import for this, see the example below:
    Create fga policy TEST_POLICY on table scott.emp
    SQL> exec dbms_fga.add_policy(object_schema => 'SCOTT',object_name => 'EMP',policy_name => 'TEST_POLICY');
    Show fga policy in the db
    SQL> select * from DBA_AUDIT_POLICIES where policy_name = 'TEST_POLICY';
    OBJECT_SCHEMA                  OBJECT_NAME                    POLICY_OWNER
    POLICY_NAME                    POLICY_TEXT          POLICY_COLUMN                  PF_SCHEMA
    PF_PACKAGE                     PF_FUNCTION                    ENA SEL INS UPD DEL AUDIT_TRAIL  POLICY_COLU
    SCOTT                          EMP                            OPS$ORACLE
    TEST_POLICY
                                                                  YES YES NO  NO  NO  DB+EXTENDED  ANY_COLUMNS
    Now export the metadata for the objects
    [oracle@mr-blonde 11.2.0]$ expdp / dumpfile=testpolicy.dmp directory=DATA_PUMP_DIR content=METADATA_ONLY SCHEMAS='OPS$ORACLE,SCOTT'
    Export: Release 11.2.0.1.0 - Production on Mon Mar 29 11:22:25 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    FLASHBACK automatically enabled to preserve database integrity.
    Starting "OPS$ORACLE"."SYS_EXPORT_SCHEMA_01":  /******** dumpfile=testpolicy.dmp directory=DATA_PUMP_DIR content=METADATA_ONLY SCHEMAS=OPS$ORACLE,SCOTT
    Processing object type SCHEMA_EXPORT/USER
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type SCHEMA_EXPORT/TABLE/COMMENT
    Processing object type SCHEMA_EXPORT/TABLE/FGA_POLICY
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    Master table "OPS$ORACLE"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
    Dump file set for OPS$ORACLE.SYS_EXPORT_SCHEMA_01 is:
      /app/oracle/admin/CS11G/dpdump/testpolicy.dmp
    Job "OPS$ORACLE"."SYS_EXPORT_SCHEMA_01" successfully completed at 11:23:46
    Now to drop the policy
    SQL> exec dbms_fga.drop_policy (object_schema => 'SCOTT',object_name => 'EMP',policy_name => 'TEST_POLICY');
    PL/SQL procedure successfully completed.
    Now checking that the policy is really gone
    SQL> select * from DBA_AUDIT_POLICIES where policy_name = 'TEST_POLICY';
    no rows selected
    Now to import the policy back into the db from the data pump export taken earlier
    [oracle@mr-blonde 11.2.0]$ impdp / dumpfile=testpolicy.dmp directory=DATA_PUMP_DIR include=FGA_POLICY
    Import: Release 11.2.0.1.0 - Production on Mon Mar 29 11:27:16 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    Master table "OPS$ORACLE"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "OPS$ORACLE"."SYS_IMPORT_FULL_01":  /******** dumpfile=testpolicy.dmp directory=DATA_PUMP_DIR include=FGA_POLICY
    Processing object type SCHEMA_EXPORT/TABLE/FGA_POLICY
    Job "OPS$ORACLE"."SYS_IMPORT_FULL_01" successfully completed at 11:27:21
    Checking that the fga policy has been imported successfully
    OBJECT_SCHEMA                  OBJECT_NAME                    POLICY_OWNER                   POLICY_NAME                    POLICY_TEXT
    POLICY_COLUMN                  PF_SCHEMA                      PF_PACKAGE                     PF_FUNCTION                    ENA SEL INS UPD DEL
    AUDIT_TRAIL  POLICY_COLU
    SCOTT                          EMP                            OPS$ORACLE                     TEST_POLICY
                                                                                                                                YES YES NO  NO  NO
    DB+EXTENDED  ANY_COLUMNS

  • How to find bpel instance in 11g based on the index values using Java APIs

    Hi ,
    In SOA10G we had option to find the instances based on the index value using Java APIs like below.
    WhereCondition criteria= new WhereCondition(SQLDefs.CX_index_1 + " = ?");
    criteria.setString(1, "indexValue");
    Locator mLoc = getLocator();
    IInstanceHandle[] foundInstances = mLoc.listInstancesByIndex(criteria);
    Please tell me how to achieve the same functionality in SOA 11G using Java APIs
    Regards,
    Saba

    I have multiple bpel in my composite. I checked in ci_indexes table and it shows the instance number of the bpel process. But the em console is showing only the composite instance number. when I opened composite instance, I could see all the bpel process with instance number in the audit trail. How can I find the the actual composite instance number that I should search for in the em console ???

  • How To Find Oracle Home Directory Path...

    Hello,
    I am working on deployment of java web service on Oracle Application Server(LINUX) 10g, EBS - R12.
    I am working on other system and i want to deploy web service remotely on application server.
    And i am not getting the oracle home directory path. I want to find the home directory path remotely.
    so suggest me how to find out path of that.
    or weather i have to install jdevloper on server system and than i have to deploy it,
    or any other alternative way is available.
    Reply as soon as possible......

    Thanks for your reply.
    It's precisely the registry key which got tampered, and there's no ORACLE_HOME environmental variable(Or that too is tampered)
    Now,how to set it to one of the Oracle home directories?
    Regards,
    Bhagat
    !!!!!!!!!!!!!!!!!!!!

  • How to find Oracle drivers are installed in WAS

    Hi
    I am doing Proto type application using webdynpro.I want to create tables in Oracle database,because WAS is installed on Oracle.Now i went to Visual Admin tool and checked the "JDBC Connector" properties.I tried to create the new 'DataSource".While creating DataSource ,it is asking me DriverName,Driver ClassName,Version.I have following questions:
    1.How to find the wheather Oracle drivers are installed or not?if not where to get these drivers?
    2.Once DataSource is created ,how to test wheater it is working fine or not?please help
    Thanks
    Prasad

    Hello Prasad,
    Don't create a new datasource, but create a datasource alias for the existing SAP<sid>DB datasource with your new name.
    <u>(remember to restart the j2ee cluster)</u>
    Then in your application instatiate the datasource and use your create/update/select statements.
    <b><i>Once this is set up test from your java code as follows:</i></b>
    InitialContext ic = new InitialContext(); 
    DataSource mySource = (DataSource)ic.lookup("java:comp/env/jdbc/YourDataSource");
    or.. DataSource mySource = (DataSource)ic.lookup("java:jdbc/YourDataSource"); <b>(can't remember which of the 2 worked)</b>
    if this throws a NamingException, then your alias doesn't work, or perhaps you forgot to restart the cluster.
    After this executes successfully, use the datasource freely.
    Connection con = mySource.getConnection();
    con.executeQuery
    con.executeUpdate
    con.executeStatement
    ect...
    And forget about oracle, sapdb, informix, db2, or whatever drivers. This makes your application portable and independent from the DB layer.
    Please feel free to reward points if this solves your problem.
    Best regards,
    Homer Vargas

  • How to restart Oracle instance from oracle client

    I have an Oracle server 10g with DEVEL instance on AIX machine. I have an Oracle Client on Windows machine as well. I want to stop and start the instance DEV from my client using bat file. Is it possible ? Is anybody knows how to do it ?
    KP>

    well, right now the correct question should be : how to start database.
    I am able to login as sysdba to DEVEL on AIX ( from Windows client) and shutdown it but when I try to startup it returns such a message:
    ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
    but I am still able to tnsping my DEVEL from client ...Post listener status, its contents and entry tnsnames.ora file. Here is how I got connected shutdown and started. The process I followed:
    1)Made entry in listener.ora file as I said earlier, restarted the listener
    2)Made change in tnsnames.ora file
    3)Connect from client shutdown and started.
    SQL*Plus: Release 9.0.1.0.1 - Production on Fri Sep 18 16:30:58 2009
    (c) Copyright 2001 Oracle Corporation. All rights reserved.
    SQL> conn sys/hawaii@ia1dev as sysdba
    Connected.
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 364904448 bytes
    Fixed Size 1287356 bytes
    Variable Size 226495300 bytes
    Database Buffers 130023424 bytes
    Redo Buffers 7098368 bytes
    Database mounted.
    Database opened.
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for Solaris: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    SQL>
    Regards.
    Edited by: virendra.k on Sep 18, 2009 4:36 PM

  • How to find ORACLE Terminal

    I must set up som function keys, and don't find ORACLE Terminal.
    Could someone tell me where to find it ?

    bin\ot60.exe under ORACLE_HOME
    Regards, Michael

  • How to find the instances that are running in a server?

    i have a Solaris server and previous engineer did a custom install of multiple instances of oracles.
    how can i find out the instances? such as instance name, port, database name, etc.
    thanks.

    user1035690 wrote:
    i have a Solaris server and previous engineer did a custom install of multiple instances of oracles.
    how can i find out the instances? such as instance name, port, database name, etc.
    thanks.For currently running instances:
    ps -ef | grep ora | grep pmonPort is for listener configuration and 1 listener can serve to multiple instances. You should check listener.ora file.
    Teymur Hajiyev
    Oracle 10g Certified Master
    http://teymur-hajiyev.blogspot.com
    http://dba.az

  • How to find inflight instances associated with workflow

    Hi All,
    Is their any way that with the help of any sql query we could find out the number of inflight instances assoicated with workflows. I have 281 workflow in my case and i have to delete those which are of old version and have no inflight instances associated with it.
    Iam very new to bpel so any help will be appreciated.
    Thanks
    Vikram

    Hello Vikram,
    What exactly do you mean with "workflow". Is this a composite? or a BPEL Process?
    If you mean composites then the task you are describing can be achieved using the Oracle Fusion Middleware Infrastructure Management Java API. Look here for more info.
    If you need some elaboration please let me know. I can post some example.
    Regards,
    Melvin

  • How to find Oracle SRID, or create one if it does not exist?

    Hi folks
    I am trying to find the Oracle SRID codes for EPSG codes 4893 and 4759, but am having no success yet. We are at version 10.2.0.4.0.
    This query returns no records for me:
    <pre>
    select * from mdsys.cs_srs where wktext LIKE 'GEOGCS[""NAD83(NSRS2007)"", DATUM[""NAD83_National_Spatial_Reference_System_2007""%';
    </pre>
    Because we are not at version 11.2, I can’t use the function "find_geog_crs()" with WKT as the first argument – it only wants to accept an SRID, which is what I’m trying to find.
    Can anyone help:
    a) identify the correct Oracle SRIDs for these EPSG codes?
    b) tell me the proper steps to take in order to add these missing CRS's to our database?
    Any assistance would be much appreciated!

    SRID 4893 is GEOGRAPHIC3D, which is not yet supported in 10.2. In 11, it is supported, but the SRID is not shipped, out of the box.
    SRID 4759 is GEOGRAPHIC2D, and therefore supported in 10.2. However, it is not shipped, out of the box, and I have not found an OGC equivalent SRID, neither.
    Both SRIDs can be added as EPSG custom definitions. I can supply you a script to do this... I'll try to post that script, later, today...

  • How to Find Oracle Home Name

    Hi All,
    I am trying to find what is the name provided for ORACLE HOME NAME for SSO Midtier.
    The install log files are not available. Now when i try to patch the SSO it is prompting for the Oracle home name and path, for which I donot know the value for Oracle Home Name.
    Is there any file apart from install log will have this value or is there any way i can see it from the OEM console?
    Regards,
    Balaji

    Hi,
    The server has:
    1 SSO
    1 MidTier
    But have been installed with the same Oracle Home Name - oracleas
    Now I have to patch the SSO to 10.1.2.2.0
    During patching if I give oracelas1 as oracle home name it automatically changes its path to Mid Tier path.
    If i manually change it to SSO path it throws an error.
    If i give a new Oracle Home Name manually and type the oracle home for SSO, it says this SSO doesnot need the patch 10.1.2.2.0 but the SSO still runs on 10.1.2.0.2
    Let me know if i am clearly.
    Regards,
    Balaji

  • How to find Oracle version

    Hello friends,
    I am new to sql. Can anyone let me know the query as to how we can find the version of the oracel installed on the system.
    Thanks and Regards,
    shekar.

    select * from v$version;

Maybe you are looking for