Michael T. Tangorre wrote:
> From: Damien McKenna [mailto:[EMAIL PROTECTED] 
>> 
>> What about PostgreSQL?
> 
> Interesting you mention that. I was just about to ask the list about it...
> who is using it... their impressions. I just downloaded it after reading
> some articles on it last night.

I use it and I like it.


Since version 8 it has a native version for Windows. If you want 
to check it out, the installation should be painless. (One thing 
I love is that it is hardcoded in the executable that you can not 
run PostgreSQL as administrator. The installer takes care about 
creating a separate user for the service for you.) But you need 
to write down the password for the database superuser.

After installation the most important issues are:
- create databases in Unicode (UTF8) to work with CF MX/7 (IIRC 
you can't set this during installation yet)
- set up a scheduled task that runs vacuum and analyze (see 
chapter 21 "Routine database maintenance tasks")


Nice things you can do and won't find in most other databases:
- exotic datatypes, PostgreSQL has some special datatypes that 
can save you a lot of headaches (IP, MAC, interval, GIS etc.)
- create your own datatypes, for instance:
CREATE DOMAIN emailaddr AS TEXT CHECK (VALUE ~ '[EMAIL PROTECTED]');
CREATE TABLE subscriber (
   ID    INTEGER,
   email EMAILADDR,
   name  TEXT,
   ...   ...
   )
(OK, you will find this in most other databases. But I think this 
technique is undervalued so I mention it anyway:-)
- explain query plans
Admittedly not for everyone, but for me the output format of the 
PostgreSQL EXPLAIN ANALYZE command is the perfect match between 
completeness and readability: its format matches the scientific 
literature on query planners. (Probably because a significant 
part of that literature was developed on PostgreSQL.)
- transactional DDL
Drop a table, create a new one, change the definition, and if you 
don't like the result you just roll it back.
- many procedural languages (C, R, Java, PHP, Perl, PL/pgSQL, Python)

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195393
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to