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 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.
Comments
Similar requests
Add jitter to IMAP Polling to reduce synchronized load
1 vote · 0 comments
Bulk uploads from the web UI fail behind HTTP/2 reverse proxies, and a bigger DB pool doesn't scale
1 vote · 0 comments
[Feature Request] add waiting-for-db loop to the install script
1 vote · 0 comments
[Feature Request] Keep failed documents until reprocessed or discarded
7 votes · 0 comments
[Feature Request] Logging for AI/LLM usage
4 votes · 0 comments
No comments yet.