Page Processing Efficiency
Date: Tue, 21 Oct 2003 18:58:03 -0500
Message-ID: <3F95C80B.30A66D28_at_ram.lmtas.lmco.com>
If I had a page that was being generated using coldfusion from queries
to an oracle table would it be better response time:
A) pulling the all the data using 1 query and iterating over the same
result table multiple time producing desired arrays, or
B) pulling specific data using specific queries with less production of
arrays and proccessing after te data was returned?
In the example I had 2 date fields called start and comp in a table with
and
" SELECT max(max_comp) as max_comp
FROM
(
SELECT max(BASE_COMP) as max_comp
FROM TASK
WHERE my_NUM = '131'
UNION
SELECT max(ACT_COMP) as max_comp
FROM TASK
WHERE my_NUM = '131'
)
"
Received on Wed Oct 22 2003 - 01:58:03 CEST