iam a student and im interested in database programming,.
Word on the street is that IBM is working on getting DB2 running on the Mac. Can't wait!!
Is DB2 really that good compared to say PostgreSQL?
I've used a number of them for "real" work. First off there is no "good" there is only "well matched to your intended usage".
So what is it you are doing. If it's learning SQL the the hands down #1 chose would be SQLite because Apple installs this on every Mac. We all already have it on our Macs, how much simpler can it get?
But if your use is a enterprise level DBMS and you need 24x7 technical support and and yo might need engineers who can be on-site with 30 minutes notice then SQLite and MySQL are not for you. do NOT discount the value of a support contract. It you have a large number of applications (Like human resources, Inventory and accounting) all running on the same DBMS and you run into trouble you will really, really need a high level of competent support. You can get that from IBM or from Oracle.
Performance wise, I've found MySQL t be very fast but it hits a limit quickly and then performance dies. The higher end products scale better. How to choose? Well do you expect to have a dozen simultainiuos users all doing querries at the same time?
If you want to "paint yourself into a corner" the best way to do that is with a DBMS. You can put enormous amounts of work into one only to find out later that an un-informed decision ealy on means a redesign down the road. And by then you really will have 100 applications and web sites all using the same DBMS and table designs.
For the OP "SQLite" is the no-brainer answer.
Thanks for that. This website is giving me kittens. I keep thinking I've made the wrong decision going with PostgreSQL and should have picked MySQL instead but from what I've read PostgreSQL beats it in terms of features.
Should I just stick with PostgreSQL or what? Can anyone give me any useful insights into running a database system for a website which will need to scale in the future?
I've read quite a bit of the PostgreSQL manual and bought the PostgreSQL dev guide which seems like a good book. Obviously I can't afford to go with a commercial solution so I guess the choice is PostgreSQL vs MySQL.
I've heard that once MySQL starts getting locking issues PostgreSQL overtakes it in terms of performance.
Sorry for the hijack but it is relavent question and could help the OP as well.
PostgreSQL will take you pretty far. On the very high-end, you have products like Oracle and DB2 and (while painful to discuss) MS-SQL server. Feature-wise, Postgres stacks up pretty well (though lacks things like built-in replication, built-in clustering, etc.), but as ChrisA mentions you can't necessarily get the same sort of support. You can certainly buy postgres support contracts from 3rd parties, but most wouldn't consider it "the same" as buying this sort of support from the vendor.
I have a bias that I should reveal, my company has very large deployments of postgres in a clinical setting. I do understand the shortcomings, however, and we have certainly investigated a move to oracle, etc. The expense is obviously a very large deterrent, though we have spent many man hours on jury-rigging real-time-ish replication, etc.
-Lee
Should I just stick with PostgreSQL or what? Can anyone give me any useful insights into running a database system for a website which will need to scale in the future?