-
Notifications
You must be signed in to change notification settings - Fork 3
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
Postgres diskspace usage, indexing on TPH #1650
Comments
Refinement: See comment on #1497. Actors do also carry alot of duplication, as the name of the actor is resolved immediately and stored in full. A better approach would be to have a internal "ActorName" table, which is referred to by id from each actor object within a dialog aggregate. Name resolution should still happen immediately, but instead of storing to the actor-entity directly, a lookup for that identifier/name pair is performed, and if it matches, a reference to that actorname is stored. If no match is found (either the actor is previously unseen, or has changed name), a new entry is stored and referred to by the actor-object. This will effectively normalize the name property of the actor entity, while maintaining immutability with regards to name changing etc. Edit: added a separate issue for this: #1669 |
<!--- Provide a general summary of your changes in the Title above --> ## Description <!--- Describe your changes in detail --> ## Related Issue(s) - #[1650](#1650) ## Verification - [x] **Your** code builds clean without any errors or warnings - [x] Manual testing done (required) - [ ] Relevant automated test added (if you find this hard, leave it and we'll help out) ## Documentation - [ ] Documentation is updated (either in `docs`-directory, Altinnpedia or a separate linked PR in [altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if applicable) Co-authored-by: Bjørn Dybvik Langfors <[email protected]> Co-authored-by: Magnus Sandgren <[email protected]>
<!--- Provide a general summary of your changes in the Title above --> ## Description <!--- Describe your changes in detail --> ## Related Issue(s) - #1650 ## Verification - [ ] **Your** code builds clean without any errors or warnings - [ ] Manual testing done (required) - [ ] Relevant automated test added (if you find this hard, leave it and we'll help out) ## Documentation - [ ] Documentation is updated (either in `docs`-directory, Altinnpedia or a separate linked PR in [altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if applicable)
No description provided.
The text was updated successfully, but these errors were encountered: