"SQL" isn't really quite enough information to answer your question. "SQL" is a specification for how to interact with a database, not a product. Most databases are accessible via SQL queries.

However, Microsoft produces a product called "SQL Server", which is often abbreviated to "SQL", which is quite annoying.

Assuming that the product you're talking about is Microsoft SQL Server, I would doubt that the amount of data you're talking about is that big. Verizon seems to hold the record at over 5TB and over 33 billion records.

Oracle is another very popular database system, and it has a record of 100TB of data in 385 billion records. And that's not even the largest database in that survey (330TB for size, nearly 3 trillion rows, in different databases).

Of course, even that doesn't take into account the application that you're using that accesses the database. And that is, more likely, where any problems you're seeing lie. And that has virtually nothing to do with the database system itself.
_________________________
Bitt Faulk