What is the difference between the following Horizon commands:

  • horizon

  • horizon db reingest

  • horizon db backfill

  • horizon db rebase

horizon - standard operation mode, ingest new ledgers from stellar core, in order.

horizon db reingest - perform (re)ingestion on all ledgers that horizon has previously ingested from elder to current. This will replace the old ingested data with new ingested data. When finished, will continue in standard operation mode.

horizon db backfill <N> - same as reingest but in reverse order, starting from latest ledger, N ledgers back.

horizon db rebase - clear the history and ingest the latest contiguous segment of ledgers available from stellar core.

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.