WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Database Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Database Discussion Forum This is the place to find help resolving those nagging questions you have about implementing and using all kinds of databases. Need help writing a query? Need an opinion on Oracle? Post here!

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-19-2007, 09:23 AM
dracula's Avatar
dracula dracula is offline
WebProWorld Member
 

Join Date: Jul 2004
Location: Italy
Posts: 32
dracula RepRank 0
Default slow server respons because of too much database requests

Hello all,
We are have a new booking engine and a new webserver. We have the biggest and fastest server pair Networks - World Class Web Hosting could offer however we presently can channel only 30% of our traffic via this server because if we put more he will be to slow. The bottleneck ist the SQL database and the many requests this database has to answer and workover.

The database is on the same server.

Would it help to put our database on a separate server ? or what should we do to get a better performance. Mostly between 7pm and 11pm European (1pm-4pm New York) we encounter a slowdown on the website cheap airline tickets discount flights best airfaire bargain (happy-cars.com and hotelsupermarket.com are on ther same server as well).

Any suggestions? our tech team is claiming that they have over 4 years knowledge of building databases and therefore it can't be them having a badly build SQL database.

thank in advance for our advises.
Reply With Quote
  #2 (permalink)  
Old 01-26-2008, 02:18 PM
Tech Manager Tech Manager is offline
WebProWorld Pro
 

Join Date: Jan 2008
Posts: 177
Tech Manager RepRank 1
Default Re: slow server respons because of too much database requests

You need to start by diagnosing the problem using some actual data. While I can assume SQL is the cause for you slowdown, this isn't necessarily true. Take a close look at your server logs and run some diagnostic tests that actually measure the slowdowns and provide you with a look at the programs that may be culprits.

SQL is often accused of causing problems that it did not cause. Sometimes it is bad database or query design. Sometimes it is lack of resources on the individual server. If the problem is SQL you may solve it by using a backend server or setting up load balancing.

In the interim examine all the variables and look at the appropriate diagnostic data to help with your troubleshooting.
__________________
I use Country IP Blocks as added security for my networks and servers.
Reply With Quote
  #3 (permalink)  
Old 01-27-2008, 04:13 AM
dracula's Avatar
dracula dracula is offline
WebProWorld Member
 

Join Date: Jul 2004
Location: Italy
Posts: 32
dracula RepRank 0
Default Re: slow server respons because of too much database requests

thanks for this information Tech Manager, we did have a look at all said and could now bring down the computer load drastically and its going smooth again.
Your input was very helpful.
Thanks again
Rudi
Reply With Quote
  #4 (permalink)  
Old 01-27-2008, 10:12 AM
Tech Manager Tech Manager is offline
WebProWorld Pro
 

Join Date: Jan 2008
Posts: 177
Tech Manager RepRank 1
Default Re: slow server respons because of too much database requests

Quote:
Originally Posted by dracula View Post
thanks for this information Tech Manager, we did have a look at all said and could now bring down the computer load drastically and its going smooth again.
Your input was very helpful.
Thanks again
Rudi
I am pleased I could help.

Good luck.
__________________
I use Country IP Blocks as added security for my networks and servers.
Reply With Quote
  #5 (permalink)  
Old 04-01-2008, 05:23 PM
netman4ttm's Avatar
netman4ttm netman4ttm is offline
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Virginia
Posts: 381
netman4ttm RepRank 0
Default Re: slow server respons because of too much database requests

What OS are you running?
The Linux kernel now defaults to completely fair queing which might be great for a desktop but is often stupid for a server. This can be altered at boot time and possibly if you build your own kernel.
We dumped Linux for FreeBSD 7.0 with the new ULE scheduler running a stand alone version of MySQL.
We also made MySQL run -10 in "nice"
The application is Vicidial so even though "MySQL claims 30% better performance running on the same server as the application, that was not viable as Asterisk does not play well with others.
__________________
"The future is here. It's just not evenly distributed.
Reply With Quote
  #6 (permalink)  
Old 04-01-2008, 05:34 PM
netman4ttm's Avatar
netman4ttm netman4ttm is offline
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Virginia
Posts: 381
netman4ttm RepRank 0
Default Re: slow server respons because of too much database requests

Dracula,

You might also try not normalizing data. I learned all the reasons for normalizing but lately a lot of experts are looking at reducing the complexity of queries by not normalizing.
I wish I knew more but it might be worth a Google search.
__________________
"The future is here. It's just not evenly distributed.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Database Discussion Forum
Tags: database, overload, responding, server, sql



Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Database and Server mirroring for security / redundancy docholiday Internet Security Discussion Forum 0 02-27-2006 02:09 PM
Slow Server Problems / EmmaGale IT Discussion Forum 3 02-22-2006 02:41 PM
Multiple Vulnerabilities in Oracle Database Server WPW_Feedbot IT Discussion Forum 0 01-18-2005 06:30 PM
Slow CF Server response wasmir Database Discussion Forum 5 11-20-2004 12:54 PM
Flash Access of a MSaccess or SQL Server database tdrossos Flash Discussion Forum 1 01-06-2004 11:06 AM


Search Engine Friendly URLs by vBSEO 3.0.0