Ghost/ghost/core/test/unit/server/data
Simon Backx 97d0cddb50
Added indexes to members_created_events and members_subscription_created_events (#18805)
fixes https://github.com/TryGhost/Product/issues/4085

Increases the performance for the post analytics export by adding new
indexes. These indexes are used when counting the amount of (paid)
subscribers that were attributed to a given post. With the indexes, the
time required to export 700 posts with 300k members decreases from 40s
to 0.6s.

Tests show that adding these indexes should be very fast (< 1 s) if the
tables contain up to 300k rows.
2023-10-31 15:11:24 +00:00
..
db Removed all unused variables from test files 2023-03-10 14:29:55 +01:00
exporter Added new setting to enable Recommendations (#17856) 2023-08-30 08:56:21 +00:00
importer Fixed importer breaking any posts written in the new editor (#17230) 2023-07-06 18:37:19 -07:00
migrations Removed all unused variables from test files 2023-03-10 14:29:55 +01:00
schema Added indexes to members_created_events and members_subscription_created_events (#18805) 2023-10-31 15:11:24 +00:00