Skip to content

Configuration - single-nodeΒΆ

To configure FalconDB, edit startJvmCommand properties inside core-microservice.tar.gz/conf/conf.yml file.

  • log-directory defines path to the logs of the microservice. By default, ${application-instance-logs-path}.
  • http-port defines port on which the microservice will be started. By default, ${application-instance-port-1}.
  • read-lock-time-in-millis defines expire time for read lock in milliseconds. By default, 1200000.
  • flush-data-on-storage-time-in-millis defines how often database should be flushed (data from memory put into the database file, so it's state is permanent) in milliseconds. By default, 60000.
  • barriers-default-expire-time-in-millis defines default expire time for barriers in milliseconds. By default, 600000.
  • path-data-base-directory defines path where the database directory is or will be created. By default, ${node-manager-path}/storage/falcon-db/${application-id}/database.file.
  • path-data-base-backup-directory defines path to the directory, which stores database backup files. By default, ${node-manager-path}/storage/falcon-db/${application-id}/backup.
  • path-files-directory defines path to the directory, which stores files saved to the database. By default, ${node-manager-path}/storage/falcon-db/${application-id}/files.
  • path-health-check-file defines path to the health check file. By default, ${node-manager-path}/storage/falcon-db/${application-id}/health-check/health-check.file.
  • path-permit-for-delete-tables-file defines path to the files, which will contains UID, which holds permit to delete database tables. By default, ${node-manager-path}/storage/falcon-db/${application-id}/uid/uid.file.
  • data-base-size-in-mb defines size of the database in MB. By default, 2048.
  • compute-database-size-in-memory-on-storage-error defines if the database size should be computed on storage error. By default, false.
  • run-db-garbage-collector defines if the database garbage collector should be run. By default, false.
  • file-max-write-chunk-size defines max size of a chunk to be written to the file in database. By default, 262144.
  • file-max-read-chunk-size defines max size of a chunk, which will be read from the file in database. By default, 262144.
  • is-restore-database-if-error-occurred - defines if the database will be restore on error. By default, true.