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

reorder task and task_attempt primary key #75

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

maxcountryman
Copy link
Owner

This reorders the task and task_attempt primary keys such that the queue name prefixes the index name. Because queues are contained within the same physical table, this prefix helps ensure better performance when selecting tasks from the queue.

Closes #68

This reorders the task and task_attempt primary keys such that the queue
name prefixes the index name. Because queues are contained within the
same physical table, this prefix helps ensure better performance when
selecting tasks from the queue.

Closes #68
@maxcountryman maxcountryman merged commit 3b6349a into main Nov 26, 2024
4 checks passed
@maxcountryman maxcountryman deleted the primary-key-reordering branch November 26, 2024 23:17
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.

Task primary key should be reversed: (task_queue_name, id)
1 participant