×

DYNAMIC CONFIGURATION AND SELF-TUNING OF INTER-NODAL COMMUNICATION RESOURCES IN A DATABASE MANAGEMENT SYSTEM

  • US 20080270590A1
  • Filed: 07/01/2008
  • Published: 10/30/2008
  • Est. Priority Date: 04/24/2002
  • Status: Active Grant
First Claim
Patent Images

1. A database management system for configuring communication resources that includes a plurality of nodes in a database instance, comprising:

  • a communication manager on each node adapted to receive one of a communication resource reconfiguration request at one of a plurality of server partitions that forms a database management system (DBMS) server instance, the communication resource configuration request being received from one ofa client in the system,another server partition in the DBMS server instance, anda daemon in the one server partition;

    dynamically configure a number of communication resource elements initialized in the one server partition for communication with one or more other server partitions in the DBMS server instance to satisfy the communication resource configuration request, dynamic configuration of the number of communication resource elements initialized in the one server partition being accomplished in real-time without having to stop and restart the DBMS server instance; and

    ,dynamically configure a number of communication resource elements initialized in the one server partition for communication with one or more other server partitions in the DBMS server instance to satisfy the communication resource configuration request, dynamic configuration of the number of communication resource elements initialized in the one server partition being accomplished in real-time without having to stop and restart the DBMS server instance;

    and a communication daemon of the communication manager communicating the communication resource configuration request to at least one other server partition in the DBMS server instance using one or more communication resource elements initialized in the one server partition,wherein the communication resource configuration request received by the one server partition is a request to increase communication resources and dynamically configuring the number of communication resource elements initialized in the one server partition comprises;

    computing a number of communication resource elements that needs to be initialized to satisfy the request to increase communication resources;

    computing a number of memory blocks that needs to be allocated to accommodate the number of communication resource elements needed, each memory block accommodating a predefined number of communication resource elements;

    determining whether there are any communication resource elements in a quarantine area of the one server partition; and

    responsive to there being no communication resource element in the quarantine area of the one server partition,allocating the number of memory blocks needed from a shared memory set of the computer on which the one server partition is located, andinitializing the number of communication resource elements needed from the memory blocks allocated from the shared memory set of the computer on which the one server partition is located,wherein responsive to there being one or more communication resource elements in the quarantine area of the one server partition, the one or more communication resource elements in the quarantine area being associated with one or more memory blocks marked for dynamic de-allocation, dynamically configuring the number of communication resource elements initialized in the one server partition further comprises;

    determining whether a number of communication resource elements in the quarantine area is greater than or equal to the number of communication resource elements needed;

    responsive to the number of communication resource elements in the quarantine area being greater than or equal to the number of communication resource elements needed,releasing the number of communication resource elements needed from the quarantine area, andreturning the communication resource elements released from the quarantine area to a free resource pool of the one server partition, wherein responsive to the number of communication resource elements in the quarantine area being less than the number of communication resource elements needed, dynamically configuring the number of communication resource elements initialized in the one server partition further comprises;

    releasing all communication resource elements in the quarantine area;

    returning all communication resource elements released from the quarantine area to the free resource pool of the one server partition;

    computing a number of additional communication resource elements that still needs to be initialized to satisfy the request to increase communication resources;

    computing a number of additional memory blocks that still needs to be allocated to accommodate the number of additional communication resource elements still needed;

    allocating the number of additional memory blocks still needed from the shared memory set of the computer on which the one server partition is located; and

    initializing the number of additional communication resource elements still needed from the additional memory blocks allocated from the shared memory set of the computer on which the one server partition is located.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×