FeatureFuel
1

We hope to fix the problems that occurred under the scale of 100000 level data

Source: paperless-ngx/paperless-ngx#14872 · opened by @JiaChengFan
AI usage

No AI tools were used

Description

Page query response
/api/documents/? page=1&page_size=10&ordering=-created&truncate_content=true&include_selection_data=true Response time required: 16 seconds Total data: 88062
/api/correspondents/? Page=1&page_2=100000 Response time required: 16 seconds Total data: 21380
/api/storage_paths/? Page=1&page_2=100000 Response time required: 24 seconds Total data: 49024
The query speed is very slow at this data level; Too much data on the returned parties and saved paths, resulting in slow rendering of front-end components; Basically unable to load normally, hoping for optimization.
optimization suggestions
1. Optimize or add indexes to several interface query statements.
2. The front-end filtering component queries too many items at once, with a maximum of 100 items at a time. Render the query again based on the subsequent input of a second query.

Other

_No response_

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests