How to increase database performance with a Recursive Common Table Expression Posted on the 13th February Avoid N+1 queries when retrieving tree-like hierarchical data.