Introducing private PostgreSQL instances

In October, we introduced the private MySQL instance installer as a solution to the “bad neighbor problem,” where one user consumes too much of a server’s shared MySQL database’s resources. Today, we’re introducing the private instance installer for PostgreSQL.

Like the private MySQL instance installer, there are a few details to consider:

  • The private instance relies upon the server’s globally-installed PostgreSQL binaries and libraries. If a security problem is found in PostgreSQL, WebFaction will apply the appropriate patches and no action is required on your part.
  • On CentOS 6 servers (web300 and greater), the version of PostgreSQL is 9.1. On CentOS 5 servers, the version of PostgreSQL is 8.3.
  • The PostgreSQL configuration files are owned by your user account and the server process is run under your user account. This means that you have full control over how the instance is configured and when it starts and stops running.
  • When the instance is installed, a cronjob is created to make sure the instance is running. Every 20 minutes the instance is checked, and if the instance is down, then it is restarted.
  • When the instance is installed, a cronjob is created to dump all the of the instance’s databases to a file every 24 hours. One week old dumps are deleted automatically.
  • The private instance may consume hundreds of megabytes of memory, depending on the instance’s configuration and the volume of data stored. The memory consumed counts toward your account’s memory allotment  For non-trivial datasets, we recommend upgrading to a minimum of 512 MB of memory or using one of our new 1 GB, 2 GB, or 4 GB plans.
  • To move data from the shared database server to a private instance, please see our importing and exporting documentation as a model for migrating your data.

Starting today you can use the one-click installer with the WebFaction control panel. Let us know what you think in the comments, and if you have any problems, join us in the Q&A Community.

This entry was posted in PostgreSQL. Bookmark the permalink.

7 Responses to Introducing private PostgreSQL instances

  1. Dennis says:

    Great news! Glad to have PostgreSQL as an equal alternative to MySQL at webfaction! Thanks!

  2. Mike Hostetler says:

    Will the private PostgreSQL instance allow us to install PostGIS? Because that would be fantastic.

  3. Nico says:

    Good job. This is definitely a plus feature, that we have been needing for a while.

    In my case however, I already went through the hassle of installing PostgreSQL from source a while ago and keep it runnning via Supervisord. Now I’m wondering, is the memory consumption of this new feature in any way more efficient than my current scenario? That would be a great incentive for me to move my databases, since memory is the main issue with my current installation.

    • Remi D says:

      It’s hard to know for sure but I can’t think of any reason why the memory usage would be that different. You can easily test it by setting up a postgresql instance using our installer, loading your data and checking the memory usage.

  4. Dennis says:

    I did a quick scan of the database docs but could not find the section describing this new feature. Can you give us a pointer to the docs?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>