Isso tem cara de snapshot em volume de storage. Roda pra nos um ls -lha dentro do seu pg_xlog ai...se tiver uma pastinha .snapshot o problema é isso...
Em seg, 27 de fev de 2017 às 00:07, Euler Taveira <[email protected]> escreveu: > On 26-02-2017 12:00, Marcell Ribeiro wrote: > > select name, setting from pg_settings where name ~ > 'checkpoint|wal|version'; > > > > name | setting > > ------------------------------+------------- > > checkpoint_completion_target | 0.3 > > checkpoint_segments | 10 > > checkpoint_timeout | 300 > > checkpoint_warning | 30 > > log_checkpoints | off > > max_wal_senders | 5 > > server_version | 9.3.5 > > server_version_num | 90305 > > wal_block_size | 8192 > > wal_buffers | 2048 > > wal_keep_segments | 10 > > wal_level | hot_standby > > wal_receiver_status_interval | 10 > > wal_receiver_timeout | 60000 > > wal_segment_size | 2048 > > wal_sender_timeout | 60000 > > wal_sync_method | fsync > > wal_writer_delay | 200 > > > > --------------------------------------------------- > > > Pelos parâmetros apresentados, você normalmente teria: > > (2 + checkpoint_completion_target) * checkpoint_segments + > wal_keep_segments + 1 > > (2 + 0.3) * 10 + 10 + 1 = 34 arquivos > > > select pg_xlogfile_name(pg_current_xlog_location()); > > > > pg_xlogfile_name > > -------------------------- > > 00000001000001E400000057 > > > > --------------------------------------------------- > > > > select pg_ls_dir('pg_xlog'); > > > Você apresentou 32 arquivos. > > No outro email você citou 50 GB mas esse número não condiz com o que > você listou com pg_ls_dir (equivalente a 512 MB). Para ter 50 GB, você > teria que ter 3.200 arquivos! > > Como está o andamento da archiver? Ele está próximo ao arquivo listado > com pg_xlogfile_name acima? > > ps aux | grep archiver > > Se não estiver próximo, o arquivamento não está sendo feito ou não está > conseguindo acompanhar a atividade do postgres. Você checou se não há > falhas de arquivamento no log? > > > -- > Euler Taveira Timbira - http://www.timbira.com.br/ > PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento > _______________________________________________ > pgbr-geral mailing list > [email protected] > https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral -- -- *Gerdan Rezende dos Santos * Hortonworks, PostgreSQL & EnterpriseDB Specialist, Support, Training & Services +55 (61) 996 451 525
_______________________________________________ pgbr-geral mailing list [email protected] https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
