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

BoardJobPost possibly needs a copy of datetime and status fields #382

Closed
jace opened this issue Feb 16, 2017 · 1 comment
Closed

BoardJobPost possibly needs a copy of datetime and status fields #382

jace opened this issue Feb 16, 2017 · 1 comment

Comments

@jace
Copy link
Member

jace commented Feb 16, 2017

Loading jobs currently requires a join and sort between BoardJobPost and JobPost, as the first decides what's included, and defines a sort order based on the pinned column, while the second provides status and datetime which are used to exclude older posts, and as a secondary sort key.

If datetime and status are replicated in BoardJobPost, we'll no longer need the join to filter and sort. The join is then only to fill in details. datetime is set only twice, (a) when the draft is created and (b) when it's confirmed. It's never changed after that. status changes more often, but also under controlled conditions. Unfiltered index page performance will improve with this.

@jace
Copy link
Member Author

jace commented Feb 27, 2018

Deprecated by #418.

@jace jace closed this as completed Feb 27, 2018
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

1 participant