Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 5EB3164FC6F for ; Fri, 31 Oct 2008 09:36:32 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 30089-05 for ; Fri, 31 Oct 2008 09:36:29 -0300 (ADT) X-Greylist: delayed 01:00:00.409097 by SQLgrey-1.7.6 Received: from globalinn.com (mail.globalinn.se [80.75.24.2]) by postgresql.org (Postfix) with ESMTP id BFA0F64FC08 for ; Fri, 31 Oct 2008 09:36:29 -0300 (ADT) X-Antivirus-Scanned: McAfee Received: from [90.231.67.153] (account mathias HELO [172.16.208.53]) by globalinn.com (CommuniGate Pro SMTP 5.0.11) with ESMTPSA id 35183748 for pgsql-admin@postgresql.org; Fri, 31 Oct 2008 12:36:25 +0100 Message-Id: From: =?ISO-8859-1?Q?Mathias_Stjernstr=F6m?= To: PostgreSQL Admin In-Reply-To: <639ce0480805200657l82cd49coe381814a2d86c655@mail.gmail.com> Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-1-185163998" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: how i can restrict databaseusers ? Date: Fri, 31 Oct 2008 12:36:23 +0100 References: <639ce0480805200657l82cd49coe381814a2d86c655@mail.gmail.com> X-Pgp-Agent: GPGMail d53 (v53, Leopard) X-Mailer: Apple Mail (2.929.2) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200810/192 X-Sequence-Number: 30648 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-1-185163998 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi! I do not think you can restrict resources on a user level or at any lever for that matter. There are numbers of ways to monitor all kinds of values. Just do a quick search on google and you will find what you looking for. This query can be used to display all database sizes. SELECT pg_database .datname,pg_size_pretty(pg_database_size(pg_database.datname)) AS size FROM pg_database; Cheers! Mathias On 20 maj 2008, at 15.57, pronix pronix wrote: > hello > how i can restrict dbusers ( user's db size, cpu time)? > how i can monitoring this parameters --Apple-Mail-1-185163998 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iQEcBAEBAgAGBQJJCu23AAoJEMkN6DtuoU6XAm0H/1lKv/4RUjNECP2rYaUWNosK xBo4ZuYEHt9pmtnBvPfPMvhaj2zHrooZ9LLDEnjvGyP56TOB+jsbqhme530eFF4O 05PUukkGIhJQ+Zku1y1xexBDRChCl4Q0HZrTubuhHStNzzCaAEtMadMUhtCx6mbQ mTnuLkwhzYVuygpD+iPZqA+n3PO84qg4lthAIma2qtfbIwj12Iv5kRDiYDET098V lZ09901gGq1UV7PCFzWLuvuYE34YGuu7rLEhyHMNGFAWtnGDYFV1RpT474+FGu3t HpAqVyIpd6PMDWcxfYwx520rBp7rbplVhnQF3rtOmLtm3PDS6okKxmklrOk8EVk= =bxnu -----END PGP SIGNATURE----- --Apple-Mail-1-185163998--