-
Notifications
You must be signed in to change notification settings - Fork 98
[MNT-25404] Query Performance - High performance cost in retrieving nodes/node properties for large result sets #3631
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
Conversation
…s for arm64 architecture
…odes/node properties for large result sets - Updated ResultMapper -- Added getNodes Method -- Removed HISTORY NodeStore (Never Implemented) -- Adjusted to use batch queries -- VERSIONS does not fully use this approach because of the complexity with versionhistory lookups. Needs to be addressed in the future - Added new methods across NodeService, Nodes, NodeDAO to accept Lists of NodeIds and NodeRefs. - In all but one case, there were exising SQL Queries for looking up Nodes using IN over equals - There are places still where single value lookups are made. In most cases, the values should be cached by the time these lookups are executed or these are error/exception handling cases.
…odes/node properties for large result sets - Add getAspects(List<NodeReg>) to the NodeService interface
…odes/node properties for large result sets - Add missing getAspects Method to VirtualNodeServiceExtensionImpl, NodeServiceImpl, and Node2ServiceImpl - And pre-commit changes
…odes/node properties for large result sets -pre-commit updates -Temp ignore test. Is it still valid?
…odes/node properties for large result sets - Clarify why the test is now disabled
…odes/node properties for large result sets - pre-commit changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 27 out of 27 changed files in this pull request and generated 103 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
repository/src/main/java/org/alfresco/repo/cache/lookup/EntityLookupCache.java
Outdated
Show resolved
Hide resolved
repository/src/main/java/org/alfresco/repo/domain/node/ibatis/NodeDAOImpl.java
Outdated
Show resolved
Hide resolved
repository/src/main/java/org/alfresco/repo/domain/tenant/AbstractTenantAdminDAOImpl.java
Outdated
Show resolved
Hide resolved
remote-api/src/main/java/org/alfresco/rest/api/impl/NodesImpl.java
Outdated
Show resolved
Hide resolved
remote-api/src/main/java/org/alfresco/rest/api/search/impl/ResultMapper.java
Outdated
Show resolved
Hide resolved
…actTenantAdminDAOImpl.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…LookupCache.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…NodeDAOImpl.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…Impl.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…Impl.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…Impl.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…odes/node properties for large result sets - Add Null Protection
…odes/node properties for large result sets - Clean up Param name
…odes/node properties for large result sets - Clean up param name
…odes/node properties for large result sets - Clean up paramenter
…LookupCacheTest.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…AbstractAclCrudDAOImpl.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…LookupCacheTest.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…AbstractContentDataDAOImpl.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…odes/node properties for large result sets - Updates suggested by co-pilot
…odes/node properties for large result sets -Pre-Commit Cleanup
…tractEncodingDAOImpl.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…tNodeDAOImpl.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…tNodeDAOImpl.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…tNodeDAOImpl.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…tNodeDAOImpl.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…tNodeDAOImpl.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…odes/node properties for large result sets - Pre-commit changes
|
Shoot me for including co-pilot on older code :-( |
|
Moving to another PR for these changes |
-- Added getNodes Method
-- Removed HISTORY NodeStore (Never Implemented)
-- Adjusted to use batch queries
-- VERSIONS does not fully use this approach because of the complexity with versionhistory lookups. Needs to be addressed in the future