Database schema for storing of Unified ConfigurationPage added by Alex RudyyThere are several ways to implement database structure for storing configuration objects. Existing database schema.Unable to render embedded object: File (old-design.png) not found. Existing database schema contains 10 tables to store the following:
In order to store the entire broker configuration with such schema more tables are actually needs to be created for storing configuration entities like broker, virtual hosts etc. That's seems impractical and require extra development efforts to implement functionality for each configurable object. Database schema with storing relationship in the tablesvariant 1) table per relationshipUnable to render embedded object: File (new-design-version-1.png) not found. With this design configurable objects (broker, virtual hosts, queues, queue bindings, exchanges, exchange bindings etc) can be stored in CONFIGURATION table. Each configurable object should have a unique ID and all its attributes are stored in attributes column as BLOB. On the design above QUEUE_BINDINGS table is added to store queue bindings and QUEUE_ALTERNATE_EXCHANGES is added to store queue alternate exchanges variant 2) single table for storing all relationshipUnable to render embedded object: File (new-design-version-2.png) not found. With this design configurable objects (broker, virtual hosts, queues, queue bindings, exchanges, exchange bindings etc) can be stored in CONFIGURATION table. Each configurable object have a unique ID and all its attributes are stored in attributes column as BLOB. ASSOCIATION_TYPE column is used to distinguish the association type. Database schema with storing relationship in JSON formatUnable to render embedded object: File (new-design-version-3.png) not found. With this design configurable objects are stored in CONFIGURATION table.
Change Notification Preferences
View Online
|
Add Comment
|
- [CONF] Apache Qpid > Database schema for storing of Unified ... confluence
- [CONF] Apache Qpid > Database schema for storing of Uni... confluence
- [CONF] Apache Qpid > Database schema for storing of Uni... confluence
- [CONF] Apache Qpid > Database schema for storing of Uni... confluence
- [CONF] Apache Qpid > Database schema for storing of Uni... confluence
