I have one PostgreSQL database which has 100 tables and each table has 10,000 records and each record has 512 characters (JSON). Another side is one server(Java) that socket