performance NOT IN issue

Hi Experts,

I had a simple select statement runs for 3 hours now. No luck. About 1 m rows in both tables. T_PARA_ZUORD has about 10,000 rows. No index.

SELECT DISTINCT T1. YEAR, T1. ERG_ID, T1. STA_ID, T1. REASON, T1. REASONSEC, T1. TRIAL_NO,
T1. BL_CODE, T1. OFFICEODE
OF V_STA T1
INNER JOIN T_PARA_ZUORD T3
ON T1. Parameter = T3. Parameter
AND T1. YEAR = T3. YEAR
WHERE T1. ERG_ID NOT IN (SELECT ERG_ID FROM T_X WHERE YEAR = 2014)
AND T1. YEAR = 2014

I think that it is NOT IN that kills performance.

Y at - it a faster alternative?

Try this. It worked for me when I had a NOT IN who had a performance problem

WHERE T1. ERG_ID IN (SELECT ERG_ID FROM V_STA LESS SELECT ERG_ID T_X WHERE YEAR = 2014)

Tags: Database

Similar Questions

  • Install OSX 10.11.4 I do cleaning but R command will not work. With the help of USB keyboard so not wifi issues to to worry. Help?

    Install OSX 10.11.4 I do cleaning but R command will not work. With the help of USB keyboard so not wifi issues to to worry. Help?

    Would you like to share why you must do a clean install?

    You can try the recovery of the internet (which will work if your older model has been updated to enable of): hold command + Option + R until you see a progress bar (take a while). It will connect you to the Apple servers. When you see the utility window, choose disk utility to erase your disk and when you're done, choose to reinstall OS X.

    Computers that can be upgraded to use OS X Internet Recovery - Apple Support

    PS: Correction: I think not yours can be updated; in this case, you will need the original installation disks to wipe the drive and reinstall.

  • PreSonus Studio One won't let me read the downloaded videos to unplug, the message reads "the licence has not been issued for this computer", the Logo ONe Sudio appear

    I downloaded a video of my own using the Firefox Addon to unplug myspace page. It saved in my files, but when I try to open it, I get a message that says: 'a licence was not issued for this computer. When I click 'ok', it brings me to the block Presonus Studio One asking me to purchase a license now. In fact, a licence was issued to this computer, and I understand that there is a problem with customers not getting Presonus does not properly established with the approval of their product. But it shouldn't stop me from playing my own videos on my own computer.

    Sorry, never heard of this software before. How are Firefox users able to listen to the music that is created b this software.
    A specific package of DRM?
    A specific plugin?

    As may of Adobe Flash?

    It seems that you have two plugins Flash for Firefox. Not a good idea because it may confuse Firefox. Try to get rid of the old version.
    Shockwave Flash 17.0 r0
    Shockwave Flash 16.0 r0

    Have you tried to get support through the PreSonus for one?
    https://forums.Presonus.com/

  • Flash stops working after a certain period of time (not standard issue)

    OK, here I am with this problem once again, the first time it really made me reinstall the whole OS (it's so EVIL), and now he's back. Not that I really want to waste time looking for what is impossible to find, but I really want to reinstall the whole thing again. Here goes:

    (1) it happens in Firefox ONLY. Other browsers are not affected by that issue.
    (2) it happens in any version of Firefox, old/new - no difference. It can go all the way back to 9 even, I tried quite a few people.
    (3) Yes, I have reinstall Firefox several times (with preliminary complete uninstall using Revo Uninstaller)
    (4) Yes, I have reinstall Flash number countless times, and no, it doesn't matter what version of flash, it is, just as with the browser. All the same.
    (5) Yes, I checked the PC for any possible malware using several different anti-malware applications. Nothing. Clean.
    (6) I checked the event viewer, no message here... just nothing.

    What happens is, that it simply stops play ANY flash after some time. Animation, video... whatever. It is therefore not specific thing of youtube. When on youtube I just get the black frame and an annoying flashing / pending tab in the taskbar. That's right, stuck in a cycle. If I restart the browser it is all back to normal. But a little later (I don't know when exactly, about 15 minutes later maybe) he goes back into the glitch. Since my last reinstallation (which is due to this prob), he was for some time without any problems. But now he's back, so instead of reinstalling everything I just want to know: what THE HELL is this shit? It really pisses me now. And no, I don't want to use a different browser, I need Mozilla.

    I'm glad that you seem to have solved the problem.
    I mark the answer to the solution of thread computer expert, as has the connection of protected mode.

    The safe_mode of the Flash Player seems to be involved in more than one problem.

    I know that Firefox Aurora channel a reporter new and experimental, which deals with the Flash crashes and hangs. At the present time, we tend not to be able to get to the bottom of a large number of these issues.

  • Microsoft Store not to issue new product key for Windows 7 Ultimate, but it is has been fully paid for

    I bought a laptop Sony Viao on 19 October 2012.  This laptop came pre-installed with Windows 7 Professional.  I used the ease of upgrade to upgrade Windows at the ultimate addition.

    Since October 19 Microsoft doesn't have to issue a new serial number of the product.  My account status indicates that the order is underway.  It does not help to make a call of support for the call numbers eventually gets cut off, because it seems that the Microsoft call center staff is completely clueless about how to solve my problem.
    They have the audacity to tell me to buy a new update.  When I try to activate I just invited to enter a new product key that the existing key is not valid.
    I'm at the point where I'll try to find a pirated product key, because I WILL NOT BUY a new product key and pay for something that I'm supposed to have.  I put challenge Microsoft to report me to tell them I'll be using a pirated key until they solve this problem.
    For the moment is Microsoft who stole money from me, and I'll just steal it back.
    I tried to get help, but your support infrastructure is just completely and totally unnecessary.

    Contact the Microsoft store:
    US: http://www.store.microsoft.com/Help/Contact-Us
    1-877-696-7786
    Canada: https://www.microsoftstore.ca/shop/en-CA/Contact-Us

  • Performance not showing tile view is not conditional coloring in OBIEE 11 g

    Hi Experts,

    I have a question showing a conditional coloring for display in mosaic performance.

    I have two columns,

    1 color column that contains values such as (green, blue,...)

    2. other is the measurement column that has numbers in there.

    Both are from the same fact table.

    So, when I apply the conditional measure column coloring at the level of the criteria (if column color is color green then green in the background and so on). (And same conditions applied to the criteria reflect also on properties of tile performance)

    But when I see the results performance tile does not have the given conditional color.

    So, when I wanted to compare if his work. I used a table view and a view of pivot with her. And here the color correctly appears in the table view and pivot view but not in the view Percentile.

    Do not know why. I tried to make the column color aggregated to the Max but no luck.

    Any help would be much appreciated.

    Thank you.

    Looks like we cannot give conditional coloring based on other columns in the tile of Performance view

    Document says Oracle: Performance tiles can not inherit conditional formatting based on another column, or performance tiles have a target of filing excluded.

    And this is possible in the tables, crosstabs dynamics and lattice

    Thank you

  • CUDA performance not there

    Hi all

    I had a computer aorus new laptop with a gtx 980M (8 GB ram) + i7 cpu + 16 GB of ram.

    I tried to test the performance of cuda with followed by a period in first pro. In the project settings no matter what I use the engine cpu or mercury, CUDA, I'll the same performace: /. It seems that CUDA brings no improvement.

    any help please? I have already updated all my drivers.

    Thank you

    Jean-yan

    Read this doc on what cuda does and does not.

    CUDA, engine reading Mercury and Adobe Premiere Pro "Premiere Pro workspace

  • List of families of fonts in a table (or not), 3 issues

    I build a script that will open a dialog box that allows the user to select a font family from a list (not a list of all fonts), then compare that value against the fonts that are used, highlighting everything that does not match. I have not yet built the dialog box, but I have other work I want except the list of font families.

    The following code loops through the list of fonts (only 20 for test purposes), compares the family name to the previous list (error intercepted for the first loop) and pushes the family name (if it does not match the previous) in a table that will be used in the dialog box. With two alerts at the bottom (for troubleshooting), I expect alerts to show the same surname. For the first three policies they do, but thereupon, the value of the table is "undefined".

    var iCount = 20;

    var = textFonts.length iCount;

    Var books = "";

    var nameArray = new Array();

    for (var i = 0; i < iCount; i ++) {}

    var familyName is textFonts [i] .family.;

    try {books = textFonts [i - 1] .family ;}

    catch (err) {books = ' ' ;}}

    If (familyName! = directories) {}

    nameArray.push (familyName);

    Alert ("last name:" + familyName);

    Alert ("Array Name:" + nameArray [i]);

    }

    }

    Issues related to the:

    (1) any speculation about why this behavior occurs (it is not truetype or opentype)?

    (2) is there a better way to get the list of families of fonts without duplicates?

    (2) is an array, the best way to populate a drop-down list in a JS dialog box? [this will be my first dialog box with a drop-down list, the others have typed values user]

    Thank you

    Alex

    EDIT: More info

    When he reached the ninth police in the list, the above script begins to write indefinite, but when tested manually, as below, it works very well. Hmmm.

    Alert (textFonts [9] .family);

    var nameArray = new Array();

    nameArray.push(textFonts[9].family);

    Alert (nameArray [0]);

    EDIT: More information

    tried to replace the nameArray.push (familyName); with nameArray.splice(i,0,familyName); bad behavior remains

    1. nothing wrong with your family name gathering

    2. No, you do right

    3. Yes

    you use the global counter 'i', to call something in the table that does not exist, after the 3rd point of the same family, the meter is 4, so that the elements in the array is 1, NomTableau [4] does not exist

    Try this

    Alert ("last name:" + familyName);
    Alert ("Array Name:" + nameArray [nameArray.length - 1]);
  • After Effects CS5.5 - Performance very serious issues w/RAM Preview

    My system: Windows 7 Professional, two-processor Intel Xeon X 5650, 12 GB of RAM and a NVIDIA Quadro FX 4800.

    Problem: RAM Preview in CS5.5 give me less than 2 fps (Yes - two images per second). It's even with the simplest compositions. I created a project of 1080 p 23.976 with two solid layers simple and retouching position and scale values to one of them without other effects to be switched on. RAM Preview gives me 1.8 fps.

    I still have AE CS5 installed and it gives me strong and predictable results with RAM Preview. When I create a similar test inside the CS5 project, it creates the RAM Preview almost instantly and displays good real-time (23.976 fps).

    My settings for CS5 and CS5.5 are similar (and I tried many variations in my attempt to solve this problem).

    PREVIEWS

    Fast previews: Adaptive resolution limit 1/4

    Compatible OpenGL and two sub-options for active OpenGL.

    MEMORY and MULTIPROCESSING

    Reserved for other applications of RAM: 4 GB

    I tried different settings for multiprocessing, which translates the same less-than-2 fps previews RAM. Currently I have MP'ing activated with allocation of 1.5 GB per background CPU and real processor used is 4. Yet once, no matter what I set it to, I have the same problem of performance.

    On my screen magnification ratio setting, I use 25% and my Resolution/Down sample is on the quarter. In my preview, I tried setting my default resolution to "Auto" to "Quarter" without any difference.

    In short: on the same machine, RAM of AE CS5.5 preview offers terrible performance. Preview RAM CS5 offers excellent performance.

    Well, I got my answer and all is well in the world.

    After uninstalling all AJA (and even turn off my Kona card), I lived even horrible RAM previews. Then I Dove which was actually installed on my PC and here I found entries that refer to something as "Matrox Utils". I had not installed anything to do with Matrox. I'm not a big fan of the MXO2, but we have a few floating around the office and after asking around, I found my enemy - one of my co-workers used my machine when I was last week and it has installed and used the MXO2.

    So now I guess I have to install my AJA stuff and everything is good. Thanks a lot Szalam and Todd (and everyone else) for pointing me in the right direction!

  • sent from my macbook air in under applecare repair. They solved the problem yesterday I picked up my laptop but the problem occurred again. my warranty is place in seven will they return after fixing is not the issue

    They replaced the "defective wires" that caused some of my keys to do no work. When it came to the keys does not, it's a 50-50 chance sometimes they worked perfectly and other times that they would not work. I back my laptop yesterday but I have experienced the same keys not work - they finally started working again, but I will return to Boston for college next week and my applecare warranty is up Sept. 4. My question is will take apple my laptop back and fix what they don't apparently fixed the first time, even if my applecare is released or do I need to rush ALL THE WAY back to apple to drop it again. the only reason why I want to wait is because I want to see if it happens again, I did an update and it looks good, but if it happens again I want to be fixed correctly.

    It is not completely repaired to your satisfaction. Immediately call Apple Care or bring your Apple Store. Nobody here can answer your questions. Apple can only respond.

    Good day.

  • No video format supported or MIME type not found issue in Firefox 13.0.1, Windows 7-32 bit

    So I wanted to see a video presentation of Microsoft... and as they like to use HTML5 it's a HTML 5 video. I get the error. I do not understand how to solve this problem in windows 7-32 bit.

    Hello

    It might be in another format different standard webm format that supports Firefox. You can try to install non-standard in Firefox support.

  • My firefox comes himself to update to the latest version and now all I get is "unable to connect" which is odd since IE and chrome can connect very well. Any ideas? I already checked the btw proxy settings and is not the issue

    What is happening on each test AES sit not just select those and they are fine as all workers is my connection in IE and chrome and it was very good 2 seconds before the update

    One possible cause is security software (firewall) that blocks or limits Firefox or plugin-container process without informing you, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox in the list of permissions in the firewall and leave your firewall again ask permission to get full unlimited access to the internet for Firefox and the plugin-container and the update process.

    See:

  • Camileo S30 will not fuel issue?

    I hope someone on the forum can offer a solution to a problem I have with my Camileo S30, occasionally it does not start or turn on unless I remove and replace the battery, I tried the factory
    setting by default, but nothing does, and a new battery, it seems that this fault applies to many camcorders s30.
    If it's a Bug in the Firmware? and are updates available, any help would be appreciated
    Thank you
    Jon

    Hello

    I'm having the same problem, S30 worked fine for a week and now refuses to start. Same frustration because it is my camera girls aged 12 years.

    It is obviously a general problem of searching the Web, but no one seems to have given a solution...

  • not installing iTunes is not mulitple issues

    Have a Mare reinstall iTunes after a Windows 10 wipe clean reset.

    The same problems as the others for example.

    an error occurred during the installation of assembly ' Microsoft VC80. CRT ~ ~ ~ 8.0.50727.61 ~ ~ ~ Token = "1fc8b3b9a1e18e3b ~ ~"

    HRESULT: 0 x 80073715 to halfway through the installation

    then

    Cannot start device service mobile apple installation

    then

    app Apple support is not found error 2

    Bottom line iTunes does not start.

    I tried

    Uninstall iTunes all components mentioned support stages

    antivirus and firewall off the coast

    C++ redistributable x 86 installed

    Windows service install module started

    installation running as administrator

    Sure, it only is not any other measure to take without getting close to the registry (not bright) to someone who can help, please help or maybe its time for another laptop / Mac

    The message "an error occurred during the installation of assembly ' Microsoft.VC80.CRT, type ="win32", version ="8.0.50727.6195", publicKeyToken ="1fc8b3b9a1e18e3b", processorArchitrcture is...» "may occur because a particular library file is not included in the supplied with iTunes distribution package or will not be installed because some unspecified reason. Install Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package MFC security update before you attempt to reinstall iTunes can help.

    See troubleshoot problems with iTunes for Windows updates for more information if necessary.

    TT2

  • performance not recognized

    Hello

    I have problem running my app coded with labVIEW 2013 on a windows 7 PC. I installed the runtime 2013 (as we can show on the attached printscreen) without any error message and reboot. When a test run the application created with labVIEW 2013 I the message as if I have not installed the runtime.

    I already tried the following:

    -Repair installation with the install tool

    -Remove the Runtime Engine installation and reinstall

    Nothing has worked.

    Thank you in advance for any help or advice,

    Arnaud Moretti

    OK, I finally get the solution. My PC is 64-bit, the client computer is 64-bit but the 2013 labVIEW installed and used to compile the application was 32 bits... I have installed the correct version and it works.

    I suggest to write the necessary Runtime engine architecture in the error message in my first message, because a client without sources could not have known himself whose architecture the application needs.

Maybe you are looking for