Subject | Re: [firebird-support] How to diagnose this problem? |
---|---|
Author | Milan Babuskov |
Post date | 2006-11-21T21:43:46Z |
Anthony Tanas wrote:
GROUP BY already groups records together. Try to remove DISTINCT from
the query.
BTW, what is the plan for that query?
then it will cancel it.
--
Milan Babuskov
http://swoes.blogspot.com/
http://www.flamerobin.org
> I've compared the databases to make sure they are the same...that leaves theYou can use FBCopy (or some similar tool) to compare the data as well.
> only difference as the data itself! How can I figure out where the problem
> is? :(
> The problem must be in the data since it is only one location but in case it...
> may help here is the simplest of the queries that does not return:
>
> SELECT DISTINCT
> GROUP BYI never had a need to use DISTINCT if I have GROUP BY already in there,
GROUP BY already groups records together. Try to remove DISTINCT from
the query.
BTW, what is the plan for that query?
> A side question - if I kill the client the CPU on the server still runs atAFAIK, it will keep working until it tries to fetch the first record and
> 100% untill I kill the firebird server. Will the firebird server ever give
> up on the query or will it bog down the server untill firebird is restarted?
then it will cancel it.
--
Milan Babuskov
http://swoes.blogspot.com/
http://www.flamerobin.org