Replies: 1 comment
-
Hi @amureki 👋, Since those fields are usually used for sorting, I presume a default index isn't a bad idea. You could also make a case to drop the field entirely. Yet, since storage is fairly cheap these days, I would error on the side of caution. However, if you are experiencing performance issues because you are processing so many tasks that the index write is throttling your database, you can simply drop the index. Django won't complain 🤷; it won't even know. FYI: For your restore, you can also exclude the table from being restored. As I have shown with emark. I hope this help. Best |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey @codingjoe !
Thanks again for the package. :)
We're running a Django application using joeflow and noticed that the
joeflow_task_modified_a7cae80a
index is big (103 MB in our case), making it the heaviest database indexes we have on one of the services.The number of tasks is not that significant.
So one question I had, Is the index on the
modified
field actually needed for joeflow's internal operations?I am not sure about your opinion on the indexes in this package (overall, joeflow has quite a lot of them leading the table of records, haha), is this something we can iterate on?
Cheers,
Rust
Beta Was this translation helpful? Give feedback.
All reactions