2016-10-26 11:13 GMT-02:00 Flavio Henrique Araque Gurgel <[email protected]>:

>
>>
>> O que quer dizer com "não existissem"? Eles não cairam no seu bucket?
>>
>>
>> Sim, nem no bucket e nem no archive_status, é como eles tivessem sido
>> criados pelo banco, mas não existissem para o archive_command
>>
>
> Pergunta : Seu banco está escrevendo?
> Qual o resultado de:
> select pg_current_xlog_location();
> ?
> Se você fizer um:
> select pg_switch_xlog();
> Há um arquivamento feito?
>

Sim, o arquivamento está funcionando.

postgres=# \x
Expanded display is on.
postgres=# SELECT *,
postgres-#     current_setting('archive_mode')::BOOLEAN
postgres-#         AND (last_failed_wal IS NULL
postgres(#             OR last_failed_wal <= last_archived_wal)
postgres-#         AS is_archiving,
postgres-#     CAST (archived_count AS NUMERIC)
postgres-#         / EXTRACT (EPOCH FROM age(now(), stats_reset))
postgres-#         AS current_archived_wals_per_second
postgres-# FROM pg_stat_archiver;
-[ RECORD 1 ]--------------------+------------------------------
archived_count                   | 147
last_archived_wal                | 000000010000011B00000078
last_archived_time               | 2016-10-26 11:19:04.131357-02
failed_count                     | 0
last_failed_wal                  |
last_failed_time                 |
stats_reset                      | 2016-10-26 08:52:26.66709-02
is_archiving                     | t
current_archived_wals_per_second | 0.0166593669872578



>
> []s
> Flavio Gurgel
>
>
> _______________________________________________
> pgbr-geral mailing list
> [email protected]
> https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
>
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a