MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old August 23rd, 2007, 04:28 AM
piyushnewe piyushnewe is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2007
Posts: 1 piyushnewe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 22 sec
Reputation Power: 0
MySQL Connections

Hi,

I am using MYSQL 5.0 server. I am facing some problem in my application. Please consider following scenario.

I have one application, which is firing 1000 threads and each thread is connecting to the *same* Mysql Database. Once all threads gets connected, each of them is firing a SELECT query at the *same time*. I am calculating the time for each SELECT takes. There are 4 joins in the SELECT query (it is a big join with some lacks of records). I am getting the timings as 6000 Secs or so. I am using MYSQL++ library API's.

Databaes size = 10gb
I have following variables set in /etc/my.cnf

max_allowed_packet=100000000
max_connections=10000
join_buffer_size=5M


My question is
1. Does these timings are realistic?
2. Does MYSQL server supports 1000 connections at-a-time? If yes, Where I can see the limit?
3. Does SELECT have any optimization method so that the timings gets reduced?

Please get back to me ASAP. Also feel free if you need some more information.

Thanks,
-Piyush

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > MySQL Connections


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT