Re: Queries taking 60 seconds+

2004-11-11 Thread John Wards
Right thanks for all the tips the 3 column index has done the job, queries coming back in 0.7 secconds now which is just the job before they get cached. Don't know how I missed that one as it was abovious...i even tried countyid and old...forgot about price.. John -- MySQL General Mailing List

Re: Queries taking 60 seconds+

2004-11-11 Thread John Wards
On Thu, 2004-11-11 at 15:51, mos wrote: > John, > Create a second table (MyISAM) but this time don't use compression > on the table. > > create table newtable select * from oldtable; > Right will run that just now, good idea...just have to avoid the wife as no doubt it will bog the sit

Re: Queries taking 60 seconds+

2004-11-11 Thread John Wards
On Thu, 2004-11-11 at 15:45, Jigal van Hemert wrote: > `price` is still in the ORDER BY, so removing it only from the WHERE clause > will not help really. No the query I ran didn't have an order by clause (sorry if the one I pasted did..) > - create an INDEX on the columns in the WHERE clause _an

RE: Queries taking 60 seconds+

2004-11-11 Thread John Wards
On Thu, 2004-11-11 at 14:37, Andy Eastham wrote: > Have you got a single multi-column index on countyid, price and old, or do > you have individual indexes on each of these fields? The former would be > much better. Its a single column on countyid, when I ran a select and just used countyid = in

Query Problem, Confused by Left Join.

2003-08-06 Thread John Wards
mentioned in news_x_cat or not and if they don't have any data with in news_x_cat I need this bit padded out with NULLs. Any ideas where I am going wrong? Cheers John Wards -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysq

Copy Database?

2003-05-28 Thread John Wards
g way of doing it. I had a search on the mysql.com site but can't find anything. Any ideas? Cheers John Wards SportNetwork.net -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Trying to Learn MySQL/PHP with Dreamweaver

2003-04-02 Thread John Wards
t; PHP Web Development. Need to see you code before I could comment one way or the other. Also this sounds like a PHP problem more than a MySQL one Cheers John Wards SportNetwork.net -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: FreeBSD + MySQL bottleneck

2003-03-14 Thread John Wards
n query caching, that what I would recomend. Cheers John Wards SportNetwork.net - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request

Re: MySQL memory usage

2003-03-07 Thread John Wards
Hmmm I would say other than upgrading your hardware try upgrading to mySQL 4. and turn on query caching. The difference it has made to our server is unbelivable! We have found no problems with it so far. John - Before posting,

Re: MySQL memory usage

2003-03-07 Thread John Wards
ng an extra 1Gb of ram, before we take the chance and purchase the > expensive PC800-RIMMS. If you could provide me with your MySQL version and your OS I can advise a bit more. We had major problems with slow mysql up until a few days ago which we have now solved, depending on your set

Re: very slow mysql server, help please

2003-03-06 Thread John Wards
ing on. I would say try installing linuxthreads then recompile your current version of mySQL to have linuxthread support. If that doesn't work try upgrading to 4. HTH Cheers John Wards SportNetwork.net - Before posting, p

Re: CPUUsage

2003-02-25 Thread John Wards
is running about 20-30% on the same box. I achevied this by adding proper indexes and also using sessions and cookies to store constantly used data. > Upgrading from 3.23.43 (current version) to 4.x version will help?, any > advice will help. Query caching may help Cheers John Ward

Re: With or Without PHP

2003-02-20 Thread John Wards
On Thursday 20 Feb 2003 3:07 pm, Andrew wrote: > Is there an equivalent lsit as this that also deals with PHP. www.php.net have a look through their mailing lists. the General one is good for tech questions. > As a matter of interest can I have a show of hands for all those using PHP > with MySQ

Query Problem...

2002-12-16 Thread John Wards
'story.longheadline' that correlates with the "MAX(story.stid)" Any clues? I'm lost Cheers John Wards - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://list

Re: Weird error message

2002-09-05 Thread John Wards
Yup I used repair table as well. Also I have resarted mysql and that made no difference John - Original Message - From: "Karthik" <[EMAIL PROTECTED]> To: "John Wards" <[EMAIL PROTECTED]> Sent: Thursday, September 05, 2002 11:11 AM Subject: Re: Weird err

Weird error message

2002-09-05 Thread John Wards
d. I have tried explain, check and analyse and everything seems normal. Any clues? Cheers John Wards SportNetwork.net - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.co

Re: JAMES KADEH mysql !

2002-08-28 Thread John Wards
wow...do you think this is real.we could all be rich!...:-P - Original Message - From: "James Kadeh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 28, 2002 3:34 PM Subject: JAMES KADEH mysql ! > mysql , > > My dear, > > Good day, I wish to introduce

Re: Re: temp tables

2002-08-21 Thread John Wards
Is their anyway of finding out what queries are causing tmp tables to write to disk? Cheers John Wards - Original Message - From: "Egor Egorov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 21, 2002 3:40 PM Subject: Re: Re: temp tables > J

Re: temp tables

2002-08-20 Thread John Wards
Ta, But is it normal to have Temp table bigger than 10meg? And a lot of them? Here is my latest data from STATUS Created_tmp_disk_tables 46598 Created_tmp_tables 87839 Uptime 81773 And I have set tmp_table_cache to 10M I know I could just up the tmp_table_size but I am more concerned about the

temp tables

2002-08-20 Thread John Wards
Hi, MySQL is creating about 50% of temp tables on disk and this is with 10Meg of temp table cache. Is this normal? and sould I up temp table cache further. Below is the output from SHOW STATUS Cheers John Wards SportNetwork.net Var Name Value Aborted_clients 19559

Slow Log

2002-08-15 Thread John Wards
I am having problems with mysql loggin slow queries. I have set up mysql.sh like this log_dir=/home/admin/slow_slog.log $bindir/safe_mysqld --datadir=$datadir --pid-file=$pid_file --log-slow-queri es=$log_dir & That is all I have changed and re started mysql. but no slow_slog.log file has been

persistent connections timeout

2002-08-14 Thread John Wards
I have read somewhere that persistent connections in MySQL have a default timeout of 8 hours. How would I reduce this? Cheers John Wards SportNetwork.net - Before posting, please check: http://www.mysql.com/manual.php

Persisten Connections

2002-08-14 Thread John Wards
ile or the phorum message board system. Thanks in advance John Wards - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thre

Re: MySQL eating processer

2002-08-13 Thread John Wards
also some of the queries are copying to a tmp table and i know this aint good! but I can't see the full query in show processlist how do you do this. Cheers John - Original Message - From: "John Wards" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesd

MySQL eating processer

2002-08-13 Thread John Wards
start! Cheers John Wards SportNetwork.net - 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 PROTEC

Help! Urgent!

2002-08-13 Thread John Wards
s for any Help John Wards SportNetwork.net - 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 P