Trace is still getting generated even after disabling the profile option Initialization SQL Statement - Custom

Hi All,
we have a problem with profile option "Initialization SQL Statement - Custom". we have set this at user level. after some time, we have cleared the profile option value for this user.
But we can still see the generated trace files are getting updated. we did checked this trc files from path returned from below query.
select name, value
from   v$parameter
where  name like 'user_dump_dest';
Please help us on how to resolve this issue. we are using Oracle Apps R 12.1.2 version.
Thanks in advance
Raghava

Before logging out we suspect that he closed the browser instead of logout link.
What if you make the user logout, can you reproduce the issue then?
We have verified the profile options for this user and found that value is cleared for profile Initialization SQL Statement - Custom.
How do you know that the files were generated for this user and because of this profile option? Have you verified profile options for all users at all level?
Thanks,
Hussein

Similar Messages

  • IPhone 4 still gets crashed even after ios 7.1 update, & sometimes fails to reboot! However it gets rebooted after 30 to 60 mins later by itself. "HELP" please somebody

    iPhone 4 still gets crashed even after ios 7.1 update, & sometimes fails to reboot! However it gets rebooted after 30 to 60 mins later by itself. "HELP" please somebody

    1: Connect the device to Your computer and open iTunes.
    2: If the device appears in iTunes, select and click Restore on the Summary pane.
    Restoring  >  http://support.apple.com/kb/HT1414
    Make sure you have the Latest Version of iTunes (v11.1.5) Installed on your computer
    iTunes free download from www.itunes.com/download
    Note:
    Also consider Deleting any Apps you have Purchased / Downloaded but you now never use...

  • HT5037 Iphoto Still wont open even after installed the prepare file

    Still wont open even after installed the prepare file. I haven't felt this frostation since window 5 

    Go to Applications /Utilities. Find the upgrader app there. Double click on it to run it.
    I haven't felt this frostation since window 5
    Sorry, no idea what this means.

  • [Issue]:Still getting Notification ,even i left the group

    yesterday ,there was a group i left the group, But still can see the notification coming from next day ie, tommorow 

    Before logging out we suspect that he closed the browser instead of logout link.
    What if you make the user logout, can you reproduce the issue then?
    We have verified the profile options for this user and found that value is cleared for profile Initialization SQL Statement - Custom.
    How do you know that the files were generated for this user and because of this profile option? Have you verified profile options for all users at all level?
    Thanks,
    Hussein

  • The Outlook links do not connect to Firefox even after setting the customize option in Default Programs. Please help.

    The''' Outlook links do not connect to Firefox '''even after setting the customize option in Default Programs. Please help.

    Message to Toad-Hall
    Thank you, for that. To be sure, I tried your suggestion, and selected "System Proxy" as the choice, for Thunderbird and Firefox. Rebooted, and looked at the outcome.. NO Joy.. :-(
    I believe that I shall send the output of the Error Log in my next post. Perhaps someone can point me in the right direction after looking at the Error.log.
    Thank you...Toad Hall. If you think of something else to try, I am ALL ears.. I shall keep trying..

  • Sqlnet.ora trace files getting generated even after turning off tracing

    Hi,
    I have recently added the following parameters to the sqlnet.ora file.
    TRACE_LEVEL_SERVER=16
    TRACE_FILE_SERVER=SERVER
    TRACE_DIRECTORY_SERVER=/ftpland/trace
    TRACE_TIMESTAMP_SERVER=on
    Even after removing these enteries from the sqlnet.ora I still see the trave files being generated.
    #####enable tracing###################
    #Trace_level_server=0
    #Trace_filelen_server=1000
    #Trace_fileno_server=1
    #Trace_timestamp_server=on
    #Trace_directory_server=/opt/oracle/product/10.2.0/network/trace
    #Diag_adr_enabled=off
    AUTOMATIC_IPC = ON
    TRACE_LEVEL_CLIENT = OFF
    SQLNET.EXPIRE_TIME = 10
    NAMES.DEFAULT_DOMAIN = bsca.eds.com
    NAME.DEFAULT_ZONE = bsca.eds.com
    SQLNET.CRYPTO_SEED = "232166927-1713903352"
    NAMES.DIRECTORY_PATH = (ONAMES,TNSNAMES)
    NAMES.PREFERRED_SERVERS =
          (ADDRESS_LIST =
            (ADDRESS =
              (COMMUNITY = TCP.bsca.eds.com)
              (PROTOCOL = TCP)
              (Host = oraclenames1.bsca.eds.com)
              (Port = 1575)
            (ADDRESS =
              (COMMUNITY = TCP.bsca.eds.com)
              (PROTOCOL = TCP)
              (Host = oraclenames2.bsca.eds.com)
              (Port = 1575)
    NAME.PREFERRED_SERVERS =
          (ADDRESS_LIST =
            (ADDRESS =
              (COMMUNITY = TCP.bsca.eds.com)
              (PROTOCOL = TCP)
              (Host = oraclenames1.bsca.eds.com)
              (Port = 1575)
    (ADDRESS =
              (COMMUNITY = TCP.bsca.eds.com)
              (PROTOCOL = TCP)
              (Host = oraclenames2.bsca.eds.com)
              (Port = 1575)
    BEQUEATH_DETACH=YES
    Regards,
    VN

    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME =ROSDMP.bsca.eds.com)
          (ORACLE_HOME = /opt/oracle/product/10.2.0)
          (SID_NAME = ROSDMP)
    TRACE_LEVEL_LISTENER=16
    I believe, this is the reason, you are seeing trace files even after disabling it in sqlnet.ora

  • Getting Warning even after assigning the DataProvideer

    I am designing the web template & even after assigning the Data Provider
    I am getting this warning as
      W25    The Characteristic %NV% is not found in data provider DP_1   
    & aslo I would like to ask
    The requirement of our company is to use Web Reports .
    so, shall I copy the existing template & use it or
    shall I Design the Web Template from Scratch
    your help in this regard is much appreciated.

    Dear Chauhan,
    Could you please let me know what is NV & how to activate Characteristic %NV%
    Thank you & regards

  • Trace not generated using  Initialization SQL Statement - Custom profile

    Im following the steps given below to generate trace :
    Navigate to System Administrator > Profile > System
    Check --User and provide the User for which the tracing has to be set.
    In the Profile field provide Initialization%SQL%Custom and click Find-- button.
    (b) In the User Value column on the Profile Values form, enter the statement shown below and click 'Save'.
    BEGIN FND_CTL.FND_SESS_CTL('','','','','','ALTER SESSION SET max_dump_file_size=5000000 EVENTS=''10046 TRACE NAME CONTEXT FOREVER, LEVEL 12'''); FND_TRACE.SET_TRACE_IDENTIFIER('XXXTEST'); END;
    Note: Specify an identifier to help you identify your trace file. XXXTEST was used in this case and will show at the end of the trace file name.
    You may need to set the MAX_DUMP_FILE_SIZE to UNLIMITED if the file is truncated
    But the the trace is not getting generated. I searched user_dump_dest and all other location but couldn't find a file with the name "XXXTEST".
    kindly help....

    Hİ;
    I suggest please check How To Trace a Concurrent Request And Generate TKPROF File [ID 453527.1]. If you are sure your system generate trace, you may go with find -name xx.trace
    Regard
    Helios

  • Urgent:Calculating Burden Cost even after disabling the Burden Schedule

    Hello Guys,
    Can any one help me on this query,
    Version 12.1.3
    Business was calculating raw and burden cost before,Now we are Importing Raw Cost from Third Party System and does not want to add burden cost to these transactions.After Importing we are running PRC:Distribute and create burden transactions.It taking the burden muliplier in burden schedule and adding to the transactions.
    We have end dated the effective date for burden schedule with 1-Jan-2000.But we still find that it's burdening the transactions after 1-Jan-2000.
    We have not defined any burden override at Project and Task Level.
    Is their any option left out to disable the burdening for a project.
    Regards,
    satish
    Edited by: 874738 on Oct 11, 2012 9:13 PM

    Hello
    In first case ideally it should stop burdening but strange if it is not !!!.
    Ny ways try attaching absolute burden hierarchy and runing compile burden procedure. > If not work try keeping multiplier as 0 > or try removing expenditure types in burden structure > compile > try ur luck !!!
    if that nothing works then raise the SR with Oracle..
    Ny ways a question in my mind...Y r u runing the PRC:Distribute and create burden transactions procedure when u dont want to burdent the transactions?
    All the Best
    Thanks

  • Tree Table icons not getting cleared even after applying the CSS

    Hi,
    I need to change the tree table expanded and collapsed and the lead node icon.
    Leaf node icon is getting changed properly but the remaining two are appled improperly.
    In the background the old default image is getting redered and on top of that the newly given image is shown.
    These are .css statemets used for changing the icons.
    af|treeTable::expanded-icon{content:url(/org/calwin/ui/superweb/image/yellowBlueMarker-minus_trans.gif);
    background: none ;}
    af|treeTable::collapsed-icon{content:url(/org/calwin/ui/superweb/image/yellowBlueMarker_trans_plus.gif);
    background: none}
    af|treeTable::leaf-icon{content:url(/org/calwin/ui/superweb/image/blueCircleMarker_trans.gif);
                                 background: none}
    Can someone suggest a solution for this.
    Thanks,
    Praveen.

    Hi Frank,
    I tried including -tr-inhibit:all;
    but it didn't work.
    Here's my skin registration tag in trinidaad-skins.xml
    <skin>
    <id>customSkin.desktop</id>
    <family>CustomSkin</family>
    <extends>fusion.desktop</extends>
    <render-kit-id>org.apache.myfaces.trinidad.desktop</render-kit-id>
    <style-sheet-name>org/calwin/ui/superweb/skin/css/customFusion.css</style-sheet-name>
    </skin>
    Can there be any other reason for not being applied properly.
    The images mentioned in the css are properly rendered but in the background
    default images are still coming.
    Please suggest..

  • Not getting alerts even after applied the monitoring policy on user defined group.

    Hi,
    recently we have installed OEM Ops center 12c for monitoring our oracle servers. I have created a user defined group and applied a userdefined monitoring policy on that group. I have threshold  70% as crtical and 50 % as warning in my monitoring policy.
    Some of my servers are having 77% disk utlization and im not getting any alerts for that.
    What will be the problem?
    When i see the membership of particular group (group -> membership in center pane), im not able to see the monitoring policy name on the monitoring policy column but i have applied policy on that group.
    Please help me to resolve the issue.
    Thanks,
    Veijar

    Hi Stijn,
    Thanks for the response.
    You are right. I was sending personalized iBot to group 'Financial Analyst'. A non-OBI user(Reshmi) belongs to this group.
    But still problem has not been completely resolved.Still users in group either Administrator/Financial Analyst not getting alert via mail.
    Atleast the users in Administrator group should get alert via mail, since both are defined in rpd.
    Now when i send non-personalized ibot to group 'Financial Analyst', All the users other than Reshmi get alert on their dashboard but they don't get alert
    via mail.Also Reshmi does not get alert via mail and error file shows error like -
    No devices for user: Reshmi.
    Now i am not getting the error nQSError: 43001 Authentication failed for Reshmil in repository Star: invalid user/password. (08004)
    which i was getting earlier while sending personalized ibot.
    I have already defined the Mail tab contents using Job Manager. Also i have selected User Destinations both Interactive Dashboard and Active Delivery
    Profile.
    Why the users don't get alert via mail? What could be the problem?

  • Auto logout even after disabling the setting

    I have an ongoing problem with my MacBook Pro (mid 2012) with OS 10.10 going into automatic logout after 57 minutes of inactivity.
    I have gone into:
    System Preferences > Security & Privacy > General then Advanced tab.
    And then I have both de-selected the automatic logout after 57 minutes of inactivity, and changed the time of inactivity, but the system always goes back to the default within minutes of changing the settings (I've gone out and locked the settings immediately after and then gone back to check and it is still set at that stage).
    What else do I need to do to stop this automatic logouts?
    Thanks

    Hello
    In first case ideally it should stop burdening but strange if it is not !!!.
    Ny ways try attaching absolute burden hierarchy and runing compile burden procedure. > If not work try keeping multiplier as 0 > or try removing expenditure types in burden structure > compile > try ur luck !!!
    if that nothing works then raise the SR with Oracle..
    Ny ways a question in my mind...Y r u runing the PRC:Distribute and create burden transactions procedure when u dont want to burdent the transactions?
    All the Best
    Thanks

  • Index is not getting picked even after providing hint

    Hi All
    The index pk_sku is not getting picked even after providing the hints when executing the query.Please kindly give me such recommendations.I am providing the information.
    select  * from
    (select /*+ index(s pk_sku) */
          to_char(t.dstamp, 'YYYYmmDDHH24MI') as sort_1,
          t.client_id as CLIENT_ID ,
          t.site_id as SITE_ID,
          tz.time_zone_name as TIME_ZONE_NAME     ,
          t.owner_id as OWNER_ID,
          t.sku_id as SKU_ID,
          t.reason_id as ADJUST_TYPE,
          to_char(t.dstamp+tz.diff/24, 'DD/mm/YYYY HH24:MI') as ADJUST_DATETIME,
          t.reference_id as RECEIPT_ID,
          t.batch_id as BATCH_ID,
          t.update_qty as UPDATE_QTY,
          t.lock_code as LOCK_CODE,
          s.description as SKU_DESCRIPTION
    from  mv_inventory_transaction t
          JOIN timezone tz ON tz.site_id = t.site_id ,
           mv_sku s
    where   t.sku_id= s.sku_id
    and     t.client_id=s.client_id
    and   ( :client is null or :client = t.client_id)
    and    ( :site is null or t.site_id  in (:site))
    and    ( :owner is null or t.owner_id in (:owner))
    and    t.code= 'Adjustment'
    and   (t.dstamp+tz.diff/24) between  to_date(:dateFrom, 'DD/mm/yyyy') and to_date(:dateTo,'DD/mm/yyyy')+1
    and      (:sku is null or t.sku_id in (:sku))
    UNION ALL
    (select  /*+ index(s pk_sku) */
         to_char(t.dstamp, 'YYYYmmDDHH24MI') as sort_1,
        t.client_id as CLIENT_ID ,
          t.site_id as SITE_ID,
                          tz.time_zone_name as TIME_ZONE_NAME     ,
          t.owner_id as OWNER_ID,
          t.sku_id as SKU_ID,
          t.reason_id as ADJUST_TYPE,
          to_char(t.dstamp+tz.diff/24, 'DD/mm/YYYY HH24:MI') as ADJUST_DATETIME,
          t.reference_id as RECEIPT_ID,
          t.batch_id as BATCH_ID,
          t.update_qty as UPDATE_QTY,
          t.lock_code as LOCK_CODE,
          s.description as SKU_DESCRIPTION
    from  mv_inventory_transaction_arch t
          JOIN timezone tz ON tz.site_id = t.site_id,
           mv_sku s
    where   t.sku_id= s.sku_id
    and     t.client_id=s.client_id
    and   ( :client is null or :client = t.client_id)
    and    ( :site is null or t.site_id  in (:site))
    and    ( :owner is null or t.owner_id in (:owner))
    and    t.code= 'Adjustment'
    and   (t.dstamp+tz.diff/24) between  to_date(:dateFrom, 'DD/mm/yyyy') and to_date(:dateTo,'DD/mm/yyyy')+1
    and      (:sku is null or t.sku_id in (:sku))
    order by sort_1,2,3,4,5
    version = Release 10.1.0.5.0
    SQL> sho parameter optimizer
    NAME                                 TYPE        VALUE
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      10.1.0.5
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      ALL_ROWS
    sho parameter db_file_multiblock_count_read
    sho parameter cursor_sharing
    SQL> sho parameter optimizer
    NAME                                 TYPE        VALUE
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      10.1.0.5
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      ALL_ROWS
    SQL>  sho parameter db_file_multi
    NAME                                 TYPE        VALUE
    db_file_multiblock_read_count        integer     16
    SQL> sho parameter cursor_sharing
    NAME                                 TYPE        VALUE
    cursor_sharing                       string      EXACTExplain plan
    | Id  | Operation                              | Name                          | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                       |                               |    56 | 29736 |   345K  (1)| 01:09:07 |
    |   1 |  SORT ORDER BY                         |                               |    56 | 29736 |   345K  (1)| 01:09:07 |
    |   2 |   VIEW                                 |                               |    56 | 29736 |   345K  (1)| 01:09:07 |
    |   3 |    UNION-ALL                           |                               |       |       |            |          |
    |   4 |     NESTED LOOPS                       |                               |     2 |   984 | 29686   (1)| 00:05:57 |
    |   5 |      HASH JOIN                         |                               |     1 |   326 | 26870   (1)| 00:05:23 |
    |   6 |       TABLE ACCESS FULL                | TIMEZONE                      |     4 |    88 |     3   (0)| 00:00:01 |
    |   7 |       VIEW                             | MV_INVENTORY_TRANSACTION      |    25 |  7600 | 26866   (1)| 00:05:23 |
    |   8 |        UNION-ALL                       |                               |       |       |            |          |
    |   9 |         FILTER                         |                               |       |       |            |          |
    |  10 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION      |     1 |    67 | 24327   (1)| 00:04:52 |
    |  11 |           INDEX RANGE SCAN             | IDX_CODE_CLIENTID_690         | 79681 |       |   518   (1)| 00:00:07 |
    |  12 |         FILTER                         |                               |       |       |            |          |
    |  13 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION      |    24 |  2328 |  2539   (1)| 00:00:31 |
    |  14 |           INDEX RANGE SCAN             | IDX_CODE_646                  |  9269 |       |    46   (0)| 00:00:01 |
    |  15 |      VIEW                              | MV_SKU                        |    37 |  6142 |  2816   (1)| 00:00:34 |
    |  16 |       UNION-ALL                        |                               |       |       |            |          |
    |  17 |        MAT_VIEW ACCESS FULL            | MV_SKU                        |   335K|    10M|  2535   (1)| 00:00:31 |
    |  18 |        MAT_VIEW ACCESS FULL            | MV_SKU                        | 37839 |  1699K|   280   (1)| 00:00:04 |
    |  19 |     NESTED LOOPS                       |                               |    54 | 26568 |   315K  (1)| 01:03:10 |
    |  20 |      HASH JOIN                         |                               |     1 |   326 |   313K  (1)| 01:02:37 |
    |  21 |       TABLE ACCESS FULL                | TIMEZONE                      |     4 |    88 |     3   (0)| 00:00:01 |
    |  22 |       VIEW                             | MV_INVENTORY_TRANSACTION_ARCH |   576 |   171K|   313K  (1)| 01:02:37 |
    |  23 |        UNION-ALL                       |                               |       |       |            |          |
    |  24 |         FILTER                         |                               |       |       |            |          |
    |  25 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION_ARCH |     1 |    72 | 19258   (1)| 00:03:52 |
    |  26 |           INDEX RANGE SCAN             | QUI_IDX_INVTRANS_ARC1         | 36016 |       |   287   (1)| 00:00:04 |
    |  27 |         FILTER                         |                               |       |       |            |          |
    |  28 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION_ARCH |   575 | 55200 |   293K  (1)| 00:58:45 |
    |  29 |           INDEX RANGE SCAN             | QUI_IDX_INVTRANS_ARC1         |   367K|       |  3466   (1)| 00:00:42 |
    |  30 |      VIEW                              | MV_SKU                        |    37 |  6142 |  2816   (1)| 00:00:34 |
    |  31 |       UNION-ALL                        |                               |       |       |            |          |
    |  32 |        MAT_VIEW ACCESS FULL            | MV_SKU                        |   335K|    10M|  2535   (1)| 00:00:31 |
    |  33 |        MAT_VIEW ACCESS FULL            | MV_SKU                        | 37839 |  1699K|   280   (1)| 00:00:04 |
    ------------------------------------------------------------------------------------------------------------------------when put in sql tuning advisor,It recommended with better plan using indexes
    | Id  | Operation                              | Name                          | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                       |                               |    56 | 29736 |   340K  (1)| 01:08:01 |
    |   1 |  SORT ORDER BY                         |                               |    56 | 29736 |   340K  (1)| 01:08:01 |
    |   2 |   VIEW                                 |                               |    56 | 29736 |   340K  (1)| 01:08:01 |
    |   3 |    UNION-ALL                           |                               |       |       |            |          |
    |   4 |     NESTED LOOPS                       |                               |     2 |   848 | 26900   (1)| 00:05:23 |
    |   5 |      HASH JOIN                         |                               |     1 |   326 | 26898   (1)| 00:05:23 |
    |   6 |       TABLE ACCESS FULL                | TIMEZONE                      |     4 |    88 |     3   (0)| 00:00:01 |
    |   7 |       VIEW                             | MV_INVENTORY_TRANSACTION      |    25 |  7600 | 26894   (1)| 00:05:23 |
    |   8 |        UNION-ALL                       |                               |       |       |            |          |
    |   9 |         FILTER                         |                               |       |       |            |          |
    |  10 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION      |     1 |    67 | 24352   (1)| 00:04:53 |
    |  11 |           INDEX RANGE SCAN             | IDX_CODE_CLIENTID_690         | 79681 |       |   518   (1)| 00:00:07 |
    |  12 |         FILTER                         |                               |       |       |            |          |
    |  13 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION      |    24 |  2328 |  2542   (1)| 00:00:31 |
    |  14 |           INDEX RANGE SCAN             | IDX_CODE_646                  |  9269 |       |    46   (0)| 00:00:01 |
    |  15 |      VIEW                              | MV_SKU                        |    37 |  3626 |     2   (0)| 00:00:01 |
    |  16 |       UNION-ALL PARTITION              |                               |       |       |            |          |
    |  17 |        MAT_VIEW ACCESS BY INDEX ROWID  | MV_SKU                        |     1 |    34 |     3   (0)| 00:00:01 |
    |  18 |         INDEX UNIQUE SCAN              | PK_SKU                        |     1 |       |     2   (0)| 00:00:01 |
    |  19 |        MAT_VIEW ACCESS BY INDEX ROWID  | MV_SKU                        |     1 |    46 |     2   (0)| 00:00:01 |
    |  20 |         INDEX UNIQUE SCAN              | PK_SKU                        |     1 |       |     1   (0)| 00:00:01 |
    |  21 |     NESTED LOOPS                       |                               |    54 | 22896 |   313K  (1)| 01:02:38 |
    |  22 |      HASH JOIN                         |                               |     1 |   326 |   313K  (1)| 01:02:38 |
    |  23 |       TABLE ACCESS FULL                | TIMEZONE                      |     4 |    88 |     3   (0)| 00:00:01 |
    |  24 |       VIEW                             | MV_INVENTORY_TRANSACTION_ARCH |   576 |   171K|   313K  (1)| 01:02:38 |
    |  25 |        UNION-ALL                       |                               |       |       |            |          |
    |  26 |         FILTER                         |                               |       |       |            |          |
    |  27 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION_ARCH |     1 |    72 | 19269   (1)| 00:03:52 |
    |  28 |           INDEX RANGE SCAN             | QUI_IDX_INVTRANS_ARC1         | 36016 |       |   287   (1)| 00:00:04 |
    |  29 |         FILTER                         |                               |       |       |            |          |
    |  30 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION_ARCH |   575 | 55200 |   293K  (1)| 00:58:47 |
    |  31 |           INDEX RANGE SCAN             | QUI_IDX_INVTRANS_ARC1         |   367K|       |  3466   (1)| 00:00:42 |
    |  32 |      VIEW                              | MV_SKU                        |    37 |  3626 |     2   (0)| 00:00:01 |
    |  33 |       UNION-ALL PARTITION              |                               |       |       |            |          |
    |  34 |        MAT_VIEW ACCESS BY INDEX ROWID  | MV_SKU                        |     1 |    34 |     3   (0)| 00:00:01 |
    |  35 |         INDEX UNIQUE SCAN              | PK_SKU                        |     1 |       |     2   (0)| 00:00:01 |
    |  36 |        MAT_VIEW ACCESS BY INDEX ROWID  | MV_SKU                        |     1 |    46 |     2   (0)| 00:00:01 |
    |  37 |         INDEX UNIQUE SCAN              | PK_SKU                        |     1 |       |     1   (0)| 00:00:01 |
    ------------------------------------------------------------------------------------------------------------------------So ,after checking the recommended plan I tried to execute the query with the hints,even then it is picking up the indexes in the explain plan.So please kindly help in solving the issue
    The pk_sku is the index created on client_id and sku_id columns
    Thanks
    GV

    riedelme wrote:
    My experience is differernt - hints will be followed if the optimizer determines they will be beneficial and not if they will not, including my current project on 11gR2. The example below (unfortunately only 11gR1) disproves your theory, showing the index hint is followed and that the cost increases by a factor of five.
    The most common cases of the optimizer apparently ignoring a hint are due to operator error, the hint is not well formed, or cannot be followed. There are a couple of documented cases where a hint will be ignored - first_rows used in CTAS is one.
    Jonathan Lewis writes a lot about it on his blog showing that the optimizer always acts on a well formed hint if it is at all possible.
    SQL> create table t (n number not null, c varchar2(1000));
    Table created.
    SQL> insert into t select 1, rpad('x',1000,'x')
      2  from dual connect by level <= 50000;
    50000 rows created.
    SQL> create index t_ix on t (n);
    Index created.
    SQL> exec dbms_stats.gather_table_stats(user, 't', cascade => true)
    PL/SQL procedure successfully completed.
    SQL> explain plan for
      2  select max(c) from t where n =1;
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 2966233522
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |      |     1 |  1004 |  1574   (1)| 00:00:19 |
    |   1 |  SORT AGGREGATE    |      |     1 |  1004 |            |          |
    |*  2 |   TABLE ACCESS FULL| T    | 50000 |    47M|  1574   (1)| 00:00:19 |
    Predicate Information (identified by operation id):
    PLAN_TABLE_OUTPUT
       2 - filter("N"=1)
    14 rows selected.
    SQL> explain plan for
      2  select /*+ index (t t_ix) */  max(c) from t where n = 1;
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 3231292748
    | Id  | Operation                    | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT             |      |     1 |  1004 |  7244   (1)| 00:01:27 |
    |   1 |  SORT AGGREGATE              |      |     1 |  1004 |            |          |
    |   2 |   TABLE ACCESS BY INDEX ROWID| T    | 50000 |    47M|  7244   (1)| 00:01:27 |
    |*  3 |    INDEX RANGE SCAN          | T_IX | 50000 |       |    98   (0)| 00:00:02 |
    PLAN_TABLE_OUTPUT
    Predicate Information (identified by operation id):
       3 - access("N"=1)
    15 rows selected.

  • I have a 3GS. The iPod on the phone has made duplicates of some songs. I've tried using the "get info" dialog box to set all the information the same but the dups are still there. Even after erasing all music with iTunes they are still there.

    I have a 3GS. The iPod on the phone has made duplicates of some songs. I’ve tried using the “get info” dialog box to set all the information the same but the dups are still there. Even after erasing all music with iTunes, iTunes is empty but they are still on the phone.

    Some Users have reported that a Restore as New  has Resolved Issues after the Upgrade...
    Backup and Set Up as New Device
    http://support.apple.com/kb/HT4137

  • I got a new Ipad 2 and I am trying to get it work in vain. I have downloaded the iTunes on my PC, but even after executing the program nothing happens to the IPAD. I still get the image of the USB cable and the iTunes logo. What am I doing wrong?

    I got a new Ipad 2 and I am trying to get it work in vain. I have downloaded the iTunes on my PC, but even after executing the program nothing happens to the IPAD. I still get the image of the USB cable and the iTunes logo. What am I doing wrong?

    You know that you have to connect the iPad to your PC with the cable that came with it -  and then iTunes should start automatically and it will guide you through the set up process?
    If you have already tried to connect the iPad - and you have launched iTunes - and you still have no luck - reboot your PC and then begin the process again.

Maybe you are looking for

  • Get rid of weather notices on ical

    I can't get rid of accuweather notices on ical. I have checked preferences in accuweather app. They are off.

  • Is there any way to make a Mac identify as a Windows machine on a local network?

    I work for a municipal government organization. Occasionally, I am blocked by the network spam/firewall software (Barracuda) from accessing websites from my Mac, but NOT blocked from them if I go from a Windows machine -- even if it's a Windows VM ru

  • CF10 Enterprise, multi-instance w/different user accounts

    Running CF10-Enterprise, 10,0,9,284568 with Update 9.  This is running under JDK 1.7.0_21, and is fronted by Apache 2.2.x and all runs under RHEL6.x.  It seems to work fine In short - is it possible to create a new instance, and have that new instanc

  • Field for drag down option

    Hi, i have one requirement, i would like to create one ztable,i want display one field for  drag down option, could u please sugest me how to create particular field for drag down option. Regards, koti. Moderator Message: Do not ask vague questions.

  • Pdf pack queston

    adobe reader XI crashes   remedy?