Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 206C11337999 for ; Thu, 2 Dec 2010 05:35:34 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 84778-01 for ; Thu, 2 Dec 2010 09:35:26 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail35c40.carrierzone.com (mail35c40.carrierzone.com [209.235.156.175]) by mail.postgresql.org (Postfix) with ESMTP id 7BEDA1335B36 for ; Thu, 2 Dec 2010 05:35:26 -0400 (AST) Received: from mail35c40.carrierzone.com (localhost [127.0.0.1]) by mail35c40.carrierzone.com (8.13.6/8.13.1) with ESMTP id oB29ZP0g002038 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 2 Dec 2010 09:35:25 GMT Received: (from webmail@localhost) by mail35c40.carrierzone.com (8.13.6/8.12.2/Submit) id oB29ZPVc002037 for pgsql-admin@postgresql.org; Thu, 2 Dec 2010 04:35:25 -0500 Received: from NSG-Static-074.18.72.182.airtel.in (NSG-Static-074.18.72.182.airtel.in [182.72.18.74]) by mail.artificialmachines.com (Webmail 5.0 V.V.I.) with HTTP for ; Thu, 02 Dec 2010 04:35:25 -0500 Message-ID: <20101202043525.hgmxqp7vca4okksw@mail.artificialmachines.com> From: "=?utf-8?b?TWFuYXNpIFNhdmU=?=" To: "pgsql-admin@postgresql.org" Subject: Creating multiple database at runtime in postgresql Date: Thu, 02 Dec 2010 04:35:25 -0500 X-Priority: 3 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_1enfb9xq5bog" Content-Transfer-Encoding: 7bit User-Agent: Webmail 6.0 X-CSC: 0 X-CHA: v=1.1 cv=4uwgKW6c2KSH+Nb8bNwddzIvii/SsNchLDuXiBpTyYM= c=1 sm=1 a=RqnqEkLMwnIA:10 a=6mBWwJEmJT4fWEzs4ffimg==:17 a=JshuWO4uNnexj417k54A:9 a=7n5hJIqnNNMTTp2ABbEA:7 a=Y4zlGhI2PXZF9MtkNSZ-_pV0EZ4A:4 a=QEXdDO2ut3YA:10 a=WyzifjMt3uWydKV0-oQA:9 a=4xjSgMJ7c6S8y45Z9OzddntWpAAA:4 a=WkljmVdYkabdwxfqvArNOQ==:117 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.92 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FROM_EXCESS_BASE64=0.979, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 201012/16 X-Sequence-Number: 36245 This message is in MIME format. --=_1enfb9xq5bog Content-Type: text/plain; charset=UTF-8 Content-Description: Plaintext Version of Message Content-Disposition: inline Content-Transfer-Encoding: 7bit Dear All, I am new to postgresql database. I want to create an architecture wherein I want to create multiple databases at runtime. To be more description about the purpose, for example I am creating an account using any application which has postgresql as a backend. I want to create a new database for every user who is creating account then whenever the user login he will be login to his database. I have such kind of setup in MySQL but I would really like to know is it a good idea to have such kind of setup and is it possible in postgresql. As whenever I create a database in MySQL it gets stored on my hard disk these are file level operations if we use mysql MyIsAM storage engine. Is it possible to create postgresql database using postgresql stored functions/ Is it possible to have 1000,000 databases on a server? Please let me know if anyone needs more information on what I am trying to implement. Any input will be a great help. Regards, Manasi --=_1enfb9xq5bog Content-Description: HTML Version of Message Content-Type: text/html; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-ID: 1w2bqhcr3o80@mail.artificialmachines.com Dear All,
 
I am new to postgresql database. I want to create an architecture wherein I want to create multiple databases at runtime. To be more description about the purpose, for example
I am creating an account using any application which has postgresql as a backend. I want to create a new database for every user who is creating account then whenever the user login he will be login to his database. I have such kind of setup in MySQL but I would really like to know is it a good idea to have such kind of setup and is it possible in postgresql. 
 
As whenever I create a database in MySQL it gets stored on my hard disk these are file level operations if we use mysql MyIsAM storage engine.
 
Is it possible to create postgresql database using postgresql stored functions/
Is it possible to have 1000,000 databases on a server?
 
Please let me know if anyone needs more information on what I am trying to implement.
 
Any input will be a great help. 
 
Regards,
Manasi 
--=_1enfb9xq5bog--