Concept about Query Scn in Dataguard in Oracle 11g

What are the details concepts behind the’ query scn’ in Dataguard in Oracle 11g. I read the concept from Oracle Datagaurd 11g Handbook but it was not clear for me.

It's the highest SCN to which data is synchronised between the primary and secondary in a way that the secondary guaranteed read-consistent. It's therefore not possible to query an active standby for data modified after that SCN. At any given time, there might be transactions committed on the primary but not yet shipped or applied to the standby. You're not allowed to see those on the secondary. Not sure how much more detailed you want to get, really.
Edited by: Catfive Lander on Jan 15, 2013 4:15 AM

Similar Messages

  • Querying 2.5D data in Oracle 11g

    I'm trying to use the SDO_RELATE function on some 2.5D data in 11g and have some questions:
    Lets say if I have two tables with some points in one and two polygons in the other:
    -- TEST_TABLE_A
    CREATE TABLE TEST_TABLE_A (
    VALUE          VARCHAR2(100),
    GEOMETRY     MDSYS.SDO_GEOMETRY);
    -- Metadata 
    INSERT INTO user_sdo_geom_metadata VALUES ('TEST_TABLE_A','GEOMETRY', 
    SDO_DIM_ARRAY(
    SDO_DIM_ELEMENT('X', -10000000, 10000000, .001),
    SDO_DIM_ELEMENT('Y', -10000000, 10000000, .001),
    SDO_DIM_ELEMENT('Z', -100000, 100000, .001))
    , 262152);
    -- Create an index with sdo_indx_dims=3
    CREATE INDEX TEST_TABLE_A_SPIND ON TEST_TABLE_A (GEOMETRY)
    INDEXTYPE IS MDSYS.SPATIAL_INDEX
    PARAMETERS ('sdo_indx_dims=3');
    INSERT INTO TEST_TABLE_A (VALUE, GEOMETRY) VALUES
    ('POINT1', SDO_GEOMETRY(3001, 262152, SDO_POINT_TYPE(561802.689, 839675.061, 1), NULL, NULL));
    INSERT INTO TEST_TABLE_A (VALUE, GEOMETRY) VALUES
    ('POINT2', SDO_GEOMETRY(3001, 262152, SDO_POINT_TYPE(561802, 839675, 1), NULL, NULL));
    INSERT INTO TEST_TABLE_A (VALUE, GEOMETRY) VALUES
    ('POINT3', SDO_GEOMETRY(3001, 262152, SDO_POINT_TYPE(561808.234, 839662.731, 1), NULL, NULL));
    -- TEST_TABLE_A
    CREATE TABLE TEST_TABLE_B (
    VALUE          VARCHAR2(100),
    GEOMETRY     MDSYS.SDO_GEOMETRY);
    -- Metadata
    INSERT INTO user_sdo_geom_metadata VALUES ('TEST_TABLE_B','GEOMETRY', 
    SDO_DIM_ARRAY(
    SDO_DIM_ELEMENT('X', -10000000, 10000000, .001),
    SDO_DIM_ELEMENT('Y', -10000000, 10000000, .001),
    SDO_DIM_ELEMENT('Z', -100000, 100000, .001))
    , 262152);
    -- Create an index with sdo_indx_dims=3
    CREATE INDEX TEST_TABLE_B_SPIND ON TEST_TABLE_B (GEOMETRY)
    INDEXTYPE IS MDSYS.SPATIAL_INDEX
    PARAMETERS ('sdo_indx_dims=3');
    INSERT INTO TEST_TABLE_B (VALUE, GEOMETRY) VALUES
    ('NON-FLAT POLYGON',
    SDO_GEOMETRY(3003, 262152, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 1), SDO_ORDINATE_ARRAY(561902.814, 839647.609, 10.022,
    561891.19, 839652.227, 10.424, 561879.129, 839656.427, 10.932, 561867.892, 839659.927, 11.136, 561851.813, 839664.222, 11.594,
    561831.714, 839668.612, 11.797, 561802.689, 839675.061, 11.975, 561778.461, 839680.155, 12.611, 561753.474, 839685.085, 12.153,
    561750.606, 839685.756, 12.026, 561748.963, 839671.963, 15.309, 561747.899, 839659.764, 16.35, 561798.912, 839651.036, 15.801,
    561808.702, 839650.973, 15.225, 561844.265, 839648.912, 14.62, 561874.846, 839647.57, 13.018, 561897.681, 839647.338, 10.704, 561902.814, 839647.609, 10.022))
    INSERT INTO TEST_TABLE_B (VALUE, GEOMETRY) VALUES
    ('FLAT POLYGON',
    SDO_GEOMETRY(3003, 262152, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 1), SDO_ORDINATE_ARRAY(561902.814, 839647.609, 1,
    561891.19, 839652.227, 1, 561879.129, 839656.427, 1, 561867.892, 839659.927, 1, 561851.813, 839664.222, 1,
    561831.714, 839668.612, 1, 561802.689, 839675.061, 1, 561778.461, 839680.155, 1, 561753.474, 839685.085, 1,
    561750.606, 839685.756, 1, 561748.963, 839671.963, 1, 561747.899, 839659.764, 1, 561798.912, 839651.036, 1,
    561808.702, 839650.973, 1, 561844.265, 839648.912, 1, 561874.846, 839647.57, 1, 561897.681, 839647.338, 1,
    561902.814, 839647.609, 1))
    COMMIT;So now, lets say I want to find out what polygon interacts with a particular point.
    I would write this query like:
    SELECT     /*+ORDERED*/ b.value
    FROM     TEST_TABLE_b b, TEST_TABLE_a a
    WHERE     sdo_relate (a.geometry, b.geometry, 'MASK=ANYINTERACT QUERYTYPE=WINDOW') = 'TRUE'
    AND      a.value = 'POINT1';Running this I get:
    SELECT  /*+ORDERED*/ b.value
    ERROR at line 1:
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-13243: specified operator is not supported for 3- or higher-dimensional R-tree
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 333But if I reverse the table order I get the correct answer
    SQL> SELECT      /*+ORDERED*/ b.value
      2  FROM       TEST_TABLE_a a, TEST_TABLE_b b
      3  WHERE      sdo_relate (a.geometry, b.geometry, 'MASK=ANYINTERACT QUERYTYPE=WINDOW') = 'TRUE'
      4  AND                a.value = 'POINT1';
    VALUE
    FLAT POLYGON
    1 row selected.Q1. Why do I get an error if I reverse the table order?
    Then if I try to find what points in the polygons:
    SQL> SELECT      /*+ORDERED*/ a.value
      2  FROM       TEST_TABLE_b b, TEST_TABLE_a a
      3  WHERE      sdo_relate (b.geometry, a.geometry, 'MASK=ANYINTERACT QUERYTYPE=WINDOW') = 'TRUE'
      4  AND                b.value = 'NON-FLAT POLYGON';
    no rows selected
    SQL> SELECT      /*+ORDERED*/ a.value
      2  FROM       TEST_TABLE_b b, TEST_TABLE_a a
      3  WHERE      sdo_relate (b.geometry, a.geometry, 'MASK=ANYINTERACT QUERYTYPE=WINDOW') = 'TRUE'
      4  AND                b.value = 'FLAT POLYGON';
    VALUE
    POINT1
    POINT2
    POINT3
    3 rows selected.So this suggests that the Z value is considered in the SDO_RELATE query.
    Q2. Is there anyway to run an SDO_RELATE query in 11g with 2.5D data, but get it to ignore the Z value?
    I have tried using sdo_indx_dims=2 when creating the indexes, but I get the same result.
    I'm using Enterprise Edition Release 11.1.0.6.0 on Windows server 2003 32bit.

    DBA-009 wrote:
    thx but how i can mask data with above give environment?What does "mask data" mean to you and what is the environment you are referring to?
    Telling us that you are using 11.1 helps. But it is far from a complete description of the environment. What edition of the database are you using? What options are installed? What Enterprise Manager packs are licensed? Is any of this changable? Could you license another option for the database or another pack for Enterprise Manager if that was necessary?
    What does it mean to you to "mask data"? Do you want to store the data on disk and then mask the data in the presentation layer when certain people query it (i.e. store the patient's social security number in the database but only present ***-**- and the last 4 digits to certain sets of employees)? Do you want to hide entire fields from certain people? Do you want to change the data stored in the database when you are refreshing a lower environment with production data? If so, do you need and/or want this process to be either determinisitic or reversable or both?
    Justin

  • Oracle 11g 64 bit - "Value too large for column" when setting Varchar2

    Hello guys,
    I have a machine running Oracle 11g - 64bits. And I have a table that contains a VARCHAR2(2000) field.
    When I try to set the value of this field to a string that contains double byte characters, I get this error:
    ORA-12899: value too large for column "QAPBG1220_11"."MYTABLE"."MYFIELD" (actual: 2433, maximum: 2000).
    Although the value I'm setting is only 811 characters (€ sign).
    The weird thing is that when I try to run the same query on another PC with Oracle 11g, 32 bits, It runs normally and the values are updated!!
    Anyone has any idea about this? It's driving me crazy
    Thanks in advance
    Zahraa

    create table MYTABLE
    MYTABLEID NUMBER(10) not null,
    MYFIELD VARCHAR2(2000)
    alter table MYTABLE
    add constraint PK_MYTABLE primary key (MYTABLEID);
    INSERT INTO MYTABLE (Mytableid, Myfield) VALUES(1, '€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€fds€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€')
    COMMIT;
    On the 32 bit, this works fine. I get the record with the values 1 and 2000 euro signs.
    On the 64 bits, there is one machine (oracle 11.2.0.1.0) that adds the row, but when I view it, the value shows as "????"
    and another machine (oracle 11.1.0.7.0) that throws an error:
    - "String Literal is too long" : if there are more than 1333 euro characters
    - Value too large for column .... : if there are less than 1333 and more than 666 characters.
    Any ideas?

  • Index not being used in Oracle 11g

    Hi,
    I executed an SQL in Oracle 9i based on a Materialized View with an index. Execution plan shows it used Index and did Range scan. But the same query if I executed in Oracle 11g, it did full table scan and ignored the index. Finally, I used /*+Index*/ hint to tell compiler to use the index. Can anyone tell why it happended like this.
    below is the query.
    SELECT TYPE,NAME,PARENT_ID,CHILD_ID,UNIT_OF_MEASURE,QUANTITY,POSITION_NUMBER
    FROM MVIEW_BOM_CHILD_ATTRIBUTES
    WHERE BREAKDOWN_LIMIT = 'FALSE'
    CONNECT BY PRIOR CHILD_ID = PARENT_ID START WITH PARENT_ID IN ('7325','34676','10121','35154','34370','4909','5494','28714','2273','22551','36465','35416','7148','34774',' 23290','18225','24415','35774','34772','20108','19072','8134','14688','31751','12669','26450','34716','768 4','26004','8770','34001','32614','3816','19801','30329','13822','15784','9296','17147','35423','6181','3477 3','18683','20780','35191','17990','7788','1559','7691','35449','34640','35432','35829','14161','9412','2039 2','593','23744','15741','35850','4177','36420','34695','33027','34655','31315','13552','23089','14025','901 2','22930','36182','13413','13839','32502','2392','19666','35183','32174','35170','20545','14344','29190','1 8163','19124','35448','32171','23498','2694','31101','4357','30421','35826','17976','13218','34770','35778' ,'16112','36408','34797','3294','9600','23524','3663','36412','34674','26715','2886','3204','15928','4510','8 112','27232','14966','35217','6281','1610','16359','25906','10262','3291','35777','11789','34675','24208','1 0093','28479','2928','23396','19702','32716','29813','2536','2349','34639','18610','35175','9796','26915','6 041','4745','34718','17946','3285','34308','9451','29689','17903','34642','35166','4630','35760','35761','34 696','27958','5912','35549','17695','31595','8028','24020','16025','8004','6430','36391','3580','32433','354 94','27368','15801','35583','35488','18807','34180','26626','20629','34767','14771','28746','34728','4948',' 34355','14000','34734','35820','36449','4904','11136','35177','27740','8016','13883','36402','35233','2614 7','21089','33152','35162','11320','32843','7336','34654','35602','32026','35582','24500','10573','33778','1 651','22781','25784','30124','10798','15930','28652','1513','745','35415','30404','21990','20872','2272','16 273','4234','35601','35581','22088','15543','3362','7713','35431','34719','27710','33104','20482','16801','1 686','35658','16545','32681','8722','20046','8950','34799','31605','21299','19572','445','35489','35656','35 546','7414','13369','35455','35434','35438','19383','10591','24698','14607','25715','27913','1046','15511',' 36386','6801','25134','2717','2083','35288','15851','14538','35398','11575','35156','35435','4232','36380',' 18406','32862','20879','5695','4229','24132','7081','35420','34694','22474','30047','29352','34735','2305',' 36409','18040','13472','31481','29246').
    Thanks

    SBH wrote:
    My doubt is only that is it possible that a SQL query with same index proprties uses different access path to execute. Is it dependent on oracle version also.
    Yes, it is possible.
    It is even possible on the same Oracle version - look at simple examples:
    case 1
    create table test as
    select level l, 'test' test from dual
    connect by level < 1000;
    create index test_ix on test(l);
    explain plan for
    select * from test where l < 50;
    select * from table(dbms_xplan.display);
    Plan hash value: 1408842701
    | Id  | Operation                   | Name    | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT            |         |    49 |   931 |     3   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| TEST    |    49 |   931 |     3   (0)| 00:00:01 |
    |*  2 |   INDEX RANGE SCAN          | TEST_IX |    49 |       |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("L"<50)
    Note
       - dynamic sampling used for this statement (level=2)case 2
    drop table test;
    create table test as
    select * from (
      select level l, 'test' test from dual
      connect by level < 1000
    ) order by dbms_random.value(0,100);
    create index test_ix on test(l);
    explain plan for
    select * from test where l < 50;
    select * from table(dbms_xplan.display);
    Plan hash value: 1357081020
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |    49 |   931 |     3   (0)| 00:00:01 |
    |*  1 |  TABLE ACCESS FULL| TEST |    49 |   931 |     3   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter("L"<50)
    Note
       - dynamic sampling used for this statement (level=2)The same query on the same table containing the same data in it. And the same index.
    The only difference is records order in the table.
    In the first case CBO decided that index range scan would be reasonable.
    In the second case CBO preferred FTS as less costly.

  • Using TimesTen with Oracle 11g

    In documentation I didn't find any information about supporting by Timesten connects to Oracle 11g. So is Timesten can be connected to Oracle 11g or not? Now I've connected it but I'm not sure in proper work of this pair.

    TimesTen 7.0.3 Cache Connect to Oracle supports Oracle 11g on Linux x86 (32-bit).
    Additional platforms will be certified in upcoming maintenance release.
    What platform are you using?
    - Susan

  • Data Guard in oracle 11G

    Hi Friends,
    I am new in orcle & my boss told me to configur a dataguard in oracle 11g.we have two server with same configuration. First server is primary server & second server is standby. I have created two database name as PIDB & PIHIST for RTGS system. I have gave a database name to primary server is PIHIST,PIDB & for standby PIDBSTDBY,PIHISTSTDBY, Is it right ? is it right then how i configure a dataguard?
    Thanks,
    XYZ

    Hi ,
    Check Below Links
    http://www.oracle.com/global/uk/education/downloads/uwe_data_guard.pdf (Pdf File)
    http://wiki.oracle.com/page/DataGuard+%3A+Step-by-Step+Instructions+for+Creating+a+Physical+Standby+Database
    You can go to Oracle Library and also get the pdf file which explains you Step-By-Step Process to creating Physical Or Logical Standby Database.
    And also explain need and configuration of each and every parameter of Standby or Primary database.
    Thanks & Regards
    Rahul Sharma

  • Oracle 11g native web services

    Is there any formal explanation about how to configure and create Oracle 11g native web services and how to correctly secure these services? Since Oracle APEX now supports consumption of SOAP and REST web services, it makes sense to have more explanation about creating and securing web services. As many PL/SQL programmers know, it is always not an easy job to develop web services in jDeveloper to work with databases - with all those add-on technologies like jPublisher/Toplink to get tiny things work. It is not easy to find the "how-to" guide about creating and securing Oracle 11g native web services.
    Thanks.
    Andy

    Thanks for the link Tim...it is very useful. I was told that, in APEX 4.2, it will become able to create RESTful web services through APEX - if you run APEX through APEX Listener - by using resource templates in APEX Listener. I will wait for more information about this feature to come out.
    Thanks.
    Andy

  • Query about XMLTYPE column structured storage in Oracle Xml db

    Dear All,
    DB Version: Oracle 11g (11.2.0.3.0)
    I have an table having one column as XMLTYPE with Structured storage.
    CREATE TABLE Orders
        Order_id NUMBER NOT NULL,
        Order_etc VARCHAR2(100),
        Order_desc XMLType NOT NULL
        XMLTYPE Order_desc STORE AS OBJECT RELATIONAL XMLSCHEMA  "http://localhost/public/xsd/order_desc_xsd.xsd" ELEMENT "OrderState";
    I have then registered the XSD with XML Db schema which is required for Structured storage.
    Before this table creation I had created a table (db_objects) of XMLTYPE and was able to use the below query to check for what all objects the XMLTYPE table got broken into when I registered its XSD.
        SELECT column_name,     
               data_type
        FROM   user_tab_cols
        WHERE  table_name = 'DB_OBJECTS';
    And used below query to look for data stored in Object-Relational structure for my table (DB_OBJECTS) created with XMLTYPE definition.
      SELECT EXTRACTVALUE(xseq.column_value, '/THISROW/OWNER')       AS owner
        ,      EXTRACTVALUE(xseq.column_value, '/THISROW/OBJECT_NAME') AS object_name
        ,      EXTRACTVALUE(xseq.column_value, '/THISROW/OBJECT_TYPE') AS object_type
        ,      EXTRACTVALUE(xseq.column_value, '/THISROW/OBJECT_ID')   AS object_id
        ,      EXTRACTVALUE(xseq.column_value, '/THISROW/CREATED')     AS created
        FROM   db_objects do
         ,      TABLE(XMLSEQUENCE(EXTRACT(VALUE(do), '/ROWSET/THISROW'))) xseq 
        WHERE  ROWNUM <= 10;
    Now could someone let me know, how to find how the column (Order_desc) of XMLTYPE was broken down into further objects just like I did for the Table with XMLTYPE (as shown above)?
    Many Thanks.

    First given that you are on 11.2, ExtractValue is deprecated and the documentation lists three options to use instead.  Here is one option (untested)
    SELECT owner, object_name, object_type, object_id, created
      FROM db_objects do,
           XMLTable('/ROWSET/THISROW'
                    PASSING do.object_value
                    COLUMNS
                    -- Set data types accordingly
                    owner        VARCHAR2(20) PATH 'owner',
                    object_name  VARCHAR2(20) PATH 'object_name',
                    object_type  VARCHAR2(20) PATH 'object_type',
                    object_id    VARCHAR2(20) PATH 'object_id',
                    created      VARCHAR2(20) PATH 'created');
    Second, why does column order matter?  You are storing in an object relational method.  As long as the XML is valid per the schema, the Oracle will be able to store the data and later retrieve it as well.  How that data is stored is mostly Oracle internals and should not be touched as it can be changed from version to version.  You can use schema annotation to control how Oracle maps and stores the XML, but nothing in there specifies column order that I am aware of.
    It seems additional details are missing as to what you need the information for so that would help others answer your question.

  • Concept of licensing in Oracle 11g

    I wanted to understand the concept of licensing in Oracle 11g. We have 1 licensed version of Oracle 11g which is used for production, I want to put up a test instance of Oracle DB also but am told that we have only 1 license.
    Please help me whether having an unlicensed copy could affect our audit process or any other consequences.
    I hope, my question is clear.
    Please revert with the reply to my query.
    Regards

    972145 wrote:
    I wanted to understand the concept of licensing in Oracle 11g. We have 1 licensed version of Oracle 11g which is used for production, I want to put up a test instance of Oracle DB also but am told that we have only 1 license.
    Please help me whether having an unlicensed copy could affect our audit process or any other consequences.
    I hope, my question is clear.
    Please revert with the reply to my query.
    RegardsTo Understand More About oracle License Contact oracle office In your Country , More Information Since its technical Forum Not Sales One .

  • Parallel  query in Oracle 11g

    We use Oracle 11g DB on windows2008R2.
    We wrote very long and heavy SELECT SQL query usign several table join and sub-queries and it take very long time to get result.
    We did SQL statement tuning as much as we can do so far. ( I will get the Execution Plan and ADDM, etc access right)
    I today notice about Parallel query function.
    Where could I write parallel hint phrases in very long SELECT SQL query ?
    In each selected tables like below ?
    /sample in Oracle Doc/
    SELECT /*+ PARALLEL(employees 4) PARALLEL(departments 4)
           USE_HASH(employees) ORDERED */ MAX(salary), AVG(salary)
    FROM employees, departments
    WHERE employees.department_id = departments.department_id
    GROUP BY employees.department_id;

    You need to be careful with some of the examples in the docs. The example you quote includes an unnecessary join. Before considering parallel query, it should have been re-written to this:
    SELECT MAX(salary), AVG(salary)
    FROM employees
    WHERE department_id is not null
    GROUP BYdepartment_id;
    Later versions of the CBO may do this re-write for you, but it is important to understand why the SQL is inefficient before throwing parallel servers at it. Are you sure that all your joins are actually necessary? (I know you are just going to say "yes", but you might want to think about it first.)

  • About Query returns no results?????

    Has anyone had any luck getting an about(xxx) query to function as described in the documentation? I'm sure it works....but I can't seem to get anywhere.
    I created a table "TEST_HELP". Columns Help_id, Help_Text
    I put a handfull of records in the table, populating the column Help_Text with data such as
    1, This is a document about animals.
    2, This is all about the wonder world of dogs.
    3, This is why fish suck.
    4, Cats and why they think they rule the world.
    5, Creature of the deep.
    ok, next I created a small thesaurus with terms defined as:
    animal
    syn creature
    nt dog
    nt cat
    nt fish
    I load the thesaurus.
    I create a CONTEXT index on TEST_HELP, utilizing LEXER preferences:
    INDEX_TEXT= YES
    INDEX_THEMES= YES
    I can issue a contains query using the thesaurus operators SYN, NT and get the results I expect. However if I issue an about(animal) query I would expect to get all 5 records. (Based on the expansion of all SYN and NT)
    So, can anyone tell me if my process is wrong? Are my expectations wrong? Does it even work?
    Working with Oracle 9.2 on a windows 2000 server platform.
    Thank you all for you time.

    Alright, I recreated the table, thesaurus and index (in that order)
    and the about query appears to be working.
    When I recreated the table I added more robust data to the help_text column.
    (Don't know if this had anything to do with it or not)
    Is there a specific order of creation that needs to be followed? table, thes, index

  • Dataguard installation oracle 11gr2 on windows 2008 server

    Hi,
    I have oracle 11gr2 database on windows 2008 server. I have been given a primary and secondary server with the same setup.
    Now i want to install dataguard. AFter installing i need to test it for disaster recovery.
    Can anyone please suggest me a document for this? I searched in this forum but i couldnt get any.
    Please help.

    An obvious place to look at is our Online Documentation about Data Guard Installation:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17022/toc.htm
    See
    3 Creating a Physical Standby Database
    there.
    There is not much special-Windows for Data Guard - of course you need to create Windows Services for both Databases etc. as described here:
    http://www.oracle.com/pls/db112/portal.portal_db?selected=11&frame=#microsoft_windows_installation_guides
    Kind regards
    Uwe Hesse
    http://uhesse.wordpress.com

  • About oracle 11g

    One of the new feature about oracle 11g is continuous query notification. Where can I find the detail information about it?

    On the 11g new features manual it states:
    "1.1.6.4 JDBC Support for Continuous Query Notification
    This feature allows Java Applications or Containers to subscribe to SQL queries watch list in the database and be notified when:
    * DML or DDL changes affect the objects associated with the queries, or
    * DML or DDL changes affect the result set
    The notifications are published when the transaction (DML or DDL) commits.
    Java Applications and Container prevents unnecessary database querying and implements efficient and consistent result set caching and cache invalidation."
    You may read further at Database Change Notification.
    ~ Madrid

  • Can i do dataguard between oracle 64 bit to oracle 32 bit?

    hello
    can i do dataguard between oracle 64 bit to oracle 32 bit?
    and i glad if you send me offical link about this
    thanks

    Before issuing a definite yes or no, it is important to specify the OS platform and the DB version you are currently talking about.
    By design, Oracle dataguard must run on the same platform, same OS, same OS patch level, same db patchset, same bitness. However, some customers, due to investment strategies, require the dataguard to run on undersized hardware with less resources, may be more limited than the production environment, or even more, to be on different platform. Oracle recommends to run on homogeneous platforms, just for simplicity in implementation and managing, but some mixing is allowed, including the word size.
    On 10g the platform restriction remains, it has to be the same platform, i.e. linux - linux, windows - windows, hpux-hpux, but not necessarily the same word size, so 32/64 bits is possible, some procedures have to be followed, though. In 11g the cross platform dataguard is an added new feature, so it is possible to have a dataguard with a linux <-> windows combination.
    Either way, on a 9i Dataguard the bitness was a restriction, it was not possible to have different word size combinations in a dataguard configuration, for both the sql apply and redo apply, on 10g it is possible, just be aware that the dataguard broker doesn't support different word size with the same dataguard configuration, so the management has to be performed from sqlplus (on 11g this restriction is over) and valid for the redo apply, not for the sqlapply (logical standby db), this last configuration has to run with the same bitness.
    ~ Madrid

  • Concept about Incremental Updated backup

    I am going through Backup portion of Oracle. However, I am not able to understand the concept about the incremental Updated backups, its advantages and disadvantages.
    Can anyone here help me out to get my concept clear.
    Thanks in advance .

    916438 wrote:
    I am going through Backup portion of Oracle. However, I am not able to understand the concept about the incremental Updated backups, its advantages and disadvantages.
    Can anyone here help me out to get my concept clear.
    Thanks in advance .http://docs.oracle.com/cd/E11882_01/backup.112/e10643/rcmsynta2011.htm#RCMRF111

Maybe you are looking for

  • How can I change my cell phone number to a new cell phone number to receive verification code?

    I am trying to chnage my cell phone number on icloud so that I may have the verification code sent to it.  How can I do that?

  • Second Display flashing on and off randomly

    Since upgrading to Lion, my second display (ViewSonic VX2235wm) flashes on and off frequently. There doesn't seem to be any pattern to it. Has anyone else experienced this behavior? This problem is with a second display hooked to my 2.4 GHz Core 2 Du

  • SFTP - CyberDuck doesn't work, but WinSCP does?

    I'm having issues connecting remotely to a server. Here are the details: I am running Mac OS X Server, 10.4.11. The G5 (the server in question) is located in the main building and we have a satellite office that connects to it via SFTP. We have both

  • Repor on contract

    Dera SAP Guru's I wanted to run a report which shows how many contracts which I have booked in a given month. I have used VA45 but it did not solve my problem. It was asking me to add the work list. Please advise. Thanks Deepak

  • Problem with Delta IP on 0TCT_DS23 in Production system

    Hi all, I'm encountering a quite tricky problem: I'm currently working on the 0TCT_DS23 Datasource, with the technical content cube. I can run an init infopackage on our 3 environments, Dev, Quality and production. Same for full packages. But when I