×

Resource allocation method for a physical computer used by a back end server including calculating database resource cost based on SQL process type

  • US 8,209,697 B2
  • Filed: 01/30/2008
  • Issued: 06/26/2012
  • Est. Priority Date: 07/03/2007
  • Status: Expired due to Fees
First Claim
Patent Images

1. A resource allocation method for a physical computer used by a Back End Server (BES) executed in a virtual computer operating on resources of the physical computer when processing an inputted Structured Query Language (SQL) request based on a database stored in an accessible storage device, wherein an access to the database to be subjected to SQL processes is of a shared everything type architecture in which the BES can process the database, the method comprising steps of:

  • subjecting the inputted SQL request to a syntax analysis and extracting a plurality of SQL processes from the inputted SQL request,calculating, for each of one or more process types contained in the extracted SQL processes and one or more BESs, a resource cost of a database required by the one or more BESs to perform the extracted SQL processes for which an executing BES of the one or more BESs is determined,deciding an allocation ratio for allocating the resources of the physical computer to the virtual computer in accordance with a resource cost ratio of each of the one or more BESs required to execute the extracted SQL processes,selecting one of the one or more BESs which has a highest allocation ratio in the decided allocation ratios as an executing BES for the extracted SQL processes for which an executing BES of the one or more BESs is not determined, andrequesting for execution of the selected one of the one or more BESs on the virtual computer to which the resources have been allocated so as to execute the extracted SQL processes,wherein if the process type of the extracted SQL processes is a condition judgment, the step of calculating the resource cost of the database required by the one or more BESs includes multiplying the number of database cases to be subjected to the extracted SQL processes by a hit rate corresponding to the type of a predicate contained in an SQL command of the extracted SQL processes corresponding to the condition judgment, and by a predetermined coefficient.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×