Patent ID: 11914572
Assignee: SAP SE
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 20:
21. One or more computer-readable storage media comprising:
computer-executable instructions that, when executed by a computing system comprising at least hardware processor and at least one memory coupled to the at least one hardware processor, cause the computing system to, at a node of a database system comprising a plurality of nodes, the plurality of nodes comprising at least one source node and at least one replica node, receive a prepared statement from a database client, the prepared statement specifying one or more nodes of the database system useable to execute the prepared statement;
computer-executable instructions that, when executed by the computing system, cause the computing system to update the prepared statement to provide an updated prepared statement, the updating comprising adding a node to the one or more nodes in the prepared statement, or removing at least one of the one or more nodes in the prepared statement, depending on a type of availability status change of the replica node, wherein the type of availability status change of the replica node is (1) the replica node becoming unavailable and the updating the prepared statement comprises not including the replica node in the updated prepared statement; or (2) the replica node becoming available and the updating the prepared statement comprises including the replica node in the updated prepared statement; and
computer-executable instructions that, when executed by the computing system, cause the computing system to, at the node, send the updated prepared statement to the database client.