472,976 Members | 1,233 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

MS SQL vs PostgreSQL

Hello :)

I'm working on an internet application with MS.Net client program, which is
supposed to communicate with database through PHP or ASP-based webservice.

The database is to hold up to 20-30 mln records in less then hundred
tables; most of the tables (holding up to 80% of all data) will be updated
quite rarly (e.g. once a week several record will be added or changed), the
others will be updated nightly (with big amount of new data replacing old)
when the service is to be down; then all reindexing and vacuuming will be
also performed.

Queries - concerning almost only numeric data (but some of them also with
strings research) - will be quite complex (involving up to 20 tables with a
lot of JOINs, GROUP BYs, ORDER BYs,) and will return up to 2000-3000 record
containing up 50-70 fields each. Numer of users is estimated to 200-300,
numer of queries per hour - to 1000-10000.

I'm considering two software configurations to accomplish this tasks:

1) Windows-based: with ASP and MS-SQL Server;
2) Linux-based: with PHP and PostgreSQL.

In case of Linux-based configuration I'll be able to invest a little bit
more into hardware (as I save a nice sum of money not buying MS products).

What are the pros and cons of each of the configurations? Do you know
business application examples for these configurations? What are the
deferences between the two database servers that can become important in
this case? How important are performance differences? What about
security/stability/backup creation? Any other suggestions / valuable
readings?

I'll appreciate any opionions / information; if needed, I'll try to provide
more details.

TIA, best regards

Dominik Flejter
Jul 19 '05 #1
2 8153
Hi :)
I have used postgresql RDBMS in bussines environment for last 4 years.
I'm shure that this database will exceed all of your expectations. I
have used it
mainly with C/C++ and php programs and I am perfectly satisfied from
stability performance and posibilities.

Dominik Flejter <ga*************@bijSPAMERA.poczta.onet.pl> wrote in message news:<4j****************************@40tude.net>.. .
Hello :)

I'm working on an internet application with MS.Net client program, which is
supposed to communicate with database through PHP or ASP-based webservice.

The database is to hold up to 20-30 mln records in less then hundred
tables; most of the tables (holding up to 80% of all data) will be updated
quite rarly (e.g. once a week several record will be added or changed), the
others will be updated nightly (with big amount of new data replacing old)
when the service is to be down; then all reindexing and vacuuming will be
also performed.

Queries - concerning almost only numeric data (but some of them also with
strings research) - will be quite complex (involving up to 20 tables with a
lot of JOINs, GROUP BYs, ORDER BYs,) and will return up to 2000-3000 record
containing up 50-70 fields each. Numer of users is estimated to 200-300,
numer of queries per hour - to 1000-10000.

I'm considering two software configurations to accomplish this tasks:

1) Windows-based: with ASP and MS-SQL Server;
2) Linux-based: with PHP and PostgreSQL.

In case of Linux-based configuration I'll be able to invest a little bit
more into hardware (as I save a nice sum of money not buying MS products).

What are the pros and cons of each of the configurations? Do you know
business application examples for these configurations? What are the
deferences between the two database servers that can become important in
this case? How important are performance differences? What about
security/stability/backup creation? Any other suggestions / valuable
readings?

I'll appreciate any opionions / information; if needed, I'll try to provide
more details.

TIA, best regards

Dominik Flejter

Jul 19 '05 #2
In a recent class I took at school about databases, the professor had
us use a remote instance of SQL server to do our projects. It had to
be remote because our campus had totally closed off the port which SQL
server uses by default because of some of the common attacks which
crackers commonly use against it. Then one day our remote SQL server
also came under attack and had to be shut down for several days.
During those several days, I took my scripts to create my database,
database tables, insert statements, user defined domains, etc and
modified them to work (much more SQL standards compliant I might add)
with PostgreSQL. I got everything loaded into Postgres and was able
to continue work my project while other students were probably left
waiting for the attack on the remore SQL server to end. I love
PostgreSQL. :)
w.k.

On Wed, 14 Apr 2004 14:52:57 +0100, Dominik Flejter
<ga*************@bijSPAMERA.poczta.onet.pl> wrote:
Hello :)

I'm working on an internet application with MS.Net client program, which is
supposed to communicate with database through PHP or ASP-based webservice.

The database is to hold up to 20-30 mln records in less then hundred
tables; most of the tables (holding up to 80% of all data) will be updated
quite rarly (e.g. once a week several record will be added or changed), the
others will be updated nightly (with big amount of new data replacing old)
when the service is to be down; then all reindexing and vacuuming will be
also performed.

Queries - concerning almost only numeric data (but some of them also with
strings research) - will be quite complex (involving up to 20 tables with a
lot of JOINs, GROUP BYs, ORDER BYs,) and will return up to 2000-3000 record
containing up 50-70 fields each. Numer of users is estimated to 200-300,
numer of queries per hour - to 1000-10000.

I'm considering two software configurations to accomplish this tasks:

1) Windows-based: with ASP and MS-SQL Server;
2) Linux-based: with PHP and PostgreSQL.

In case of Linux-based configuration I'll be able to invest a little bit
more into hardware (as I save a nice sum of money not buying MS products).

What are the pros and cons of each of the configurations? Do you know
business application examples for these configurations? What are the
deferences between the two database servers that can become important in
this case? How important are performance differences? What about
security/stability/backup creation? Any other suggestions / valuable
readings?

I'll appreciate any opionions / information; if needed, I'll try to provide
more details.

TIA, best regards

Dominik Flejter


Jul 19 '05 #3

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

Similar topics

1
by: Otis Green | last post by:
Vote for or against a new newsgroup proposal. To summarize what you need to do, just send an empty e-mail to postgresql-ballot@netagw.com You will receive a ballot by e-mail. Follow the...
1
by: Mateusz [PEYN] Adamus | last post by:
Hi I'm a developer currently wondering which DB choose for my next project. I looked on the net found ofcourse Oracle but also came up with PostgreSQL. I heard quite few things about it, all...
0
by: Bill J. | last post by:
I have to update a PostgreSQL linked server through MSSQL2K. I first configured the connection with ODBC as follows and I can do queries with no problem: EXEC sp_droplinkedsrvlogin @rmtsrvname...
0
by: Bill J. | last post by:
I have to update a PostgreSQL linked server through MSSQL2K. I first configured the connection with ODBC as follows and I can do queries with no problem: EXEC sp_droplinkedsrvlogin @rmtsrvname...
0
by: ruhunu Gamarala | last post by:
Hi, I get the following exception periodically. does anybody what is the reason for it to throw this exception? I really appriciate if anyone can help me on this. thanks, Chinthaka at...
0
by: greg | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This is a PGP-signed copy of the checksums for PostgreSQL version 7.4. The latest copy of the checksums for this and other versions, as well...
29
by: Paul Ganainm | last post by:
Hi all, Following up on another thread, here is a comparison between FB and PG from an FB'ers POV. BTW, FB is the love-child of Open-Source-Interbase. BTW, I have tried to be as accurate as I...
13
by: Zlatko Matić | last post by:
Is it possible to use Access as front-end for POstgreSQL and how ? What about Access Projects (.adp) and PostgreSQL ?
1
by: phil campaigne | last post by:
On Mon, 1 Mar 2004, phil campaigne wrote: >> Nigel J. Andrews wrote: >> > > >>> >On Mon, 1 Mar 2004, Phil Campaigne wrote: >>> > >>> >
0
by: Greg Sabino Mullane | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This is a PGP-signed copy of the checksums for following PostgreSQL versions: 7.4.5 7.4.4 7.3.7
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.