[firebird-support] Re: Problem with restoring database

2019-05-31 Thread hv...@users.sourceforge.net [firebird-support]
Looks like http://tracker.firebirdsql.org/browse/CORE-5228 http://tracker.firebirdsql.org/browse/CORE-5228 Regards, Vlad

[firebird-support] Problem with restoring database

2019-05-31 Thread Krzysztof Chorzępa k.chorz...@sente.pl [firebird-support]
Hi I have a problem with restoring the database. I use gbak.exe on firebird 2.5.8. Proces of restoring the database stops during the restoration of records – logs and file doesn't grows, processor is loaded on 100%, but I don’t have any errors. My problem started when database exceeded 4,4 billion

Re: [firebird-support] Re: Query optimizer is not using the useful indexes.

2019-05-31 Thread danysch...@yahoo.com [firebird-support]
Sorry, I tried to say compound index (FECH,HORA).

[firebird-support] Re: Issue with large table in FB 1.5 and 2.5

2019-05-31 Thread my...@techsol.org [firebird-support]
An update and a huge thank you to everyone for your input and help on this. I spent most of yesterday writing Linux bash scripts and closing off ports on the database server so I could run this from a remote SSH request from a web server. I wrote a pretty extensive script library that will dro

Re: [firebird-support] Re: Query optimizer is not using the useful indexes.

2019-05-31 Thread danysch...@yahoo.com [firebird-support]
What I uderstand is, simply by adding a new index for the field FECH, makes this query to go faster again, like it was before Firebird 2.5.4 in where something changed, making it does not use my compound index (FECH,MOVI) anymore.

Re: [firebird-support] Re: How to specify manual plan for this kind of query?

2019-05-31 Thread liviuslivius liviusliv...@poczta.onet.pl [firebird-support]
>> Really? I'd suppose the changed part should be: >> HASH (CTE T T NATURAL, CTE K NATURAL)) >> Dmitry   No,   My oryginal plan generated by Firebird looks like this PLAN (SORT (JOIN (CTE T T NATURAL, CTE K INDEX (IXA_NAMES_K__NAME))), HASH (CTE T T NATURAL, CTE K INDEX (IXA_FNAMES_K__ID)))   and

Re: [firebird-support] Re: Query optimizer is not using the useful indexes.

2019-05-31 Thread Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
31.05.2019 13:18, danysch...@yahoo.com [firebird-support] wrote: > That (and ONLY THAT) is making my query to need 24 minutes insted of 1 minute. Do you understand that DISTINCT inside of IN is meaningless? -- WBR, SD. --

[firebird-support] Re: Query optimizer is not using the useful indexes.

2019-05-31 Thread danysch...@yahoo.com [firebird-support]
Hello; select “PROC” from “PROC” where “PROC” in ( select distinct "PROC" from "MOVI" where "MOVI"."TIPO" in ('1','A','B') and ("MOVI"."FECH" between '20190301' and '20190412')

Re: [firebird-support] Re: Issue with large table in FB 1.5 and 2.5

2019-05-31 Thread Thomas Steinmaurer t...@iblogmanager.com [firebird-support]
Hi Mark, > On 30-5-2019 16:14, Thomas Steinmaurer t...@iblogmanager.com > [firebird-support] wrote: >>> Also one further question  Do later versions of Firebird (ie. 3 or >>> 4) have any performance increase for cooperative garbage collection at >>> all?  Would I expect to see any performance