A simple operational database system used to manage customer information.
bin/build.sh
- Config the
database-url
at the fileresources/config.edn
. The database-url points to data warehouse. - Build the
ku-crm
by usingbin/build.sh
- Clear the
ops_student
table inside the data warehouse bybin/ops_student.sh
- Run the command
;; Assume that we want to store the operational database at the directory ./resources/datalevin/db
java -jar target/ku-crm.jar :import ./resources/datalevin/db
;; sync the data from operational database to postgre-url
java -jar target/ku-crm.jar :sync ./resources/datalevin/db
|----------------| --> import --> |--------------|
| data warehouse | | ops database |
|----------------| <-- sync <--- |--------------|
- the original data stored at
student
table at the data warehouse. - the
ops_student
table at the data warehouse should be synced from ops database.
Copyright © 2022 Laurence Chen and Contributors
Licensed under the term of the Mozilla Public License 2.0, see LICENSE.