创建新的 BPMN proc 时,camunda 数据库中存储了多少 table 数据

How many table are stored data in camunda database when creating new BPMN proc

我必须创建一个基于 Camunda BPM 平台的 BPMN 流程。但是当流程创建成功后,不知道有多少张表存储了BPMN流程顶端的数据。你能告诉我包含我的 BPMN 流程数据的表格吗?

参考文献:Camunda Database Schema

根据Camunda forum discussion

process engine stores the XML in the database

进一步挖掘导致 another discussion entry,这表明 XML 可能作为一个片段存储在数据库中:

ACT_GE_BYTEARRAY is correct. For correctly interpreting the BYTES_ field, your report script must be able to detect the encoding from the XML declaration or assume one (should be UTF-8)

yet another forum entry 证实了这个假设

Usually files are getting stored as Blob in ACT_GE_BYTEARRAY (And as you have already mentioned, camunda saves the reference in ACT_RU_VARIABLE.BYTEARRAY_ID_)

还有documentation how to extract the information from the blobs.

最后但同样重要的是,根据 Camunda Userguide 7.5,该过程也存储为机器可读格式:

The ACT_RE_PROCDEF table contains all deployed process definitions. It includes information like the version details, the resource name or the suspension state.