Why a sql statement has become slow after upgrade to 11g database

Hello

My previous version of the database is 9I and any sql statement are well-developed.
but after upgrading to 11g database, a sql statement become slowly.

My senior dba friend told me there are a few different calculating methods from 9i to 11g.
is any body can explain this different methods from 9i to 11g, and what should be attention to calculate at what level 9i to 11g. I thank.

Sean

The administrator of yours is correct. What he meant, 9i, the works of the optimizer with different formulas and 11 g, there are different formulas. PS this sometimes causes when you upgrade from 9i (or even 10g too), analyze the queries that worked with RBO in 9i perfectly and used indexes, all of a sudden they stop using it because the CBO think not that this is a good choice. It would be too difficult to put formulas here by anyone, but what I can say is that to buy a book.
http://www.Amazon.com/cost-based-Oracle-fundamentals-experts-voice/DP/1590596366

And practice on 9i, 10g and 11g. It would say a lot of formulas used by oracle.

HTH
Aman...

Tags: Database

Similar Questions

  • Why is my iphone 6 so slow after upgrade to ios 9.3.4?

    After that upgrade my iphone to ios 9.3.4 6 became incredibly slow and can barely connect to applications such as safari and youtube. I have tried several methods to resolve this problem, like resetting network settings, reconnect to wifi, reboot the phone and same reseting all settings. Reseting my settings also seems to fix the problem for about 10-20 minutes before returning to be very slow. I was hoping someone knew a hand permanently fix this problem is incredibly annoying.

    Thank you

    Try resetting your device. This will not erase your data stored on that device.

    • Press and hold the sleep/wake button
    • Press and hold the Home button
    • Press and hold both buttons until the display turns off and on again with the Apple logo on the subject.

    Alternatively, you can go to settings - general - reset - Reset all settings

    If that doesn't work, restore your device to factory settings. Please note that this will delete the data on your device.

    Take a look this Apple Support article: use iTunes to restore the iPhone, iPad or iPod to factory settings - Apple Support.

  • Why my realtek rtl8188su has left work after upgrade to windows 7?

    I just put update vista to windows 7 pro, and during the updates, my realtek rtl8188ru wireless card stop working.  I drove back to before the last update, and it started working again.  What is the cause and how can I solve this problem?

    The first step is to remember the famous words of wisdom: If it ain't broke, don't fix it!

    The second step is to NEVER make an upgrade with anything that did not come from the manufacturer or a reliable source...

    As a general rule, it is best to install only the updates of the security. And you should always stay away from hardware (optional) on the Microsoft site drivers! Chances are the drivers that you are fine just the way they are. If you did not need to update, you should go to the manufacturer Web site the real to do.

    UTC/GMT is 04:14 on Wednesday, February 22, 2012

  • missing files after upgrading to 11g database.

    Hello
    I upgraded my database 10.2.0.3 to 11.2.0.1 for our applications.
    I installed 11g in separate and updated our database.
    Autoconfiguration enabled, I created appsutil.zip on the application server and copied it to the 11g ORACLE_HOME.
    After having unpacked the appsutil, I see only the scripts under folder appsutil folder.
    Miss me admin, clone files under the folder $ORACLE_HOME/appsutil.
    I need to run adcfgclone after the upgrade of database?
    How can I get these directories?

    Hello

    do we need to run adbldxml.pl and then autoconfig on the DB layer to create admin and clone files?

    Yes, to create the context file and all the missing directories - in addition to the documentation referenced in one of my previous answers, please see (how to recreate the directory/scripts / / appsutil [377495.1 ID]).

    OR is it's created when you unzip appsutil.zip file?

    Unzip the appsutil.zip only is not enough.

    Thank you
    Hussein

  • Sites Web has become slower over ssl when we activated the stack ipv6 on the XP machine.

    Slow browser in xp with ipv6 enabled via the SSL (on ipv4) while on win7 is not?

    Sites Web has become slower over ssl when we activated the stack ipv6 on the XP machine.

    The PC connects to internet IPv4 and ssl vpn is established on the ipv4 internet. When we uninstall ipv6 stack it becomes okay.

    The real solution is to fix the DNS server that is causing these problems. http://www.sixxs.NET/FAQ/DNS/?FAQ=ipv6slowconnect

  • Why illustrator cc 2015 went extremely slow after the last update?

    Why illustrator cc 2015 went extremely slow after the last update? Someone knows how to fix this?

    Envoy! Thank you

    preferences to reset/delete the AI seems OK for now

  • Firefox has becomes slow and unresponsive after that I tried to install the addons (not installed)?

    I recently format my computer and reinstall windows 7, since it was the only way I know of to solve the problem with Firefox (I already had this problem too). I download the latest version of firefox 33.0.2 and install it. This version was super fast. But becomes slow and unresponsive when I tried to install the Add-ons. I visited the official site of firefox and searching for addons, when I tried to install addons, Firefox crashed. Therefore, it has becomes quite slow and cannot restore previous sessions. Even to type my email address, it takes more than 5 minutes and reacts more frequently (after typing each letter).
    I want to know if this is due to some viruses, or this version of firefox is not "stable".

    Hey there,

    We are sorry to hear that Firefox crashes. To better help you, please follow the steps below to provide us with crash IDs to help us learn more about your accident.

    1. Enter Subject: hangs in the Firefox address bar and press ENTER. A list of submitted Crash reports will appear, similar to the one shown below.
    2. Copy the 5 most recent report ID begins with bp - and then back to your forum question but that stick in the box of "Post a response. (Please do not take a screenshot of your plant, just copy and paste the ID image below is just an example of what your Firefox screen should look like)

    Once you have done so, you could try the Firefox Safe Mode to see if the problem goes away. Firefox Safe mode is a troubleshooting mode that disables certain parameters, disables most Add-ons (extensions and themes).

    If Firefox is open, you can restart Firefox Safe mode in the Help menu:

    • In Firefox 29,0 and above, click on the menu button

      click Help

      then select restart with disabled modules.

    • In previous versions of Firefox, click on the Firefox button in the upper left of the Firefox window and click help (or click on help in the Menu bar, if you do not have a Firefox button) and click on restart with disabled modules.

    If Firefox is not running, you can start Firefox in Mode safe mode as follows:

    • On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • On Mac: Hold the option key during the startup of Firefox.
    • On Linux: Exit Firefox, go to your Terminal and run firefox-safe-mode
      (you may need to specify the installation path of Firefox for example/usr/lib/firefox)

    When the Firefox Safe Mode window appears, select "start mode safe."

    If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, and you need to understand that one. Please follow the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    I hope this helps!

    Curtis Parfitt-Ford
    Support for Mozilla

  • Satellite A100 - Internet becomes slower after 10 minutes

    Hello

    the Satellite A100 worked well for a few years, the internet has become suddenly too slow after 10 minutes of the start.
    The laptop switched on the first time that the internet works very well the 10 first minutes then becomes slower and slower until almost no packets are received but the connection does not completely down.

    Suspected spyware, rootkit, is cleaning up, and then installed from the disk recovery

    Then I tried the same thing. Uninstalled the connection to the local network and then reinstalled from the Device Manager, nothing.
    I figured that the Ethernet port is a failure. Then I used an adapter usb-to-Ethernet D - Link is completely independent of the integrated Ethernet hardware. Nothing, same behavior, working, first fine then Firefox displays a downtime

    The modem, cable, internet are all very well since I have tested with a PC and a laptop Fujitsu (5 years) and they all work very well. Even the D-Link works fine.
    The Toshiba pc diagnostic tool specifically says "Network Fail", but it crashes exactly?

    An idea or a similar experience?

    Hello

    Hmmmmm... It sounds quite complicated.
    What is with WLAN? Have you noticed the same behavior using the WIFI connection?

  • Lightroom CC becomes slow after several cultures

    Several times a year, I regularly harvest/turn to 2000 images. Recently, more I harvest, slowly my PC is getting to the point where it has continuous CPU and hard drive activity and harvest becomes jerky and unresponsive. The only solution is to restart Lightroom, and right now, it's like lightning once again, until maybe 50 cultures then it becomes slower and slower. Does anyone have any suggestions. The only thing I can think of what changed between her looking thin and have these problems is an upgrade to Windows 10. I'd be happy to pay for a better graphics card if it can make a difference

    Version of Lightroom: CC 2015.2.1 [1046594]
    License: Creative Cloud
    Operating system: Windows 10
    Version: 10.0
    Application architecture: x 64
    System architecture: x 64
    Number of logical CPUs: 4
    Processor speed: 2.6 GHz
    Built-in memory: 16339,3 MB
    Real memory for Lightroom: 16339,3 MB
    Real memory used by Lightroom: 970,6 MB (5.9%)
    Virtual memory used by Lightroom: 957,0 MB
    Memory cache size: 495,0 MB
    Maximum thread count used by Camera Raw: 4
    Camera Raw SIMD optimization: SSE2, AVX
    System DPI setting: 96 DPI
    Composition of the Bureau enabled: Yes
    Exhibition: 1) 1920 x 1080, 2) 1280 x 1024
    Entry types: Multitouch: no, built-in touch: No, built-in pen: no, touch external: No, external pen: no keyboard: No.

    Graphic processor News:
    AMD Radeon HD 5570

    Check the supported OpenGL: past
    Vendor: ATI Technologies Inc.
    Version: 3.3.13399 context 15.201.1151.1008 the base profile
    Renderer: AMD Radeon HD 5570
    LanguageVersion: 4.40


    The application folder: C:\Program Files\Adobe\Adobe Lightroom
    Library path: C:\Users\Cornel\Documents\Pictures\Lightroom\Lightroom Catalog.lrcat
    Settings folder: C:\Users\Cornel\AppData\Roaming\Adobe\Lightroom

    Plugins installed:
    (1) home canon Plugin
    (2) Facebook
    (3) Flickr
    (4) attachment Plugin Leica
    (5) attachment Plugin Nikon
    (6) ON1 Effects 10
    (7) ON1 Improve 10
    (8) ON1 Photo 10
    (9) ON1 Portrait 10
    (10) perfect B & & W 9
    (11) perfect effects 9
    (12) strengthening the perfect 9
    (13) perfect photo Suite 9
    (14) perfect Portrait 9
    (15) resize perfect 9
    (16) resize perfect 9

    Config.LUA flags: None

    Map #1: Seller: 1002
    D

    Update to Lightroom CC 2015.4

    A better video card will not help with this problem.

  • Why the sql statement was extucted twice in shell script?

    I tried to test the rac load balancing using the shell script depending on suse 10 + oracle 10g rac.
    oracle@SZDB:~> more load_balance.sh
    #!/bin/bash
    for i in {1..20}
    do
    echo $i
    sqlplus -S system/oracle@ORA10G <<EOF
    select instance_name from v\$instance;
    /
    EOF
    sleep 1
    done
    exit 0
    After run the shell script, I got the result to follow.
    oracle@SZDB:~> ./load_balance.sh
    1
    
    INSTANCE_NAME
    ----------------
    ora10g2
    
    INSTANCE_NAME
    ----------------
    ora10g2
    
    2
    
    INSTANCE_NAME
    ----------------
    ora10g1
    
    INSTANCE_NAME
    ----------------
    ora10g1
    
    3
    
    INSTANCE_NAME
    ----------------
    ora10g1
    
    INSTANCE_NAME
    ----------------
    ora10g1
    Seem that the sql statement was run twice in each loop. If you help please take a look. Thanks in advance.

    Robinson

    Because you have one; and one.

  • Safari slow after upgrade of the El Capitan, Hideme install

    Why is Safari slow after El Capitan upgraded, or would it be Hideme

    You described your own next troubleshooting step.  Disable your proxy/VPN for a direct connection to the Internet through your ISP and see if your slow disappears.

  • Characters not visible (caused by hitting the bar space or TAB in PL/SQL developer tool) causing slow running query? and database with low performance?

    Hi all

    I need your help to get this issue resolved its urgent and I'm not able to get to the conclusion. Here is my scenario, I'm getting slow query runs because of some non-visible characters that are copied with the application of the PL/SQL developer tool. Please find below attached screenshot: Oracle_Issue

    Oracle_Isssue.png

    Note: This non-visible characters are caused when we write the query then us hit the SPACEBAR or press TAB PL/SQL developer tool

    I use the developer tool PL/SQL to write or test the query. Now I take this request copy paste in my application of the company (who takes this query connects to Oracle or any source of data base, catch data and produce PDF reports for customers).

    Now, my client is the Oracle user when I write and you run this query by the PL/SQL Developer, it works fine, but when I paste in my Inbox feature request (reporting system) and run it, it runs slower and jams to the customer database. Now after a little research I found that when I copy the query directly from PL/SQL developer at my request, he copy some characters not visible (introduced when we press SPACE or TAB in PL/SQL developer tool when writing query) with the request, then I copy this query again to my box of the application Notepad and delete these non-visible characters. Now, after removing the non-visible characters again once I copy backup question in my application and run the query, it works normally. Please find below attached screenshot: Oracle_Issue 2

    Oracle_Isssue_2.png

    So I think that the cause of slow performance is due to some INVISIBLE CHARACTERS present in the query.

    My application uses SQL server 2008-2012 at the backend to store data from different sources.

    Character set used: SQL_Latin1_General_CP1_CI_AS


    To write and test queries: PL/SQL developer tool

    My Client use Oracle 11 g

    Character set used: Normal character: NLS_CHARACTER: AL16UTF16

    National Characeter: NLS_NCHAR_CHARACTER: WE8WIN1521

    I just wanted to know the blocking process to the top of the database and the characters not visible how affecting slow running query of query database.

    Please let me know if I'm missing something or you need more information on this issue.

    Thanks in advance,

    HP

    Simple answer. No.

    Spaces and line breaks do not change the execution plan created. Does not plan to run slower or faster.

  • Boot Camp has stopped working after upgrade to Yosemite

    Hi all

    I also lost Boot Camp after upgrade to Yosemite. I tried to recover by following the instructions on this forum but did not.

    Issues related to the:

    1. can I get it back? See some of the data below.

    2. otherwise, I can create a new training camp after the recovery of wasted space?

    3 is it better to first upgrade to El Capitan?

    Thank you in advance!

    ➜ ~ diskutil list

    / dev/disk0

    #: NAME SIZE TYPE IDENTIFIER

    0: GUID_partition_scheme * 1.0 TB disk0

    1: disk0s1 EFI EFI 209.7 MB

    2: Apple_CoreStorage GB 950,5 disk0s2

    3: disk0s3 Apple_Boot Recovery HD 784.2 MB

    4: Microsoft database 32.0 GB disk0s4

    / dev/disk1

    #: NAME SIZE TYPE IDENTIFIER

    0: Apple_HFS BrontoSSD * GB 950,1 disk1

    Logical volume on disk0s2

    90BC997C-0C7C-40FB-896D-973BC192A123

    Unencrypted

    ➜ ~ list cs diskutil

    CoreStorage groups of logical volumes (1 found)

    |

    + Logical Volume - Group 46320040-2E97-49D9-A652-87CBA72E637D

    =========================================================

    Name: BrontoSSD

    Status: online

    Dimensions: 950509715456 B (950,5 GB)

    Free space: 18956288 B (19.0 MB)

    |

    +-< physical="" volume="">

    |   ----------------------------------------------------

    |   Index: 0

    |   Disc: disk0s2

    |   Status: online

    |   Dimensions: 950509715456 B (950,5 GB)

    |

    + -> 14BD334A-53BE-4C89-949D-2E8E5EF30A59 family of Logical Volume

    ----------------------------------------------------------

    Encryption status: unlocked

    Encryption type: no

    The conversion status: NoConversion

    Direction of conversion: - none -.

    At encrypted extensions: No.

    Fully secure: No.

    Password required: No.

    |

    +--> Logical Volume 90BC997C-0C7C-40FB-896D-973BC192A123

    ---------------------------------------------------

    Disc: disk1

    Status: online

    Size (Total): 950138437632 B (950,1 GB)

    Conversion progress: - none -.

    Reversible: Yes (no required decryption)

    Name: BrontoSSD

    Volume name: BrontoSSD

    Content indicator: Apple_HFS

    ➜ ~ sudo TPG - vv - r show/dev/disk0

    Password:

    See the TPG: / dev/disk0: mediasize = 1000204886016; SectorSize = 512; blocks = 1953525168

    See the TPG: / dev/disk0: MBR suspicious to sector 0

    See the TPG: / dev/disk0: Pri GPT to sector 1

    See the TPG: / dev/disk0: GPT Sec at sector 1953525167

    start index size summary

    0           1         MBR

    1 1 Pri GPT header

    2 32 table GPT Pri

    34 6

    40 409600 1 part TPG - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

    409640 1856464288 2 part TPG - 53746F72-6167-11AA-AA11-00306543ECAC

    1856873928 1531680 3 part TPG - 426F6F74-0000-11AA-AA11-00306543ECAC

    1858405608 32621336

    1891026944 62496768 4 part TPG - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

    1423 1953523712

    1953525135 32 table dry GPT

    1953525167 1 dry GPT header

    ➜ ~ sudo fdisk/dev/disk0

    Disk: geometry / dev/disk0: 121601/255/63 [1953525168 sectors]

    Signature: 0xAA55

    From end

    #: cyl hd s - cyl hd s id [Start - size]

    ------------------------------------------------------------------------

    1: EA 1023 254 63 - 1023 254 63 [1-409639]

    2: AC 1023 254 63 - 1023 254 63 [409640-1856464288]

    3: AB 1023 254 63 - 1023 254 63 Boot Darwin [1856873928-1531680]

    * 4:87 1023 254 63 - 1023 254 63 [1891026944-62496768] VS NTFS

    You must run Testdisk. Have what you tried so far?

  • WTR320N still slow after upgrade

    Today, I upgraded my LAN 10/100mbps to 100/1000 Mbps Wireless LAN using the Linksys WTR320N with. The initial tests took place without problems. The small local network set up with 2 laptops, router and modem worked well and I plugged in the other systems.

    During the test, the speed of the internet was as before, instantaneous loading of most of the pages (Facebook, Youtube, etc.) and reaches the maximum capable speed, which is 23MBps with a low ping about 30.

    Now, with the entire network, the internetspeed is not top 20MBps more, it sticks to 15-17, which is a loss of 6 Mbps on my connection. After checking on various topics on other forums, I upgraded the firmware of 1.0.0.3 for 1.0.0.4. Who gave a small improvement, but I can't yet reach my speed max, neither a decent ping and pageload time.

    I'm a cable internet provider that requires no password/username to log, so it is a permanent connection. MTU is 1500, and because I don't know what it is (I've seen the expression and change it to 1300/1350. a few times looking for a solution).

    No idea how I can speed up the loadtimes and the internetspeed?

    [EDIT] problems are both on cable in Wi - Fi. The signal strength of the wireless is maximum and never given wired connections problems before.

    Change the MTU to 1365.

    You have already updated the Firmware of the router.

    After upgrading the firmware on the router, it is recommended that you must reset the router and reconfigure the router.

    Press and hold the reset button on the router for 30 seconds. Release the reset and wait for 10 seconds. Power cycle the router and reconfigure the router.

  • ORA - 01461:can bind a LONG value only for insert in a LONG column. After upgrade to 11g

    After update, oracle 11g, we get the system error when you try to insert the text string in the NCLOB type column.

    ORA - 01461:can bind a LONG value only for insert in a LONG column.

    This has not happened on an earlier version of Oracle.

    I did some testing and found that, if a string more then 2000 we get this error.

    How to solve this problem?

    Thank you

    I found a solution. I had to update ODP.NET to 2.112.1.0 version.

Maybe you are looking for

  • When to go to a new tab, I sometimes lose the page headers.

    The line that has "file change history bookmarks Tools Help" is usually absent in the new tab. How to keep this visible line when I enter a new tab in the same window? I use Firefox 32.0, but it happened also in Firefox 31.0. This forum works on WIN

  • Need help for a friend

    OK me and my friends had problems doing a group chat and we discovered that remove the Skype under AppData folder seems to correct the problem. Ute friend rmy is illiterare when it comes to the finer workings of computers and it does not find its app

  • Re: Need extra cooling for Satellite A110

    Hey people, I have a Satellite A110 and he has trouble with cooling. I heard that there is more cooling systems for laptops, but my question is if it's possible for my laptop as well. Greetz Tom

  • More information is no longer present Release Dates

    A bug, hopefully, not a function.

  • 4/2 (B) IOM right AFTER failure

    Connection just finished our 4th chassis and it shows the following error message: "IOM 4/2 (B) right AFTER failure. A screenshot of what I see in the UCS Manager under chassis 4 fouls and POST results on the general tab for chassis 4 is attached. An