> For the complete documentation index, see [llms.txt](https://changelog.airship.co.uk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://changelog.airship.co.uk/august-2026/13-08-2026-integrations-loyalty-speed-improvements.md).

# 13/08/2026 - Integrations - Loyalty speed improvements

:wrench: Several speed improvements for Loyalty;

* Transactions table used for PoPs never cleared down, resulting in 30million rows - the integration was slow at querying this daily causing the integration to run slowly. We've;
  * Put a restriction to only find the transactions from the run date
  * Prune the database, so it keeps 7 days rolling totals
  * Added appropriate indexes to interim database
* Efficiencies in how the data is chunked as part of the sync

:ant: Ant
