摘要 |
An apparatus and method provide client-side routing of database requests to enhance the performance of a partitioned database system. In a first embodiment, the database client determines the correct database server for a transaction, and routes requests for the transaction to the correct database server. In a second embodiment, the database client sends a first database request in a transaction to a selected database server, determines from the response the correct database server, and routes all subsequent requests for the transaction to the correct database server. In a third embodiment, the database client sends a first database request in a transaction to a selected database server, which routes the first request to the correct database server, which returns the results directly to the database client via direct connection. The database client then routes all subsequent database requests in the transaction directly to the correct database server.
|