Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
[Solved] SQL Question
Post new topic   Reply to topic View previous topic :: View next topic
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
[Solved] SQL Question
PostPosted: 08/31/2007 6:52 AM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 9:56 PM
greatbrE.gif
Just reading the instructions above again...if I have SQL queries all doing different things to different tables can I run them all together at the same time?
I've been doing them all individually, and opening up each table if necessary  Shocked I'm still a bit weary of anything involving databases  Embarassed


Last edited by Karen on 09/01/2007 10:52 AM; edited 1 time in total
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: SQL Question
PostPosted: 08/31/2007 3:59 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 5:56 PM
Location: St Pete, FL
peace.gif
SQL is single threaded, meaning that it has to complete on query before it can move on to the next.  So you can run them all at once, but in reality, they are running one at a time.  It won't hurt to run 1000 queries at the same time.  The server will handle them in the order that they arrive...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: SQL Question
PostPosted: 08/31/2007 4:11 PM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 9:56 PM
greatbrE.gif
Great thanks!
That will save some time then  headbang
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: SQL Question
PostPosted: 08/31/2007 5:40 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 5:56 PM
Location: St Pete, FL
peace.gif
Yes, it should save you time if you were running them one at a time.  That could get old real fast...

Shocked
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours

Page 1 of 1


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0619s (PHP: 61% - SQL: 39%) - SQL queries: 40 - GZIP disabled - Debug on