| Steps to reproduce:
- Have a lot of spaces nested inside a common root space (like, 200k spaces).
- Perform a XAR export of a single page that is also in that root space.
Expected result: The export is fast and when checking a trace, e.g., on Glowroot, only a few export-related database queries are shown. Actual result: The export is slow and checking database queries shows 200k queries of
|