1) How large the data base is it? how many records?
2) Are you using index?
I has tested MySql serving with Pentium II 266 with Windows 98 2da. Ed.
operating System and with one table consisting of 762000 records. Even
before I indexed the database, speed of MySql was great. Of course, after
table was indexed MySql speed up.
I remember, once time before I had slows queries from MySql (too slow) until
I re-install Windows in my work station computer. maybe some systems files
was damaged.
>From: Carl Schrader <[EMAIL PROTECTED]>
>To: Mysql <[EMAIL PROTECTED]>
>Subject: Speed question
>Date: Wed, 16 May 2001 08:08:15 -0700
>
>I am searching to speed up an operation I have, which works - it just
>takes minutes to finish. The current script is written in pike (a C like
>scripting language). I believe that most of the overhead is the multiple
>queries. Would using C++ be significantly faster? (I'd have to learn
>some C before I could do this, so, the speed increase needs to be worth
>the effort).
>
>Let me explain the situation:
>
>Table 1 is defined as:
>MM;varchar(4)
>Title;varchar(48)
>Archive;varchar(4)
>record_num;int(8) unsigned zerofill
>
>I am given a list of Titles. With these Title's I need to search Table 1
>for the Title and output as follows:
>
>Green Mile 10 35mm TRLR 6 16mm BCAM
>Cast Away 4 35mm 20 BETA
>
>In the above example, Green Mile=Title 35mm=MM TRLR=Archive etc. So we
>have 10 35mm TRLR of Green Mile.
>Currently I am querying several times to get the result. This is slow
>because the list could be 50 Titles.
>
>Thanks for any advance you can give on this.
>
>
>
>
>
>---------------------------------------------------------------------
>Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
>To request this thread, e-mail <[EMAIL PROTECTED]>
>To unsubscribe, e-mail
><[EMAIL PROTECTED]>
>Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php