Every database I could think of at the moment. Even SQL-Lite is able to handle billions of rows.
Probably some xargs sed awk hacks are also sufficient for results in milliseconds.
You start getting problems when dealing with >128 TB databases like the legacy crm databases at Bayer and Siemens e.g.