Records inside large databases

If I good understand, Nextcloud is synchronizing files but not records.
What if a database appear as one very large file ?
Has Nexcloud solutions for databases like POSTGRES and NEO4J ?

You’ll have to elaborate on your use case. Nextcloud is not a data backup nor a database sync application.

Most database platforms have their own preferred replication and clustering models.