Patent ID: 9483503
Filing Date: 2016-11-01
CPC Classification: G06F

Claim Text:
1. A method comprising: receiving a request to create a new database instance, wherein the request includes a resource demand indicating a resource required by the new database instance; deciding that there is a need to migrate at least one existing database instance among a plurality of virtual machines that are shared by users in a cloud computing environment, wherein one of the plurality of virtual machines currently supports the existing database instance, wherein the deciding is based on the resource demand and on an amount of unused resources among the plurality of virtual machines, and wherein the plurality of virtual machines is hosted by a set of nodes in the cloud computing environment, each node in the set of nodes including a processor, a memory, and an interface for communicating with an end user device; determining a database placement plan for migrating the at least one existing database instance based on at least one of: the resource demand, a migration strategy, and a migration cost associated with the migration strategy, wherein the database placement plan minimizes an amount of the unused resources among the plurality of virtual machines; and migrating the at least one existing database instance from the one of the plurality of virtual machines to a target virtual machine of the plurality of virtual machines without migrating the one of the plurality of virtual machines or the target virtual machine of the plurality of virtual machines, according to the database placement plan, wherein the target virtual machine is different from the one of the plurality of virtual machines.