K
K
Kors2M2018-03-27 18:57:23
Database
Kors2M, 2018-03-27 18:57:23

How to organize database replication?

There is measuring equipment, which is located remotely in different branches.
They maintain archival measurement data,
databases on various platforms, all databases are stored locally on the equipment, database platforms are different.
I want to make software replication from all equipment into a single database.
1. Which way to choose?
I think to do so,
Write a service in java, which connects to the equipment database through drivers, makes a selection per day (synchronization once a day) and enters this data into our database.
2. How to store data in the database?
To create for each branch the DB?
or store similar equipment data in one table, adding the site id?
Or does each equipment of the branch site have its own plate?
From a single database, various analyzes will be carried out, reports will be generated, i.e. 90% are selects.
PostgreSQL database server.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yerlan Ibraev, 2018-03-28
@mad_nazgul

IMHO, can it be worth wrapping data from "local" databases, for example, in kafka or hadoop, and then aggregate this data and write it to the central database?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question