Rule 5 :target InfoObject Name Source parameter 007 not being used

Hi Gurus,
I am trying to load data Into BI using flat file .During creating transformations for infocubes  am getting this error.Rule 5 :target < InfoObject Name > Source parameter 007 not being used .
Thanks

Thanks Beekay  iyour suggestion  helped me .
My problem is solved ,in rule details i removed those fields and again insert those fileds .
Thanks

Similar Messages

  • Error during transformation : Source parameter is not being used

    Hi,
    I am trying to map two fields from datasource into one field in DSO i.e
    Assigned Plant and storage location to Plant_storage infoObject.
    but I am unable as I am getting the error below.
    Rule (target: ZOBJ): Source parameter 0140 is not being used
    Message no. RSTRAN502
    Procedure for System Administration
    Internal rule ID 68
    I have checked online and seen related SAP notes but they are meant for BW 7.0. My system is BW 7.3
    how can I resolve this issue.
    thanks
    Bhat

    Hi Bhat,
    When you are using two source fields are you doing the result calculation through routine or formula?
    Just check if you are using any of these thing then both the source fields are getting used in the routine code.
    Regards,
    Durgesh.

  • Target parameter is not being used

    Hello,
    while activating the transformation, i get an error saying" Target parameter 0058 is not being used". I have checked all the rules, infoObjects etc. but still im not able to activate the transformation at all.
    Eventhough the source field-target field mapping is correct, the system is throwing such errors. What could be the possible cause of it. Any idea?
    Regards Sucheta

    Hello Sarvanan,
    What do you mean by "the respective field not having the Unit/Curr Objects"..?..some of them are of the type "number" whereas others are CHARS.
    Everytime when i add some field i cannot re-create the whole transformation. There has to be some inconsistency as my mapping of source-target field is correct. I have also raised this to OSS but as usual they are taking thier own sweet time to reply.
    Surprisingly the transformation got activated yesterday and the dataload too was successful. Today again the same ols problem of "parameter is not being used"..!!
    still could you pls throw some light on Unit/Currency objects that u mentioned..??
    Thanks in adv.
    Sucheta

  • HBOgo "StageVideo is not being used"

    I just updated flash today, November 25 2013, which gives me version 11,9,900,152.  The problem I'm having seems specific to the HBOgo.com site.
    The problem occurs in all three browsers that I've tried, Firefox (my preferred browser), Chrome, and IE 9.  Also, I've tried the various suggested troubleshooting suggested on the Adobe site as far as enabling Flash addon in IE after disabling (unchecking) the choice for ActiveX filtering.  I've tried uninstalling/reinstalling all 3 browsers, reinstalling flash, resetting all video card settings to default, going through the Device Manager and uninstalling the device entirely, making sure it has no errors or conflicts anywhere and the same thing for the network devices, they all indicate that they are working properly.
    My device is an HP Pavilion dv7 Notebook PC running Vista Home Premium Service Pack 2.  It has 4 GB of memory and the video card is an NVIDIA GeForce 9600M GT.  The drivers are all up to date and so is every application and its associated add-ons that I will mention.  Also, it shipped with a Blu-Ray player which I've used to display Blu-Ray content on an external monitor with no issue.  (If it can do that, then shouldn't it just be some software issue preventing it from playing back a video stream of inferior quality from hbogo?)
    Regarding Flash Player, I've watched videos on YouTube and Hulu (and countless other sites which stream Flash Video) at resolutions of 720 and 1080 which played at framerates between 25 and 30 fps and which also did not use hardware acceleration but nevertheless maintained CPU usage of less than 70%.  So, the computer can certainly do it even without the help of the GPU, and it can do it from other sites that use flash, but not from HBOgo.  That's a second problem, even when flash video plays well, it's still not using hardware acceleration, but first I want to know why HBOgo's flash player is so much worse than everyone else's player.
    Here is the specific issue:  I navigate to HBOgo.com, pick any video to play and begin playback.  Playback usually begins at a relatively low resolution (I'd guess 480 or so based on its obvious pixelation), and then steps up the resolution gradually.  Usually after a minute or so, it will have reached its best resolution and that's when it starts dropping frames like crazy and pinning the CPU at 100%.  The video looks terribly choppy and the audio skips the more choppy the video is.  When I click pause or hit the spacebar for a pause, it will take two or three seconds as it spits out the last few video frames before finally showing the paused icon on the last frame.  Those two seconds seem to corrolate with CPU processing since there is no noticable delay when pausing video anywhere else under any other conditions.  Of course, CPU useage will drop back to 5 or 10 while the video is paused.
    Right-clicking the screen lets me choose "Show Video Debug" which in turn tells me:
         StageVideo enabled in OSMF: Yes
         StageVideo is supported.
         StageVideo is not being used, regular video 'probably' is.
    This is where I got the information about dropped frames.  If it matters, when paused, the buffer will fill to about 400 Mb plus or minus about 10 percent of that, perhaps.  Also, during playback, the buffer maintains approximately the same amount, indicating that my ISP has no problem sending that much data to my device.  The buffer seems fill to a lenght of time, about 60 seconds; so, as the video resolution goes down, the total buffer drops accordingly... sometimes it is at 200 Mb for 60 seconds with lower resolution, etc...
    Speaking of my ISP, I have Verizon FiOS (I don't know why it would matter, but I'm in King of Prussia, which is near Philadelphia, PA).  I just tested my bandwidth and it tells me that my IP is 71.175.97.244 and my download rate is 57.98 Mbps from some server in Matawan, NJ.  I don't think networking issues factor into this at all.  I say that because, digging into the developer tools (all 3 browsers show the same network activity: Firefox, Chrome, and IE) and clicking on the "Network" column, it consistently shows low latency for all the stream components.  For example:
         path: http://hds.pro12.lv3.hbogo.com/videos/PRO12/e2/hbo/feature/728425/hbo_821867_PRO12_f4m/hbo _821867_PRO12_8-Seg1-Frag858
         method: get
         type: video/f4f
    Timing Tab show:
         Sending: 0     Waiting: 89mg     Recieving: 159ms
    This seems to indicate that I'm getting the data sent to me without any problem, so forget about network issues, right?
    Also, regarding information available in Developer Tools, I can see that the flash video object has the paramater "wmode" set to "transparent".  I already wasted time messing with this before I realized that the paramater is irrelavent while in fullscreen mode -- besides the fact that even when it is changed to direct or gpu when not in full screen, it does nothing to help matters.  I think this was covered in one of the last discussions talking about lack of hardware acceleration on HBOgo -- the same discussion that ended with a few people saying that they were going to "throw in to towel".
    What am I missing here?  Why is StageVideo supported but not used?  Why do other players which use flash play videos with better quality despite still not using hardware acceleration?
    Windows Vista = updated
    NVIDIA Video Drivers = updated
    Flash Player = updated
    Flash Addons (pepper flash, etc...) = updated
    Firefox, Chrome, IE = all updated
    There's got to be something I can do.  What is it?

    Hello Sarvanan,
    What do you mean by "the respective field not having the Unit/Curr Objects"..?..some of them are of the type "number" whereas others are CHARS.
    Everytime when i add some field i cannot re-create the whole transformation. There has to be some inconsistency as my mapping of source-target field is correct. I have also raised this to OSS but as usual they are taking thier own sweet time to reply.
    Surprisingly the transformation got activated yesterday and the dataload too was successful. Today again the same ols problem of "parameter is not being used"..!!
    still could you pls throw some light on Unit/Currency objects that u mentioned..??
    Thanks in adv.
    Sucheta

  • UPD processer is not being used

    Hi Friends,
    We have 2 application servers and one central instance.Each of these servers are having 1 UPD processor and 1 UPD2 processor.
    When the system is heavily loaded, i could see a lot of (more than 200) upadates are queued up in SM13 transaction.And when I check the SM66 transaction I could see only 2 UPD processors are being used which are from Application 2 and Central Instance and no UPD processor is being used from Application 1.
    What could be the reason? also, our updates are taking a lot of time get completed.
    In SM14 transaction all these UPDs are active.
    Please help.
    Thanks,
    Shanahas

    Hello Sarvanan,
    What do you mean by "the respective field not having the Unit/Curr Objects"..?..some of them are of the type "number" whereas others are CHARS.
    Everytime when i add some field i cannot re-create the whole transformation. There has to be some inconsistency as my mapping of source-target field is correct. I have also raised this to OSS but as usual they are taking thier own sweet time to reply.
    Surprisingly the transformation got activated yesterday and the dataload too was successful. Today again the same ols problem of "parameter is not being used"..!!
    still could you pls throw some light on Unit/Currency objects that u mentioned..??
    Thanks in adv.
    Sucheta

  • Rule 5 (target: 0FISCPER): Source parameter 0004 is not being used

    When I map both Fiscal year & Posting period to Fiscal period,
    Transformation promts error " Rule 5 (target: 0FISCPER): Source parameter 0004 is not being used"
    Why is that so?
    Rule Details for Fiscal Period show
    Conversion Exit : PER 17 & Perform is flagged ...what is it implying?

    ECC Field is PERIO for posting period.
    GHAGR for fiscal year.
    <b>Automatic time conversion is not possible for source field GJAHR
    Message no. RSTRAN070
    Diagnosis
    Cannot establish automatic time conversion to 0FISCPER for source field GJAHR. The source is a DataSource and consists of fields, not InfoObjects. Time conversion can only be performed automatically for InfoObjects.
    System Response
    Time update is set to direct update of target field.
    Procedure
    If you require time conversion, you can assign an InfoObject to the field. You do this in the rule details.
    Alternatively, you can define your own time conversion using a formula or a routine.</b>
    <u><b>Can Fiscal Period can be populated when just mapped to Posting peroid..???</b></u>
    Message was edited by:
            Jr Roberto

  • Parameter value from app is not being used

    Hi,
    I have .NET application which renders the report from BOE using infoObject model. This report has parameter and the paramter info is passed from the application using following code.
    CrystalReportViewer1.EnterpriseLogon = enterpriseSession;
    CrystalReportViewer1.ReportSource = (Report)infoObject;
    CrystalReportViewer1.ParameterFieldInfo = parameterFields;
    But when I try to run this form...though the parameterfields have the detail of the paramter still Promt screen is scheduled by BOE to provide input for the parameter...
    Can someone help me on this why the parameter value I am sending is not being used.
    Thanks
    Kajal

    It might have something to do with how you are creating your parameter field collection that you are passing to the viewer.  Please refer to the ViewReportParameter sample in the following collection available [here|https://boc.sdn.sap.com/node/5794]

  • Index not being used in access path

    Hi,
    I have been trying to rewrite a query which currently is taking almost 1min and 25 secs to execute. The database version is 11.1.0.7.
    The query is -
    SELECT COUNT(1)
    FROM TAB1 p
    WHERE p.ACODE = 24377
    AND NOT EXISTS (SELECT 1 FROM TAB2 ph where ph.PKey = p.AKey )
    AND NOT EXISTS (SELECT 1 FROM TAB3 phs where phs.PKey = p.AKey )
    AND p.rflag = 'Y';
    The table originally didn't have an index on p.ACODE. So, I created this index and set it to visible and set the optimizer_use_invisible_indexes parameter also to TRUE. I set the monitoring on this index too. Even though I have created the index on the ACODE column, the access path doesn't use it. Can someone please tell me why this is not being used.
    Below is the explain plan for the sql stmt and the usage of the index -
    I have changed the actual table and column names -
    SQL> SELECT COUNT(1)
    2 FROM TAB1 p
    3 WHERE p.ACODE = 24377
    4 AND NOT EXISTS (SELECT 1 FROM TAB2 ph where ph.PKey = p.AKey )
    5 AND NOT EXISTS (SELECT 1 FROM TAB3 phs where phs.PKey = p.AKey )
    6 AND p.rflag = 'Y';
    COUNT(1)
    1
    SQL> explain plan for
    2 SELECT COUNT(1)
    3 FROM TAB1 p
    4 WHERE p.ACODE = 24377
    5 AND NOT EXISTS (SELECT 1 FROM TAB2 ph where ph.PKey = p.AKey )
    6 AND NOT EXISTS (SELECT 1 FROM TAB3 phs where phs.PKey = p.AKey )
    7 AND p.rflag = 'Y';
    Explained.
    Elapsed: 00:00:00.02
    SQL> @$ORACLE_HOME/rdbms/admin/utlxpls.sql
    PLAN_TABLE_OUTPUT
    Plan hash value: 3942424611
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 87 | 214K (2)| 00:42:57 |
    | 1 | SORT AGGREGATE | | 1 | 87 | | |
    |* 2 | HASH JOIN ANTI | | 1 | 87 | 214K (2)| 00:42:57 |
    |* 3 | HASH JOIN ANTI | | 1 | 60 | 209K (2)| 00:41:56 |
    |* 4 | TABLE ACCESS FULL | TAB1 | 1 | 32 | 209K (2)| 00:41:55 |
    | 5 | INDEX FAST FULL SCAN| PK_TAB3 | 29918 | 818K| 53 (0)| 00:00:01 |
    | 6 | INDEX FAST FULL SCAN | PK_TAB2 | 3199K| 82M| 5059 (1)| 00:01:01 |
    Predicate Information (identified by operation id):
    2 - access("PH"."PKey"="P"."AKey")
    3 - access("PHS"."PKey"="P"."AKey")
    4 - filter(TO_NUMBER("P"."ACODE")=24377 AND "P"."rflag"='Y')
    20 rows selected.
    Elapsed: 00:00:00.03
    SQL> select index_name,VISIBILITY from user_indexes where index_name='IDX_TAB1_ACODE';
    INDEX_NAME VISIBILIT
    IDX_TAB1_ACODE VISIBLE
    Elapsed: 00:00:00.01
    SQL> show parameter visible
    NAME TYPE VALUE
    optimizer_use_invisible_indexes boolean TRUE
    SQL>
    SQL> SELECT v.index_name, v.table_name,
    v.monitoring, v.used,
    start_monitoring, end_monitoring
    FROM v$object_usage v, dba_indexes u
    WHERE v.index_name = u.index_name
    AND v.index_name = 'IDX_TAB1_ACODE';
    INDEX_NAME TABLE_NAME MON USE START_MONITORING END_MONITORING
    IDX_TAB1_ACODE TAB1 YES NO 05/26/2010 14:13:41
    Elapsed: 00:00:00.10
    Edited by: user12158503 on May 26, 2010 1:24 PM

    Thanks Centinul.
    I apologize for posting in both sections. I put it in the Database General too because I thought I originally posted it in the wrong section.
    The index was not being used because it was doing the implicit type conversion. When I enclosed it in quotes, it returns the result within a second and it uses the index.(whereas without the index it takes around 1min 25 sec)
    Here is the explain plan and execution time after enclosing it in quotes -
    SQL> explain plan for
    2 SELECT COUNT(1)
    3 FROM TAB1 p
    4 WHERE p.AKey = '24377'
    5 AND NOT EXISTS (SELECT 1 FROM TAB2 ph where ph.PKey = p.AgilityKey )
    6 AND NOT EXISTS (SELECT 1 FROM TAB3 phs where phs.PKey = p.AgilityKey )
    7 AND p.rflag = 'Y';
    Explained.
    Elapsed: 00:00:00.02
    SQL> @$ORACLE_HOME/rdbms/admin/utlxpls.sql
    PLAN_TABLE_OUTPUT
    Plan hash value: 2008452282
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 87 | 5134 (1)| 00:01:02 |
    | 1 | SORT AGGREGATE | | 1 | 87 | | |
    |* 2 | HASH JOIN ANTI | | 1 | 87 | 5134 (1)| 00:01:02 |
    |* 3 | HASH JOIN ANTI | | 1 | 60 | 60 (2)| 00:00:01 |
    |* 4 | TABLE ACCESS BY INDEX ROWID| TAB1 | 1 | 32 | 6 (0)| 00:00:01 |
    |* 5 | INDEX RANGE SCAN | IDX_TAB1_AKey | 4 | | 1 (0)| 00:00:01 |
    | 6 | INDEX FAST FULL SCAN | PK_TAB3 | 29918 | 818K| 53 (0)| 00:00:01 |
    | 7 | INDEX FAST FULL SCAN | PK_TAB2 | 3199K| 82M| 5059 (1)| 00:01:01 |
    Predicate Information (identified by operation id):
    2 - access("PH"."PKey"="P"."AGILITYKEY")
    3 - access("PHS"."PKey"="P"."AGILITYKEY")
    4 - filter("P"."rflag"='Y')
    5 - access("P"."AKey"='24377')
    22 rows selected.
    Elapsed: 00:00:00.02
    SQL> SELECT COUNT(1)
    2 FROM TAB1 p
    3 WHERE p.AKey = '24377'
    4 AND NOT EXISTS (SELECT 1 FROM TAB2 ph where ph.PKey = p.AgilityKey )
    5 AND NOT EXISTS (SELECT 1 FROM TAB3 phs where phs.PKey = p.AgilityKey )
    6 AND p.rflag = 'Y';
    COUNT(1)
    1
    Elapsed: 00:00:00.52
    Can you give me some tips on where I could read about learning to understand the explain plan. I did read a few articles which did help me, but not much. I am looking for something in detail.

  • Index not being used in group by.

    Here is the scenario with examples. Big table 333 to 500 million rows in the table. Statistics are gathered. Histograms are there. Index is not being used though. Why?
      CREATE TABLE "XXFOCUS"."some_huge_data_table"
       (  "ORG_ID" NUMBER NOT NULL ENABLE,
      "PARTNERID" VARCHAR2(30) NOT NULL ENABLE,
      "EDI_END_DATE" DATE NOT NULL ENABLE,
      "CUSTOMER_ITEM_NUMBER" VARCHAR2(50) NOT NULL ENABLE,
      "STORE_NUMBER" VARCHAR2(10) NOT NULL ENABLE,
      "EDI_START_DATE" DATE,
      "QTY_SOLD_UNIT" NUMBER(7,0),
      "QTY_ON_ORDER_UNIT" NUMBER(7,0),
      "QTY_ON_ORDER_AMT" NUMBER(10,2),
      "QTY_ON_HAND_AMT" NUMBER(10,2),
      "QTY_ON_HAND_UNIT" NUMBER(7,0),
      "QTY_SOLD_AMT" NUMBER(10,2),
      "QTY_RECEIVED_UNIT" NUMBER(7,0),
      "QTY_RECEIVED_AMT" NUMBER(10,2),
      "QTY_REQUISITION_RDC_UNIT" NUMBER(7,0),
         "QTY_REQUISITION_RDC_AMT" NUMBER(10,2),
         "QTY_REQUISITION_RCVD_UNIT" NUMBER(7,0),
         "QTY_REQUISITION_RCVD_AMT" NUMBER(10,2),
         "INSERTED_DATE" DATE,
         "UPDATED_DATE" DATE,
         "CUSTOMER_WEEK" NUMBER,
         "CUSTOMER_MONTH" NUMBER,
         "CUSTOMER_QUARTER" NUMBER,
         "CUSTOMER_YEAR" NUMBER,
         "CUSTOMER_ID" NUMBER,
         "MONTH_NAME" VARCHAR2(3),
         "ORG_WEEK" NUMBER,
         "ORG_MONTH" NUMBER,
         "ORG_QUARTER" NUMBER,
         "ORG_YEAR" NUMBER,
         "SITE_ID" NUMBER,
         "ITEM_ID" NUMBER,
         "ITEM_COST" NUMBER,
         "UNIT_PRICE" NUMBER,
          CONSTRAINT "some_huge_data_table_PK" PRIMARY KEY ("ORG_ID", "PARTNERID", "EDI_END_DATE", "CUSTOMER_ITEM_NUMBER", "STORE_NUMBER")
      USING INDEX TABLESPACE "xxxxx"  ENABLE,
          CONSTRAINT "some_huge_data_table_CK_START_DATE" CHECK (edi_end_date - edi_start_date = 6) ENABLE
    SQL*Plus: Release 11.2.0.2.0 Production on Fri Sep 14 12:11:16 2012
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> SELECT num_rows FROM user_tables s WHERE s.table_name = 'some_huge_data_table';
      NUM_ROWS                                                                     
    333338434                                                                     
    SQL> SELECT MAX(edi_end_date)
      2    FROM some_huge_data_table p
      3   WHERE p.org_id = some_number
      4     AND p.partnerid = 'some_string';
    MAX(EDI_E                                                                      
    13-MAY-12                                                                      
    Elapsed: 00:00:00.00
    SQL> explain plan for
      2  SELECT MAX(edi_end_date)
      3    FROM some_huge_data_table p
      4   WHERE p.org_id = some_number
      5     AND p.partnerid = 'some_string';
    Explained.
    SQL> /
    PLAN_TABLE_OUTPUT                                                                                  
    Plan hash value: 2104157595                                                                        
    | Id  | Operation                    | Name        | Rows  | Bytes | Cost (%CPU)| Time     |       
    |   0 | SELECT STATEMENT             |             |     1 |    22 |     4   (0)| 00:00:01 |       
    |   1 |  SORT AGGREGATE              |             |     1 |    22 |            |          |       
    |   2 |   FIRST ROW                  |             |     1 |    22 |     4   (0)| 00:00:01 |       
    |*  3 |    INDEX RANGE SCAN (MIN/MAX)| some_huge_data_table_PK |     1 |    22 |     4   (0)| 00:00:01 |       
    SQL> explain plan for
      2  SELECT MAX(edi_end_date),
      3         org_id,
      4         partnerid
      5    FROM some_huge_data_table
      6   GROUP BY org_id,
      7            partnerid;
    Explained.
    PLAN_TABLE_OUTPUT                                                                                  
    Plan hash value: 3950336305                                                                        
    | Id  | Operation          | Name     | Rows  | Bytes | Cost (%CPU)| Time     |                    
    |   0 | SELECT STATEMENT   |          |     2 |    44 |  1605K  (1)| 05:21:03 |                    
    |   1 |  HASH GROUP BY     |          |     2 |    44 |  1605K  (1)| 05:21:03 |                    
    |   2 |   TABLE ACCESS FULL| some_huge_data_table |   333M|  6993M|  1592K  (1)| 05:18:33 |                    
    -------------------------------------------------------------------------------                     Why wouldn't it use the index in the group by? If I write a loop to query for different partnerid (there are only three), the whole things takes less than a second. Any help is appreciated.
    btw, I gave the index hint too. Didn't work. Version mentioned in the example.
    Edited by: RPuttagunta on Sep 14, 2012 11:24 AM
    Edited by: RPuttagunta on Sep 14, 2012 11:26 AM
    the actual names are 'scrubbed' for obvious reasons. Don't worry, I didn't name the tables in mixed case.

    Jonathan,
    Thank you for your input. Forgot about this issue since ended up creating an MV since, the view was slower. But either way, I am curious. Here are the results for your questions.
    SQL> SELECT last_analyzed,
      2         blocks
      3    FROM user_tables s
      4   WHERE s.table_name = 'huge_data';
    LAST_ANAL     BLOCKS
    14-MAY-12    5869281
    SQL> SELECT last_analyzed,
      2         leaf_blocks
      3    FROM user_indexes i
      4   WHERE i.table_name = 'huge_data';
    LAST_ANAL LEAF_BLOCKS
    14-MAY-12     2887925
    SQL>It looks like stale statistics from the last_analyzed, but, they really aren't. This is a development database and that was the last time around which it was refreshed. And the stats are right (at least the approx_no_of_blocks and num_rows etc).
    No other data came into the table after.
    Also,
    1). I thought I don't have any particular optimizer parameters, but, checking back I do. fastfull_scan_enabled = false. Could that be it?
    SQL> SELECT a.name,
      2         a.value,
      3         a.display_value,
      4         a.isdefault,
      5         a.isses_modifiable
      6    FROM v$parameter a
      7   WHERE a.name LIKE '\_%' ESCAPE '\';
    NAME                           VALUE                          DISPLAY_VALUE   ISDEFAULT       ISSES
    _disable_fast_validate         TRUE                           TRUE            FALSE           TRUE
    _system_trig_enabled           TRUE                           TRUE            FALSE           FALSE
    _sort_elimination_cost_ratio   5                              5               FALSE           TRUE
    _b_tree_bitmap_plans           FALSE                          FALSE           FALSE           TRUE
    _fast_full_scan_enabled        FALSE                          FALSE           FALSE           TRUE
    _index_join_enabled            FALSE                          FALSE           FALSE           TRUE
    _like_with_bind_as_equality    TRUE                           TRUE            FALSE           TRUE
    _optimizer_autostats_job       FALSE                          FALSE           FALSE           FALSE
    _connect_by_use_union_all      OLD_PLAN_MODE                  OLD_PLAN_MODE   FALSE           TRUE
    _trace_files_public            TRUE                           TRUE            FALSE           FALSE
    10 rows selected.
    SQL>As, you might have guessed, I am not the dba for this db. Should pay more attention to these optimizer parameters.
    I know why we had to set connectby_use_union_all hint (due to a bug in 11gR2).
    Also, vaguely remember something about the disablefast_validate (something about another major db bug in 11gR2 again), but, not sure why those other parameters are set.
    2). Also, I have tried this
    SQL> SELECT /*+ index_ss(huge_data_pk) gather_plan_statistics*/
      2   MAX(edi_end_date),
      3   org_id,
      4   partnerid
      5    FROM huge_data
      6   GROUP BY org_id,
      7            partnerid;
    MAX(EDI_E     ORG_ID PARTNERID
    2 rows
    SQL> SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY_CURSOR(null,null,'ALLSTATS LAST'));
    PLAN_TABLE_OUTPUT
    SQL_ID  f3kk8skdyvz7c, child number 0
    SELECT /*+ index_ss(huge_data_pk) gather_plan_statistics*/
    MAX(edi_end_date),  org_id,  partnerid   FROM huge_data  GROUP BY
    org_id,           partnerid
    Plan hash value: 3950336305
    | Id  | Operation          | Name     | Starts | E-Rows | A-Rows |   A-Time   | Buffers | Reads  |  OMem |  1Mem | Used-Mem |
    PLAN_TABLE_OUTPUT
    |   0 | SELECT STATEMENT   |          |      1 |        |      2 |00:05:11.31 |    5905K|   5897K|    |  |          |
    |   1 |  HASH GROUP BY     |          |      1 |      2 |      2 |00:05:11.31 |    5905K|   5897K|   964K|   964K| 2304K (0)|
    |   2 |   TABLE ACCESS FULL| hug_DATA |      1 |    333M|    334M|00:04:31.44 |    5905K|   5897K|    |  |          |
    16 rows selected.But, then, I tried this too.
    SQL> alter session set "_fast_full_scan_enabled"=true;
    Session altered.
    SQL> SELECT MAX(edi_end_date),
      2         org_id,
      3         partnerid
      4    FROM hug_data
      5   GROUP BY org_id,
      6            partnerid;
    MAX(EDI_E     ORG_ID PARTNERID
    2 rowsAnd this took around 5 minutes too.
    PS: This has nothing to do with original question, but, it is plausible to derive the 'huge_data' table name from the sql_id? Just curious.

  • [Solved] Xorg log says Option "AccelMethod" is not being used

    I am using Arch for about 3 weeks now. I initially got some problems for setting up my xorg.conf with correct resolution but i solved it.
    Today i  looked my Xorg.0.log and find that Option "AccelMethod" is not  being used.
    So please help me in setting up my xorg.conf correctly.
    Xorg.conf
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    Section "ServerFlags"
    Option "DontZap" "false"
    EndSection
    Section "Files"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    EndSection
    Section "Module"
    Load "extmod"
    Load "dri2"
    Load "record"
    Load "glx"
    Load "dri"
    Load "dbe"
    Load "ddc"
    Load "i2c"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5 6 7"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Samsung"
    ModelName "Samsung SyncMaster"
    HorizSync 30.0 - 80.0
    VertRefresh 60.0
    Option "DPMS"
    EndSection
    Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "ShadowFB" # [<bool>]
    #Option "DefaultRefresh" # [<bool>]
    #Option "ModeSetClearScreen" # [<bool>]
    #Option "RenderAccel" "true"
    Option "AccelMethod" "UXA"
    #Option "ExaNoComposite" "false"
    Option "DRI" "true"
    Identifier "Card0"
    DRIVER "intel"
    VendorName "Intel Corporation"
    BoardName "82946GZ/GL Integrated Graphics Controller"
    BusID "PCI:0:2:0"
    #Option "PanelSize" "1024x768"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Videocard0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 24
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    EndSection
    My Xorg.0.log is
    X.Org X Server 1.6.2
    Release Date: 2009-7-7
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 2.6.30-ARCH x86_64
    Current Operating System: Linux puvana 2.6.30-ARCH #1 SMP PREEMPT Mon Jul 20 07:46:03 CEST 2009 x86_64
    Build Date: 18 July 2009 03:49:37PM
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Sat Aug 1 12:36:07 2009
    (==) Using config file: "/etc/X11/xorg.conf"
    (==) ServerLayout "X.org Configured"
    (**) |-->Screen "Screen0" (0)
    (**) | |-->Monitor "Monitor0"
    (==) No device specified for screen "Screen0".
    Using the first device section listed.
    (**) | |-->Device "Card0"
    (**) |-->Input Device "Mouse0"
    (**) |-->Input Device "Keyboard0"
    (**) Option "DontZap" "false"
    (==) Automatically adding devices
    (==) Automatically enabling devices
    (**) FontPath set to:
    /usr/share/fonts/misc,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/TTF,
    /usr/share/fonts/Type1,
    /usr/share/fonts/misc,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/TTF,
    /usr/share/fonts/Type1,
    built-ins
    (**) ModulePath set to "/usr/lib/xorg/modules"
    (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
    (WW) Disabling Mouse0
    (WW) Disabling Keyboard0
    (II) Loader magic: 0xb40
    (II) Module ABI versions:
    X.Org ANSI C Emulation: 0.4
    X.Org Video Driver: 5.0
    X.Org XInput driver : 4.0
    X.Org Server Extension : 2.0
    (II) Loader running on linux
    (++) using VT number 7
    (--) PCI:*(0:0:2:0) 8086:2972:8086:5354 Intel Corporation 82946GZ/GL Integrated Graphics Controller rev 2, Mem @ 0x50100000/1048576, 0x40000000/268435456, I/O @ 0x000020e0/8
    (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    (II) No APM support in BIOS or kernel
    (II) System resource ranges:
    [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [5] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
    (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
    (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
    (II) "record" will be loaded. This was enabled by default and also specified in the config file.
    (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
    (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
    (II) LoadModule: "extmod"
    (II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
    (II) Module extmod: vendor="X.Org Foundation"
    compiled for 1.6.2, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension MIT-SCREEN-SAVER
    (II) Loading extension XFree86-VidModeExtension
    (II) Loading extension XFree86-DGA
    (II) Loading extension DPMS
    (II) Loading extension XVideo
    (II) Loading extension XVideo-MotionCompensation
    (II) Loading extension X-Resource
    (II) LoadModule: "dri2"
    (II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
    (II) Module dri2: vendor="X.Org Foundation"
    compiled for 1.6.2, module version = 1.1.0
    ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension DRI2
    (II) LoadModule: "record"
    (II) Loading /usr/lib/xorg/modules/extensions//librecord.so
    (II) Module record: vendor="X.Org Foundation"
    compiled for 1.6.2, module version = 1.13.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension RECORD
    (II) LoadModule: "glx"
    (II) Loading /usr/lib/xorg/modules/extensions//libglx.so
    (II) Module glx: vendor="X.Org Foundation"
    compiled for 1.6.2, module version = 1.0.0
    ABI class: X.Org Server Extension, version 2.0
    (==) AIGLX enabled
    (II) Loading extension GLX
    (II) LoadModule: "dri"
    (II) Loading /usr/lib/xorg/modules/extensions//libdri.so
    (II) Module dri: vendor="X.Org Foundation"
    compiled for 1.6.2, module version = 1.0.0
    ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension XFree86-DRI
    (II) LoadModule: "dbe"
    (II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
    (II) Module dbe: vendor="X.Org Foundation"
    compiled for 1.6.2, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension DOUBLE-BUFFER
    (II) LoadModule: "ddc"
    (II) Module "ddc" already built-in
    (II) LoadModule: "i2c"
    (II) Module "i2c" already built-in
    (II) LoadModule: "intel"
    (II) Loading /usr/lib/xorg/modules/drivers//intel_drv.so
    (II) Module intel: vendor="X.Org Foundation"
    compiled for 1.6.2, module version = 2.7.99
    Module class: X.Org Video Driver
    ABI class: X.Org Video Driver, version 5.0
    (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
    i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
    E7221 (i915), 915GM, 945G, 945GM, 945GME, IGD_GM, IGD_G, 965G, G35,
    965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
    Mobile Intel® GM45 Express Chipset,
    Intel Integrated Graphics Device, G45/G43, Q45/Q43, G41, IGDNG_D,
    IGDNG_M
    (II) Primary Device is: PCI 00@00:02:0
    (II) resource ranges after xf86ClaimFixedResources() call:
    [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [5] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    (II) resource ranges after probing:
    [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] 0 0 0x000a0000 - 0x000affff (0x10000) MS[b]
    [5] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[b]
    [6] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[b]
    [7] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [8] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [9] 0 0 0x000003b0 - 0x000003bb (0xc) IS[b]
    [10] 0 0 0x000003c0 - 0x000003df (0x20) IS[b]
    (II) Loading sub module "vgahw"
    (II) LoadModule: "vgahw"
    (II) Loading /usr/lib/xorg/modules//libvgahw.so
    (II) Module vgahw: vendor="X.Org Foundation"
    compiled for 1.6.2, module version = 0.1.0
    ABI class: X.Org Video Driver, version 5.0
    (II) Loading sub module "ramdac"
    (II) LoadModule: "ramdac"
    (II) Module "ramdac" already built-in
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 7, (OK)
    drmOpenByBusid: Searching for BusID pci:0000:00:02.0
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 7, (OK)
    drmOpenByBusid: drmOpenMinor returns 7
    drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
    (**) intel(0): Depth 24, (--) framebuffer bpp 32
    (==) intel(0): RGB weight 888
    (==) intel(0): Default visual is TrueColor
    (**) intel(0): Option "DRI" "true"
    (II) intel(0): Integrated Graphics Chipset: Intel(R) 946GZ
    (--) intel(0): Chipset: "946GZ"
    (--) intel(0): Linear framebuffer at 0x40000000
    (--) intel(0): IO registers at addr 0x50100000 size 1048576
    (WW) intel(0): libpciaccess reported 0 rom size, guessing 64kB
    (II) intel(0): No SDVO device is found in VBT
    (II) intel(0): 2 display pipes available.
    (II) Loading sub module "ddc"
    (II) LoadModule: "ddc"
    (II) Module "ddc" already built-in
    (II) Loading sub module "i2c"
    (II) LoadModule: "i2c"
    (II) Module "i2c" already built-in
    (II) intel(0): Output VGA using monitor section Monitor0
    (II) intel(0): I2C bus "CRTDDC_A" initialized.
    (II) intel(0): I2C device "CRTDDC_A:E-EDID segment register" registered at address 0x60.
    (II) intel(0): I2C device "CRTDDC_A:ddc2" registered at address 0xA0.
    (II) intel(0): I2C device "CRTDDC_A:ddc2" removed.
    (II) intel(0): I2C device "CRTDDC_A:E-EDID segment register" removed.
    (II) intel(0): I2C bus "CRTDDC_A" removed.
    (II) intel(0): EDID vendor "SAM", prod id 279
    (II) intel(0): Using hsync ranges from config file
    (II) intel(0): Using vrefresh ranges from config file
    (II) intel(0): Printing DDC gathered Modelines:
    (II) intel(0): Modeline "1024x768"x0.0 94.50 1024 1072 1168 1376 768 769 772 808 +hsync +vsync (68.7 kHz)
    (II) intel(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz)
    (II) intel(0): Modeline "800x600"x0.0 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz)
    (II) intel(0): Modeline "640x480"x0.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz)
    (II) intel(0): Modeline "640x480"x0.0 31.50 640 664 704 832 480 489 492 520 -hsync -vsync (37.9 kHz)
    (II) intel(0): Modeline "640x480"x0.0 30.24 640 704 768 864 480 483 486 525 -hsync -vsync (35.0 kHz)
    (II) intel(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz)
    (II) intel(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz)
    (II) intel(0): Modeline "1024x768"x0.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz)
    (II) intel(0): Modeline "1024x768"x0.0 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync (56.5 kHz)
    (II) intel(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz)
    (II) intel(0): Modeline "832x624"x0.0 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz)
    (II) intel(0): Modeline "800x600"x0.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz)
    (II) intel(0): Modeline "800x600"x0.0 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync (48.1 kHz)
    (II) intel(0): Modeline "1152x864"x0.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz)
    (II) intel(0): Modeline "1024x768"x0.0 94.50 1024 1072 1168 1376 768 769 772 808 +hsync +vsync (68.7 kHz)
    (II) intel(0): Modeline "800x600"x0.0 56.25 800 832 896 1048 600 601 604 631 +hsync +vsync (53.7 kHz)
    (II) intel(0): Modeline "640x480"x0.0 36.00 640 696 752 832 480 481 484 509 -hsync -vsync (43.3 kHz)
    (II) intel(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
    (II) intel(0): Modeline "1152x864"x0.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz)
    (II) intel(0): EDID vendor "SAM", prod id 279
    (II) intel(0): Output VGA connected
    (II) intel(0): Using user preference for initial modes
    (II) intel(0): Output VGA using initial mode 1024x768
    (II) intel(0): detected 512 kB GTT.
    (II) intel(0): detected 7676 kB stolen memory.
    (==) intel(0): video overlay key set to 0x101fe
    (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
    (**) intel(0): Display dimensions: (310, 230) mm
    (**) intel(0): DPI set to (83, 84)
    (II) Loading sub module "fb"
    (II) LoadModule: "fb"
    (II) Loading /usr/lib/xorg/modules//libfb.so
    (II) Module fb: vendor="X.Org Foundation"
    compiled for 1.6.2, module version = 1.0.0
    ABI class: X.Org ANSI C Emulation, version 0.4
    (II) intel(0): Comparing regs from server start up to After PreInit
    (WW) intel(0): Register 0x61110 (PORT_HOTPLUG_EN) changed from 0x00000000 to 0x00000020
    (WW) intel(0): Register 0x70024 (PIPEASTAT) changed from 0x00000000 to 0x00000307
    (WW) intel(0): PIPEASTAT before: status:
    (WW) intel(0): PIPEASTAT after: status: VSYNC_INT_STATUS DLINE_COMPARE_STATUS SVBLANK_INT_STATUS VBLANK_INT_STATUS OREG_UPDATE_STATUS
    (II) Loading sub module "dri2"
    (II) LoadModule: "dri2"
    (II) Reloading /usr/lib/xorg/modules/extensions//libdri2.so
    (==) Depth 24 pixmap format is 32 bpp
    (II) do I need RAC? No, I don't.
    (II) resource ranges after preInit:
    [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] 0 0 0x000a0000 - 0x000affff (0x10000) MS[b](OprD)
    [5] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[b](OprD)
    [6] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[b](OprD)
    [7] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [8] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [9] 0 0 0x000003b0 - 0x000003bb (0xc) IS[b](OprU)
    [10] 0 0 0x000003c0 - 0x000003df (0x20) IS[b](OprU)
    (II) intel(0): Kernel reported 238848 total, 1 used
    (II) intel(0): I830CheckAvailableMemory: 955388 kB available
    (II) intel(0): [DRI2] Setup complete
    (**) intel(0): Framebuffer compression disabled
    (**) intel(0): Tiling enabled
    (**) intel(0): SwapBuffers wait enabled
    (==) intel(0): VideoRam: 262144 KB
    (II) intel(0): Attempting memory allocation with tiled buffers.
    (II) intel(0): Tiled allocation successful.
    (II) intel(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
    (II) UXA(0): Driver registered support for the following operations:
    (II) solid
    (II) copy
    (II) composite (RENDER acceleration)
    (==) intel(0): Backing store disabled
    (==) intel(0): Silken mouse enabled
    (II) intel(0): Initializing HW Cursor
    (II) intel(0): Fixed memory allocation layout:
    (II) intel(0): 0x0077f000: end of stolen memory
    (II) intel(0): 0x0077f000-0x0fffffff: DRI memory manager (254468 kB)
    (II) intel(0): 0x10000000: end of aperture
    (II) intel(0): BO memory allocation layout:
    (II) intel(0): 0x0077f000: start of memory manager
    (II) intel(0): 0x0079f000-0x00a9efff: front buffer (3072 kB) X tiled
    (II) intel(0): 0x00b9f000-0x00b9ffff: overlay registers (4 kB)
    (II) intel(0): 0x00ba0000-0x00ba9fff: HW cursors (40 kB)
    (II) intel(0): 0x10000000: end of memory manager
    (WW) intel(0): ESR is 0x00000001
    (WW) intel(0): Existing errors found in hardware state.
    (II) intel(0): Output configuration:
    (II) intel(0): Pipe A is on
    (II) intel(0): Display plane A is now enabled and connected to pipe A.
    (II) intel(0): Pipe B is off
    (II) intel(0): Display plane B is now disabled and connected to pipe B.
    (II) intel(0): Output VGA is connected to pipe A
    (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
    (**) Option "dpms"
    (**) intel(0): DPMS enabled
    (==) intel(0): Intel XvMC decoder disabled
    (II) intel(0): Set up textured video
    (II) intel(0): Set up overlay video
    (II) intel(0): direct rendering: DRI2 Enabled
    (WW) intel(0): Option "AccelMethod" is not used
    (--) RandR disabled
    (II) Initializing built-in extension Generic Event Extension
    (II) Initializing built-in extension SHAPE
    (II) Initializing built-in extension MIT-SHM
    (II) Initializing built-in extension XInputExtension
    (II) Initializing built-in extension XTEST
    (II) Initializing built-in extension BIG-REQUESTS
    (II) Initializing built-in extension SYNC
    (II) Initializing built-in extension XKEYBOARD
    (II) Initializing built-in extension XC-MISC
    (II) Initializing built-in extension SECURITY
    (II) Initializing built-in extension XINERAMA
    (II) Initializing built-in extension XFIXES
    (II) Initializing built-in extension RENDER
    (II) Initializing built-in extension RANDR
    (II) Initializing built-in extension COMPOSITE
    (II) Initializing built-in extension DAMAGE
    (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
    (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
    (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
    (II) AIGLX: Loaded and initialized /usr/lib/xorg/modules/dri/i965_dri.so
    (II) GLX: Initialized DRI2 GL provider for screen 0
    (II) intel(0): Setting screen physical size to 312 x 234
    (II) config/hal: Adding input device Macintosh mouse button emulation
    (II) LoadModule: "evdev"
    (II) Loading /usr/lib/xorg/modules/input//evdev_drv.so
    (II) Module evdev: vendor="X.Org Foundation"
    compiled for 1.6.1, module version = 2.2.2
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 4.0
    (**) Macintosh mouse button emulation: always reports core events
    (**) Macintosh mouse button emulation: Device: "/dev/input/event0"
    (II) Macintosh mouse button emulation: Found 3 mouse buttons
    (II) Macintosh mouse button emulation: Found x and y relative axes
    (II) Macintosh mouse button emulation: Configuring as mouse
    (**) Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
    (**) Macintosh mouse button emulation: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    (II) XINPUT: Adding extended input device "Macintosh mouse button emulation" (type: MOUSE)
    (**) Macintosh mouse button emulation: (accel) keeping acceleration scheme 1
    (**) Macintosh mouse button emulation: (accel) filter chain progression: 2.00
    (**) Macintosh mouse button emulation: (accel) filter stage 0: 20.00 ms
    (**) Macintosh mouse button emulation: (accel) set acceleration profile 0
    (II) config/hal: Adding input device ImExPS/2 Logitech Explorer Mouse
    (**) ImExPS/2 Logitech Explorer Mouse: always reports core events
    (**) ImExPS/2 Logitech Explorer Mouse: Device: "/dev/input/event14"
    (II) ImExPS/2 Logitech Explorer Mouse: Found 5 mouse buttons
    (II) ImExPS/2 Logitech Explorer Mouse: Found x and y relative axes
    (II) ImExPS/2 Logitech Explorer Mouse: Found scroll wheel(s)
    (II) ImExPS/2 Logitech Explorer Mouse: Configuring as mouse
    (**) ImExPS/2 Logitech Explorer Mouse: YAxisMapping: buttons 4 and 5
    (**) ImExPS/2 Logitech Explorer Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    (II) XINPUT: Adding extended input device "ImExPS/2 Logitech Explorer Mouse" (type: MOUSE)
    (**) ImExPS/2 Logitech Explorer Mouse: (accel) keeping acceleration scheme 1
    (**) ImExPS/2 Logitech Explorer Mouse: (accel) filter chain progression: 2.00
    (**) ImExPS/2 Logitech Explorer Mouse: (accel) filter stage 0: 20.00 ms
    (**) ImExPS/2 Logitech Explorer Mouse: (accel) set acceleration profile 0
    (II) config/hal: Adding input device AT Translated Set 2 keyboard
    (**) AT Translated Set 2 keyboard: always reports core events
    (**) AT Translated Set 2 keyboard: Device: "/dev/input/event1"
    (II) AT Translated Set 2 keyboard: Found keys
    (II) AT Translated Set 2 keyboard: Configuring as keyboard
    (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
    (**) Option "xkb_rules" "evdev"
    (**) Option "xkb_model" "evdev"
    (**) Option "xkb_layout" "us"
    lved
    Last edited by bharani (2009-08-02 11:49:37)

    The latest intel drivers only support UXA, so any AccelMethod option is ignored, as you can't set anything else than UXA.

  • IMac (Oct 2009) keeps shutting down and restarting when not being used.

    At least once a day, usually when not being used, I will see a dialog box that say computer had to restart due to a problem. data in problem report does not clearly state problem - many multi-page entries
    Have reinstalled OS 10.8.2 once
    this morning tried to restart with safe boot and had spinning beach ball for more than 15 minutes. shut down and restarted nin recovery mode. verified and repaired permissions (all seem to be related to Canon Pronter plug-ins- had an error message yesteday asking if I wanted to repair printer software and I said yes). Printer seems to be working. Had one statement that indicated a screensaver issue-see below
    a while back, iTunes album art screensaver hung up with just two album covers flipping in all rows and columns.
    after a few restarts, it started working correctly again..- yesterday I set screen saver to never, but still had a crash this morning

    Here's the latest panic report. BTW, I ran  for a while from an external system boot - very sloww (thumbdrive), but nothing happened. However, when I retarted I tried to restart in Safe Mode and the launch never completed (30 minutes without start)
    Tue Jan  1 07:15:40 2013
    panic(cpu 0 caller 0xffffff8002443908): "zalloc: \"buf.8192\" (878 elements) retry fail 3, kfree_nop_count: 0"@/SourceCache/xnu/xnu-2050.18.24/osfmk/kern/zalloc.c:1826
    Backtrace (CPU 0), Frame : Return Address
    0xffffff800aafb2b0 : 0xffffff800241d626
    0xffffff800aafb320 : 0xffffff8002443908
    0xffffff800aafb400 : 0xffffff80024de8d8
    0xffffff800aafb450 : 0xffffff80024de395
    0xffffff800aafb500 : 0xffffff80024dd64b
    0xffffff800aafb530 : 0xffffff80024dd7f7
    0xffffff800aafb550 : 0xffffff80026e7766
    0xffffff800aafb5c0 : 0xffffff800272024c
    0xffffff800aafb5e0 : 0xffffff8002721314
    0xffffff800aafb680 : 0xffffff800271d2a0
    0xffffff800aafb790 : 0xffffff800271959c
    0xffffff800aafb840 : 0xffffff800271936a
    0xffffff800aafb8c0 : 0xffffff80025137df
    0xffffff800aafb910 : 0xffffff8002509fe1
    0xffffff800aafb950 : 0xffffff800252685c
    0xffffff800aafba00 : 0xffffff8002526679
    0xffffff800aafba30 : 0xffffff8002712518
    0xffffff800aafbaa0 : 0xffffff8002511c46
    0xffffff800aafbae0 : 0xffffff800250936c
    0xffffff800aafbb90 : 0xffffff80024fbb49
    0xffffff800aafbc40 : 0xffffff80024fc314
    0xffffff800aafbf50 : 0xffffff80027e182a
    0xffffff800aafbfb0 : 0xffffff80024ced33
    BSD process name corresponding to current thread: mdworker
    Mac OS version:
    12C60
    Kernel version:
    Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
    Kernel slide:     0x0000000002200000
    Kernel text base: 0xffffff8002400000
    System model name: iMac10,1 (Mac-F2268DC8)
    System uptime in nanoseconds: 39390380895329
    vm objects:17562048
    vm object hash entri:2264400
    VM map entries:6216720
    pv_list:19034112
    vm pages:74043792
    kalloc.32:1826816
    kalloc.64:170766336
    kalloc.128:649785344
    kalloc.256:648183808
    kalloc.512:2285568
    kalloc.1024:2637824
    kalloc.4096:2387968
    kalloc.8192:3989504
    ipc ports:2168672
    threads:1166880
    vnodes:16507128
    namecache:6952320
    HFS node:21840864
    HFS fork:6352896
    decmpfs_cnode:2244312
    buf.8192:7192576
    ubc_info zone:3559464
    vnode pager structur:1978800
    Kernel Stacks:1982464
    PageTables:44011520
    Kalloc.Large:12347186
    Backtrace suspected of leaking: (outstanding bytes: 236544)
    0xffffff80024435b9
    0xffffff80024245ed
    0xffffff80027ee1bd
    0xffffff80028507f7
    0xffffff800285075b
    0xffffff7f82b6b1ac
    0xffffff7f82b72922
    0xffffff7f82ab138b
    0xffffff7f82ab49b0
    0xffffff7f829f843c
    0xffffff800243dcde
          Kernel Extensions in backtrace:
             com.apple.iokit.IOSCSIArchitectureModelFamily(3.5.1)[4CCC048B-060B-3C07-8D85-A8 4CEA02CD25]@0xffffff7f829f2000->0xffffff7f82a1cfff
             com.apple.iokit.IOSCSIBlockCommandsDevice(3.5.1)[E4EAAA05-F607-3299-AE72-998D19 A5EA17]@0xffffff7f82aae000->0xffffff7f82ac3fff
                dependency: com.apple.iokit.IOSCSIArchitectureModelFamily(3.5.1)[4CCC048B-060B-3C07-8D85-A8 4CEA02CD25]@0xffffff7f829f2000
                dependency: com.apple.iokit.IOStorageFamily(1.8)[5BA4CD36-E96D-3A9E-ADFF-A863BBD63BC7]@0xff ffff7f8297c000
             com.seagate.driver.PowSecDriverCore(5.2.2)[F1208D07-4D35-0191-3638-3D7CA8C9D5CF ]@0xffffff7f82b69000->0xffffff7f82ba1fff
                dependency: com.apple.iokit.IOUSBFamily(5.4.0)[C3094550-7F58-3933-A4F7-CD33AE83F8B9]@0xffff ff7f82a4c000
                dependency: com.apple.iokit.IOSCSIBlockCommandsDevice(3.5.1)[E4EAAA05-F607-3299-AE72-998D19 A5EA17]@0xffffff7f82aae000
                dependency: com.apple.iokit.IOStorageFamily(1.8)[5BA4CD36-E96D-3A9E-ADFF-A863BBD63BC7]@0xff ffff7f8297c000
                dependency: com.apple.iokit.IOSCSIArchitectureModelFamily(3.5.1)[4CCC048B-060B-3C07-8D85-A8 4CEA02CD25]@0xffffff7f829f2000
                dependency: com.apple.iokit.IOFireWireSBP2(4.2.0)[2B060BAD-9A9B-3A52-A742-A37CDFC59570]@0xf fffff7f82b4b000
    last loaded kext at 1223700924328: com.apple.driver.AppleUSBCDC          4.1.22 (addr 0xffffff7f84440000, size 16384)
    last unloaded kext at 1481342745694: com.apple.driver.AppleUSBCDC          4.1.22 (addr 0xffffff7f84440000, size 12288)
    loaded kexts:
    com.pogoplug.filesystems.ppfs          2010.10.7
    com.seagate.driver.PowSecLeafDriver_10_5          5.2.2
    com.seagate.driver.PowSecDriverCore          5.2.2
    com.apple.driver.AppleMikeyHIDDriver          122
    com.apple.driver.AudioAUUC          1.60
    com.apple.driver.AppleHDA          2.3.1f2
    com.apple.driver.AppleBluetoothMultitouch          75.15
    com.apple.driver.AppleHWSensor          1.9.5d0
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.iokit.IOBluetoothSerialManager          4.0.9f33
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AGPM          100.12.69
    com.apple.driver.AppleMikeyDriver          2.3.1f2
    com.apple.filesystems.autofs          3.0
    com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport          4.0.9f33
    com.apple.driver.ApplePolicyControl          3.2.11
    com.apple.driver.ACPI_SMC_PlatformPlugin          1.0.0
    com.apple.driver.AppleLPC          1.6.0
    com.apple.driver.AppleBacklight          170.2.3
    com.apple.driver.AppleUpstreamUserClient          3.5.10
    com.apple.driver.AppleMCCSControl          1.0.33
    com.apple.kext.AMDFramebuffer          8.0.0
    com.apple.ATIRadeonX2000          8.0.0
    com.apple.driver.AppleUSBCardReader          3.1.0
    com.apple.driver.AppleIRController          320.15
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          34
    com.apple.iokit.SCSITaskUserClient          3.5.1
    com.apple.driver.XsanFilter          404
    com.apple.iokit.IOAHCIBlockStorage          2.2.2
    com.apple.driver.AppleUSBHub          5.2.5
    com.apple.driver.AppleFWOHCI          4.9.6
    com.apple.driver.AirPort.Atheros40          600.70.23
    com.apple.driver.AppleAHCIPort          2.4.1
    com.apple.nvenet          2.0.19
    com.apple.driver.AppleUSBEHCI          5.4.0
    com.apple.driver.AppleUSBOHCI          5.2.5
    com.apple.driver.AppleEFINVRAM          1.6.1
    com.apple.driver.AppleRTC          1.5
    com.apple.driver.AppleHPET          1.7
    com.apple.driver.AppleACPIButtons          1.6
    com.apple.driver.AppleSMBIOS          1.9
    com.apple.driver.AppleACPIEC          1.6
    com.apple.driver.AppleAPIC          1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient          196.0.0
    com.apple.nke.applicationfirewall          4.0.39
    com.apple.security.quarantine          2
    com.apple.driver.AppleIntelCPUPowerManagement          196.0.0
    com.apple.driver.AppleBluetoothHIDKeyboard          165.5
    com.apple.driver.AppleHIDKeyboard          165.5
    com.apple.driver.DspFuncLib          2.3.1f2
    com.apple.driver.IOBluetoothHIDDriver          4.0.9f33
    com.apple.driver.AppleMultitouchDriver          235.28
    com.apple.iokit.IOSurface          86.0.3
    com.apple.iokit.IOSerialFamily          10.0.6
    com.apple.iokit.IOBluetoothFamily          4.0.9f33
    com.apple.kext.triggers          1.0
    com.apple.iokit.IOFireWireIP          2.2.5
    com.apple.iokit.AppleBluetoothHCIControllerUSBTransport          4.0.9f33
    com.apple.driver.AppleUSBAudio          2.9.0f6
    com.apple.iokit.IOAudioFamily          1.8.9fc10
    com.apple.kext.OSvKernDSPLib          1.6
    com.apple.driver.AppleHDAController          2.3.1f2
    com.apple.iokit.IOHDAFamily          2.3.1f2
    com.apple.driver.AppleSMC          3.1.4d2
    com.apple.driver.IOPlatformPluginLegacy          1.0.0
    com.apple.driver.AppleSMBusPCI          1.0.10d0
    com.apple.driver.IOPlatformPluginFamily          5.2.0d16
    com.apple.driver.AppleGraphicsControl          3.2.11
    com.apple.driver.AppleBacklightExpert          1.0.4
    com.apple.driver.AppleSMBusController          1.0.10d0
    com.apple.iokit.IONDRVSupport          2.3.5
    com.apple.kext.AMD4600Controller          8.0.0
    com.apple.kext.AMDSupport          8.0.0
    com.apple.iokit.IOGraphicsFamily          2.3.5
    com.apple.iokit.IOUSBHIDDriver          5.2.5
    com.apple.iokit.IOUSBMassStorageClass          3.5.0
    com.apple.driver.AppleUSBMergeNub          5.2.5
    com.apple.driver.AppleUSBComposite          5.2.5
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.5.1
    com.apple.iokit.IOBDStorageFamily          1.7
    com.apple.iokit.IODVDStorageFamily          1.7.1
    com.apple.iokit.IOCDStorageFamily          1.7.1
    com.apple.iokit.IOFireWireSBP2          4.2.0
    com.apple.iokit.IOSCSIBlockCommandsDevice          3.5.1
    com.apple.iokit.IOAHCISerialATAPI          2.5.0
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.5.1
    com.apple.iokit.IOUSBUserClient          5.2.5
    com.apple.iokit.IOFireWireFamily          4.5.5
    com.apple.iokit.IO80211Family          500.15
    com.apple.iokit.IOAHCIFamily          2.2.1
    com.apple.iokit.IONetworkingFamily          3.0
    com.apple.iokit.IOUSBFamily          5.4.0
    com.apple.driver.NVSMU          2.2.9
    com.apple.driver.AppleEFIRuntime          1.6.1
    com.apple.iokit.IOHIDFamily          1.8.0
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          220
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          7
    com.apple.driver.DiskImages          344
    com.apple.iokit.IOStorageFamily          1.8
    com.apple.driver.AppleKeyStore          28.21
    com.apple.driver.AppleACPIPlatform          1.6
    com.apple.iokit.IOPCIFamily          2.7.2
    com.apple.iokit.IOACPIFamily          1.4
    com.apple.kec.corecrypto          1.0

  • Why is the template not being used when dynamic page called ?

    Hi,
    I have created a dynamic page and assigned a template to it. When I call the dynamic page using the 'show' procedure from a form, I do not see the template.
    Why is the template not being used ? How can I get the template working when I call the dynamic page ?
    I even tried to show the page from the dynamic page's manage components tab and there is same problem. Template is not being used.
    thanks,
    Mainak

    You can alter the generated package body to include the following function in the header and footer sections.
    Header:
    PORTAL.wwv_headings.show_header(
    p_template => 'PUBLIC.TEMPLATE_3',
    p_heading => 'Dynamic Page',
    p_help_link => 'PORTAL_DEMO.EXAMPLE_DYNAMIC_PAGE.help',
    p_about_link => 'PORTAL_DEMO.EXAMPLE_DYNAMIC_PAGE.about');
    Footer:
    PORTAL.wwv_headings.show_footer(
    p_template => 'PUBLIC.TEMPLATE_3',
    p_help_link => 'PORTAL_DEMO.EXAMPLE_DYNAMIC_PAGE.help');
    where
    <PORTAL_DEMO> indicates application schema
    <PORTAL> indicates the name of the portal (normally this will be portal30 by default).

  • Newly created index not being used

    Hello friends,
    I am observing that a newly created index on a z table with mandt & a new field is not being used. I have already rebuild index & updated stats for table.
    when we query on this table with where clause having same 2 fields mandt & other.. we expected this index to be used. This table is very large. What more i can do now ?
    In trace/SQL session, we can see it is going full table scan.. and takes very long time.
    this new field contain no data as of now for all existing rows. Is this the reason ? or sometihng else ?
    SQL Statement
    SELECT
    FROM
      "ABSA"
    WHERE
      "MANDT" = :A0 AND "ZABCD" = :A1
    Execution Plan
    Explain from v$sql_plan not possible ->  Explain from PLAN_TABLE is displayed !
    No values in v$sql_plan for Address: 0000000166710240 Hash_value:  3891403872 Child_number:  0 Sql_id:
    SELECT STATEMENT ( Estimated Costs = 905.739 , Estimated #Rows = 110.190.667 )
            1 TABLE ACCESS FULL ZABSA
              ( Estim. Costs = 905.739 , Estim. #Rows = 110.190.667 )
              Estim. CPU-Costs = 152.614.535.266 Estim. IO-Costs = 899.784
              Filter Predicates
    NONUNIQUE  Index   ZABSA~Z01
    Column Name                     #Distinct
    MANDT                                          1
    ZABCD                                         1
    thanks & regards
    ashish
    Edited by: ashish vikas on Mar 3, 2012 9:05 PM

    ashish vikas wrote:
    > Execution Plan
    > Explain from v$sql_plan not possible ->  Explain from PLAN_TABLE is displayed !
    > No values in v$sql_plan for Address: 0000000166710240 Hash_value:  3891403872 Child_number:  0 Sql_id:
    >
    >  SELECT STATEMENT ( Estimated Costs = 905.739 , Estimated #Rows = 110.190.667 )
    >
    >         1 TABLE ACCESS FULL ZABSA
    >           ( Estim. Costs = 905.739 , Estim. #Rows = 110.190.667 )
    >           Estim. CPU-Costs = 152.614.535.266 Estim. IO-Costs = 899.784
    >           Filter Predicates
    >
    > NONUNIQUE  Index   ZABSA~Z01
    > Column Name                     #Distinct
    > MANDT                                          1
    > ZABCD                                         1
    Hi,
    with this WHERE clause, both columns just one distinct value, the Full Table Scan is indded the best approach, beside
    the point you only need a check to evaluate a value is NOT in the result.
    In this case you should HINT the statement to the new index, because the DB will always assume that this index is non-selective.
    Volker

  • Linguistic index not being used

    I am using 10G database and am having an issue that my linguistic index is not being used during sorting.
    Any help will be appreciated.
    Table structure.
    create table TEST
    ID CHAR(256) not null,
    NAME VARCHAR2(100) not null,
    DESIGNATION VARCHAR2(200)
    alter table TEST add constraint ID primary key (ID)
    create index TEST_IDX on TEST (NLSSORT(NAME,'nls_sort=''GENERIC_M'''))
    Number of rows - 1 million
    Query being run.
    alter session set nls_sort='Generic_M';
    select * from test order by name;
    Explain plan
    PLAN_TABLE_OUTPUT
    | 0 | SELECT STATEMENT | | 1001K| 270M| | 70194 (1)| 00:14:0
    3 |
    | 1 | SORT ORDER BY | | 1001K| 270M| 579M| 70194 (1)| 00:14:0
    3 |
    | 2 | TABLE ACCESS FULL| TEST | 1001K| 270M| | 9163 (1)| 00:01:5
    0 |
    --------------------------------------------------------------------------------

    I don't think that's true, at least with the nls_sort function. I'm running into the same problem now, and I've traced with and without the use of the index, and it's definitely better with the index.
    Here it is, not using the index:
    SQL> select * from test where col2='sfs';
    no rows selected
    Execution Plan
    Plan hash value: 1357081020
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 366 | 2 (0)| 00:00:01 |
    |* 1 | TABLE ACCESS FULL| TEST | 1 | 366 | 2 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    1 - filter(NLSSORT("COL2",'nls_sort=''BINARY_CI''')=HEXTORAW('7366730
    0') )
    Note
    - dynamic sampling used for this statement
    Statistics
    87 recursive calls
    0 db block gets
    21 consistent gets
    0 physical reads
    0 redo size
    339 bytes sent via SQL*Net to client
    327 bytes received via SQL*Net from client
    1 SQL*Net roundtrips to/from client
    0 sorts (memory)
    0 sorts (disk)
    0 rows processed
    And here it is WITH the index:
    SQL> select /*+ index_asc(test index1) */ * from test where col2='adsfas';
    no rows selected
    Execution Plan
    Plan hash value: 2960817241
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time
    |
    | 0 | SELECT STATEMENT | | 1 | 366 | 2 (0)| 00:0
    0:01 |
    | 1 | TABLE ACCESS BY INDEX ROWID| TEST | 1 | 366 | 2 (0)| 00:0
    0:01 |
    |* 2 | INDEX FULL SCAN | INDEX1 | 1 | | 1 (0)| 00:0
    0:01 |
    Predicate Information (identified by operation id):
    2 - access(NLSSORT("COL2",'nls_sort=''BINARY_CI''')=HEXTORAW('6164736661730
    0') )
    filter(NLSSORT("COL2",'nls_sort=''BINARY_CI''')=HEXTORAW('6164736661730
    0') )
    Note
    - dynamic sampling used for this statement
    Statistics
    11 recursive calls
    0 db block gets
    7 consistent gets
    0 physical reads
    0 redo size
    339 bytes sent via SQL*Net to client
    327 bytes received via SQL*Net from client
    1 SQL*Net roundtrips to/from client
    0 sorts (memory)
    0 sorts (disk)
    0 rows processed
    Oddly enough, the optimizer chooses not to use the index on this example table I created.

  • Structured XMLIndex is not being used

    I have a table defined as "TABLE OF XMLTYPE" with XML Binary storage with a structured XMLIndex under Oracle 11.2.0.3.4. The query that I am using on this table is virtually the same as the XMLIndex, but it's not being used. I searched the forums for similar issues and found this:
    XMLIndex is not getting used
    However, the post is a couple of years old, and I think that the solution was really specific to the problem. Not that mine isn't. ;)
    Per the forum guidelines, the data/DDL is confidential, and should not be posted, so I opened a SR for it - SR 3-7160281751.
    May I please have some help understanding why the structured XMLIndex is not being used?
    Thanks...

    OK, I did the best I could to clean this up. The last query in this script is the one not using the index. The tables "book_master" and "book_join_temp" are populated, though I didn't include the data here. Do you see anything wrong?
    --Create tables...
    CREATE TABLE book_master OF XMLTYPE
    XMLTYPE STORE AS SECUREFILE BINARY XML
    VIRTUAL COLUMNS
      isbn_nbr AS ( XmlCast(
                    XmlQuery('declare namespace plh="http://www.mrbook.com/InventoryData/Listing";
                              declare namespace invtdata="http://www.mrbook.com/Inventory";
                              /invtdata:INVENTORY/plh:LIST/plh:ISBN_NBR'
                              PASSING object_value RETURNING CONTENT) AS VARCHAR2(64)) ),
      book_id AS ( XmlCast(
                    XmlQuery('declare namespace plh="http://www.mrbook.com/InventoryData/Listing";
                              declare namespace invtdata="http://www.mrbook.com/Inventory";
                              /invtdata:INVENTORY/plh:LIST/plh:BOOK_ID'
                              PASSING object_value RETURNING CONTENT) AS VARCHAR2(64)) )
    CREATE GLOBAL TEMPORARY TABLE book_join_temp
       isbn_nbr VARCHAR2(64),
       book_id VARCHAR2(64),
       row_num INT,
       PRIMARY KEY(row_num)
    ) ON COMMIT DELETE ROWS;
    --Create indices....
    CREATE INDEX bkm_xmlindex_ix ON book_master (OBJECT_VALUE) INDEXTYPE IS XDB.XMLIndex PARAMETERS ('PATH TABLE path_tab');
    BEGIN
       DBMS_XMLINDEX.registerParameter(
          'myparam',
          'ADD_GROUP GROUP book_record
             XMLTable bk_idx_tab
             XmlNamespaces(''http://www.mrbook.com/InventoryData/Listing'' AS "plh",
                      ''http://www.mrbook.com/Inventory'' AS "invtdata",
                      ''http://www.mrbook.com/BookInfo'' AS "idty",
                      ''http://www.mrbook.com/References'' AS "lclone",
                      ''http://www.mrbook.com/Publishing'' AS "trd",
                      ''http://www.mrbook.com'' AS "mrbook"),
             ''/invtdata:INVT_DATA''
               COLUMNS
                    xml_id    RAW(16)     PATH ''/@XML_ID'',
                    isbn_nbr  VARCHAR(64) PATH ''/plh:LIST/plh:ISBN_NBR'',
                    book_id   VARCHAR(64) PATH ''/plh:LIST/plh:BOOK_ID'',
                    seller_loc_id NUMBER(13,0) PATH ''/plh:LIST/plh:SELLER_LOC_ID'',
                    catg_typ_cd NUMBER(7,0) PATH ''/idty:BK_INFO/idty:CATG_TYP_CD'',
                    CTRY_MKT_LOC NUMBER(7,0) PATH ''/idty:BK_INFO/idty:CTRY_MKT_LOC'',
                    bk_out_of_print_cd NUMBER(7,0) PATH ''/idty:BK_INFO/idty:BK_OUT_OF_PRINT_CD'',
                    reprint_isbn_nbr VARCHAR2(64) PATH ''/idty:BK_INFO/idty:REPRINT_ISBN_NBR'',
                    reprint_book_id VARCHAR2(64) PATH ''/idty:BK_INFO/idty:REPRINT_BOOK_ID'',
                    orig_ed_isbn_nbr VARCHAR2(64) PATH ''/lclone:REFERENCES/lclone:PRINT[child::lclone:PRINT_TYP_CD="160"]/lclone:ISBN_NBR'',
                    orig_ed_book_id VARCHAR2(64) PATH ''//lclone:REFERENCES/lclone:PRINT[child::lclone:PRINT_TYP_CD="160"]/lclone:BOOK_ID'',
                    last_mod_dt TIMESTAMP PATH ''/node()[local-name()="LAST_MOD_DT"]'',
                    subject_catg_code  NUMBER(7) PATH ''/idty:BK_INFO/idty:SUBJECT_CATG_CODE[child::idty:CATG_REF_LVL=1]/idty:SUBJECT_CATG_CODE'',
                    catg_code VARCHAR2(48) PATH ''/idty:BK_INFO/idty:SUBJECT_CATG_CODE[child::idty:CATG_REF_LVL=1]/idty:CATG_CODE'',
                    pub_summ  XMLType   PATH ''/trd:PUB_SUMM'' VIRTUAL
                XMLTable trd_summ_entr_ix
                XmlNamespaces(''http://www.mrbook.com/InventoryData/Listing'' AS "plh",
                      ''http://www.mrbook.com/Inventory'' AS "invtdata",
                      ''http://www.mrbook.com/BookInfo'' AS "idty",
                      ''http://www.mrbook.com/References'' AS "lclone",
                      ''http://www.mrbook.com/Publishing'' AS "trd",
                      ''http://www.mrbook.com'' AS "mrbook"),
                   ''/trd:PUB_SUMM/trd:PUBLC'' PASSING pub_summ
                COLUMNS
                    pub_yrmo  VARCHAR2(6) PATH ''/@PUBLC_YRMO''
    END;
    ALTER INDEX bk_xmlindex_ix PARAMETERS('PARAM myparam');
    CREATE INDEX ejt_isbn ON book_join_temp(isbn_nbr);
    CREATE INDEX ejt_book ON book_join_temp(book_id);
    --Using the PATH table instead of structured index???
    SELECT
        ej.row_num,
        e.xml_id,
        e.isbn_nbr,
        e.book_id,
        e.seller_loc_id,
        e.seller_loc_id AS mkt_seller_id,
        e.catg_typ_cd,
        e.CTRY_MKT_LOC,
        e.bk_out_of_print_cd,
        e.reprint_isbn_nbr,
        e.reprint_book_id,
        e.orig_ed_isbn_nbr,
        e.orig_ed_book_id,
        g.OBJECT_VALUE AS invt_data
    FROM
        book_master g,
        book_join_temp ej,
        XmlTable(
        XmlNamespaces('http://www.mrbook.com/InventoryData/Listing' AS "plh",
                      'http://www.mrbook.com/Inventory' AS "invtdata",
                      'http://www.mrbook.com/BookInfo' AS "idty",
                      'http://www.mrbook.com/References' AS "lclone",
                      'http://www.mrbook.com' AS "mrbook"),
          '/invtdata:INVENTORY'
        PASSING g.OBJECT_VALUE
        COLUMNS
           xml_id PATH '@XML_ID',
           isbn_nbr VARCHAR2(64) PATH 'plh:LIST/plh:ISBN_NBR',
           book_id VARCHAR2(64) PATH 'plh:LIST/plh:BOOK_ID',
           seller_loc_id NUMBER PATH 'plh:LIST/plh:SELLER_LOC_ID',
           catg_typ_cd NUMBER PATH 'idty:BK_INFO/idty:CATG_TYP_CD',
           CTRY_MKT_LOC NUMBER PATH 'idty:BK_INFO/idty:CTRY_MKT_LOC',
           bk_out_of_print_cd NUMBER PATH 'idty:BK_INFO/idty:BK_OUT_OF_PRINT_CD',
           reprint_isbn_nbr NUMBER PATH 'idty:SUBJ_DTL/idty:SUCSR_DUNS_NBR',
           reprint_book_id NUMBER PATH 'idty:SUBJ_DTL/idty:SUCSR_SUBJ_ID',
           orig_ed_isbn_nbr VARCHAR2(64) PATH '/lclone:REFERENCES/lclone:PRINT[child::lclone:PRINT_TYP_CD="160"]/lclone:ISBN_NBR',
           orig_ed_book_id VARCHAR2(64) PATH '/lclone:REFERENCES/lclone:PRINT[child::lclone:PRINT_TYP_CD="160"]/lclone:BOOK_ID'
    ) e
    WHERE
         ej.isbn_nbr = e.isbn_nbr
    OR  ej.book_id = e.book_id;

Maybe you are looking for