RBA
RBA

Reputation: 12584

SELF JOIN vs LEFT JOIN performance in FireBird

To increase the speed of different queries run against a Firebird 2.5 database from a Delphi XE win32 application, which are the faster:

OR

taking in consideration that tables concerned will contain more than 50k rows, and I will add indexes in order to speed up the queries as much as I can.

Upvotes: 1

Views: 3643

Answers (1)

cadetill
cadetill

Reputation: 1552

to increase speed of a query, you need to create a index by all fields that are involved on WHERE clause

Upvotes: 0

Related Questions