mysql-
--installs with "skip networking" specified in /etc/mysql/my.cnf ... a little thing that can hang you for a bit if you don't know it.
--watch disk space ... especially with logging turned on mysql can eat it up pretty quickly, and then simply start failing insert statements with curiously inconsistent error statements.
--dbd driver sensitive to memory leaks when performing a large number of operations on very large tables. these problems may manifest themselves in sections not specifically dealing with database access.
--quirky insert statement syntax ... i.e., "insert into <table_name> set column1=$whatever, column2=$whaterver2 ... etc.";
--access control system offers finely-grained control, but reminds me of reverse polish notation in that if you don't work with it reasonably frequently it'll drive you crazy each time you deal with it. if someone has a good heuristic for application here i'm sure a great many would regard that as a blessing.
--o'reilly book (MySQL and mSQL) has a few errors ... e.g., isamchk identified as repair utility, rather than myisamchk. not being critical, just heading off the time someone might spend trying to figure out why it doesn't work.
postgresql
--insert statement very sensitive to quoting. use $dbh->quote() whenever applicable or the statement will flat bomb out. parser just doesn't like it.
--i've had some difficulty with a select max statement when the operant column is character but holds numbers. for some columns the statement will work and for others not, and the reason for that is not presently apparent to me.
--trying to keep numeric strings appropriately aligned by stuffing white space in the beginning of the string doesn't apparently work after insertion, even after quoting. i've had to stuff with zeros ... maybe not the best solution, but it sure is nice to get back records you've put in when you do a select statement. <grin>
i know i have others that i'm not thinking of right now ... perhaps other would like to make a running thread of this? i'm not particularly interested in advocacy of one or the other, each had a slighly different niche. if we do this right our comments should also map those niches for individuals trying to make a decision regarding which to choose.
Edit by tye
In reply to mysql and postgresql gotchas and tips by ralphie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |