473,471 Members | 4,629 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Parallel query processing in MySQL

1 New Member
Hello,

I would like to know whether MySQL supports parallel query processing on server with two CPUs? If so, where can I find information on how to write such queries.
Thanks
Jul 20 '07 #1
2 7261
mwasif
802 Recognized Expert Contributor
I don't think this is available in MySQL. I found this thread on mysql.net. [url=http://www.mysql.com/news-and-events/news/article_901.html]MaxDB[url] has this support.
Jul 20 '07 #2
pbmods
5,821 Recognized Expert Expert
Heya, vkvkvk.

I suppose you could run two instances of mysqld on the same server, open two connections in your application, and attempt to run two queries concurrently.

The problems with this, though, are:
  • mysqld checks for other running instances of mysqld, so you'd have to do something... unsupported... to get it to work.
  • With two instances of mysqld running, you'll probably experience data corruption at some point, since mysqld was never designed to run more than one instance at a time.
  • Many programming languages do not support threading, so your script would wait for the first query to finish before starting the second one anyway.

Now you could in theory set up a MySQL Cluster, but pretty much for the reasons above, you'd need at least 3 separate computers, and at that point, the overhead would just about outweigh any benefits. At least, when it came to trying to make MySQL use some kind of threading.
Jul 22 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

13
by: aaron | last post by:
I have a question about (i think) joining. If I have a table in a database that has this info: key - name - favorite 1 - john - 2 2 - judy - 3 3 - joe - 1 the favorite icecream...
0
by: Matt Weakly | last post by:
Greetings: My MySQL (4.1.0 alpha) server crashes while processing large queries from a web page (using ColdFusion 5.0): ODBC Error Code = S1000 (General error) Lost connection to MySQL server...
2
by: opt_inf_env | last post by:
Hello, On my server users have access to MySQL database (through PHP). What I would like to avoid is parallel execution of commands. I mean, if one user run some sequence of command the sequence...
4
by: Mark D Powell | last post by:
SQL Server 2000 SP3A Last week one of our processes starting issuing or suffering deadlock detected errors every 15 minutes or so. I have read several articles at MS on the subject. I set a...
25
by: frizzle | last post by:
Hi there, I have a mySQL system with a news publishing part in it: Admins can create new items with text in it, and they have an option to create 'fulltexts', so you'd get "read more ..." on the...
4
by: sesling | last post by:
I currently use an SQL command line that utilizes parallel threads. ex. select /*+ PARALLEL (ACCOUNT 20) */ Account_ID, Customer_Name, Add_Date from Customer_Info. By running this query using...
5
by: George Sakkis | last post by:
I'm looking for any existing packages or ideas on how to implement the equivalent of a generator (in the Python sense, i.e. http://www.python.org/dev/peps/pep-0255/) in a parallel/distributed way....
3
by: John | last post by:
I have a program that needs to run on a regular basis that looks at a queue table in my database. If there are items in the queue database I need to grab the data from the database and pass it to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.