Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add batch query and proper pagination #1422

Open
FreemoX opened this issue Oct 15, 2024 · 1 comment
Open

Add batch query and proper pagination #1422

FreemoX opened this issue Oct 15, 2024 · 1 comment
Labels
1. to develop Accepted and waiting to be taken care of enhancement New feature or request

Comments

@FreemoX
Copy link

FreemoX commented Oct 15, 2024

Is your feature request related to a problem? Please describe.

Currently, the tables is limited to returning 65535 entries per table due to PostgreSQL.
This results in larger tables being unviewable in the browser.

Describe the solution you'd like

Implement batch querying with a limit that respects PostgreSQL's query limitations.
Instead of attempting to query the entire table at once, it should rather index how many rows are in the database to make up the pagination number, and then query the entries related to that page.
This will result in less spontanious resource usage for the server, and prevent breaching the query limit.

Describe alternatives you've considered

Haven't tried any solutions other than doing limited API calls through external applications. This is in reference to using Tables on the WebUI of Nextcloud. Only workaround is creating multiple views, one for every 65535 table entries.

Additional context

No response

@FreemoX FreemoX added 0. Needs triage Pending approval or rejection. This issue is pending approval. enhancement New feature or request labels Oct 15, 2024
@blizzz blizzz added 1. to develop Accepted and waiting to be taken care of and removed 0. Needs triage Pending approval or rejection. This issue is pending approval. labels Oct 16, 2024
@blizzz
Copy link
Member

blizzz commented Oct 16, 2024

Related to:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants