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

AAE-25874 Create indexes on task and task_process_variable #1547

Merged
merged 5 commits into from
Sep 30, 2024

Conversation

tom-dal
Copy link
Contributor

@tom-dal tom-dal commented Sep 20, 2024

Copy link
Contributor

@jesty jesty left a comment

Choose a reason for hiding this comment

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

In the issue I saw a index on value field on process_variable table. Why we don't have here?

@tom-dal
Copy link
Contributor Author

tom-dal commented Sep 26, 2024

@jesty the index on process_variable in the issue is the one that we created manually on the old version of activiti where value is a string field. We took care of removing this index before changing value column type with this changeset:

With the new schema where the value is a jsonb we have some indexes here:

Copy link
Contributor

@jesty jesty left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

sonarcloud bot commented Sep 30, 2024

@tom-dal tom-dal enabled auto-merge (squash) September 30, 2024 07:22
@tom-dal tom-dal merged commit ac956d5 into develop Sep 30, 2024
13 of 14 checks passed
@tom-dal tom-dal deleted the improvement/AAE-25874-task-proc-var-indexes branch September 30, 2024 07:57
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.

Slow query on task and task_process_variable
3 participants