When I execute sql with using agent_context, it is very slow. it take a hour over. (This data file size is 4GB) But when I using context, I can get the results as many as it get events each time.

The reason is that the agent_context is a descending index and therefore it could not be used for the 1st query. So a scan was performed…