No response to queries for data over 100M

There is a database of approximately 113 million documents. And when the system makes a request here, it causes long waits and does not give any timeout error. As a solution to this, are there any active methods that we can apply without losing the data, or how can you quickly suggest data deletion for certain areas?