APPARATUS AND METHOD OF DATA DEPENDENT ROUTING FOR DATA STORAGE
An approach is provided for data dependent routing. Sales data including a transaction key is received. One of a plurality of order databases is selected based on the transaction key. The sales data is forwarded to the one order database for storage.
1 . A method comprising:
receiving sales data associated with a transaction key;
selecting one of a plurality of order databases based on the transaction key; and
forwarding the sales data to the one order database for storage.
2 . A method according to claim 1 , wherein the transaction key is mapped to a user of a sales order system, the sales order system being configured to process the sales data.
3 . A method according to claim 1 , wherein the one order database is selected by performing a modulus operation on the transaction key to output information for identifying the one order database.
4 . A method according to claim 3 , wherein parameters of the modulus operation is maintained in an administration database separate from the order databases.
5 . A method according to claim 1 , wherein the transaction key is maintained in an administration database separate from the order databases, the method further comprising:
generating a new transaction key for inclusion in another set of sales data; and
updating the administration database for the new transaction key.
6 . A method according to claim 1 , wherein the selection of the one order database is based on a load balancing criterion.
7 . A method according to claim 1 , further comprising:
receiving a request for sales data stored in one of the order databases, wherein the request specifies the transaction key; and
retrieving the requested sales data from the one order database according to the transaction key.
8 . An apparatus comprising:
a processor configured to receive sales data associated with a transaction key, and to select one of a plurality of order databases based on the transaction key,
wherein the sales data is forwarded to the one order database for storage.
9 . An apparatus according to claim 8 , wherein the transaction key is mapped to a user of a sales order system, the sales order system being configured to process the sales data.
10 . An apparatus according to claim 8 , wherein the one order database is selected by performing a modulus operation on the transaction key to output information for identifying the one order database.
11 . An apparatus according to claim 10 , wherein parameters of the modulus operation is maintained in an administration database separate from the order databases.
12 . An apparatus according to claim 8 , wherein the transaction key is maintained in an administration database separate from the order databases, and the processor is further configured to generate a new transaction key for inclusion in another set of sales data, wherein the administration database is updated with the new transaction key.
13 . An apparatus according to claim 8 , wherein the selection of the one order database is based on a load balancing criterion.
14 . An apparatus according to claim 8 , wherein the processor is further configured to receive a request for sales data stored in one of the order databases, wherein the request specifies the transaction key and the requested sales data is retrieved from the one order database according to the transaction key.
15 . A system comprising:
a data dependent routing system configured to receive sales data associated with a transaction key; and
a plurality of order databases coupled to the data dependent routing system,
wherein the data dependent routing system is further configured to select one of the order databases based on the transaction key, and the received sales data is stored in the selected order database.
16 . A system according to claim 15 , wherein the transaction key is mapped to a user of a sales order system, the sales order system being configured to process the sales data.
17 . A system according to claim 15 , wherein the one order database is selected by performing a modulus operation on the transaction key to output information for identifying the one order database.
18 . A system according to claim 17 , wherein parameters of the modulus operation is maintained in an administration database separate from the order databases.
19 . A system according to claim 15 , further comprising:
an administration database configured to store the transaction key, wherein the data dependent routing system is further configured to generate a new transaction key for inclusion in another set of sales data, the new transaction key being updated in the administration database.
20 . A system according to claim 15 , wherein the selection of the one order database is based on a load balancing criterion.
21 . A system according to claim 15 , wherein the data dependent routing system is further configured to receive a request for sales data stored in one of the order databases, wherein the request specifies the transaction key and the requested sales data is retrieved from the one order database according to the transaction key.