473,387 Members | 1,583 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Website/PHP App on One Server; MySQL DB on a Different Server - Feasible?

I apologize for what is probably a "stupid", uninformed question but
here goes...

I just inherited an ASP site project currently running off of a
Microsoft Access DB which I'd really like to convert to MySQL/PHP.
The only problem is that the site's host only supports Microsoft
Access and SQL DBs. MS SQL is simply not an option for us at this
time and the site is getting enough traffic that Access's 10
concurrent connection limitation is going to start to become an issue
in a hurry. This client recently renewed their annual subscription
for hosting services from the aforementioned provider so switching
hosts is not an option at this time.

I'd like to convert the Access DB to MySQL and host the DB on my
host's server while maintaining the asp/php site on the current host's
box but am worried that it will dramatically increase the time it
takes to process the asp/php scripts. It this sort of setup generally
frowned upon? Is there any way of estimating script processing time
without implementing the setup I've described and testing it
thoroughly? I should mention that the script is a very basic "SELECT"
query that simply pulls info from a database; it is nothing complex or
extremely taxing resource, server or bandwidth wise. Am I completely
off my rocker?

Any advice or input would be greatly appreciated. TIA

JP
Jul 17 '05 #1
5 1719
On 5 Feb 2004 09:06:57 -0800, lo*****@yahoo.com (Jake) wrote:
I'd like to convert the Access DB to MySQL and host the DB on my
host's server while maintaining the asp/php site on the current host's
box but am worried that it will dramatically increase the time it
takes to process the asp/php scripts. It this sort of setup generally
frowned upon? Is there any way of estimating script processing time
without implementing the setup I've described and testing it
thoroughly? I should mention that the script is a very basic "SELECT"
query that simply pulls info from a database; it is nothing complex or
extremely taxing resource, server or bandwidth wise. Am I completely
off my rocker?


Actually, separating database and web servers between two separate machines is
one approach to speed things up, given a sufficiently fast network link. If
it's busy enough that PHP/webserver and the database are both contending for
resources, giving them each their own machines can improve performance.

Just make sure the network connection doesn't become a worse bottleneck. If
you're running the database connection over the Internet though, rather than a
LAN between the two, that would be pretty dodgy, from both performance and
security points of view.

--
Andy Hassall <an**@andyh.co.uk> / Space: disk usage analysis tool
<http://www.andyh.co.uk> / <http://www.andyhsoftware.co.uk/space>
Jul 17 '05 #2
Andy Hassall wrote:
On 5 Feb 2004 09:06:57 -0800, lo*****@yahoo.com (Jake) wrote:
I'd like to convert the Access DB to MySQL and host the DB on my
host's server while maintaining the asp/php site on the current host's
box but am worried that it will dramatically increase the time it
takes to process the asp/php scripts. It this sort of setup generally
frowned upon? Is there any way of estimating script processing time
without implementing the setup I've described and testing it
thoroughly? I should mention that the script is a very basic "SELECT"
query that simply pulls info from a database; it is nothing complex or
extremely taxing resource, server or bandwidth wise. Am I completely
off my rocker?


Actually, separating database and web servers between two separate
machines is
one approach to speed things up, given a sufficiently fast network link.
If it's busy enough that PHP/webserver and the database are both
contending for resources, giving them each their own machines can improve
performance.

Just make sure the network connection doesn't become a worse bottleneck.
If
you're running the database connection over the Internet though, rather
than a LAN between the two, that would be pretty dodgy, from both
performance and security points of view.


You could set up a secure tunnel between the two using stunnel
(http://www.stunnel.org/), or use SSH (extra bonus being that you could
also use compression).

That would take care of the security. Perhaps using persistent connections
may improve the speed.

Cheers

Dave P

--
David Precious
http://www.preshweb.co.uk/

Jul 17 '05 #3
Hi Jake!
On 5 Feb 2004 09:06:57 -0800, lo*****@yahoo.com (Jake) wrote:
I apologize for what is probably a "stupid", uninformed question but
here goes...

I just inherited an ASP site project currently running off of a
Microsoft Access DB which I'd really like to convert to MySQL/PHP.
The only problem is that the site's host only supports Microsoft
Access and SQL DBs. MS SQL is simply not an option for us at this
time


Can you get into more detail on that? I'm happily using this
combination and it gives you some more options with reporting
(subqueries) and programming structure (by using views and stored
procedures)

HTH, Jochen
--
Jochen Daum - CANS Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces.
http://sourceforge.net/projects/phpdbedittk/
Jul 17 '05 #4
Greetings...

"Jochen Daum" <jo*********@cans.co.nz> wrote in message
news:ej********************************@4ax.com...
Hi Jake!
On 5 Feb 2004 09:06:57 -0800, lo*****@yahoo.com (Jake) wrote:
I just inherited an ASP site project currently running off of a
Microsoft Access DB which I'd really like to convert to MySQL/PHP.
The only problem is that the site's host only supports Microsoft
Access and SQL DBs. MS SQL is simply not an option for us at this
time


Can you get into more detail on that? I'm happily using this
combination and it gives you some more options with reporting
(subqueries) and programming structure (by using views and stored
procedures)

HTH, Jochen
--
Jochen Daum - CANS Ltd.


We simply don't have the financial means necessary to implement a MS SQL
solution at this time. Thanks for your and everyone's comments!

JP
Jul 17 '05 #5
Hi!

We simply don't have the financial means necessary to implement a MS SQL
solution at this time. Thanks for your and everyone's comments!

I read it wrong the first place. I thought you had SQL Server already.
Wouldn't have suggested it otherwise.

Jochen
--
Jochen Daum - Cabletalk Group Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces.
http://sourceforge.net/projects/phpdbedittk/
Jul 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Bozo Schmozo | last post by:
Greetings! I've searched groups.google.com already to see if I can determine if using PHP/MySQL (if needed) for a web site I wish to develop. As the subject indicated, it will be a content...
3
by: Python Baby | last post by:
I've got a database-driven website that's written entirely in PHP. It's all pretty MVC : NOT embedded little calls inside HTML, but rather little controller apps in the webroot that merge data...
13
by: Colin Jones | last post by:
Hi - I have recently finished and launched a new website, which I am trying to make accessible and standards compliant. I have checked it with various online validators and it seems to come...
2
by: jim west via SQLMonster.com | last post by:
I have website problems with mySQL data base, I have a website and was told the only way to change my password is within my SQL data base files and that it would be over my head buy the site maker,...
83
by: D. Dante Lorenso | last post by:
Trying to use the 'search' in the docs section of PostgreSQL.org is extremely SLOW. Considering this is a website for a database and databases are supposed to be good for indexing content, I'd...
2
by: David | last post by:
SUMMARY: If you don't want to read all of this, what I'm looking for more or less is ideas on how to implement websites using ASP.NET that have a templated look and feel and many pages that make...
110
by: alf | last post by:
Hi, is it possible that due to OS crash or mysql itself crash or some e.g. SCSI failure to lose all the data stored in the table (let's say million of 1KB rows). In other words what is the worst...
4
by: Ross | last post by:
Hello, I am trying to Read and Write to a text file on a web server using Microsoft Visual Basic 2005 Express Edition. So far I have managed to complete my testing with a local text file using...
25
by: pereges | last post by:
Hello, I'm trying to build a database driven website for a library management system. The database is stored on a remote server which all of my team mates can access. I've installed MySQL, PHP and...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.