X-Original-To: pgsql-hackers@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 0966447633C for ; Tue, 15 Apr 2003 17:50:27 -0400 (EDT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by postgresql.org (Postfix) with SMTP id BFBC7474E44 for ; Tue, 15 Apr 2003 17:50:25 -0400 (EDT) Received: (qmail 29177 invoked by uid 65534); 15 Apr 2003 21:50:24 -0000 Received: from chello062178186201.1.15.tuwien.teleweb.at (EHLO beeblebrox) (62.178.186.201) by mail.gmx.net (mp017-rz3) with SMTP; 15 Apr 2003 23:50:24 +0200 Message-ID: <039601c30399$1b537600$3201a8c0@beeblebrox> From: "Michael Paesold" To: , "Brent Verner" Cc: References: <200304142237.h3EMbvv13720@candle.pha.pa.us> <2703.1050364467@sss.pgh.pa.us> <20030415015217.GA96608@rcfile.org> <1050433009.1461.100.camel@mikeb.staff.netnation.com> Subject: Re: Are we losing momentum? Date: Tue, 15 Apr 2003 23:51:00 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Status: No, hits=-25.8 required=5.0 tests=BAYES_20,EMAIL_ATTRIBUTION,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/528 X-Sequence-Number: 38018 Mike Benoit writes: > Shared hosting enviroments. I work for a web hosting company that offers > MySQL to all of its customers, our MySQL server has several thousand > databases on it, and I must say it works exceptionally well. > > Creating users/databases/changing passwords is as simple as sending it a > couple queries from our Customer web interface, trouble shooting poor > queries takes seconds when using "mytop" (mtop), and tracking/billing > for disk usage is as simple as running "du /var/lib/mysql/*". I would > like to say the same things for PG, but I'm affrid I can't. At least in the latest versions, things are quite easy. User/database administration? CREATE USER someuser ENCRYPTED PASSWORD '...' NOCREATEDB NOCREATEUSER; CREATE DATABASE someuser OWNER someuser ENCODING 'UNICODE'; Disk usage account? Use contrib/dbsize (README for easy setup) SELECT database_size('someuser'); Done. Poor queries -> query stats? Of course, some things are easier in MySQL. On the other hand, what about InnoDB, "du /var/lib/mysql/*" won't help much... I just wanted to show that PostgreSQL administration is not that hard in a hosting environment. Regards, Michael Paesold