When we try to run any query against broadlog RCP table, we always see that the data retrieval is very slow, for example :-
above is the only query to read the data from the broadlogRCP table, which takes long hours to get the data and sometimes even times out.
We also have checked if there are any parallel jobs running on the same table or any other through the query monitoring, but did not see any except this workflow.
Since it is Adobe Hosted environment we are not able to see the logs properly.
I was just wondering should this table be optimized or analysed before we start the run the query activity.
I will just query on channel equal to Email and status equal Sent.
If your query is a frequent query and is taking long add db index on channel and status fields in the broadlog rcp schema.
I tried the way you mentioned but the result is still the same, the workflow is still running now.
Hello @adithyacs86 ,
There are two conditions which I think are not required.
channel fo delivery equal to Email
and status equal to sent
Use these two conditions only and you will have the same result and will surely take less time to execute.