473,809 Members | 2,733 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Running real slow


Hi,

I just downloaded MySql using Windows XP. It takes at least 30 seconds
to open a recordset. What am I doing wrong?

Thanks
Joel
Mar 28 '06 #1
2 1232
On Tue, 28 Mar 2006 13:03:23 -0800, Joel <jo**@ecsnj.com > wrote:
What am I doing wrong?


Well, one thing you're doing wrong is asking a question without giving
enough context. ;-)

It'd help if you described as much as possible of the following:
- The version of MySQL. Since you just downloaded it, should we assume
5.0.19?
- What SQL query are you trying to run?
- Have you tried using EXPLAIN to report how the optimizer treats your
query?
See http://dev.mysql.com/doc/refman/5.0/en/explain.html
- Do other queries run faster?
- Is it consistent that the one query runs slowly and others run faster?
- What client interface are you using (e.g. JDBC, ODBC, C API, etc.)?
- What programming language (e.g. VB, Java, PHP, C++, etc.)?
- Can you show the code you use to open the recordset?
- The expected size of the query result set. 10 rows? 10,000,000 rows?
- What is your machine's processor, and memory?
- What clues can you get from Task Manager about resource usage?
- What other applications may be competing for resources?

Regards,
Bill K.
Mar 28 '06 #2
Joel wrote:

Hi, I just downloaded MySql using Windows XP. It takes at least 30 seconds
to open a recordset. What am I doing wrong? Thanks
Joel

The answer is 42.

many, many other sarcastic remarks removed.

As Robbie the robot says; need more data.
Mar 29 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2317
by: Edg Bamyasi | last post by:
This Is A Late Cross Post from comp.lang.python. It seems the mistery is deeper then i expected. What is the running time of conactination on character strings. i.e. >> joe="123" >> joe+="99999999999999999"
4
7212
by: Mee Yamo | last post by:
Fellas!! This is a very complicated one and it took me a few days to figure out exactly what's going on, but here's the final story: I have a production environment running on .NET with a SQL Server (2000, SP3). The SQL Server is on a dedicated Proliant computer with 2GB RAM (the actual SQLServer.exe process has dynamic memory assignment and can reach up to 1.6GB RAM). Nothing else is running on that specific computer.
0
1383
by: nospam | last post by:
I have a ~ 38 GB table (MyISAM) and am using myisamchk -r to recover it. Its been running for several days now (Win2k). When I go to check it, it seems to have slowed down (sometimes hangs without any CPU usage) and if I press the Enter key several times and just fiddle around on the screen (open task manager, etc.) it seems to "wake-up" myisamchk and it begins to check about 1000 recs every 1 to 2 seconds and happily creeps along. ...
0
387
by: Imran Aziz | last post by:
Hello All, I have developed an ASP.net application using the latest beta release (version 2 beta 2)of dot net using Visual studio .net express edition. I have been testing the application using the debugger and built in web browser, and it works fine on it. But now that I have copied the contents to an IIS 5.1 Server the application runs dead slow, In the Build -> configuration manager I was not able to find an option for release build...
8
2691
by: nickdu | last post by:
I'm trying to isolate "applications" into their own application domain within a single process. I've quoted applications because it's a logical representation of an application. Basically it consists of a bunch of components supplied by some application group. I got this to work, somewhat. The problem is that the application performs roughly (and this has not been measured, but a guess based on the rendering of the application GUI) 10x...
3
1821
by: Patrick Fisher | last post by:
What are the implications of running a MS-Access BE and an SQL-Server BE on the same Terminal Server? Assuming that the TS can handle the load are there any other issues? Thanks Patrick
9
3764
by: Matt Helm | last post by:
I am starting the design phase of a large project (ERP) where the backend will mostly be Python (or Ruby) providing web services. In this type of usage, is there any benenfit to running under Apache as opposed to a pure Python solution using Medusa, TwistedMatrix, or the like? Thanks, Matt
5
2309
by: writeson | last post by:
Hi all, I'm wondering if anyone has tried a scenario that I'm thinking of. At my job we've got a web based product provided by Apache running PHP that accesses MySQL. This web application is hosted by multiple servers behind a load balancer because of the user load on the system. However, we've still had times when the servers got over run and Apache maxes out on the number of httpd processes (257) and falls behind to the point of...
2
9486
by: Vague | last post by:
Hello There, I've recently been working on a large project, very database driven, in C# on windows systems, calling a MySQL database on a linux box. The project is going very well. Except that simple calls that are sometimes instant, will also sometimes take 10 - 20 seconds. If I were to click a button that refreshes a table, 7 times out of 10 it will be instant, the other 3 times it will lag. Some details... All computers that are running...
4
2733
by: plaguna | last post by:
My computer is very slow when some Windows applications are running. I defragmented and fixed bad sectors of the C: drive, I deleted open and running applications through regedit, I removed all the unnecessary programs, cookies, temp files, scanned and fix antivirus. It is slow only with Windows applications, especially with Microsoft Word and Excel. Other applications and Internet browsers run with a reasonable speed. Do you know anything...
0
9721
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9601
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10637
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10379
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10115
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5687
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4332
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3014
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.