You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Daniel McBrearty <da...@gmail.com> on 2006/02/20 21:23:11 UTC
(slightly OT) postgresql? firebird? mysql?
Hi guys,
I'm currently using mysql, but I'm considering changing over to firebird or
postgre.
Anyone have any reasoned loves/hates/useful experiences to pass on?
Thanks
Daniel
--
Daniel McBrearty
email : danielmcbrearty at gmail.com
www.engoi.com : the multi - language vocab trainer
BTW : 0873928131
Re: (slightly OT) postgresql? firebird? mysql?
Posted by Jonathan Vanasco <jo...@2xlp.com>.
To add-
Make sure you migrate ALL tables AND your default table type (ie db
type) from MyISAM to innodb
ONLY innodb tables are transaction safe. If you have a multi-table
transaction where 1 table is not inno, you'll go crazy trying to
figure out why all your rollbacks seem to corrupt your database.
On Mar 1, 2006, at 4:38 PM, Perrin Harkins wrote:
> If you aren't already using InnoDB tables in MySQL, try that
> first. It
> may save you the trouble of porting to PostgreSQL. (Nothing
> against Pg,
> but why port if you don't have to?) The transaction and replication
Re: (slightly OT) postgresql? firebird? mysql?
Posted by Perrin Harkins <pe...@elem.com>.
On Mon, 2006-02-20 at 21:23 +0100, Daniel McBrearty wrote:
> I'm currently using mysql, but I'm considering changing over to
> firebird or postgre.
>
> Anyone have any reasoned loves/hates/useful experiences to pass on?
If you aren't already using InnoDB tables in MySQL, try that first. It
may save you the trouble of porting to PostgreSQL. (Nothing against Pg,
but why port if you don't have to?) The transaction and replication
support for InnoDB tables is good, and the locking system works on the
same principles as the PostgreSQL one. With MySQL 5, you can also get
rid of some annoying MySQLisms (like inserting default values into NOT
NULL columns when passed a NULL) by turning on strict mode.
- Perrin
Re: (slightly OT) postgresql? firebird? mysql?
Posted by Jonathan <jv...@2xlp.com>.
mysql's innodb and mysql 5's 'improvements' should address a lot of
issues with previous versions
that said, mysql and postgres are great. (i've never used firebird)
there's beginning to be less of a difference between mysql and
postgres as time progresses though
the mysql project essentially started with speed, and aimed for a
full set of db features
the postgres project essentially did the opposite: support
everything , but slow, then go for speed
i think the only annoying thing between migrated from postgres<-
>mysql is the triggers vs auto_increment stuff
if your code uses a lot of insert_id from an auto_increment field,
expect to go crazy tracking down all of your calls and creating
triggers/serials/stored procedures to replicate that functionality
On Feb 20, 2006, at 3:27 PM, Tyler MacDonald wrote:
> Daniel McBrearty <da...@gmail.com> wrote:
>> I'm currently using mysql, but I'm considering changing over to
>> firebird or
>> postgre.
>>
>> Anyone have any reasoned loves/hates/useful experiences to pass on?
>
> I love postgresql!
>
> OK, to make it reasoned:
>
> * Better license than MySQL, BSD-like license means it can be
> embedded in commercial products if need be.
>
> * Everything's journaled and transactional, which means the database
> _may be slightly_ slower, but it's far more resistant to data
> corruption.
>
> * slony makes it easy to cluster your database.
>
> * People on the postgresql-general mailing list have been responsive
> and helpful
>
> * PL/PGSQL procedural language is fast and not too difficult to
> learn (although the documentation could use some improvement, if it
> weren't
> for my having easy access to a postgres mentor I'd have wasted many
> more
> hours on this...)
>
> * I dig the elephant logo.
>
> - Tyler
>
Re: (slightly OT) postgresql? firebird? mysql?
Posted by Tyler MacDonald <ty...@yi.org>.
Daniel McBrearty <da...@gmail.com> wrote:
> I'm currently using mysql, but I'm considering changing over to firebird or
> postgre.
>
> Anyone have any reasoned loves/hates/useful experiences to pass on?
I love postgresql!
OK, to make it reasoned:
* Better license than MySQL, BSD-like license means it can be
embedded in commercial products if need be.
* Everything's journaled and transactional, which means the database
_may be slightly_ slower, but it's far more resistant to data corruption.
* slony makes it easy to cluster your database.
* People on the postgresql-general mailing list have been responsive
and helpful
* PL/PGSQL procedural language is fast and not too difficult to
learn (although the documentation could use some improvement, if it weren't
for my having easy access to a postgres mentor I'd have wasted many more
hours on this...)
* I dig the elephant logo.
- Tyler
Re: (slightly OT) postgresql? firebird? mysql?
Posted by Frank Wiles <fr...@wiles.org>.
On Mon, 20 Feb 2006 21:23:11 +0100
"Daniel McBrearty" <da...@gmail.com> wrote:
> Hi guys,
>
> I'm currently using mysql, but I'm considering changing over to
> firebird or postgre.
>
> Anyone have any reasoned loves/hates/useful experiences to pass on?
I too love PostgreSQL and use it for everything. Along with Tyler's
comments, you can also write your stored procedures in Perl with
PL/Perl which is nice.
And on systems with few users, yes MySQL is faster, but most
benchmarks I've seen PostgreSQL starts to win out when you have
greater than 5-10 simultaneous users. But I also believe those numbers
were run with the next to last stable releases of both products so
it may have moved in one direction or another since then.
Note however that PostgreSQL's default configuration is not optimal
for most systems. It is a lowest common demoninator configuration,
here is an article I wrote awhile back that has become one of the
main tuning guides:
http://www.revsys.com/writings/postgresql-performance.html
---------------------------------
Frank Wiles <fr...@wiles.org>
http://www.wiles.org
---------------------------------