There are many ways to make a database "unusable".
One of them is using IN clauses in queries. While this can be very useful, it can also have a very adverse performance effect. Indeed, when you have thousands of values in your IN clause, the database often ends up having to do full scans. This will use heavy resources on the database side.
Avoid this scenario where possible.