[firebird-support] do fields with foreign key need index

2014-01-22 Thread dixonepperson
if table A has a primary key and table B has a field with a foreign key on A.primary does that field in table B also need an index or will it use the index for the primary key?

[firebird-support] Compound indexes

2014-01-22 Thread dixonepperson
I remember reading years ago that Firebird would compile multiple indexes based on the search requirement and that it was better to do indexes that way instead of creating multiple compound indexes. eg Table1 ( field1, field2, field3, ) this is better Create Index idx1 on Table1

Re: [firebird-support] Very very very slow FB 2.5.2 64bit performance on Windows 2008 R2

2014-01-22 Thread Roland Turcan

RE: [firebird-support] Compound indexes

2014-01-22 Thread Leyne, Sean
I remember reading years ago that Firebird would compile multiple indexes based on the search requirement and that it was better to do indexes that way instead of creating multiple compound indexes. SL That approach is not true is 100% of cases. It depends on many factors: - How

Re: [firebird-support] Very very very slow FB 2.5.2 64bit performance on Windows 2008 R2

2014-01-22 Thread Alexey Kovyazin
Hi Roland, I have tried to change this parameter (actually =20), but I don't see any change. 20? It is below all meaningful values. If you are using SuperServer, set 1, if Classic or SuperClassic, set 1024, and _restart_ Firebird. What else can I test? If you are interested in