Performance problem: entries needing
Dear all,
I have the SECONDARY table with 100 plate having indexes on key columns that are frequently used for filter criteria in my application. If I create a table nested with only key column and the primary key of the DETAIL table and then use this newly created in the select queries with SECONDARY table. I can't perforamance improvement using this lower number of table columns. and how? Please suggest.
Thanks in advance.
Be cautious in this statement. This is serious, but not in the way that your initial question was asked. The presence or absence of index influence the optimizer. Too much index or indexes that are never used can also slow down your inserts and updates without any advantage over select. The types of indexes, you choose to importance. Your original question, yes - you do understand, there is no advantage in the construction of a second table to make (less effective) already makes the index.
Tags: Database
Similar Questions
-
On query performance problem. Need help.
It is essentially a performance problem. I hope someone can help me with that.
Basically, I have four old masters (150000 records), (100000 records) Child1, Child2 (50 million records!), child 3 (10000 + records)
(please forgive the alias).
Each record in the master has now more than one matching record in each table child (one to many).
Also there may be any record in any or all of the tables for a particular master record.
Now, I need to get the maximum of last_updated_date for each master record in each table 3 child and then find the maximum of
the three obtained last_active_dates from the 3 tables.
for example: Master ID 100, to interrogate Child1 for all Master ID 100 records and get the max last_updated_date.
Same for the other 2 tables and get the most out of these three values.
(I also need to deal with cases where no trace may be found in a child table to a Master ID)
Write a procedure that uses sliders that the value of each of the performance hits of child table
evil. And that's, I need to know the last_updated_date for each master file (all 150000 of them). It will probably take days to do this.
SELECT MAX (C1. LAST_UPDATED_DATE)
MAX (C2. LAST_UPDATED_DATE)
MAX (C3. LAST_UPDATED_DATE)
OF CHILD1 C1
CHILD2 C2
CHILD3 C3
WHERE C1. MASTER_ID = 100
OR C2. MASTER_ID = 100
OR C3. MASTER_ID = 100
I tried the above, but I got an error in tablespace temp. I don't think that the application is good enough at all.
(The GOLD clause is to take care of any records in a child table. If there is an AND, then the join and then select
No, not even if there is no record in a child table, but valid values in the other 2 tables).
Thank you very much.
Published by: user773489 on December 16, 2008 11:49You want alias to this field then.
SELECT MAX (C.LAST_UPDATED_DATE) FROM (select child1_master_id MASTER_ID, field2, field3,... field4 from CHILD1 UNION ALL select child2_master_id MASTER_ID, field2, field3,... field4 from CHILD2 UNION ALL select child3_master_id MASTER_ID, field2, field3,... field4 from CHILD3) C WHERE C.MASTER_ID = 100
If do you something like that, and explicitly list the columns you want.
Edit: for something like a specific query for a MASTER_ID...
SELECT MAX (C.LAST_UPDATED_DATE) FROM (select child1_master_id MASTER_ID, LAST_UPDATED_DATE from CHILD1 where child1_master_id = 100 UNION ALL select child2_master_id MASTER_ID, LAST_UPDATED_DATE from CHILD2 where child2_master_id = 100 UNION ALL select child3_master_id MASTER_ID, LAST_UPDATED_DATE from CHILD3 where child3_master_id = 100) C WHERE C.MASTER_ID = 100
That should give you very good performance by raising a record. But a better idea, as indicated, would be to get it all at once with a sql:
SELECT MASTER_ID, MAX(C.LAST_UPDATED_DATE) FROM (select child1_master_id MASTER_ID, LAST_UPDATED_DATE from CHILD1 UNION ALL select child2_master_id MASTER_ID, LAST_UPDATED_DATE from CHILD2 UNION ALL select child3_master_id MASTER_ID, LAST_UPDATED_DATE from CHILD3 ) C GROUP BY MASTER_ID
This will give you the max for each MASTER_ID in a sql without a cursor.
Published by: tk-7381344, December 16, 2008 12:12
-
While I was using my laptop I received a message that HP was running some sort of program disagnostic and in the end, he asked if I wanted to repair the problems. I declined the offer. However, the next time I turned on the computer, I saw the first time the HP logo, then the message "automatic repair Preparation". After a few seconds there is a short rectangle that flashes on and disappears. Then I got a blue screen with: your PC encountered a problem and needs to restart. We will restart for you. "Who starts a blue screen and reboot cycle. Blue screens replacement error messages saying: "If you want to learn more, you can search online for later for this error" and once it will say 'FAT file system' and once 'NTFS file system. I have spent to support HP dv7 ENVY page and tried the suggestions of repair without success. Is it possible to go beyond these two error messages and their blue screens to get my system working again? If so, how?
Hello
Error code 24 characters is a failure of the short test (DST) disk Self and would indicate that hard is defective and must be replaced. It is also consistent with your description of the problem.
If your laptop is still under warranty, contact HP and arrange for the disk replaced - if necessary, you can check the status of your warranty here.
If you live in the United States, contact HP here.
If you are in another part of the world, begin here.
If you are no longer under warranty, it's a fairly simple procedure to replace the HARD drive yourself - a brief guide on this is below.
Readers on the following links are examples that would be perfect for your laptop.
The procedure to replace the hard drive begins on Page 56 of your maintenance & Service Guide.
About reinstalling Windows 10 on new HARD drive, as long as the previous installation of Windows 10 had activated Ok after upgrading to Windows 7/8.1, you can simply create your own Windows 10 installation media and perform a new installation as described in the guide on the following link. Note: On the activation screen, select "I have not a product key" - Windows will activate automatically once installation is complete.
http://www.howtogeek.com/224342/how-to-clean-install-Windows-10/
Kind regards
DP - K
-
Satellite C660 - 1 M 0 encountered a problem and needs to restart
Hello
Today, when I turned on my laptop before it starts, I get a blue screen says:
Your computer has encountered a problem and needs to restart. Collection of information.What is this problem for?
My laptop is TOSHIBA Satellite C660 - 1 M 0 i3Is this a Windows problem?
Here is a message I received in Windows7forums on this subject but I don't understand what he means, can understand you for me please? e
* Re: Heeelp! Your computer ran into a problem! *
These screens generally include a sentence in the screen "fallen on problems." Usually something like Violation of Watchdog DPC (Deferred procedural call) and are often associated with a bad driver and or a power saving state not supported (sleep, hybrid sleep, hibernate, etc.,)
First of all, make sure that you have the latest drivers from your computer manufacturer and or the individual device manufacturer's Web site. Then consider whether this computer manufacturer includes any software that may be incompatible with Windows 8 CP or is somehow patented conflict with Windows 8 CP in energy saving power scheme options. You may need to experiment a little, maybe remove the proprietary tools or taste affecting your schema of high performance or even the options down or max.
The overview of consumption is more or less a new frontier for everyone here to work through this kind of problem is going to be informative and beneficial for all who read your thread, so please keep us posted as to how you are progressing with your current number.
Concerning
RandyHello
Blue screen of death (BSOD) may be caused by software or hardware problems.
To know if it of really a software problem, you can try running a HARD drive recovery procedure which would fix the laptop back to factory settings.What is an option for you?
If Yes, check this:
+ How to recover a Toshiba notebook with the HDD recovery procedure.
http://APS2.toshiba-tro.de/KB0/HTD1303440001R01.htm -
The error occurs when I insert the game black & white 2 or command and conquer the first decade and click install on a automotive screens popping up, I am sure that these two errors are almost identical and sure if one is fixed so will the other be.
The error that says "Setup.exe has encountered a problem and needs to close. We are sorry for the inconvenience. »
To try to fix it already I found a page here which tells me how to install drivers different installshield, and I installed everything that have been listed. My operating system is Windows Xp home edition
Hello
Were you able to install these games without any problem before?Step 1: Install all updates of windows on your computer and check the number.
Reference: http://support.microsoft.com/kb/306525
Step 2: Copy the game on your computer, then check the issue.Step 3: Perform the clean boot your computer.
From your computer by using a minimal set of drivers and startup programs so that you can determine if a background program is interfering with your game or program. This type of boot is known as a "clean boot".Follow the steps provide in the article below to perform the clean boot. http://support.Microsoft.com/kb/929135Note: To restore your computer to a Normal startup mode, follow these steps:
1. click on start in the box start the search.
2. type msconfig and press ENTER.If you are prompted for an administrator password or a confirmation, type the password, or provide confirmation.3. on the general tab, click Normal Startup - load all device drivers and services and then click OK.
4. When prompted, click on restart.Thanks and greetings
Umesh P - Microsoft technical support.Visit our Microsoft answers feedback Forum and let us know what you think.
[If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.] -
Original title: I can't access the accounts of users (XP).
I can not access (XP) user accounts. I get the message: "Microsoft (R) HTML Application host has encountered a problem and needs to close etc.." The APPname is mshta.exe. I have this msg when I click on anything in the user accounts.
1. What is the problem?2. what should I do to fix this?Hello Eric_984,
Thank you for the question!
It is disheartening to know that have problems you with user accounts. "As I understand it, you get an error message" Microsoft (R) HTML Application host has encountered a problem and needs to close etc. "when you access user accounts.
I need to ask you a question to help you best.
Were there any changes (hardware or software) to the computer before the show?
Perform the steps in the link and check.
Answer to us if you are having problems with user accounts or any other issue of Windows, and I'd be happy to help you again and try to correct the problem as soon as possible.
Good day!
Hope this information helps.
-
Original title: print the problem
I use Windows xp. and still 4.5 to write and play music. "When I try to save my score I get a message:" Ecore: notation and midi has encountered a problem and needs to close. Please inform Microsoft problem. We have created an error report that you can send us' I sent this report several times, but have had no response. Can you please help. Thank you very much. R.Windmill
Hi R.Windmill,
Thanks for the reply with the status of the issue.
I understand that you are unable to download the clean boot article, receive error message: access is denied.
What browser do you use to download the article?
If you use Internet Explorer, I suggest to reset Internet Explorer to default values and check if it helps.
See this link:
http://support.Microsoft.com/kb/923737
NOTE: Reset the Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings.
Alongside this, perform method 2, 3 of the suggested method in the previous post and we will reply with the results.
-
LifeCam .exe has encountered a problem and needs to close
Im trying to use my lifecam on my xp computer, but it does nothing, but saying lifecam .exe has encountered a problem and needs to close. That's all he does whenever I open it help me!
Hello
Thanks for joining us out on Microsoft Community Forums.
According to the description, you get a message error "Lifecam.exe has encountered a problem and work stoppage.
1. are you aware of changes to the computer before the show?
2. What is the model number of the device?
3. What is the brand and model of the computer?
Method 1:
I suggest you perform the steps mentioned in the article.
From Lifecam software "Application has encountered a problem and needs to close. We are sorry for the inconvenience"error message.
http://support.Microsoft.com/kb/2027807
Method 2:
Put the computer in a State of boot is a way to know which application is causing this problem.
To help resolve the error and other messages, you can start Windows by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.
Put your boot system helps determine if third-party applications or startup items are causing the problem. If so, you need to maybe contact the manufacturer of the program for updates or uninstall and reinstall the program.
Step 1: Follow the steps in the link below to do the same thing:
How to configure Windows XP to start in a "clean boot" State
Note: After troubleshooting, be sure to set the computer to start as usual as shown here:
Step 2: To configure Windows to use a Normal startup state
After you have used the boot is a way to solve your problem, you can follow these steps to configure Windows XP to start normally.
a. Click Start and then click Run.
b. type msconfig and click OK. The System Configuration Utility dialog box appears.
c. click on the general tab, click Normal Startup - load all services and device drivers and then click OK.
d. When you are prompted, click on restart to restart the computer.
Hope this information helps. Get back to us if you have more queries about Windows.
-
Windows has encountered a problem and needs to close
Windows has encountered a problem and must close is happening frequently. ; When I try to close it won't let me
Hello
Thanks for posting your question in the Microsoft Community Forums.
It seems that you receive error message "windows has encountered a problem and needs to close" on the computer.Provide us the information to help you further.
1. don't you make changes on the computer before the show?
2. when exactly you receive the error message?Try these steps and check if you are able to solve the problem.
Method 1:
Step 1: Check if the problem occurs in safe mode:A description of the options to start in Windows XP Mode
http://support.Microsoft.com/kb/315222
Step 2: If the problem does not occur in safe mode then you can perform a clean boot and check that helps:How to configure Windows XP to start in a "clean boot" State
http://support.Microsoft.com/kb/310353Note: When the diagnosis is complete do not forget to reset the computer to a normal startup. Follow step 7 in the above article.
Method 2:
You can scan System File Checker to fix corrupted files.
Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)
http://support.Microsoft.com/kb/310747Reference:
File system (CFS) Checker
http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/system_file_checker.mspx?mfr=trueIf you are always faced with the question, please respond with more information, and we will be happy to help you
-
Each time after clicking the icon of user account on windows xp to change a password is crashes with this error message: Microsoft (R) HTML Application host has encountered a problem and needs to close.
There is a Microsoft Knowledge base article which sets up a few steps to perform in the computer in order to solve the problem you are experiencing, read the article that you find on the link I am mentioning below and see if it helps the measures mentioned:
-
I use a dos program of basis for the drafting of the accounts. This gave all of a sudden the error today: "NTVDM. EXE has encountered a problem and needs to close"I use Windows XP Professional SP2.
Hello Eric,
Take a look at this article to see if it helps:
Troubleshooting in Windows XP MS-DOS-based programs
http://support.Microsoft.com/kb/314106PS Questions should more properly be addressed to a subforum of Windows XP
as http://answers.microsoft.com/en-us/windows/forum/windows_xp-performance/and btw, your system must be on XP Service pack 3
See Windows XP Service Pack 3 (SP3): Installation Guide
http://aumha.NET/viewtopic.php?f=83&t=33296also information for Windows Xp Service Pack 3 (sp3)
http://www.bleepingcomputer.com/forums/topic146857.htmlSpace hard drive for Windows XP Service Pack 3 requirements
http://support.Microsoft.com/kb/947311/Support for WinXP (x 86) SP2 ended July 13, 2010. After this date, the computers running Windows XP SP2 (x 86) "will no longer receive software updates from Windows Update" (automatic updates will not work and the Windows Update Web site is not available) until SP3 has been installed. Extended support for WinXP SP3 will continue through April 8, 2014.
Does that mean if my version of Windows is no longer supported?
http://Windows.Microsoft.com/en-us/Windows/Help/What-does-end-of-support-mean -
This problem deals with only one of my user accounts, where the user accounts function correctly. When my wife logs in to his user account, it receives the error "windows Explorer has encountered a problem and needs to close, sorry for the inconvenience." No ICONS or deskbar charge upward; However, my daughter and my user account functions properly.
I did a system successfully restore to a previous point, but the problem remains.
If you are still having problems with Windows Explorer crashing, I suggest to consider the suggestion offered by ShadowKat:
"Hello people, it seems that some guys out there are still having trouble with this random crashes. I have the same problem, except that it happens every time that I go to my media files on my NAS. It seems that there is a bug or something with windows that causes this problem when you access a folder to storage media like mine, especially when the size of the file is very large (archive all my discs of film there for convenience and continuous =), about 1 TB of data). Windows capable of generating thumbnail images for your files and blocks the Explorer as well.
I solved this by going to my computer > click the "Organize" (upper-left) > folder and search options > view tab check "Show icons, never thumbnails" option and uncheck the "display file on the photos." This prevents windows to generate images and solved the problem for me. Less visually flashy Yes, but at least not need a cloth and restart is).I hope this helps and good luck!ShadowKat. »If you're still having problems after this, I suggest that to start a new thread in the following location:I hope this helps. -
Windows Media Player has encountered a problem and needs to close
Original title: Window Media Player
I run Window XP Professional Service Pack 3. My Window Media Player suddenly opens for a second and disappears again. I downloaded the software again, but nothing has changed. I downloaded Microsoft troubleshooting software, there is no full download, it came with "Troubleshooting cannot continue because an error has occurred 80040402 cod." The last time I went to Media Player, he had an error message: "Windows Media Player has encountered a problem and needs to close. AppName:wmplayer.exe, Mod/worm: 11.0.6000.7000, AppVer: 11.0.5721.5262 Offset: 000aba9e, ModName: 01key indiv. I managed off option and need really professional help from somewhere.
Walter
Click Start
Select Control Panel
If it is in Classic view, select performance and Maintenance
Select System
Select the Hardware tab
Select Device Manager
In the list of devices, you see all of the devices listed with yellow exclamation points?
If update you the device drivers for these devices from the device manufacturer.
-
Original title: How can I find this 1000 error code is? Is there a list of codes of error somewhere?
When I run my program of VirtuaGirl I sometimes get a message "sorry virtuagirl has encountered a problem and needs to close." When I check my diary event observer system, he tells me event 1000. I was wondering where I can find a list of error events
Hi robertmould,
· Did you do changes on the computer before the show?
Follow these methods.
Method 1: Perform a clean boot to see if there is a conflict of software like the clean boot helps eliminate software conflicts.
How to configure Windows XP to start in a "clean boot" State
http://support.Microsoft.com/kb/310353
Note: After completing the steps in the clean boot troubleshooting, follow the section How to configure Windows to use a Normal startup state of the link to return the computer to a Normal startupmode.
After the clean boot used to resolve the problem, you can follow these steps to configure Windows XP to start normally.
(a) click Start, run.
(b) type msconfigand click OK.
(c) the System Configuration Utility dialog box appears.
(d) click the general tab, click Normal startup - load all services and device drivers and then click OK.
(e) when you are prompted, click on restart to restart the computer.
Method 2: Uninstall and reinstall the program.
How to change or remove a program in Windows XP
-
Original title: repair Windows scam - Can can't Access Control Panel or workstation
My system has been recently infected with "Windows" repair"virus. I managed to delete using Super Anti-Spyware, but all my desktop shortcuts are gone (hidden) so I downloaded "Unhide.exe" and get all my shortcuts. Most of them seems to be working as before, but there are a few, such as 'My Computer', ' Panel, "My Documents", or even "Windows Explorer", which I can't access.» When I try to open them, I get this popup box saying "Windows Explorer has encountered a problem and needs to close" how much he out me of my office of kicks.
Any suggestions?
Thank you!
Brian
The best way to solve this maybe just create a new user account, transfer your personal data to this account, and then delete the old account. Make sure that you perform the system restore after you did the new account and everything works fine. To purge the system restore, simply disable it then again. Be aware that the creation of a new user account is not the means to get rid of malware. But it is perhaps the best way to get rid of some of the after effects. However, I recommend you scan with Malwarebytes before running these instructions. After scanning you may not create the new account.
In addition, Jose is correct. Good number of new forms of malware prevent the start in safe mode. Trying to force booting in SafeMode with msconfig, you end up with a boot loop.
Maybe you are looking for
-
Since istalling W10 64 bit cannot send coins attached
Problems since Win10 64-bit upgrade. Major is when I try to send an email with attachment 2-3 MB (even as small as 640kb) the work of connection, then the blue line going instantly emailed directly through, which shows 100%, but system stalls, eventu
-
Failover of DAG 2013 Exchange in Outlook problem
Hi guys,. I'm trying to configure DAG for the first time on Exchange 2013. Here's what I did:-Installed Exchange 2013 std on two virtual machines -Set up a witness server -Created the DAG (server name, directory witness and he has assigned an IP add
-
can I use the mass storage device to speed up windows xp, like ready boost on windows7
non-essential programs, defragmented, disk cleanup, always short slow.
-
Cannot access my IOGEAR BOSS with Vista home premium
I have problems to access the directories on my external device with my new PC, and I hope you can help me. I just replaced my old HP Desktop running XP OS with a new DELL desktop which is under Vista Home Premium (32 bit) and now I can't access the
-
Connection interface 1gig 5548 NEXUS to 100 Mbps
Hello I have a 5548 I need to connect to a firewall that supports 100 Mbps only. Can I configure interface on the Nexus 5548 (GLC - T) interface speed to 100 Mbps inorder to connect to the firewall? Kind regards Sabih