Replies: 3 comments 8 replies
-
|
It's possible, and we may still consider doing so if it turns out to be a real problem for Elsa 2. We'll keep an eye on that. |
Beta Was this translation helpful? Give feedback.
-
|
If you're using one of the EntityFramework providers adding an index to the definition table would help quite a bit - there are no indexes on any of those tables right now! @sfmskywalker , is this something you'd like to see? Here is a proof of concept. My index goes: Status, DefinitionId, Version. In my use case I plan on showing my users their active/completed work in an area that will contain several different workflows. I included Version so that I can exclude old, outdated tasks if needed. I put Status in front because it should help the performance of the |
Beta Was this translation helpful? Give feedback.
-
|
Looking good. I would go a bit further even and add indices for the following: Workflow Definition
Workflow Instance
Bookmark
Most of the above fields are being queried or ordered by, and some of them I suspect will eventually be used in a query. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In persistence , 'WorkflowDefinitionVersion' contain workflow definition and all versions , can it split by definition and versions ?
consider reason: if there has many items in 'WorkflowDefinitionVersion' table , it may be list slow when frontend show .
Beta Was this translation helpful? Give feedback.
All reactions