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 new indexes to improve booking performance #1304

Conversation

DiegoTavares
Copy link
Collaborator

After the changes on the gpu PR the performance of the booking query degraded up to 4 times the previous throughput. Creating some indexes for columns that changed names seems to have fixed the problem.

After the changes on the gpu PR AcademySoftwareFoundation#924
the performance of the booking query degraded up to 4 times the previous
throughput. Creating some indexes for columns that changed names seems to
have fixed the problem.

Signed-off-by: Diego Tavares <[email protected]>
@DiegoTavares
Copy link
Collaborator Author

@bcipriano Ready for review

@DiegoTavares
Copy link
Collaborator Author

Ping

TABLESPACE pg_default;


create index concurrently i_layer_int_cores_max on layer(int_cores_max);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: use consistent capitalization within the file -- preferred CREATE INDEX CONCURRENTLY ... ON ...

@DiegoTavares DiegoTavares merged commit 42542c1 into AcademySoftwareFoundation:master Jan 30, 2024
11 of 12 checks passed
carlosfelgarcia pushed a commit to carlosfelgarcia/OpenCue that referenced this pull request May 22, 2024
…tion#1304)

* Add new indexes to improve booking performance

After the changes on the gpu PR AcademySoftwareFoundation#924
the performance of the booking query degraded up to 4 times the previous
throughput. Creating some indexes for columns that changed names seems to
have fixed the problem.

Signed-off-by: Diego Tavares <[email protected]>

* Update cuebot/src/main/resources/conf/ddl/postgres/migrations/V18_Add_New_Indexes

Signed-off-by: Diego Tavares da Silva <[email protected]>

* Update cuebot/src/main/resources/conf/ddl/postgres/migrations/V18_Add_New_Indexes

Signed-off-by: Diego Tavares da Silva <[email protected]>

* Update cuebot/src/main/resources/conf/ddl/postgres/migrations/V18_Add_New_Indexes

Signed-off-by: Diego Tavares da Silva <[email protected]>

---------

Signed-off-by: Diego Tavares <[email protected]>
Signed-off-by: Diego Tavares da Silva <[email protected]>
carlosfelgarcia pushed a commit to carlosfelgarcia/OpenCue that referenced this pull request May 22, 2024
…tion#1304)

* Add new indexes to improve booking performance

After the changes on the gpu PR AcademySoftwareFoundation#924
the performance of the booking query degraded up to 4 times the previous
throughput. Creating some indexes for columns that changed names seems to
have fixed the problem.

Signed-off-by: Diego Tavares <[email protected]>

* Update cuebot/src/main/resources/conf/ddl/postgres/migrations/V18_Add_New_Indexes

Signed-off-by: Diego Tavares da Silva <[email protected]>

* Update cuebot/src/main/resources/conf/ddl/postgres/migrations/V18_Add_New_Indexes

Signed-off-by: Diego Tavares da Silva <[email protected]>

* Update cuebot/src/main/resources/conf/ddl/postgres/migrations/V18_Add_New_Indexes

Signed-off-by: Diego Tavares da Silva <[email protected]>

---------

Signed-off-by: Diego Tavares <[email protected]>
Signed-off-by: Diego Tavares da Silva <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants