# Query elapsed time

**URL:** <https://www.singlestore.com/forum/t/query-elapsed-time/5695>\
**Category:** Query Tuning\
**Created:** [September 30, 2022, 1:08am UTC](https://www.singlestore.com/forum/t/query-elapsed-time/5695 "2022-09-30T01:08:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicholashjferreira](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/n/a9adbd/32.png) [@nicholashjferreira](https://www.singlestore.com/forum/u/nicholashjferreira)\
**Post date:** [September 30, 2022, 1:08am UTC](https://www.singlestore.com/forum/t/query-elapsed-time/5695/1 "2022-09-30T01:08:54Z")

</div>

Hello SingleStore,

I’m currently executing some queries on SingleStore Cloud to gather metrics of elapsed runtime of these queries. But always on the first run of the query, the elapsed time is at least 10x bigger than the other values .

 ![Screenshot_1](https://forum-prod-assets20231213123829991800000001.s3.dualstack.us-east-1.amazonaws.com/original/2X/3/332dff5a568a65940b939c7bf4fe357dd0688b65.png)

I need to know the reason of this and if there’s a way to clean the database cache besides the ‘DROP ALL FROM PLANCACHE’. Is there any other command that I should run to make sure there is no cache in any step of the execution?
