MySQL Forums
Forum List  »  Performance

Re: scaling performance vs number of CPUs
Posted by: Scott Koranda
Date: September 23, 2005 10:50PM

Thanks for the input.

Yes, the queries are examining similar ranges of data. The data is essentially time ordered on one colum with the other columns being different. Each of the 25 queries is examining the same time range on the time ordered column but sampling differnt values for the other columns. Since the data goes into the table in time order it is almost assured that the queries are for the most part examining similar ranges of data.

I looked into next-key locks and read about transaction isolation levels. I did

SET GLOBAL TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;

hoping that SELECT....FROM... will not set any next-key locks. Unfortunately it did not help, so I think next-key locks may not be the problem. Is there a way I can tell for sure?

I am issuing the requests by simply breaking the 25 queries up into 4 files and then doing

time mysql --user=dbuser --password=PASSWORD < query-set-0i.sql > out.i

where 'i' is 1 through 4 (each query set in a different bash shell).

Any other thoughts?

Options: ReplyQuote


Subject
Views
Written By
Posted
1992
September 23, 2005 12:02PM
1422
September 23, 2005 04:26PM
Re: scaling performance vs number of CPUs
1443
September 23, 2005 10:50PM
1360
September 25, 2005 07:57AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.