From: Manasi Save <manasi.save@artificialmachines.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Creating multiple database at runtime in postgresql
Date: Thu, 02 Dec 2010 04:35:25 -0500
Message-ID: <20101202043525.hgmxqp7vca4okksw@mail.artificialmachines.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: manasi.save@artificialmachines.com
Subject: Re: Creating multiple database at runtime in postgresql
In-Reply-To: <20101202043525.hgmxqp7vca4okksw@mail.artificialmachines.com>
References: <20101202043525.hgmxqp7vca4okksw@mail.artificialmachines.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox