发明授权
US08949455B2 Path-caching mechanism to improve performance of path-related operations in a repository 有权
路径缓存机制,以提高存储库中路径相关操作的性能

Path-caching mechanism to improve performance of path-related operations in a repository
摘要:
A method and apparatus for processing path-based database operations is provided. According to one aspect, a path cache is maintained. For each hierarchical node that is traversed during a path-determining operation, it is determined whether a cache entry corresponding to that node is already contained in the path cache. If such a cache entry is already contained in the path cache, then the path indicated in that cache entry is used to complete the pathname for the node for which the operation is being performed. As a result, hierarchically higher nodes do not need to be traversed to complete the operation. Alternatively, if such a cache entry is not already contained in the path cache, then a cache entry for the node currently being traversed is generated and inserted into the path cache for use in subsequent path-determining operations.
信息查询
0/0