Re: [GENERAL] Can PostGreSQL handle 100 user database?

2000-11-30 Thread Bruce Guenter
atform of choice for heavy data manipulation (I/O). -- Bruce Guenter <[EMAIL PROTECTED]> http://em.ca/~bruceg/ PGP signature

Re: [GENERAL] Expectations of MEM requirements for a DB with large tables.

2000-11-06 Thread Bruce Guenter
On Sun, Nov 05, 2000 at 10:41:12PM -0800, Michael Miyabara-McCaskey wrote: > Out of curiosity, if I were using something else besides "psql" would this > have still been a problem? Yes. The library interface in libpq will pull the entire record set into memory unless you use cu

Re: [GENERAL] Expectations of MEM requirements for a DB with large tables.

2000-11-05 Thread Bruce Guenter
ecessary. To answer the second, if you do a plain "SELECT *", it will buffer the entire response set into RAM before printing anything out. If you have more than a trivial number of records to fetch from the database (and 5.5GB is certainly more than trivial), use a cursor and only

Re: [GENERAL] True ACID under linux (no fsync)?

2000-11-01 Thread Bruce Guenter
u're adding or removing files synchronously. -- Bruce Guenter <[EMAIL PROTECTED]> http://em.ca/~bruceg/ PGP signature

Re: [GENERAL] replication

2000-09-22 Thread Bruce Guenter
On Fri, Sep 22, 2000 at 12:03:13PM -0400, Tom Lane wrote: > Bruce Guenter <[EMAIL PROTECTED]> writes: > > I've been thinking that one way to emulate replication would be to run a > > pgsql "shim" that would redirect queries to two back-ends > > simult

Re: [GENERAL] replication

2000-09-22 Thread Bruce Guenter
milar situation, where I want to set up two live redundant sites, where nightly updates aren't an option. -- Bruce Guenter <[EMAIL PROTECTED]> http://em.ca/~bruceg/ PGP signature

Re: [GENERAL] Stripping a prefix

2000-08-26 Thread Bruce Guenter
from 'wfoo'); ltrim --- foo (1 row) I ended up writing a function to do it, and for the data sets I'm dealing with, it's fast enough: CREATE FUNCTION strip_www (text ) RETURNS text AS 'BEGIN IF position(''www.'' IN $1) = 1 THEN RETURN substri

[GENERAL] Benchmarks?

2000-07-11 Thread Bruce Guenter
ecent ones linked to from the Slashdot discussion, which only compare PostgreSQL and MySQL. Thank you. -- Bruce Guenter <[EMAIL PROTECTED]> http://em.ca/~bruceg/ PGP signature

[GENERAL] Unique indices and inheritance

1999-03-26 Thread Bruce Guenter
me by doing: create unique index foo_pkey on foo*(id); but it caused a syntax error. Creating a unique index on just foo allows duplicates between the two tables. -- Bruce Guenter, QCC Communications Corp. EMail: [EMAIL PROTECTED] Phone: (306)249-0220 WWW: http