If I don't use the default homepage I have to start Firefox twice. I have all add-ons and extentions disabled.

I have tried setting my homepage to Google and to Bing but Firefox closes as soon as the page loads. Starting it a second time works with no problems.

Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
You can try to reset Firefox.
*https://support.mozilla.org/kb/reset-firefox-easily-fix-most-problems
Reset creates a new profile and tries to import some settings from the old profile leaving the old profile intact.
*https://support.mozilla.org/kb/Recovering+important+data+from+an+old+profile
Also check the settings in your security software.
A possible cause is security software (firewall,anti-virus) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
See:
*https://support.mozilla.org/kb/Server+not+found
*https://support.mozilla.org/kb/Firewalls

Similar Messages

  • Anytime I run a Flash game, Firefox closes! I have updated all add-ons and extentions, disabled Adobe DLM and went through the suggestions to fix this issue. NOTHING WORKS! What do I do?

    The game I am trying to play is on Facebook. The internet and other sites work as normal, but when I load a flash game the game begins for about 30 seconds and then freezes and firefox shuts down. I have used INTERNET EXPLORER and the games loads fine. This issue is with firefox plugins, extensions, add-ons...or whatever. I don't know what to do to get this to work properly.

    Thank you so much, for once in my computer life I knew what the problem was, what caused it, why it was caused, what it did, what it made it do and most importantly how to fix it and to do it correctly and expeditiously. I can not Thank You all enough for all of the help! I also have Pogo mailed this to all on my friends list, where they have all learned as I have and have fixed theirs also. and the message is being spread. Thank You again, I just can not say it enough.

  • I want to use the speed dial extension when I start firefox. I have the option checked in speed dial settings but firefox does not open to the speed dial. How do I get this to work?

    I want firefox to open up to the speed dial add-on so I can use it as my start page. In the speed dial options I have checked the option to start firefox in the speed dial but when I open firefox it doesn't open the speed dial.

    Sorry, I don't use that add-on, and I don't see a SpeedDial support forum listed on the download page. <br />
    Here is the SpeedDial homepage. <br />
    http://speeddial.uworks.net/
    http://speeddial.uworks.net/manual.html

  • I have disabled all add ons and extensions to stop adverts but everytime I log into my pc the adverts appear again? not happy :(

    since I updated firefox I have been HOUNDED by adverts. I read an article that suggested disabling all add ons and extensions but they seem to enable themselves again after I open my pc! I am very careful and always tick and untick boxes when I am downloading updating anything to ensure this doesn't happen therefore these add ons seem to have been automatically added by firefox during the update. not cool! the amount of adverts and the fact I have never suffered from such a pop up invasion in my life is becoming EXTREMELY annoying how do i permanently stop these adverts?

    Do a malware check with some malware scanning programs on the Windows computer.<br>
    Please scan with all programs because each program detects different malware.<br>
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • Every time I start up Firefox, it always prompts me to reisntall the same pile of add-ons and extentions; I install them; still happens; why?

    Regarding Firefox 16.0.2. Every time I start up Firefox, especially after a period with my comp in standby mode, I am always asked to install several add-ons and extentions. Always the same ones, and always several. I install them, again and again, yet I am still always prompted to reinstall every time I start Firefox. I've always had this batch installed, but I don't know why it keeps telling me to reinstall them.

    Some security software has virtualization or sandbox features that may cause problems by protecting and restoring files in the Firefox profile folder.
    It is possible that there is a problem with the file(s) that store the extensions registry.
    Delete the files extensions.* (e.g. extensions.sqlite, extensions.ini, extensions.cache) and compatibility.ini in the Firefox profile folder to reset the extensions registry.
    *https://support.mozilla.org/kb/Profiles
    New files will be created when required.
    See "Corrupt extension files":
    *http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    *https://support.mozilla.org/kb/Unable+to+install+add-ons
    If you see disabled, not compatible, extensions in "Tools > Add-ons > Extensions" then click the Tools button at the left side of the Search Bar (or click the "Find Updates" button in older Firefox versions) to check if there is a compatibility update available.
    If this hasn't helped then also try to delete the addons.sqlite file.
    If you do not keep changes after a restart then also see:
    *http://kb.mozillazine.org/Preferences_not_saved

  • I install all ADD-ONS and i want to remove it from my browses to be back as standard firefox browses i try to delete the program and re download it but it's return with all ONS please help

    i install all ADD-ONS and i want to remove it from my browses to be back as standard firefox browses i try to delete the program and re download it but it's return with all ONS please help

    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • I cannot open my mail in hotmail. I cleared my cache and cookies, I reinstalled firefox, I tried disabling all add-ons and plug ins...nothing works. I don't understand, yesterday it worked just fine. Any help?

    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729; .NET4.0C)

    You can remove all data stored in Firefox from a specific domain via "Forget About This Site" in the right-click context menu of an history entry ("History > Show All History" or "View > Sidebar > History") or via the about:permissions page.
    Using "Forget About This Site" will remove all data stored in Firefox from that domain like bookmarks, cookies, passwords, cache, history, and exceptions, so be cautious and if you have a password or other data from that domain that you do not want to lose then make sure to backup this data or make a note.
    You can't recover from this 'forget' unless you have a backup of the involved files.
    It doesn't have any lasting effect, so if you revisit such a 'forgotten' website then data from that website will be saved once again.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • I love firefox 3.08 but when I install any improved versions they will not run on my desktop even when I have disabled all add ons and the firewall, can you help?

    my system is Windows XP Media Center 2005 Hp model
    I use Avast anti virus but have disabled it when loading firefox
    I removed the Mcfee firewall which I thought might have stopped it running
    I disabled all the add ons in case that was the problem
    The internet explorer which I dont use as a browser has loaded up the inbox which ss very hard to remove
    I have tried all the suggestions in the support section without success
    please help as the message on the screen reads that the firefox version 3.08 is no longer secure.

    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!

  • Firefox keeps wanting to start in Safe Mode and it says I can make some changes permanent such as "Disable all add-ons" and others. When I select one of the options I can then "Make Changes and Restart".

    When I make my selection it can then proceed to use Firefox. However the next time I open Firefox I get the same problem.
    I'm using Windows 7. I have used Firefox for many years with Windows XP and never had this problem. Is there a solution?

    See [[Firefox is stuck in Safe Mode]]
    "Reset all user preferences to Firefox defaults" on the [[Safe mode]] start window.
    Delete the files extensions.* (extensions.rdf, extensions.cache, extensions.ini, extensions.sqlite) and compatibility.ini in the Firefox [[Profiles|profile folder]] to reset the extensions registry. New files will be created when required.
    See "Corrupt extension files": http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    If you see disabled, not compatible, extensions in "Tools > Add-ons > Extensions" then click the "Find Updates" button (in Firefox 4: right-click the extension -> "Find Updates") to do a compatibility check.

  • All addons , plugins and extentions disabled on boot up. I have deleted the proflie folder and started from blank and if I add 1 addon on plugin it starts again

    This has become a total Joke. I have read every post I can find on here with this problem and None have worked. I wiped the profile folder and made a new one. With no addons or plugins or extentions Im fine. But if I add any ,and I have tried many different ones just to test they are disabled. Whats the fix ? Im ready to go back to IE.
    Happens with FF11 10 9 etc etc plus I have NO add on Toolbars..

    You mention problems with Firefox 9, 10, and 11. Have you used these versions one at a time over a number of weeks as they update (or are you trying to run all these at the same time ? ).
    I am guessing you may have bookmarks and possibly passwords etc that you may wish to retain. First of all backup your profile, and your bookmarks (they are also in the profile) put them somewhere safe outside the Firefox program and profile paths ( Win 7 Desktop is a suitable location ) see
    * [[backing up your information]]
    * [[backing up and installing Firefox]]
    * I am assuming one user and only one version of Firefox do not proceed further if that is incorrect
    * you may want to ensure you have bookmarked any add-ons you need
    # (after creating the backups)Use IE to download the installer file for the current Firefox release from http://www.mozilla.org/en-US/firefox/all.html
    # Uninstall Firefox, use the Win7 Control Panel,
    #* accept the delete personal information option
    #* restart the computer, check Firefox has gone, and that the profile folders are also deleted
    # run the installer file to reinstall Firefox ( ? May need to disable security software )
    # check Firefox Works
    # install add-ons one at a time, checking each one works
    See also
    * [[software Update failed]]
    *[[updating firefox]]
    Post back with how you get on.

  • Why, after disabling all add-ons to correct a problem with Norton, am I unable to re-install Adobe Acrobat 10.0.0.396, even though all 7 applications in the "Containing Folder" are enabled?

    mynortonaccount.com web page began coming up whenever I would go on line. Norton email support gave me steps to follow using my Firefox browser, in the safe mode, to disable all add-ons and reset user preferences to Firefox defaults.
    Since then, although trying about 15 times, I have been unable to reinstall Adobe Acrobat 10.0.0.396 so that it functions.
    From the "Re-initializing the plugins database" article, and progressing to the "Open Containing Folder," but unable to select File and Exit menu, I did locate "Adobe Acrobat" version 10.0.0.396
    which showed all seven applications "enabled." This problem is with Firefox only. Internet Explorer functions normally.

    If you want adobe acrobat pdf files to open in firefox you need an acrobat plugin, have you checked that is installed and enabled.

  • With Firefox 18.0.1, the browsers continues to crash. I have tried all alternatives from turning off all add-ons to resetting the browsers. What next?

    With any one solution, it appears fixed but then begins to crash again. It crashes at start-up. It crashes as I move from one page to another. It crashes after being on for several minutes or sometimes for better part of an hour. It has little to do with video retrieval or any one page or speed of changing from one to another page. It has gotten worse and worse with each new upgrade and seems to have started with upgrades after 14.0. I have to believe the problem is embedded in Firefox rather than any of the suggested solutions put out by Mozilla. At present, I have all add-ons and plug-ins disabled. I am prepared to uninstall Flash and Java if that would help. I prefer Firefox but it seems Mozilla does not appreciate the frustration of not have someone, other than me, solve this problem. Any suggestions? Thanks.

    Try to boot the computer in Windows Safe mode with network support (press F8 on the boot screen) as a test to see if that helps.
    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *http://support.kaspersky.com/viruses/solutions?qid=208280684
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • Help I can't open files as I don't know what browser I need to open them as I've already experienced problems when I used the default Mozilla browser?

    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    I have no idea what browser I should be using to open files in Firefox, i used the default Mozilla browser initially which caused me a lot of problems so I stopped using it but don't know the alternatives, could someone help please as I can't open any files at all now.
    == This happened
    ==
    Every time Firefox opened
    == As soon as I stopped using the Mozilla default browser
    ==
    == Troubleshooting information
    ==
    Application Basics
    Name
    Firefox
    Version
    3.6
    Profile Directory
    Open Containing Folder
    Installed Plugins
    about:plugins
    Build Configuration
    about:buildconfig
    Extensions
    Name
    Version
    Enabled
    ID
    Microsoft .NET Framework Assistant
    1.1
    true
    {20a82645-c095-46ed-80e3-08825760534b}
    Google Toolbar for Firefox
    7.0.20100326W
    true
    {3112ca9c-de6d-4884-a869-9855de68056c}
    Norton IPS
    2.0
    true
    Norton Toolbar
    4.6
    true
    {2D3F3651-74B9-4795-BDEC-6DA2F431CB62}
    Java Quick Starter
    1.0
    true
    [email protected]
    Java Console
    6.0.20
    true
    Modified Preferences
    Name
    Value
    accessibility.typeaheadfind.flashBar
    0
    browser.fixup.alternate.enabled
    false
    browser.history_expire_days.mirror
    180
    browser.places.importBookmarksHTML
    false
    browser.places.importDefaults
    false
    browser.places.leftPaneFolderId
    -1
    browser.places.migratePostDataAnnotations
    false
    browser.places.smartBookmarksVersion
    2
    browser.places.updateRecentTagsUri
    false
    browser.startup.homepage_override.mstone
    rv:1.9.2
    extensions.lastAppVersion
    3.6
    general.useragent.extra.microsoftdotnet
    (.NET CLR 2.0.50727)
    network.cookie.prefsMigrated
    true
    places.last_vacuum
    1270458866
    print.print_printer
    Canon iP1600
    print.printer_Canon_iP1600.print_bgcolor
    false
    print.printer_Canon_iP1600.print_bgimages
    false
    print.printer_Canon_iP1600.print_command
    print.printer_Canon_iP1600.print_downloadfonts
    false
    print.printer_Canon_iP1600.print_edge_bottom
    0
    print.printer_Canon_iP1600.print_edge_left
    0
    print.printer_Canon_iP1600.print_edge_right
    0
    print.printer_Canon_iP1600.print_edge_top
    0
    print.printer_Canon_iP1600.print_evenpages
    true
    print.printer_Canon_iP1600.print_footercenter
    print.printer_Canon_iP1600.print_footerleft
    &PT
    print.printer_Canon_iP1600.print_footerright
    &D
    print.printer_Canon_iP1600.print_headercenter
    print.printer_Canon_iP1600.print_headerleft
    &T
    print.printer_Canon_iP1600.print_headerright
    &U
    print.printer_Canon_iP1600.print_in_color
    true
    print.printer_Canon_iP1600.print_margin_bottom
    0.5
    print.printer_Canon_iP1600.print_margin_left
    0.5
    print.printer_Canon_iP1600.print_margin_right
    0.5
    print.printer_Canon_iP1600.print_margin_top
    0.5
    print.printer_Canon_iP1600.print_oddpages
    true
    print.printer_Canon_iP1600.print_orientation
    0
    print.printer_Canon_iP1600.print_pagedelay
    500
    print.printer_Canon_iP1600.print_paper_data
    9
    print.printer_Canon_iP1600.print_paper_height
    11.00
    print.printer_Canon_iP1600.print_paper_size_type
    0
    print.printer_Canon_iP1600.print_paper_size_unit
    1
    print.printer_Canon_iP1600.print_paper_width
    8.50
    print.printer_Canon_iP1600.print_reversed
    false
    print.printer_Canon_iP1600.print_scaling
    1.00
    print.printer_Canon_iP1600.print_shrink_to_fit
    true
    print.printer_Canon_iP1600.print_to_file
    false
    print.printer_Canon_iP1600.print_unwriteable_margin_bottom
    0
    print.printer_Canon_iP1600.print_unwriteable_margin_left
    0
    print.printer_Canon_iP1600.print_unwriteable_margin_right
    0
    print.printer_Canon_iP1600.print_unwriteable_margin_top
    0
    privacy.sanitize.migrateFx3Prefs
    true
    security.warn_viewing_mixed.show_once
    false
    == Firefox version
    ==
    3.6
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2) Gecko/20100115 Firefox/3.6 GTB7.0 (.NET CLR 2.0.50727)
    == Plugins installed
    ==
    *-Zylom Plugin
    *Coupons, Inc. Coupon Printer DLL
    *Default Plug-in
    *NPRuntime Script Plug-in Library for Java(TM) Deploy
    *Shockwave Flash 10.0 r45
    *3.0.50106.0
    *Google Updater pluginhttp://pack.google.com/
    *6.0.12.1483
    *RealPlayer(tm) LiveConnect-Enabled Plug-In
    *RealJukebox Netscape Plugin
    *RealArcade_NPAPI_Plugin
    *Google Update
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *Npdsplay dll
    *DRM Store Netscape Plugin
    *DRM Netscape Network Object

    Ignore this question, I've now solved it.

  • Can't open a new tab in version 30.0 on my mac. I have no add-ons and use the default settings.

    I tried removing any extensions (only had one), and am already using the default page settings. This occurred RIGHT after I upgraded to the newest version- 30.0. I don't have any add-ons either. So since this happened with your newest version and seems like a ton of people are having the same problem, it says to me that FIREFOX needs to find the cause, not lay it on us to figure a round-a-bout.
    Also , I've had a problem that the tabs keeping reloading a ton of OLD tabs every time I restart or open a new window. The same ones, like 30 of them! Tried deleting cache, didn't work. ?

    Hello,
    This happens in safe mode?
    *[http://mzl.la/MwuO4X Firefox in safe mode]
    <hr>
    # First show the hidden files and folders:
    #*[http://windows.microsoft.com/en-us/windows/show-hidden-files Show hidden files (Windows Vista/7)]
    #*[http://kb.mozillazine.org/Show_hidden_files_and_folders Show hidden files]
    # Go to your profile folder:
    #*[http://mzl.la/NYhKHH How do I find my profile?]
    #*[http://kb.mozillazine.org/Profile_folder_-_Firefox]
    # Close completely Firefox.
    #*[http://kb.mozillazine.org/Kill_application]
    # Delete or rename the '''localstore.rdf''' file.
    # Restart Firefox.
    *[http://kb.mozillazine.org/Localstore.rdf]
    *[http://kb.mozillazine.org/Corrupt_localstore.rdf]
    <hr>
    Also:
    *[http://mzl.la/MnSTZB Reset Firefox]
    *[http://mzl.la/LL5Dxl Manage profiles]

  • Query don't use the right index when using bind variables

    Hi people !
    I need some help because I have an issue with a query that don t use the right Indexes as it should
    First of all, I have mainly three tables :
    ORDER : Table that contains description for each Order (approximately 1 000 000 Records)
    ORDER_MVTS : Table that contains the tasks made (called movements) to set up each Orders
    with quantity of packages prepared for each product (approximately 10 000 000 Records)
    PRODUCT : Tables that contains the products (approximately 50 000 Records)
    When I launch the query with hard coded values, it brings back response very fast
    because it uses the right index (ORDER_DHR_VALID) which represent the date and hour of the order
    (with format 'DD/MM/YYYY HH24:MI:SS'). The selectivity for this index is good.
    NB 1: I have to use the trick " >= Trunc(date) and < trunc(date) +1 " to filter on a simple date because
    the index contains hour and minutes (I know it wasn't probably a bright idea at conception time).
    NB 2: The index on ORDER_MVTS.PRODUCT_CODE is'nt discriminating enough because there is'nt enough different products.
    It's the same for index on CUSTOMER_CODE and on MVT_TYPE so only the index on ORDER.DHR_VALID is good.
    Here is the correct explain plan when I execute the query with hard coded values :
    SELECT SUM(ORDER_MVTS.NB_PACKAGE)
    FROM ORDER_MVTS, PRODUCT, ORDER
    WHERE ORDER.DHR_VALID >= TRUNC(to_date('14/11/2008 10:04:56','DD/MM/YYYY HH24:MI:SS'))
    AND ORDER.DHR_VALID < TRUNC(to_date('14/11/2008 10:04:56','DD/MM/YYYY HH24:MI:SS')) + 1
    AND ORDER_MVTS.MVT_TYPE = 'DELIVERY'
    AND PRODUCT.CODE = ORDER_MVTS.PRODUCT_CODE
    AND ORDER_MVTS.ORDER_CODE = ORDER.CODE
    AND ORDER.CUSTOMER_CODE = 'ADIDAS'
    AND PRODUCT.CODE = 1234
    Rows Row Source Operation
    1 SORT AGGREGATE
    2 NESTED LOOPS
    4 NESTED LOOPS
    2 INDEX UNIQUE SCAN (object id 378548) --> PRODUCT_PK
    4 TABLE ACCESS BY INDEX ROWID ORDER
    777 INDEX RANGE SCAN (object id 378119) --> ORDER_DHR_VALID
    2 TABLE ACCESS BY INDEX ROWID ORDER_MVTS
    30 INDEX RANGE SCAN (object id 377784) --> ORDER_MVTS_ORDER_FK
    Now the problem is when the query is used in a Cursor with bind variables.
    It seems like Oracle don't use index on ORDER.DHR_VALID because he can't figure out that he have
    to actually filter on a short period of time (only one day).
    So Oracle uses the index on ORDER_MVTS.PRODUCT_CODE which is'nt a bright idea (it takes 10 secondes instead of just one)
    Here is the bad explain plan :
    Rows Row Source Operation
    1 SORT AGGREGATE
    2 NESTED LOOPS
    722 NESTED LOOPS
    2 INDEX UNIQUE SCAN (object id 378548) --> PRODUCT_PK
    722 TABLE ACCESS BY INDEX ROWID ORDER_MVTS
    1790 INDEX RANGE SCAN (object id 377777) --> ORDER_MVTS_PRODUCT_FK
    2 TABLE ACCESS BY INDEX ROWID ORDER
    1442 INDEX UNIQUE SCAN (object id 378439) --> ORDER_PK
    Now I have found two solutions to this problem :
    1) using a Hint to force the use of index on ORDER.DHR_VALID (with /*+ INDEX(ORDER ORDER_DHR_VALID) */ )
    2) Using Dynamic SQL and keeping the date hard coded (but not the other values except mvt_type)
    For example :
    QUERY :=
    'SELECT SUM(ORDER_MVTS.NB_PACKAGE)
    FROM ORDER_MVTS, PRODUCT, ORDER
    WHERE ORDER.DHR_VALID >= TRUNC(TO_DATE('''||To_char(P_DTE_VAL,'DD/MM/YYYY')||''',''DD/MM/YYYY'')) '||
    AND ORDER.DHR_VALID < TRUNC(TO_DATE('''||To_char(P_DTE_VAL,'DD/MM/YYYY')||''',''DD/MM/YYYY'')) + 1 '||
    AND ORDER_MVTS.MVT_TYPE = 'DELIVERY'
    AND PRODUCT.CODE = ORDER_MVTS.PRODUCT_CODE
    AND ORDER_MVTS.ORDER_CODE = ORDER.CODE
    AND ORDER.CUSTOMER_CODE = :CUSTOMER
    AND PRODUCT.CODE = :CODE ';
    These two solutions work but Number 1 is bad in theory because it uses a Hint
    and Number 2 may be difficult to code.
    So my question is : Does someone knows another solution to force the use of index ORDER_DHR_VALID that can be simple and reliable.
    Thank you very much for support
    Edited by: remaï on Apr 1, 2009 4:08 PM

    What version of oracle you have? CBO work is different in 9i and 10g.
    Usually cost based optimizer do not want to use index for >< condition with binding variables because optimizer can not use statistic to determine selectivity, and by default selectivity of <> operators is low.
    (As I remember '>' selectivity by default is 5%, you have two conditions > and <, therefore resulting selectivity will be 0.05*0.05=0.0025 as two independent events, but selectivity of other conditions
    ORDER_MVTS.MVT_TYPE = 'DELIVERY' or ORDER.CUSTOMER_CODE = 'ADIDAS' looks much better for CBO)
    The best solution I see is do not use binding variables. Actually your query looks as searching query, which executes not so often, therefore you will not have perfomance win along of skipping execution plan creation.
    Edited by: JustasVred on Apr 1, 2009 10:10 AM

Maybe you are looking for

  • Seperation of contents in the string

    Hi Guru's, I was assigned a little bit query related to updation of text for LFA1 object. I would like to expalin my requirement in details. I have 2 texts like Z001 & Z002. Z001 stores range of PRO numbers. Z002 is for display the current PRO number

  • How to grant privileges on all the tables in a schema

    Hi All, Can you tell me how to grant privileges on all the tables of a schema A to schema B. For Example: There are 200 tables in schema A, I wanted to grant select privilege on all the tables of a scheme A to schema B. Thanks in advance.

  • Problem with mb5td

    hello experts, Mb5t is t-code which displays stock in transit, but our requirement was to display stock in transit for key date. As per the instructions given by SAP in note number 925384. (the note says to copy the source code from RM07MTRB into RM0

  • Issue in NPA_Parser_Option

    Hi All, In HAM module I am trying to add support for one of our new adapter card. As a part of initialization in HAM_Load () added product id using NPA_add_Option() and then calling NPA_Parse_Option(). Due to some issue the NPA_Parser_Option function

  • Calendar adds extra notifications on events.

    Since the latest Yosemite upgrade i have this annoying problem in calendar. I have set calendar to automatically add a notification 15 minutes before each event. But now it automatically adds one more "warning". The first extra notification is presen