tuning on ec2

From: Joel Reymont <joelr1(at)gmail(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: tuning on ec2
Date: 2011-04-26 15:15:42
Message-ID: 229BF7C0-E7AB-43CB-BD7D-B8EECEF60430@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

I'm running pgsql on an m1.large EC2 instance with 7.5gb available memory.

The free command shows 7gb of free+cached. My understand from the docs is that I should dedicate 1.75gb to shared_buffers (25%) and set effective_cache_size to 7gb.

Is this correct? I'm running 64-bit Ubuntu 10.10, e.g.

Linux ... 2.6.35-28-virtual #50-Ubuntu SMP Fri Mar 18 19:16:26 UTC 2011 x86_64 GNU/Linux

Thanks, Joel

--------------------------------------------------------------------------
- for hire: mac osx device driver ninja, kernel extensions and usb drivers
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Joel Reymont 2011-04-26 15:16:19 optimizing a cpu-heavy query
Previous Message Scott Marlowe 2011-04-26 15:02:08 Re: Time to put theory to the test?