Re: [firebird-support] Query too slow

2015-02-18 Thread Svein Erling Tysvær svein.erling.tysv...@kreftregisteret.no [firebird-support]
>Hi; > >I am using FB 2.5.3. in a fast environment (win8 64bit - QuadCore 3.4 Ghz - 8 >GB ram). > >If I run this query it goes very very fast and returns 84 records: > >Preparing query: select distinct "PROC" from "GEST" where ("GEST"."FSAL" >between '20080801' and '20080812') order by "PROC" >Pr

Re: [firebird-support] Automatic Transaction/Attachment closure on client connection lost or timeou

2015-02-18 Thread Ivan Arabadzhiev intelru...@yahoo.com [firebird-support]
Hi, Don`t know about specific transactions (can`t imagine the client suddenly trying to use an externally closed transaction), but you could use the monitoring tables and kill attachments, which have transactions that were started too long ago. I expect the other applications can handle network iss

Re: [firebird-support] Query to slow

2015-02-18 Thread Fabiano Kureck - Desenvolvimento SCI fabi...@sci10.com.br [firebird-support]
"select in" does not use indexes. Use EXISTS() instead. On 18/02/2015 11:25, martin_gorr...@yahoo.es [firebird-support] wrote: Hi; I am using FB 2.5.3. in a fast environment (win8 64bit - QuadCore 3.4 Ghz - 8 GB ram). If I run this query it goes very very fast and returns 84 records: P

[firebird-support] Query to slow

2015-02-18 Thread martin_gorr...@yahoo.es [firebird-support]
Hi; I am using FB 2.5.3. in a fast environment (win8 64bit - QuadCore 3.4 Ghz - 8 GB ram). If I run this query it goes very very fast and returns 84 records: Preparing query: select distinct "PROC" from "GEST" where ("GEST"."FSAL" between '20080801' and '20080812') order by "PROC" Pr

[firebird-support] CakePHP datasource for firebird

2015-02-18 Thread chr1sshar...@yahoo.com [firebird-support]
Anyone know if/when CakePHP is likely to work with Firebird again? Or care to give me some pointers on what needs doing? Thanks

RE: [firebird-support] Know nothing - please help

2015-02-18 Thread zilez2...@yahoo.com [firebird-support]
Perfect! Thank you very much. Regards, Zoran

Re: [firebird-support] Know nothing - please help

2015-02-18 Thread Tim Ward t...@telensa.com [firebird-support]
On 18/02/2015 11:05, Svein Erling Tysvær svein.erling.tysv...@kreftregisteret.no [firebird-support] wrote: Note that I removed your right join since your where clause logically and practically makes it an inner join. It might nonetheless have been deliberate - sometimes swapping between in

RE: [firebird-support] Know nothing - please help

2015-02-18 Thread Svein Erling Tysvær svein.erling.tysv...@kreftregisteret.no [firebird-support]
>I have a query like this: > >select >   artikli.a_sif, >    v1.v_txt, >    v2.v_txt, >    coalesce(sum(magkol.k_total),0) total, >    coalesce(sum(magkol.k_nabcen * magkol.k_total),0) vrednost, >    coalesce(sum(magkol.k_nabcen * magkol.k_total),0)/ >coalesce(sum(magkol.k_total),1) nc, >    coale

[firebird-support] Know nothing - please help

2015-02-18 Thread zilez2...@yahoo.com [firebird-support]
I have a query like this: select artikli.a_sif, v1.v_txt, v2.v_txt, coalesce(sum(magkol.k_total),0) total, coalesce(sum(magkol.k_nabcen * magkol.k_total),0) vrednost, coalesce(sum(magkol.k_nabcen * magkol.k_total),0)/ coalesce(sum(magkol.k_total),1) nc, coalesce(sum(iz