Re: Help with recursive queries... BIG problem.
From: Star (----)
Date: 03/01/04
- Next message: Joe Celko: "Re: Testing Performance of Queries"
- Previous message: HartA: "datediff"
- In reply to: Daniel P.: "Re: Help with recursive queries... BIG problem."
- Next in thread: Joe Celko: "Re: Help with recursive queries... BIG problem."
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 1 Mar 2004 17:56:11 -0500
Daniel,
Thanks a lot for your quick answer.
> I think it is. The question is if it's going to perform well enough or
not.
> SQL does not know how to deal with trees. The alternative solution is to
> load all the data into a C++ app and process the trees there.
That's something we thought about it. The problem is if we have a lot of
data.
Maybe we'd need to cache the data or something like that..
>Or put the C++
> code into an extended sprocs that executes on the SQL server side.
Yes, I did that. I use a recursive store procedure to process a tree.
However, the speed
is still very bad, if we have thousands of records.
> The other solution is to try to use the beta version of Yukon, I played
with
> it a little but I do not know how stable is. It has new features added to
> the SQL language including recursive queries. If I get the chance I'll
try
> to implement your problem in Yukon just for fun :-)
I'll take a look at that tool. I will let you know if I find out something.
Thanks a lot, Daniel
- Next message: Joe Celko: "Re: Testing Performance of Queries"
- Previous message: HartA: "datediff"
- In reply to: Daniel P.: "Re: Help with recursive queries... BIG problem."
- Next in thread: Joe Celko: "Re: Help with recursive queries... BIG problem."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|