Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » How to avoid executing queries
How to avoid executing queries [message #1822941] Tue, 17 March 2020 07:52
Oscar Utrilla is currently offline Oscar UtrillaFriend
Messages: 1
Registered: March 2020
Junior Member
I have a main table with thousands of results.
For each record I have 6 subtables with complex queries that have a significant cost, but their visibility depends on the values obtained. Approximately, it is displayed only 5% of the time.
All this supposes too long execution times.

To improve performance, in the beforeOpen() of each subquery, if it is not necessary, i change the query for a simpler one with minimal cost, but the query continues to run and the cost remains high.

I cannot drop the subtables because there are times that they are displayed and others that are not.

Is there a way to avoid executing the query in cases that are not necessary?

tnks
Oscar
Previous Topic:Display Values in single row instead of multiple rows
Next Topic:Page Break Issue
Goto Forum:
  


Current Time: Mon Sep 23 06:17:13 GMT 2024

Powered by FUDForum. Page generated in 0.04250 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top