Subject | Re: [firebird-support] Re: Performance of recursive table |
---|---|
Author | Milan Babuskov |
Post date | 2006-12-08T08:00:39Z |
chrisacron wrote:
to the required depth, so it would be much, much faster on "short" tree
branches which only go few nodes deep.
--
Milan Babuskov
http://swoes.blogspot.com/
http://www.flamerobin.org
> I had thought of that but wouldn't a recursive stored procedure incurIf you have proper indexes, no. Besides, stored procedure would only go
> an even bigger overhead? As each level fires a select statement that
> has to run for each row returned?
to the required depth, so it would be much, much faster on "short" tree
branches which only go few nodes deep.
--
Milan Babuskov
http://swoes.blogspot.com/
http://www.flamerobin.org