Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mongo DB Storage Plugin : performance slow #2906

Open
dwevedivaibhav opened this issue Apr 24, 2024 · 1 comment
Open

Mongo DB Storage Plugin : performance slow #2906

dwevedivaibhav opened this issue Apr 24, 2024 · 1 comment
Labels

Comments

@dwevedivaibhav
Copy link

dwevedivaibhav commented Apr 24, 2024

Hi Team,

I'm attempting to retrieve a large collection of data and apply filtering based on datetime, but the performance is quite slow. Despite adding a datetime filter index to the MongoDB collection, it seems that the index is not being utilized by drill.

Please find the sample query which i am executing from apache drill

select * FROM mongo.sampletable
WHERE SentTime >= TO_TIMESTAMP('2023-08-10 00:00:00', 'yyyy-MM-dd HH:mm:ss')
AND SentTime < TO_TIMESTAMP('2023-08-17 00:00:00', 'yyyy-MM-dd HH:mm:ss')
LIMIT 10

any leads will be apricated.

Thanks

@jnturton
Copy link
Contributor

Can you attach the query profile here? In the Drill web UI, Profiles -> (your query) -> JSON profile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants