Oracle Ignores hint in One Instance and uses the hint in another instance

Hi Oracle World,
I am experiencing a strange problem in Oracle.
We have two oracle servers: one for Test and one for Production.
We have exactly the same code for a view in both the systems:
The code is as follows:
CREATE OR REPLACE FORCE VIEW V_FT(...................)
AS
SELECT /*+ star_transformation fact (FT) */
FT.*, AH.ACCT_1, LH.REGION, FH.FNCT_1
FROM
LOCATION_HIERARCHY LH,
ACCOUNT_HIERARCHY AH,
FUNCTIONAL_HIERARCHY FH,
FACT_TABLE FT
WHERE
LH.COMPANY = FT.COMPANY
AND AH.ACCOUNT = FT.ACCOUNT
AND FH.FUNCTIONR = FT.FUNCTION;
When I see the execution path:
In Test box the Explain plan is as expected: It takes the Star_transformation hint into account, converts all three reference table joins to bitmap and performance is good.
But In Production, It tatally ignores the table name from the hint.
Also it converts all the tables names to lower case: though it shouldn't impact, I have also tried to give the table names in lower case and then tried. Same issue.
Tried with NO_MERGE hint. It was pretty good in Test but same issue in Production: it ignoes the table name from hint.
I have taken out the table name from test and then tested. Now both the explain plans match. That proves oracle ignores the table name in Production.
We have compared all the parameters in both. They are 100% same. All indexes are analyzed. Can anyone please help what could be the fundamental difference that causes this difference?
Production takes 8 minutes for a specific query whereas Test returns the same query in 45 secs. Data volume is also not very much different except few hundreds.
Any pointers please?
Thanks & Regards
Saswati

It is enabled. As I have mentioned we have compared all the parameters in both.
All v$parameter, init.ora settings everything is same.

