Re: Postgre vs MySQL

From: Shaun Thomas <sthomas(at)townnews(dot)com>
To: "Manuel W(dot)" <manuel*NOSPAM*(at)thunder(dot)ch>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgre vs MySQL
Date: 2002-07-05 15:11:28
Message-ID: Pine.LNX.4.44.0207051004390.17612-100000@hamster.lee.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 5 Jul 2002, Manuel W. wrote:

> PostgreSQL or MySQL?"? I'm using SuSE Linux 8 and I need a
> high-performance database which will contain about 2-3 GB of data
> (it's a mailserver logging we have to keep for legal reasons).

The question you should always ask is what tool is right for the job.
Postgres, due to its design, is great for databases that need lots of
integrity checks, foreign keys, and so on. Mysql is in many ways, a
glorified file-storage mechanism with a SQL front-end. Its simplicity
gives it many advantages when you don't need all the features of
postgres.

But the real question is why a database at all? Mailservers have their
own logging systems usually, so why not just save that? A database
doesn't seem the best place to save logs relating to legal requirements
when those are generally around the 2-7 year range.

Personally, I'd start by using flat files. Then, if lots of people need
to query them for some odd reason, go to mysql. Then if you really need
foreign keys, triggers, stored procedures, and so on, go to postgres.
No reason to jump straight to the endgame. It's akin to using an ICBM
to swat a fly. ^_^

--
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
| Shaun M. Thomas INN Database Administrator |
| Phone: (309) 743-0812 Fax : (309) 743-0830 |
| Email: sthomas(at)townnews(dot)com AIM : trifthen |
| Web : www.townnews.com |
| |
| "Most of our lives are about proving something, either to |
| ourselves or to someone else." |
| -- Anonymous |
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Josh Jore 2002-07-05 15:13:49 Re: two primairy key in one table ?
Previous Message Herbert Liechti 2002-07-05 15:08:35 Re: two primairy key in one table ?