RE: Postgres lento ¿effective_cache_size?

From: Lazáro Rubén García Martínez <lgarciam(at)vnz(dot)uci(dot)cu>
To: Jose Mercedes Venegas Acevedo <jvenegasperu(at)gmail(dot)com>, "pgsql-es-ayuda(at)postgresql(dot)org" <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: RE: Postgres lento ¿effective_cache_size?
Date: 2012-09-10 18:50:54
Message-ID: 294D3D02D5E18D42827B2ECFEADEB6885D10A6D1A5@mx-interno.vnz.uci.cu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Debes configurar de esta forma:

effective_cache_size = ( AvRAM * 0.75 )

effective_cache_size = ( 4096 * 0.75 ) MB

Saludos.
________________________________________
From: pgsql-es-ayuda-owner(at)postgresql(dot)org [pgsql-es-ayuda-owner(at)postgresql(dot)org] On Behalf Of Jose Mercedes Venegas Acevedo [jvenegasperu(at)gmail(dot)com]
Sent: Monday, September 10, 2012 12:47 PM
To: pgsql-es-ayuda(at)postgresql(dot)org
Subject: [pgsql-es-ayuda] Postgres lento ¿effective_cache_size?

Buenos dia a todos tengo este problema

tengo un servidor de 3.0 Ghz y 4 Gb de RAM

en el tengo instalado postgres y ms4w que es un entorno para mostrar mapas con mapserver

mi configuracion de postgres los valores que he tocado son estos

shared_buffers = 512MB
work_mem = 2MB
effective_cache_size = 256MB

el asunto es que en la mañana cuando recien empiezo a trabajar y uso esta aplicacion para buscar sobre goemtrias generalmente calles
y tengo inserciones a medio dia aproximadamente se pone lento.

estuve leyendo que efective cache un valor bajo favorece las busquedas secuencias y un valor alto el uso de indices?
mi pregunta es un valor alto se referiria a que debo colocar en effective cache size un valor superior a shared buffers o no tiene nada que ver cuanto mas podria aumentarle a estos valores para mejorar mis busquedas.

PD solo tengo alrededor de 70 usuarios y el max conections es 100

saludos

--
José Mercedes Venegas Acevedo
cel: Mov. 949808846

mails: jvenegasperu(at)php(dot)net<mailto:jvenegasperu(at)php(dot)net>
jvenegasperu(at)gmail(dot)com<mailto:jvenegasperu(at)gmail(dot)com>

PHP Spanish Docs translator member.
http://www.php.net/manual/es/index.php

________________________________
Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com

Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Cesar Martin 2012-09-10 21:05:48 Re: Uso system de CPU
Previous Message Guillermo Villanueva 2012-09-10 17:40:30 COPY