Thanks alot
I did simple performance measure of using select with a view and another using SQL Joins. I use IBExpert but I dont know which connection component they use.
Total records 100K+
First time view select:
------ Performance info ------
Prepare time = 16ms
Execute time = 62ms
Avg fetch time = 3.10 ms
Current memory = 9,269,236
Max memory = 10,341,252
Memory buffers = 2,048
Reads from disk to cache = 53
Writes from cache to disk = 0
Fetches from cache = 7,137
Second time view select:
------ Performance info ------
Prepare time = 0ms
Execute time = 15ms
Avg fetch time = 0.83 ms
Current memory = 9,337,900
Max memory = 10,554,304
Memory buffers = 2,048
Reads from disk to cache = 0
Writes from cache to disk = 0
Fetches from cache = 7,075
First time SQL Joins (Windows restarted)
------ Performance info ------
Prepare time = 16ms
Execute time = 47ms
Avg fetch time = 5.22 ms
Current memory = 9,302,156
Max memory = 10,341,252
Memory buffers = 2,048
Reads from disk to cache = 53
Writes from cache to disk = 0
Fetches from cache = 7,137
Second time SQL Joins
------ Performance info ------
Prepare time = 0ms
Execute time = 15ms
Avg fetch time = 0.83 ms
Current memory = 9,341,420
Max memory = 10,554,304
Memory buffers = 2,048
Reads from disk to cache = 0
Writes from cache to disk = 0
Fetches from cache = 7,075
No difference I guess I use SQL joins as it is faster in development.