Word frequencies -- Python or Perl for performance?

Gerhard Häring gerhard at bigfoot.de
Wed Mar 20 00:54:05 EST 2002


Aahz wrote in comp.lang.python:
> [...] Unless you're on a shoestring, consider getting a commercial
> database; you should probably also check to see whether MySQL or
> PostgreSQL will give you better performance.

Just to avoid misunderstandings: of course you can get commercial
support for open-source RDBMs. At least for the major ones:

PostgreSQL: PostgreSQL Inc., Redhat
MySQL:      MySQL AB, Nusphere
SAPdb:      SAP
Firebird:   IBphoenix

I also think that an RDBMs is the way to go for the OP's problem. If
at some point too many requests run against the database, you can
optimize performance by putting logic into the database (stored
procedures).

If you're brave, you can even use Python as a language for stored
procedures running in PostgreSQL :)

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    OpenPGP public key id AD24C930
public key fingerprint: 3FCC 8700 3012 0A9E B0C9  3667 814B 9CAA AD24 C930
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))



More information about the Python-list mailing list