Patent attributes
A method and apparatus for executing groups of database statements is provided. An indication is included in database statements to indicate whether instructions need to be executed in a particular sequence with respect to one another. In an embodiment, statements that need to be executed sequentially with respect to one another are included in the same bundle. In an embodiment bundles do not need to be executed in any particular order with respect to one another. A mechanism has been presented to enable statements to be executed concurrently by the server. In an embodiment, groups of database statements are sent from a client-side to a server within batches including one set of transmission information for the entire batch. In an embodiment, within a batch there may be one or more bundles. In an embodiment, the bundles are always executed sequentially; however, different bundles within a batch can be executed concurrently.