Ongoing Tasks - General Info


  • Ongoing tasks are work tasks defined for the database.
  • Once enabled, an ongoing task will keep on running in the background, and perform its defined work whenever a data change relevant to it occurs.
  • Each task has a responsible node from the Database Group nodes, this node will actually perform the defined task work.
  • The available ongoing tasks are:

    • External Replication
      • Create a live copy of one database in another RavenDB database
      • This replication is initiated by a node in the source database group
    • Hub/Sink Replication Tasks
      • Create a live copy of a database or a part of it in another RavenDB database
      • The replication is initiated by the sink task
      • The replication can be bidirectional or limited to a single direction
      • The replication can be filtered to allow the delivery of selected documents
    • RavenDB ETL
      • Write all or chosen database documents to another RavenDB database
      • Data can be filtered and modified with transformation scripts
    • SQL ETL
      • Write the database data to a relational database
      • Data can be filtered and modified with transformation scripts
    • OLAP ETL
      • Convert database data to the Parquet file format for the purpose of OLAP
      • Data can be filtered and modified with transformation scripts
    • Elasticsearch ETL
      • Write all or chosen database documents to an Elasticsearch destination
      • Data can be filtered and modified with transformation scripts
    • Backup
      • Schedule a backup or a snapshot of the database at a specified point in time
    • Subscription
      • Sending batches of documents that match a pre-defined query for processing on a client
      • Data can be filtered and modified with transformation scripts
  • In this page:


Ongoing Tasks - View

Figure 1. Ongoing Tasks View

Ongoing Tasks List for databases DB1

  1. The list of the current tasks on the database

  2. Task name & state:

    • Active - Task is active and will do its job when there is a change to the database
    • Not-Active - Task is defined but has been disabled
    • Not on Node - The node in the currently viewed tab is not responsible for performing the task
    • Reconnect - Destination is unavailable, the task is active and trying to reconnect
  3. The node that is currently responsible for doing the task

    • If not specified by the user, the cluster decides which node will actually be responsible for the task
    • If a node is down, the cluster will reassign the work to another node for the duration
  4. Tasks graph view

Ongoing Tasks - Actions

Figure 2. Ongoing Tasks Actions

Ongoing Tasks - Actions

  1. Add Task - Create a new task for the database - see below
  2. Details - Click for a short task details summary in this view
  3. Enable / Disable the task
  4. Edit - Click to edit the task
  5. Delete the task
  6. Full screen - Click to see the graph in a full-screen mode

Ongoing Tasks - Add New Task

Figure 3. Ongoing Tasks New Task

Add Ongoing Task