title: How to create KDB query which groups by time interval and do not bring RDB down?
body: <p>We receive quotes from exchange and store them in KDB Ticker Plant. We want to analyze volume in RDB and HDB with minimum impact on performance of these database since they are also used by other teams. </p>
  
  <ul>
  <li>Firstly, how we may create a function which splits a day in 10 minutes intervals and for each interval create a stat with volume? Which KDB functions do we need to use? </li>
  <li>Secondly, how to do it safely? Should we extract records in a loop portion by portion or in one go with one query? We have around 150 million records for each day in our database.</li>
  </ul>