#83702Recycler is unbearable slow when querying nested trees
Description
In my setup, I have ~1000 deleted records of ~50 tables spread in a tree structure of 3 levels. Querying all deleted records starting from pid 0 takes about 2 minutes to be completed.