Database Connections

This is a discussion on "Database Connections" within the Hosting & Domains section. This forum, and the thread "Database Connections are both part of the Hosting Related category.



Go Back   Webforumz.com > Main Forums > Hosting Related > Hosting & Domains

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Aug 13th, 2007, 18:16
Marc's Avatar
Moderator

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Age: 15
Posts: 1,649
Thanks: 0
Thanked 8 Times in 8 Posts
Send a message via MSN to Marc Send a message via Skype™ to Marc
Database Connections

Hello,

I am hosted with site5 and i am limited to "All MySQL users are
restricted to 15 concurrent connections.". I am about to host a forum
with about 200 members, Does this mean only 15 users will be able to
view my forum's threads at one given time?

Cheers,
Marc
Reply With Quote

  #2 (permalink)  
Old Aug 13th, 2007, 18:24
Marc's Avatar
Moderator

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Age: 15
Posts: 1,649
Thanks: 0
Thanked 8 Times in 8 Posts
Send a message via MSN to Marc Send a message via Skype™ to Marc
Re: Database Connections

Oops.. Forgot this.

Link to usage Policies: http://wiki.site5.com/Resource_Usage_Policies
Reply With Quote
  #3 (permalink)  
Old Aug 13th, 2007, 22:07
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: Database Connections

I'm pretty sure you can,
mysql queries take seconds.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #4 (permalink)  
Old Aug 14th, 2007, 09:04
SuperMember

SuperMember
Join Date: May 2006
Location: North West, UK
Age: 22
Posts: 1,173
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Database Connections

You won't have a problem, I wouldn't imagine. Each member won't have an individual connection to the db, it doesn't quite work like that. I would have though 15 concurrent connections would be enough for most online apps.

Pete.
Reply With Quote
  #5 (permalink)  
Old Aug 14th, 2007, 11:02
1840dsgn's Avatar
SuperMember

SuperMember
Join Date: Jun 2007
Location: Canterbury
Age: 19
Posts: 720
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Database Connections

Yea I eman - for a company the isze of Site5 it would be a ridiculous limit to put on.

Even if you weren't hosting a forum - only being allowed 15 people to view your php based portfoilio or blog at a time would be stupid and they would never sell a hosting package with that limitation I don't think.
Reply With Quote
  #6 (permalink)  
Old Aug 14th, 2007, 11:13
SuperMember

SuperMember
Join Date: May 2006
Location: North West, UK
Age: 22
Posts: 1,173
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Database Connections

I think that you would have to be connecting to different databases at the same time to even use more than one of your allotted connections. I really wouldn't worry about it unless you're thinking of implementing a major online app and then you should be on a dedi server anyway so no problems.

Pete.
Reply With Quote
  #7 (permalink)  
Old Aug 14th, 2007, 11:50
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: Database Connections

with this:
No single database may exceed 2 GB disk space.

I don't think they would only let 15 people use it at a time if they give you a ridiculous amount for a database
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #8 (permalink)  
Old Aug 14th, 2007, 12:43
Junior Member
Join Date: Aug 2007
Location: London
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Database Connections

Given that a server could easily be hosting several hundred sites at least, limiting connections makes some sense. This may or may not be an issue for you, but you might get away with it. Unless there is a problem with your forum application, most queries should be very quick, although some forum software makes make quite a few queries for each page request, which does increase the probability of exceeding the limit. Searches are likely to be the longest running queries, and this could be where any problem shows up.

However you say that the forum has 200 members, and whilst that may grow, only a fraction will be active at any one time. If it were an average of 200 active users then this would be a different matter.
Reply With Quote
  #9 (permalink)  
Old Aug 16th, 2007, 20:30
Marc's Avatar
Moderator

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Age: 15
Posts: 1,649
Thanks: 0
Thanked 8 Times in 8 Posts
Send a message via MSN to Marc Send a message via Skype™ to Marc
Re: Database Connections

Ok, ill put it up and give it a try, and if that fails i will more than likely be looking for a VPS. Anyone reccommend? The cheaper the better
Reply With Quote
  #10 (permalink)  
Old Aug 17th, 2007, 11:46
Junior Member
Join Date: Jan 2007
Location: North Caroline
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Database Connections

If you need recommendations for VPS services, check
http://www.a2hosting.com/vps_hosting.php
http://www.myriadnetwork.com/services/vds.php
Reply With Quote
  #11 (permalink)  
Old Aug 17th, 2007, 16:08
Marc's Avatar
Moderator

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Age: 15
Posts: 1,649
Thanks: 0
Thanked 8 Times in 8 Posts
Send a message via MSN to Marc Send a message via Skype™ to Marc
Re: Database Connections

Thanks, keep em' coming!
Reply With Quote
  #12 (permalink)  
Old Aug 17th, 2007, 19:19
JustinStudios's Avatar
SuperMember

SuperMember
Join Date: Mar 2007
Location: USA
Posts: 406
Blog Entries: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to JustinStudios
Re: Database Connections

OK guys, to answer your question about this it is probably stating that only 15 connections at the same time can be made to the database. Seeing as how Microsoft's Access doesn't even allow half that many connections and some extremely large forums run off of an Access database, I doubt you'll have any problems. Just make sure you remember to close your connections to the database in your code. Usual access times are so low you'd probably have to have 1 million people all clicking a button at the same time in order for 15 to query at once anyways. So its highly unlikely. Good programmers will always put in a "could not connect" clause to let their user know they need to try again anyways.

EDIT: Added Database users...

Every database is assigned a "user" who can access this database. It's like loggin in to the database and each user can have 15 concurrent connections. So the above message I entered I am almost 100% sure that is what they are talking about. You can define your user in your control panel with your host and that is the username and password that you use to connect to the database, which everyone will be using the same username to connect to the database as its not something the user enters but is instead coded into the website.

Last edited by JustinStudios; Aug 17th, 2007 at 19:24.
Reply With Quote
  #13 (permalink)  
Old Aug 18th, 2007, 09:50
Marc's Avatar
Moderator

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Age: 15
Posts: 1,649
Thanks: 0
Thanked 8 Times in 8 Posts
Send a message via MSN to Marc Send a message via Skype™ to Marc
Re: Database Connections

Ok, cheers people.

I probubly should have told you's this earlier, i am using a vBulletin forum.
Reply With Quote
Reply

Tags
site5, database, connections

Thread Tools

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

BB 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
secure connections nightmares E-Commerce and Business 4 Nov 26th, 2007 23:10
Database? SpickenSpanDesign PHP Forum 18 Dec 12th, 2006 19:07
XML Code for transfering data from one SQL Server Database to another database plolla Other Programming Languages 1 Aug 3rd, 2006 18:37
database help... BongMaster Databases 1 Dec 6th, 2005 07:38


All times are GMT. The time now is 08:29.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43