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

Improving Postgres Database Performances #1508

Closed
dhenry123 opened this issue Sep 19, 2022 · 2 comments
Closed

Improving Postgres Database Performances #1508

dhenry123 opened this issue Sep 19, 2022 · 2 comments

Comments

@dhenry123
Copy link

i built one posgresql database with more than 14000/1000 (songs/albums) and i got latency on scrolling albums

I added this index :

CREATE INDEX songs_album_id_index ON public.songs USING btree (album_id);

API : /api/albums?page=7

Time loading between each page (arm64 platform/raspberry-pi4/kubernetes) :

No index with new index
4 seconds 700 milliseconds

+++

@phanan
Copy link
Member

phanan commented Sep 21, 2022

Do you think you can send a PR?

@phanan
Copy link
Member

phanan commented Oct 26, 2022

Closed by #1547.

@phanan phanan closed this as completed Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants