José Carlos Messias escreveu:
> 2010-06-01 08:02:52.364 BRT 32764    LOG:  checkpoints are occurring
> too frequently (24 seconds apart)
> 2010-06-01 08:02:52.364 BRT 32764    HINT:  Consider increasing the
> configuration parameter "checkpoint_segments".
As mensagens acima "dizem" que você estava fazendo uma grande modificação nos
dados e escrevendo checkpoint_segments * 16 MB frequetemente. Alguma carga 
diária?

> 2010-06-01 08:32:22.138 BRT 32764    LOG:  checkpoint starting: time
> 2010-06-01 08:35:14.474 BRT 32764    LOG:  checkpoint complete: wrote
> 859 buffers (0.3%); 0 transaction log file(s) added, 0 removed, 2
> recycled; write=172.267 s, sync=0.052 s, total=172.344 s
> 
Você deve ficar de olho nessas mensagens. Neste caso, a taxa de escrita está
razoavelmente baixa (859 * 8kB / 1024 = 6,71 MB em 172 segs).

> checkpoint_segments = 16
> checkpoint_completion_target = 0.9 # pgtune wizard 2010-02-27
> log_checkpoints = on
> 
Qual o valor do checkpoint_timeout?


-- 
  Euler Taveira de Oliveira
  http://www.timbira.com/
_______________________________________________
pgbr-geral mailing list
pgbr-geral@listas.postgresql.org.br
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a