Performance problems - query on the copy of a table is faster than the orig

Hi all,
I have sql (select) performance problems with a specific table (costs 7800)(Oracle 10.2.0.4.0, Linux).
So I copied the table 1:1 (same structure, same data, same indexes etc. ) under the same area (database, user, tablespace etc.) and gathered the table_stats with the same parameters. The same query on this copied table is faster and the costs are just 3600.
Why for gods sake is the query on this new table faster??
I appreciate any idea.
Thank you!
Fibo
Edited by: user954903 on 13.01.2010 04:23

Could you please share more information/link which can elaborate the significance of using SHRINK clause.
If this is so useful and can shrink the unused space , why not my database architect has suggested this :).
Any disadvantage also?It moves the highwater mark back to the lowest position, therefore full tables scans would work faster in some cases. Also it can reduce number of migrated rows and number of used blocks.
Disadvantage is that it involves row movement, so operations which based on rowid are permitted during the shrinking.
I think it is even better to stop all operations on the table when shrinking and disable all triggers. Another problem is that this process can take a long time.
Guru's, please correct me if I'm mistaken.
Edited by: Oleg Gorskin on 13.01.2010 5:50

Similar Messages

  • Is the Gig version really faster than the 100m version !?

    I just upgraded my 100 meg AEBS to the new Gig version, and ran a quick n easy benchmark, an rsync -e ssh on a 150 meg file. The server is an iMac connected via gig-e, and the Macbook c2d is connected via 802.11n (reporting a consistant 300 mbps in network utility - about 20 feet from the router, going through 2-4 sheets of drywall). The tests were conducted in my Chicago apartment, with at least 10 detectable 2.4gHz networks, and no 5.8gHz networks that I know of.
    The 802.11n 5.8gHz no backwards compatibility was by far the fastest. The fastest test I ran was 11 MBps on the copy, with 802.11a compatibility I believe was around 8, and 2.4ghz + 802.11g compatibility was around 6. I repeated all tests a few times, the results were pretty consistant.
    These results suprised me, as I was really hoping for a bit faster. I could get 40 MBps on my Linux file server over gig-e to the iMac in previous tests. Unfortunately that machine is down until I get some replacement parts, so I couldn't use it to test the new AEBS. But I seem to remember getting 11 or 12 MBps with the Linux file server over the old AEBS with 100m and 5.8gHz no backwards compatiblity.
    So how much of the performance non-difference is due to the iMac vs Linux file server, or the Gig-E version being no faster than the 100 meg version remains to be seen. I'm curious if anyone else has done tests.
    If the router, or this 802.11n implementation is the bottleneck - folks may not want to waste their money upgrading, unless they really want that 4 port (in bridge mode) gig-e switch on the back.
    Rob

    That is somewhat counterintuitive, as the 802.11n connection speed is reportedly 300 mbps. I understand the implications of protocol overhead, but 70% overhead seems a bit excessive. I guess I'm curious if the bottleneck is:
    - in the router backplane
    - in the 802.11n protocol
    - in apples implementation of 802.11(draft)n
    Also - anyone else have actual benchmark data to share?
    regards
    Rob

  • Hi, in Creative Cloud the copy of files will be saved in the cloud? If yes then is there any option to disable it? Thank you.

    Hi, in Creative Cloud the copy of files will be saved in the cloud? If yes then is there any option to disable it? Thank you.

    Ron,
    I too need to make "Real Copies" of images and hate doing anything directly from the OS because of the chance that my LR catalog gets out of Sync with the actual images on the computer.  So I make the copies inside LR with an export routine and then move the copies inside of LR with the normal drag and drop.  Once the export preset is created it can be executed from the Library Grid by right-clicking on the image (or selected images) to make the copies.  My settings are as follows in case you are interested:
    This is the first time I have posted an image before and I am not sure if you will be able to read it or not.  The contents from the export preset in the image above are as follows if that helps:
    s = {
    id = "3AF0E3D2-BC6A-4D53-A7BE-B7A6C4D673AC",
    internalName = "Make Real File Copy",
    title = "Real File Copy",
    type = "Export",
    value = {
    collisionHandling = "overwrite",
    exportFilters = {
    exportServiceProvider = "com.adobe.ag.export.file",
    exportServiceProviderTitle = "Hard Drive",
    export_colorSpace = "sRGB",
    export_destinationPathSuffix = "",
    export_destinationType = "sourceFolder",
    export_useSubfolder = false,
    extensionCase = "lowercase",
    format = "ORIGINAL",
    includeVideoFiles = false,
    initialSequenceNumber = 1,
    jpeg_limitSize = 100,
    jpeg_useLimitSize = false,
    metadata_keywordOptions = "lightroomHierarchical",
    minimizeEmbeddedMetadata = false,
    outputSharpeningLevel = 2,
    outputSharpeningMedia = "matte",
    outputSharpeningOn = false,
    reimportExportedPhoto = true,
    reimport_stackWithOriginal = true,
    reimport_stackWithOriginal_position = "below",
    renamingTokensOn = true,
    size_doConstrain = false,
    size_resolution = 300,
    size_resolutionUnits = "inch",
    tokenCustomString = "RC",
    tokens = "{{image_name}}_{{custom_token}}",
    tokensArchivedToString2 = "{{image_name}}_{{custom_token}}",
    useWatermark = false,
    watermarking_id = "<simpleCopyrightWatermark>",
    version = 0,
    Let me know if you have any questions.
    Jeff

  • I've just got a iPhone 5, the problem I've got is I can't transfer my phone contacts of my old sim to the iphone 5. The old sim is a lot bigger than the iPhone one.

    I've just got an iPhone 5, the problem I've got is I can't transfer my old contacts of my old sim to my iPhone. The old sim is a lot bigger than the new one

    The iPhone 5 uses a Nano-Sim, your old phone uses a Micro-Sim.  But you already knew that.  If you purchased your iPhone 5 from a specific carrier, and the same carrier provided your old device, they may be able to transfer your contacts.  Otherwise, you can search for a method to sync your old phone contacts to another service (like Google contacts, or yahoo contacts, or the Personal Information Manager on your computer like Outlook or Windows contacts), then sync the data to your iphone.

  • When I select "open a new tab" the tab opens in a different window than the one I'm using. This is release 11.0, and did not happen in 10.0

    When I select "open a new tab" the tab opens in a different window than the one I'm using. This is release 11.0, and did not happen in 10.0

    Hi,
    Please check if '''Open new windows in a new tab instead''' is enabled in '''Tools''' ('''Alt''' + '''T''') > '''Options''' > '''Tabs'''. [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Tabs%20panel Options > Tabs]. If the problem persists, please also check if this happens in a [https://support.mozilla.org/en-US/kb/Managing-profiles new profile]. If the new profile is okay, you can later [https://support.mozilla.org/en-US/kb/Recovering%20important%20data%20from%20an%20old%20profile?s=profile&r=1&e=sph&as=s copy the needed personal data] from the old profile. Firefox stores your personal data and settings in [http://kb.mozillazine.org/Profile_folder another location (profile folder)] separate from its [http://kb.mozillazine.org/Installation_directory files/folder]. A new profile would have the default Firefox settings ('''Tools''' ('''Alt''' + '''T''') > [https://support.mozilla.org/en-US/kb/Options%20window '''Options'''], and [http://kb.mozillazine.org/About:config about:config] ), and usually would also be empty of any '''Extensions''' and themes ('''Appearance''') in Tools > Add-ons) and their settings. Also, a new profile would have no previous stored website data/settings etc., ('''Tools''' > [https://support.mozilla.org/en-US/kb/Clear%20Recent%20History '''Clear Recent History''']).
    [https://support.mozilla.org/en-US/kb/Profiles?s=profile&r=2&e=sph&as=s Profiles Howto]
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder & Files]
    [http://kb.mozillazine.org/About:config_entries about:config Entries]

  • Exchange 2013 - The Microsoft Exchange Transport service is rejecting message submissions because the service continues to consume more memory than the configured threshold

    Noticed at about noon that no emails had been received all day. Began to investigate and found that the MS Exchange Transport service had been set to deny email submission because it was using too much memory on the server (91%). 
    The error message makes me think that we may have been getting used by malware or something similar.“The Microsoft Exchange Transport service is rejecting message submissions because the service continues to consume more memory than the
    configured threshold.” 
    There are also several warning messages that list particular IP addresses and say that a connection from that IP was denied because there were already the maximum number of connections (20). 
    From what I can tell, all of the IP addresses are from Taiwan. 
    The time period for which some emails may be missing is from close of business yesterday ( 4/3/2014) through about 12:45 today (4/4/2014). 
    From the time I spent reading and trying to figure out the error, I think we may need to readjust our throttling policies to prevent this from happening. 
    The exchange server is currently running at 90%+ CPU and 50%+ memory usage the majority of the time, and I’m not sure how to fix it.
    Also, I cannot get into EMS I get a access denied message from the destination computer. (Exchange server) I want to get into there to change the throttling policy back to default, since we disabled it.
    The Error reads:
    The WinRM client cannot process the request. The WinRM client tried to use Kerberos authentication mechanism, but the destination computer <Exchange> returned an 'access denied' error. Change the configuration to allow Kerberos authentication
    mechanism to be used or specify one of the authentication mechanism supported by the server. (How do I do this?) To use Kerberos, specify the local computer name as the remote destination. (I'm trying to use EMS while logged into the local Exchange server)
    Also verify that the client computer and the destination computer are joined to a domain. (Exchange is on our domain, and the computer trying to connect is the same computer) To use basic, specify the local computer name as the remote destination, specify
    Basic authentication and provide user mane and password. Possible authentication mechanisms reported by server.
    At line:1 char:1
    + New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotingTransportException + FullyQualifiedErrorId : AccessDenied,PSSessionOpenFailed
    I assumed control of this exchange system already in place and I do not have much experience with exchange 2013 or server 2012. I do know 2008, but that doesn't help very much in this situation.
    Recent changes to the system:
    About three days ago we switch our sessions policy to allow many more connections, and I believe this caused the issue. This is what I changed it to:
    Made the registry DWORD (32-bit) "Maximum Allowed Sessions Per User" and modified the value to 1000. Location of registry change @ HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem
    I just changed it to 10 from the 1000. I'm hoping this solves this. So far no.
    Also, I am not the best in the shell or command line interfaces. Any help would be wonderful!

    Hi,
    Yes, could be hardware performance issue. Try recycle the Transport process and see if the issue persists.
    Thanks,
    Simon Wu
    TechNet Community Support

  • Exporting slides to Quicktime but the slides are coming out far lighter than the original slides. Am I missing a setting somehwere?

    Exporting slides to Quicktime but the slides are coming out far lighter than the original slides. Am I missing a setting somehwere?

    Update. Uninstalled QT X and installed v7 and the problem is still there.

  • Sun Studio 12 is still much faster than the newest express 11/08

    I gave the newest Express 11/08 a try on my laptop. I found that Studio 12 is still
    much faster than the express version at least on my laptop. See the old messge below.
    http://forums.sun.com/thread.jspa?threadID=5321607&tstart=15
    I think poor performance is a bug for a compiler. Sun should fix it.

    I think poor performance is a bug for a compiler. Sun should fix it.Thanks for noting :)
    This has already been filed as a bug - http://bugs.sun.com/view_bug.do?bug_id=6735472.
    And as you can see it is even already fixed.
    Unluckily it missed Express 11/08 integration time slot (by a mere week or so).
    It is reasonable to expect it to be available at the next Express/whatever release happens next.
    regards,
    __Fedor.

  • Audigy2 NX :Sampled audio is faster than the origi

    Sampled audio at 6 bits is faster than the original soundtrack
    I'm using Sonar 2.2 and when I use My Audigy 2NX USB2 with 2 audio tracks,
    I'm recording on the second one while listening the first one :
    -No problem with my AC/97 sound card
    - Problem occur with my audigy 2 NX (Sampled audio becomes faster (Timing not adequate) while listening to the recording , the first 0 seconds seems in exact timing, then after I feel that the recorded begins to take speed and then ends second before the track one !!!
    I Solved the problem partially by using CoolEdit instead of Sonar and in the Setting-Multitrack Tab, i activated "correct for drift in recording"
    Please Help !!!
    Thanks
    Dany D.
    Message Edited by waize2 on <SPAN class=date_text>0-7-2004 <SPAN class=time_text>03:5 AM
    Message Edited by waize2 on 0-7-2004 03:52 AM

    First try to play your video on the PC. Use Quicktime 7 and it should work.
    If it does the same thing on the PC then the video encoding has created this problem. Nothing wrong in the phone. You will need to re-encode. May I enquire as to which software you are using to encode?
    If it plays correctly on the PC then your best bet is to lower the bitrate or the frame rate of the video, re-encode, transfer and try again.
    I recommend using h263 as the video codec as this will be "safer" to use. Try 3gp extension format as well.
    640K Should be enough for everybody
    El_Loco Nokia Video Blog

  • Error Message FF747  -The tax amount must not be greater than the tax base

    Hello,
    We are attempting to post an import vendor invoice through transaction    FB60 for Israel company code . Since the tax charged by the vendor is not fixed every time , we are entering the tax amount in the    FB60 screen manually , without selecting 'calculate tax'.The amount of tax is greater than the amount of expense as per the real business scenario. For example amount of expense is 100, amount of tax is 200 and the total amount charged by the vendor is 300 .However when we simulate the posting we get an error - The tax amount must not be greater than the tax base-Message no. FF747
    We tried putting a very high percentage in the tax code also but it didn't help
    We would like to go ahead with this posting. Could you pl throw light on the same . ? Is there any way (OSS note ) or a work around which can resolve the issue ?
    Best Regards
    Amit  Kulkarni

    Hello
    This may be  a work around in other cases , but since we want the amount to be updated in the BSET table for further VAT reports , we would like  this to be posted along with the expense item

  • [svn:bz-trunk] 17772: Update the url in the tests to use a relative path instead of the default localhost : 8400 so that the tests can pass on appservers other than the default Tomcat .

    Revision: 17772
    Revision: 17772
    Author:   [email protected]
    Date:     2010-09-20 15:02:50 -0700 (Mon, 20 Sep 2010)
    Log Message:
    Update the url in the tests to use a relative path instead of the default localhost:8400 so that the tests can pass on appservers other than the default Tomcat.
    Modified Paths:
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationFalseTest/Remoting_NetConnectionTest.mxml
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationTrueTest/Remoting_NetConnectionTest.mxml

    Revision: 17772
    Revision: 17772
    Author:   [email protected]
    Date:     2010-09-20 15:02:50 -0700 (Mon, 20 Sep 2010)
    Log Message:
    Update the url in the tests to use a relative path instead of the default localhost:8400 so that the tests can pass on appservers other than the default Tomcat.
    Modified Paths:
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationFalseTest/Remoting_NetConnectionTest.mxml
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationTrueTest/Remoting_NetConnectionTest.mxml

  • Is the iPad 3 faster than the iPad 2?

    Hi,
        Is the iPad 3 faster than the iPad 2? Also, how much better resolution is the iPad 3 from the iPad 2? I was just wondering because I heard that the new iPad isn't worth it's price.

    The New iPad is not remarkably faster, but does have a faster chip, which is required to handle the amazing Retina display.  The new display on New iPad is without question significatly better than iPad 2 and offers nearly 4 times the resolution of iPad 2.  Whether it's important to you, only you can know.  To see the difference, go to an Apple store where they still sell iPad 2 and New iPad.  For me, the difference was night and day, which is why I sold my iPad 2 and upgraded to New iPad.

  • Why is the iTunes shop in Australia more expensive than the rest of the world?

    Why is the iTunes shop in Australia more expensive than the rest of the world?

    How do you know that there is not parity?
    Do you know Apples expenses in each country?
    Apple has to sell the music for the price that they can negotiate with the owners of the distribution rights in each country.
    Perhaps those who own the rights to distribute the music in Australia simply negotiated a higher price.

  • I want to know if the Macbook Pro with the ash key board and as the cd rom infront is more recent than the one with the black key board and as the cd rom on the side.

    I want to know if the Macbook Pro with the ash key board and as the cd rom infront is more recent than the one with the black key board and as the cd rom on the side.

    Hi Tracy,
    I'm guessing "ash" is the silver colored keyboard, the same color as the rest of the MBP? If so, that machine, with the optical drive slot on the front, is the older machine.

  • Will my duel 800 G4 work with Leopard? Its fast than the 867 G4?

    My duel 800 G4 was the top of the line when I purchased it, much faster than the 867 G4, which seems to be the limit on the new Leopard operating system. Will I still be able to upgrade? I have seen on other Apple forums many people asking the same question? I would appreciate any help.

    Well, the minimum system requirements that Apple tells us really aren't always totally truthful. For example, they say OS 10.4 needs a minimum 256 MB Ram, and a DVD drive. That isn't true. I have tested this on a few different machines and found that the true minimum requirements are 192 MB for installation, 128 MB for running. On an ibook G3 500 mhz with 128 MB RAM, 10.4 ran surprisingly well. It was a little laggy of course, but it was stable and reliable. Also, you do not need a DVD drive, as you can use target disk mode to install the system from another computer (yes, the other computer needs a dvd drive...but I am speaking in specifics). What they say in their requirements is for the general public, but most of the time they aren't entirely dogmatic on those requirements.
    If it were my guess, I would say 10.5 will probably run on your system. If they entirely cutoff installation based on clockspeed, I'm guessing some mac-hacker will figure it out.
    Also, as far as your computer being top of the line "when you bought it"-that's the issue. Basically everyone's mac was top of line or near top of the line at it's release. But we all know the computer industry is not a slow moving market. Your computer can be outdated in a few months or a year. I helped a guy buy his first mac a few months ago (imac). 2 days later Apple released the new imac. That's the nature of computers. And you really can't expect Apple to keep supporting machines approaching 7 years old (my ol' Gigabit). They want to be at the head of the market, and pushing the old out is some times the only way to do it.
    You always have the option to upgrade your system. Go and look at some cpu upgrade cards. They aren't all that expensive. For $400 I turned my dual 450 to a dual 1.4 Ghz (and don't forget the level 3 cache). Third party upgrades are what keep us old timers goin.

Maybe you are looking for

  • ITunes 11.1.5 (64-bit) tries to open, but freezes Windows 7 (64-bit)

    Even when it does manage to open, it instantly becomes unresponsive. Browser and other computer tasks become unresponsive. The task manager takes longer that usual to open when it does open. Had to shut down processes in task manager to take control

  • I get an error message installing IOS 8.1.1.

    This software update downloads but gives an error message when installing.

  • XI_J2EE_ADAPTER_XI_HANDLER - GENERAL_ERROR

    Hi, Scenario: RFC adapter to File adapter. I am getting the following error: Message Data Attribute Value Engine Adapter Engine Status Waiting Repeatable Yes Cancelable Yes Start 15.05.2007 19:57:18 End 15.05.2007 19:57:18 Sender Party   Sender Servi

  • Adobe Reader trying to open all .exe and .ink extensions

    Upon installation of Adobe Reader all the programs that I have (and other files) are now trying to execute through this. Obviously this means I can no longer open the likes of my media player, skype and all other software packages. I would like to kn

  • Music for commercial use?

    Hello Folks, I have been searching on the forum about music for commercial DVD and Video projects and the phrase that keeps coming up is: "purchased music is not for commercial use". Are there any Royalty Free music libraries available that CAN be us