I would love to paste my query in this e-mail, but
there are about 23 tables in the JOIN clauses AND
that may exclude a View, which is contributing to the poor performance of this query.
Extracting data from this View directly takes less than 5 seconds, and running a query without joining to the view (left join) takes about 25 seconds. But when including the view, the query takes more than 48 seconds to complete.
Like to take it down to at least 30 seconds. Any idea why joining to a view in a query takes much longer to execute?
Thanks for listening by the way.
chow.