Similar Messages

  • Can i access my account and use the programs on another computer?

    can i access my account and use the programs on another computer? i would like to be able to use both my laptop and my desktop

    yes, you are allowed concurrent installations and activations on, up to, two computers.
    by signing out of one, you can activate on a third etc.

  • Can you register iPhone on one computer, then use the library from another?

    My iTunes store doesn't work on my computer (ive tried to fix it - i think it's a virus on my computer), so what i thought i'd do is register my iPhone through my dads computer, then carry on using the iTunes library from my computer.
    Is it possible to register iPhone on one computer, then use the iTunes library from another computer?

    .

  • Is there a way to click on one image and activate the animation in another class?

    I'm using the ibooks.js library. So it'd need to .activate another class if using the ibooks-toggleable function.
    Thanks!

    Harold,
    I can't say how this compares to Word, since I don't use it, but you can open as many document at a time as you wish in Pages. Each will have its own window. Having too many open will slow your system and reduce Macbook battery life.
    Jerry

  • How do I make a "yes" or "no" radio button in one page, and "mirror" the two to another page?

    Hello,
    How do I make the radio button in page 10 mirror the choice made at page 3? Thank you.
    Page 3:
    Page 10:

    Simply copy the fields from one page and paste them in the other. Just make
    sure you tick the option that says "Buttons with the same name and choice
    are selected in unison" under the field's Properties, Options tab.

  • My itunes files were deleted. I was able to use an old back up file to restore some but new downloaded purchases from iTunes for the past 5 months weren't in the back up. How do I get those back since I've paid for them one before and use the same account

    My itunes files were deleted. I was able to use an old back up file to restore some but new downloaded purchases from iTunes for the past 5 months weren't in the back up. How do I get those back since I've paid for them one before? Can you redownload? If so, how?? Please help as I'm missing over 500 previously paid for and downloaded iTunes song purchases.

    This was EXACTLY what I needed about the purchases I made from my device. However, is there a way to re-download other ones you've made from a computer? Because I realized some of them were not just purchased from my device.
    This is a picture of what it looks like now:
    http://tinypic.com/r/107quxu/7
    As you can see, the stuff circled in red doesn't give me an option to download from Cloud Beta because it already says "downloaded".
    any way to get around that?

  • I had my computer worked on and it came back without itunes. I redownloaded it and was asked did I want to delete one acct and use the other.

    Can I retrieve my origional itunes. I've lost my music and audiobooks?

    Your music, etc. is not stored in the iTunes application. It's stored in the iTunes Library which is located in the /Home/Music/iTunes/ folder. If that was deleted then you can recover it from your backups if you have them. If not, then they are lost. But you can re-download them:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Create a user and use  the objects of another Shema

    Hi all oracle`s gurus
    i need a little help .....
    i, create a shema named "a" that the owner is user_dba and here there are all objects of the aplication but i want all other users of the app can use those objects; the users are created in the database ,
    Thanks

    I would be very leary about granting privileges to PUBLIC, particularly privileges other than SELECT, because most systems end up getting a few special-purpose accounts that shouldn't see everything.
    The standard approach is
    - Create a role
    CREATE ROLE my_application_role;- Grant appropriate privileges to that role. This generally takes the form of a PL/SQL block initially
    BEGIN
      FOR x IN (SELECT * FROM dba_tables WHERE owner = <<schema owner>>)
      LOOP
        EXECUTE IMMEDIATE
          'GRANT select, insert, update, delete ' ||
          '    ON <<schema owner>>.' || x.table_name ||
          '    TO my_application_role';
      END LOOP;
    END'- Grant that role to the user(s) that will be connecting to the database,
    GRANT my_application_role TO some_user- Create appropriate public synonyms for the various objects. Again, this can be a PL/SQL block and can be combined with the block that grants privileges
    BEGIN
      FOR x IN (SELECT * FROM dba_tables WHERE owner = <<schema owner>>)
      LOOP
        EXECUTE IMMEDIATE
          'CREATE PUBLIC SYNONYM ' || x.table_name ||
          '    FOR <<schema owner>>.' || x.table_name;
      END LOOP;
    END'As an alternative to public synonyms, you can set the CURRENT_SCHEMA attribute (potentially in a login trigger) to SCHEMA_OWNER when the users you want to access these objects log in.
    Justin

  • One computer can use the network while another can't even see it?

    Hello helpful people...
    I have a MacBook Pro (original release) and my roommate has an iBookG4. I have had a two-airport network system for years and never had a single issue with connectivity. About 2 months ago, my roommate's iBook started having trouble finding not only our network, but any network... now three shipments to Apple later, they have changed the airport card twice, the logic board, the RAM, etc. All other aspects of the computer seem to be working fine now, except that when I click on the airport icon at the top of the screen, it pulls up no networks. On my MacBook (sitting side by side with the iBook), I usually hit about 10 networks in my condo. Naturally, this would mean that there must still be something wrong with the airport card... but wait... it gets better.
    When I take the iBook to the Apple Store... it works PERFECTLY. And I feel stupid. What the ****? Do any of you have any clue as to what is going on?
    More specifically, if I type in the name of my network so that it can try to join. It keeps telling me that the password is invalid (and trust me... it's the right one). Also, if I EVER get it to connect to the network (it's hit or miss), it will self-assign an IP address and will never hit the internet. All of this is happening as I use my MacBook Pro on the same network and type this. I am so frustrated (as is my roommate).
    Any ideas would be much appreciated.

    Yes, you can do this. The registration doesn't have to be done on the same system the iPhone is going to be used with.

  • Two Instances of Oracle Application Server 10.1.3.x using the same DB

    I can't seem to find any documentation about installing two instances of Oracle Application Server 10.1.3.x using the same database.
    Would the two instances conflict? Should I create a separate database for each instance? I am attempting to cluster two application servers and I want to know if I will need multiple databases, I can't see a reason why this would be a problem.
    Any advice on this matter would be appreciated.

    You have probably downloaded the wrong version.
    Do not download the Oracle SOA Suite 10g (10.1.3.5.1) for WebLogic Server (10.3.1),
    but the one below that option: Oracle SOA Suite 10g (10.1.3.x)
    See if you get something like the following zip file: soa_windows_x86_101310_disk1.zip
    This is just the OC4J without the WebLogic Server.

  • Is it possible to change instance and use OEM ?

    We have 4 single DB instance in same oracle 11gr2 server on win2008R2.
    We will not use grid control because of lack of time, knowledge and customer approval.
    Is it possible to change instance and use OEM by changing ORACLE_UNQNAME variable or in any way ?

    840105 wrote:
    IF what EdStevens said is true,
    WHat environmental variable ,or othe settings shoud I set to start 4 different dbconsole and access those OEM in same server ?
    "IF" what I said is true???
    The same environment variables you set to start the database itself .....
    Here's the environment with no oracle-specific settings:
    oracle:$ env | grep ORA | sort
    PS1=\n\u:$ORACLE_SID$
    Now we set the environment for database 'orcl'
    oracle:$ . oraenv
    ORACLE_SID = [oracle] ? orcl
    The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1 is /u01/app/oracle
    Now the environment looks like this:
    oracle:orcl$ env | grep ORA | sort
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
    ORACLE_SID=orcl
    PS1=\n\u:$ORACLE_SID$
    Start the dbcontrol
    oracle:orcl$ emctl start dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
    https://vblnxsrv01.vbdomain:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 11g Database Control ........................... started.
    If Oracle would only provide documentation ... oh, wait!
    Getting Started with Database Administration
    Managing Oracle Enterprise Manager Database Control

  • I have two Apple ID, how can I delete one and use the email address associates to the main one?

    I have two Apple ID, how can I delete one and use the email address associates to the main one?

    If you abandon one of the Apple IDs you will also basically be abandoning any content that you have acquired with that Apple ID. Content can only be updated and re-downloaded with the Apple ID that was used to buy it. Apple will not combine the content of Apple IDs and Apple will not transfer the content from one Apple ID to another Apple ID.

  • I entered calculates hands and more than one account and used a credit card please raise security measure for Visa card and thank you

    I entered calculates hands and more than one account and used a credit card please raise security measure for Visa card and thank you

    Hi Eva B.,
    Please refer to the help document below:
    Adobe Store | Online order and payment FAQ
    Regards,
    Sheena

  • How to install and use the Gnome-DO application in oracle enterprise Linux

    My Oracle Enterprise linux is 5.3,
    I want to install and use the Gnome-Do(http://do.davebsd.com) in my box.
    Please help me regarding this.
    With Regards
    DSK

    According to Google, Gnome-Do has known issues about CPU bugs and hogs and the latest incarnation does not seem to be available for RHEL and clones. You should have more luck with Linux Desktop distributions like Fedora and Ubuntu. Or you could try to build from source using the info at: http://do.davebsd.com/wiki/Installing_Do. Good luck - I wouldn't bother.

  • I have a document made up of separate PDF files which reside in a folder and are linked to each other via hyperlinks. Each pdf file is set to open with bookmarks displayed, however if I link from one PDF file to another and use the "Previous View" button

    I have a document made up of separate PDF files which reside in a folder and are linked to each other via hyperlinks. Each pdf file is set to open with bookmarks displayed, however if I link from one PDF file to another and use the "Previous View" button to navigate back to my starting point the bookmarks are replaced by "page thumbnails". Is there anyway to stop this from happening?

    Hi Pusman,
    While setting up the links, if you choose to open the file in a new window then you won't face this issue, then you can simply switch to the previous file and bookmark view will remain as it is.
    Does that helps with your query?
    Regards,
    Rahul

Maybe you are looking for