Oracle Query for Oracle RAC

Hi Everyone,
I want oracle query with which we can retrieve information about oracle RAC.
This information is, No of Clusters, Db instances...
Which Tables i can query for this information?
Thank You In Advance...
Roshan

Hi,
I think you would mean active instances on your cluster....
Query v$active_instances
04/05/[email protected]=287> select * from v$active_instances;
INST_NUMBER INST_NAME
1 rac1:ORCL1
2 rac2:ORCL2
2 rows selected.
Regards,
Rodrigo Mufalani
http://mufalani.blogspot.com

Similar Messages

  • Oracle query for top two salary of each group departmentwise

    oracle query for top two salary departmentwise

    sigh...
    But anyway,
    Top-n queries:
    http://www.oracle.com/technology/oramag/oracle/07-jan/o17asktom.html
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:2853107469873
    and ofcourse lots of 'em here on OTN...

  • Oracle gateway for Oracle 10g DB on Windows 64 bit server

    Is there any place that I can find Oracle dateway for Oracle 10g DB on Windows 64 bit server? I can only find Gateway for Oracle 11g on Windows 32 bit server. Please help me to identify this. Thanks.

    yingkuan:
    Thanks a lot. The link tells the details. It seems that Oracle has not release Gateway for Oracle database 10.2.0.x on Windows 64 bit server. Probably they don't do it.
    So under this circumstance, if I want to install Gateway (32 bit) on Oracle 10.2.0.3 DB on Windows 64 bit server for Teradata, I probably have to install Gateway software in another Oracle Home, then configure it right. Please give more advice on this. 32 bit Gateway will work for 64 bit database?

  • How to set JDBC Data Sources in Oracle MapViewer for Oracle database 12c Release 1 (12.1.0.1)

    How to set JDBC Data Sources in Oracle MapViewer for Oracle database 12c Release 1 (12.1.0.1)?
    The following is my configuration in the conf\mapViewerConfig.xml:
    <map_data_source name="mvdemo12"
    jdbc_host="127.0.0.1"
    jdbc_sid="orcl12c1"
    jdbc_port="1522"
    jdbc_user="mvdemo"
    jdbc_password="7OVl2rJ+hOYxG5T3vKJQb+hW4NPgy9EN"
    jdbc_mode="thin"
    number_of_mappers="3"
    allow_jdbc_theme_based_foi="true"
    editable="true"/>
    <!--  ****  -->
    But it does not work.
    After use "sqlplus mvdemo/[email protected]:1522/pdborcl", it connected to the Oracle database 12c.
    Does anyone know it?
    Thanks,

    For 11.1.1.7.1 use the syntax for jdbc_sid, i.e.
    //mypdb1.foo.com as described in the README,
    - MapViewer native (non-container) data sources can now use database service name in place of SID. To supply a db service name, you will use the same jdbc_sid attribute, but specify the service name with double slashes in front, such as follows:
      <map_data_source name="myds"
        jdbc_host="foo.com"
        jdbc_sid="//mypdb1.foo.com"
        jdbc_port="1522"
      />
    For 11.1.1.7.0 use a container_ds instead.
    i.e. instead of using
    <map_data_source name="my_12c_test"
                       jdbc_host="mydbinstance"
                       jdbc_sid="pdborcl12c"
                       jdbc_port="1522"
                       jdbc_user="mytestuser"
                       jdbc_password="m2E7T48U3LfRjKwR0YFETQcjNb4gCMLG8/X0KWjO00Q="
                       jdbc_mode="thin"
                       number_of_mappers="6"
                       allow_jdbc_theme_based_foi="false"
                       editable="false"
       />
    use
      <map_data_source name="my_12c_test"
                       container_ds="jdbc/db12c"
                       number_of_mappers="6"
                       allow_jdbc_theme_based_foi="false"
                       editable="false"
       />
    In my case the Glassfish 3.1.2.2 JDBC connection pool definition was
    Property
    url  jdbc:oracle:thin:@mydbinstance:1522/pdborcl12c.rest_of.service.name
    Uncheck the Wrap JDBC Objects option in Advanced panel, i.e. the Edit JDBC Connection Pool Advanced properties page.
    Add a JDBC resource for that newly created pool
    Use that in mapviewerconfig.xml as above

  • Can i use oracle 8i for oracle 9ias application server ?

    can i use oracle 8i for oracle 9ias application server for developing jsp applicationes?
    can i run the oracle 8i data application with 9 ias oracle server?
    can any one give suggetion?
    pullareddy

    Hi
    Each time when you start your computer, you need to restart Oracle as well, its only with Windows XP. The process you have to follow each time is:
    Start -->Run and then type CMD to open command prompt.
    In command prompt type
    svrmgrl and then press
    connect internal/oracle and then press
    startup force and then press
    If you have any problem, then please email me, [email protected]
    Goodluck

  • Pro Oracle Spatial for Oracle Database 11g - Book now available

    Pro Oracle Spatial for Oracle Database 11g
    Pro Oracle Spatial for Oracle Database 11g shows how to take advantage of Oracle Databases built-in feature set for working with location-based data. A great deal of the information used in business today is associated with location in some way, and analysis of that data is becoming ever more important in todays mobile and highly connected world. In Pro Oracle Spatial for Oracle Database 11g, authors Ravi Kothuri and Albert Godfrind address
    * The special nature of spatial data and its role in professional and consumer applications
    * Issues in spatial data management such as modeling, storing, accessing, and analyzing spatial data
    * The Oracle Spatial solution and the integration of spatial data into enterprise databases
    * How spatial information is used to understand business and support decisions, to manage customer relations, and to better serve private and corporate users
    When you read Pro Oracle Spatial for Oracle Database 11g, you’re learning from the very best. Ravi Kothuri is a key member of Oracle’s Spatial development team. Albert Godfrind consults widely with Oracle clients on the implementation of Oracle Spatial, develops training courses, and presents frequently at conferences. Together they have crafted a technically sound and authoritative fountain of information on working with Spatial data in Oracle...
    Goto http://www.apress.com/book/view/1590598997 or Amazon.com

    Thank you very much.....got it.
    I know it isn't your gig, so I am not asking for a solution, just looking to know where I might have to go to get one. If buying SR's on meta link is going to solve this for me, then I am all for it, just let me know where the expertise can be found, I have been battling this overall set up now for too long, I need someone who really knows this stuff so I can get on with making use of it in industry....thanks....
    Can you steer me in the right direction to access some solid support on the installation issues I am having? See below;
    From oc4j on an attempted stand-alone install;
    07/11/22 20:23:39 INFO [oracle.lbs.mapserver.core.MapperConfig] using default config file: /opt/mv10131/mv10131_qs/oc4j/j2ee/home/applications/mapviewer/web/WEB-INF/conf/mapViewerConfig.xml
    07/11/22 20:23:39 WARN [oracle.lbs.mapserver.core.MapperPool] destroying ALL mapmaker instances.
    07/11/22 20:23:39 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
    07/11/22 20:23:39 INFO [oracle.lbs.mapserver.core.MapperConfig] Map Recycling thread started.
    07/11/22 20:23:39 INFO [oracle.lbs.mapserver.oms] *** Oracle MapViewer started. ***
    07/11/22 20:23:40 INFO [oracle.lbs.mapcache.mcservlet] *** Oracle MapCacheServer started. ***
    07/11/22 20:23:40 Thu Nov 22 20:23:40 EST 2007 INFO [oracle.lbs.mapserver.core.MapRecycleThread, ,#Thread-19] cleansing old maps
    user induced ctl-c....program jams
    07/11/22 20:23:51 Shutting down OC4J...
    07/11/22 20:23:54 ERROR [oracle.lbs.mapcache.mcservlet] !!! Oracle MapCacheServer destroyed. !!!
    07/11/22 20:23:54 WARN [oracle.lbs.mapserver.core.MapperPool] destroying ALL mapmaker instances.
    07/11/22 20:23:54 WARN [oracle.lbs.mapserver.oms] Oracle MapViewer shut down
    From a full AppServer Install Attempt (10.1.3 from e-delivery pack) , despite proper TMP/TMPDIR variables, more than ample space via df -k /tmp (300G) and chmod a+rwx /tmp settings;
    [root@bluesky1 Disk1]# ./runInstaller
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-2.1, redhat-3, redhat-4, SuSE-9 or UnitedLinux-1.0
    Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2007-11-22_07-58-50PM. Please wait ...
    Error in writing to directory /tmp/OraInstall2007-11-22_07-58-50PM. Please ensure that this directory is writable and has atleast 60 MB of disk space. Installation cannot continue.
    : Success
    The people in the forums have been trying to help, and they have all been great, but noone seems able to solve....I am asking you because I am hoping you will know who the guru's are, and what I can do to access some of their wisdom to get up and running.?

  • Where can i find the Oracle JDBC for Oracle RDBMS 8.1.7 ? Thanks.

    Where can i find the Oracle JDBC for Oracle RDBMS 8.1.7 ? Thanks.

    http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html

  • Problem with query for Oracle

    Hello Experts,
    I'm tryng to develop my first application for EP (v7 SP12) with NWDS (without NWDI).
    This application has to read and write data in the EP DB (oracle v10).
    I'm using:
    <u>a Dictionary Project</u> (define the DB Tables)
    <u>a Java Project</u> (define class as DAO, DBManager etc)
    <u>a Library Project</u>
    <u>an EJB Project</u>
    <u>an EAR Project</u>
    With these projects I can deploy a <u>webService</u> in my EP server.
    BUT I have some problem with a query that I'm tryng to sent to my DB through a DAO Class called by my WebService.
    The query is simple and correct but it does not work...
    This is the error message returned (the query id in bold)
    (column names: GIORNO, NOMEDITTA, NOMEAREA, NOMESETTORE)
    <i>HTTP/1.1 500 Internal Server Error
    Connection: close
    Server: SAP J2EE Engine/7.00
    Content-Type: text/xml; charset=UTF-8
    Date: Fri, 21 Sep 2007 14:29:57 GMT
    Set-Cookie: <value is hidden>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>java.sql.SQLException: com.sap.sql.log.OpenSQLException: The SQL statement <b>"SELECT NOMESETTORE, MIN(? - "GIORNO") AS GIORNI FROM SRS_DATEINFORTUNI WHERE NOMEDITTA = ? AND NOMEAREA= ? GROUP BY NOMESETTORE ORDER BY NOMESETTORE"</b> <u>contains the syntax error[s]: - 1:25 - the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</u></faultstring><detail><ns1:getGiorniSettori_com.akhela.giorniSenzaInfortuni.ejb.exception.GiorniSenzaInfortuniException xmlns:ns1='urn:GiorniSenzaInfortuniWSWsd/GiorniSenzaInfortuniWSVi'></ns1:getGiorniSettori_com.akhela.giorniSenzaInfortuni.ejb.exception.GiorniSenzaInfortuniException></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope></i>
    The variable '?' is the today date, the difference <b>"(?-GIORNO)"</b> is an int..
    Moreover in my DAO class the query is <b>"SELECT NOMESETTORE, MIN(? - GIORNO) AS GIORNI FROM SRS_DATEINFORTUNI WHERE NOMEDITTA = ? AND NOMEAREA= ? GROUP BY NOMESETTORE ORDER BY NOMESETTORE</b>", instead in the error message is reported <b>MIN(? - "GIORNO")</b>...
    We have tryed also with alternative query, for example we used <b>"MIN(SYSDATA - GIORNO)"</b> but <b>SYSDATA</b> was interpreted as column name and  not found....
    Any help???
    Best Regards

    Hi, I found something about the Host Variable (http://help.sap.com/saphelp_nw70/helpdata/en/ed/dbf8b7823b084f80a6eb7ad43bdbb9/content.htm), there explain that if you want to use an host variable you have to put ':' as prefix..
    My problem is that <u>I need to extract the minimum of the subtraction between two dates:</u>
    Query <b>MIN(? - GIORNO)</b> --> <i>Error: the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</i>
    So I tried to use the ':' as indicated in the manual..
    <b>MIN:(? - GIORNO)</b> --> - <i>SQL syntax error: the token ":" was not expected here
                   - expecting LPAREN, found ':'</i>
    <b>MIN(:(? - GIORNO))</b> --> <i>- 1:25 - Open SQL syntax error: :PARAMETER not allowed
                   - 1:26 - SQL syntax error: the token "(" was not expected here
                   - 1:26 - expecting ID, found '('</i>
    Then I tried to avoid the MIN() function and I tried to do just the subtraction:
    <b>? - GIORNO</b> --><i> - 1:21 - the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</i>
    <b>:(? - GIORNO)</b> --> <i>- 1:21 - Open SQL syntax error: :PARAMETER not allowed
                - 1:22 - SQL syntax error: the token "(" was not expected here
                - 1:22 - expecting ID, found '('</i>
    <b>'2007-09-24' - GIORNO</b> --> <i>- 1:34 - SQL syntax error: first argument of operator "-" must be a number, date/time or interval
                     - 1:43 - SQL syntax error: arguments of operator "-" do not have correct types
                     - 1:43 - SQL syntax error: derived columns in SELECT list with AS must be values</i>
    <b>GIORNO - GIORNO</b> --> <i>- 1:21 - the group by list and the select list are inconsistent: the column >>"GIORNO"<< is neither grouped nor aggregated
                  - 1:30 - the group by list and the select list are inconsistent: the column >>"GIORNO"<< is neither grouped nor aggregated</i>
    Why these parts of query are not accepted???
    I don't understand why... I hope you can help me.
    Best Regards
    Alessandro

  • Oracle query for getting discrepancy equip codes

    I need help in getting a query for discrepancy equip_code
    select distinct eq.dept_id,eq.drive_id,equip_code,eq.qc_subtype_id,staff_id
    from qc_equipment_used eq, qc_daily qc
    where eq.drive_id = qc.drive_id
    and trunc(eq.create_time) = '06-aug-2012'
    and out_of_service = 'N'
    and eq.qc_subtype_id in (1026,1012)
    and eq.drive_id = 'DRV2016637'
    DEPT_ID|DRIVE_ID|EQUIP_CODE|QC_SUBTYPE_ID|STAFF_ID
    95|DRV2016637|HEMORYA121|1012|0011
    95|DRV2016637|HEMORYA121|1026|0011
    95|DRV2016637|HEMORYA148|1012|0011
    I need help in getting a query to show the user that
    95|DRV2016637|HEMORYA148|1012|0011
    was qc'd in the morning but not in the evening for 1026

    You still refuse to read {message:id=9360002} and follow the Forum Etiquette?
    How sad for you, since less volunteers will help you.

  • How to configure Oracle Dataguard for Oracle 10g database

    Hi Friends,
    I would like to configuer Oracle Dataguard for my Oracle 10g Database.
    Please provide me the configuration document.(step by step guide)
    Regards,
    DB

    Hi
    Go throw below link. This would be help to configure ODG..,
    http://blogs.oracle.com/AlejandroVargas/2007/09/data_guard_physical_standby_im.html
    http://blogs.oracle.com/AlejandroVargas/2007/10/data_guard_broker_observer_and.html
    Thanks,
    Mayilselvan.S

  • Can i use oracle 8i for oracle 9ias application server for developijsp applicationes?

    hi,
    can i use oracle 8i database for oracle 9ias application server for developing jsp applicationes?
    can any one give suggetion?
    jpullareddy

    If you are using OLite, you should use the OLite .NET provider:
    http://download-west.oracle.com/docs/cd/B14156_01/doc/B13788/html/toc.htm
    Look at Chapter 6 and 11, which cover ADO.NET data access.

  • Oracle softwares for oracle failsafe 10g

    Hi experts
    What softwares are required to setup oracle failsafe on 10g in windows 2003
    Is there separate liecense and instalables for oracle failsafe?
    Please suggest.
    Thanks In advance

    Hi,
    Refer to : http://www.oracle.com/technetwork/database/windows/index-082893.html
    Oracle provided the needed information. Just spend some time.
    Refer to ; http://download.oracle.com/docs/html/B12070_01/intro.htm
    - Pavan Kumar N
    Edited by: Pavan Kumar on Apr 11, 2011 12:43 PM

  • /oracle/oraInventory for oracle upgrade

    Hello,
    I am going to update oracle9.2.0.6 to 10.2.0.4 for SAP system. But the old /oracle/oraInventory (of oracle 9.2.0.6) is lost. Does it really matter?
    What kinds of information will be read from /oracle/oraInventory during upgrade? Is it possible to upgrade without it?
    Thank you very much.

    Hi Rongfeng,
    Yes it is possible to upgrade to Oracle 10g without it.
    For more details check oracle Upgrade doc at service.sap.com/instguides>Other Documentation> Database Upgrades
    Thanks,
    Sushil

  • Oracle forms and Oracle reports for Oracle 9i

    Hello,
    I'm searching for Oracle forms and Oracle reports that works with Oracle 9i.
    Does someone know where I can find them?
    Thanks in advance...

    When we talk about Oracle9i, we often mean the database version 9i.
    Apparently you want to use Forms and Reports 9i, which included in the obsolete (and very unhappy) Application Server 9i. ... Or the also obsolete Application Server 10g Release 1 (aka App Server 9.0.4.
    You are encouraged to look at Forms and Reports 10g (part of the improved Application Server 10g) which does connect to Oracle Database 9i as well as Oracle Database 10g. Look for App Server 10g Release 2, version 10.1.2.0.2 and 10.1.2.2)

  • Preferred  Oracle download for Oracle certification lab.

    My objective is to earn Oracle database administrator certification(s), Associate, Professional, Master. I own a new SUN SPARC workstation. I want to install Oracle on my SUN workstation. I will use the Oracle installation for hands on learning. From the Oracle web site, product editions section, the available editions are; Personal, Standard, and Enterprise. On the Oracle software download section I found Oracle9i Database, Oracle9i Lite, and Oracle9i Personal, in addition to other downloads. Of all the available products which download is the product of choice for building my Oracle lab.
    Thank you in advance for your guidance.
    Michael Ciaccio, B.Sc.
    SUN Microsystems Certified Programmer, JAVA 2 platform
    SUN Microsystems Certified Developer, JAVA 2 platform
    SUN Microsystems Certified Web Component Developer, JAVA 2 Enterprise Edition (J2EE) platform

    Choose Oracle 9i Database Entreprise Edition
    Fred

Maybe you are looking for