NO-JIRA Doc update database store
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/f1ac5ca4 Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/f1ac5ca4 Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/f1ac5ca4 Branch: refs/heads/master Commit: f1ac5ca40c03610ea82e532e6d3001e290b40982 Parents: ace43c8 Author: Martyn Taylor <[email protected]> Authored: Tue Mar 21 12:30:51 2017 +0000 Committer: Andy Taylor <[email protected]> Committed: Tue Mar 21 17:20:58 2017 +0000 ---------------------------------------------------------------------- docs/user-manual/en/persistence.md | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/f1ac5ca4/docs/user-manual/en/persistence.md ---------------------------------------------------------------------- diff --git a/docs/user-manual/en/persistence.md b/docs/user-manual/en/persistence.md index 323f458..e0e9c25 100644 --- a/docs/user-manual/en/persistence.md +++ b/docs/user-manual/en/persistence.md @@ -431,6 +431,7 @@ To configure Apache ActiveMQ Artemis to use a database for persisting messages a <jdbc-connection-url>jdbc:derby:data/derby/database-store;create=true</jdbc-connection-url> <bindings-table-name>BINDINGS_TABLE</bindings-table-name> <message-table-name>MESSAGE_TABLE</message-table-name> + <page-store-table-name>MESSAGE_TABLE</page-store-table-name> <large-message-table-name>LARGE_MESSAGES_TABLE</large-message-table-name> <jdbc-driver-class-name>org.apache.derby.jdbc.EmbeddedDriver</jdbc-driver-class-name> </database-store> @@ -452,11 +453,16 @@ To configure Apache ActiveMQ Artemis to use a database for persisting messages a - `large-message-table-name` The name of the table in which messages and related data will be persisted for the ActiveMQ Artemis server. Specifying table names allows users to share single database amongst multiple servers, without interference. + +- `page-store-table-name` + + The name of the table to house the page store directory information. Note that each address will have it's own page table which will use this name appended with a unique id of up to 20 characters. - `jdbc-driver-class-name` The fully qualified class name of the desired database Driver. +Note that some DBMS (e.g. Oracle, 30 chars) have restrictions on the size of table names, this should be taken into consideration when configuring table names for the Artemis database store, pay particular attention to the page store table name, which can be appended with a unique ID of up to 20 characters. (for Oracle this would mean configuring a page-store-table-name of max size of 10 chars). ## Configuring Apache ActiveMQ Artemis for Zero Persistence
