Postgres and MySQl (aka MariaDB for open source version) both run on linux systems and are part of the installation repositories for almost all systems and ,if not, are easily installed or compiled from repositories. Database limits are pretty much limited by attached storage provided, of course, the appropriate database storage directories are on that media.
Data limits for Postgres:
Maximum size for a database? unlimited (4 TB databases exist)
Maximum size for a table? 16 TB
Maximum size for a row? 1.6TB
Maximum size for a field? 1 GB
Maximum number of rows in a table? unlimited
Maximum number of columns in a table? 250-1600 depending on column
types
Maximum number of indexes on a table? unlimited
Data limits for MySQL (bit more complicated and depends a bit on what architecture it is compiled for and if tables are memory based or not and so forth)
See
http://forums.mysql.com/read.php?21,25724,224521 and
http://mysql.rjweb.org/doc.php/ricksrotsBoth are usable by most programming languages with APIs provided. (e.g perl, python, php, etc.)
FWIW, when I did some dabbling with databases a few years ago, I preferred Postgres over MySQL/MariaDB....