Managing computing resources
First Claim
Patent Images
1. A computer-implemented method comprising:
- receiving, by a computing system, a request to determine a quantity of cores of one or more multi-core central processing units included in a first server that are being used by a first application executing within a first instance hosted on the first server;
obtaining, by the computing system, a first request table for the first instance that includes (i) a status indicator for each of a first plurality of requests associated with a first query plan, wherein the first query plan defines a set of operations for retrieving data from a database, and (ii) a type of request indicator associated with each of the first plurality of requests;
filtering, by the computing system, the first plurality of requests associated with the first query plan to determine first filtered requests, wherein the filtering includes determining the first filtered requests that are both;
i) currently executing requests, as indicated by the status indicators, and ii) application requests that are not system requests, as indicated by the type of request indicators;
determining, by the computing system, a quantity of the first filtered requests that are associated with the first application;
determining, by the computing system, that the quantity of the first filtered requests associated with the first application is the quantity of cores used by the first application executing within the first instance on the first server; and
providing, for output by the computing system, the quantity of the first filtered requests associated with the first application as the quantity of the cores used by the first application executing within the first instance on the first server.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods, systems, and apparatus, including computer programs encoded on a computer storage medium are disclosed. In one aspect, a method includes filtering a first plurality of requests based on one or more criteria to generate first filtered requests, the first plurality of requests being associated with a first query plan that is associated with a first instance, identifying a first application associated with at least a portion of the first filtered requests, and determining a quantity of cores used by the first application based at least in part on the portion of the first filtered requests associated with the first application.
-
Citations
20 Claims
-
1. A computer-implemented method comprising:
-
receiving, by a computing system, a request to determine a quantity of cores of one or more multi-core central processing units included in a first server that are being used by a first application executing within a first instance hosted on the first server; obtaining, by the computing system, a first request table for the first instance that includes (i) a status indicator for each of a first plurality of requests associated with a first query plan, wherein the first query plan defines a set of operations for retrieving data from a database, and (ii) a type of request indicator associated with each of the first plurality of requests; filtering, by the computing system, the first plurality of requests associated with the first query plan to determine first filtered requests, wherein the filtering includes determining the first filtered requests that are both;
i) currently executing requests, as indicated by the status indicators, and ii) application requests that are not system requests, as indicated by the type of request indicators;determining, by the computing system, a quantity of the first filtered requests that are associated with the first application; determining, by the computing system, that the quantity of the first filtered requests associated with the first application is the quantity of cores used by the first application executing within the first instance on the first server; and providing, for output by the computing system, the quantity of the first filtered requests associated with the first application as the quantity of the cores used by the first application executing within the first instance on the first server. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A system comprising:
-
one or more computers; and a computer-readable medium coupled to the one or more computers having instructions stored thereon which, when executed by the one or more computers, cause the one or more computers to perform operations comprising; receiving, by a computing system, a request to determine a quantity of cores of one or more multi-core central processing units included in a first server that are being used by a first application executing within a first instance hosted on the first server; obtaining, by the computing system, a first request table for the first instance that includes (i) a status indicator for each of a first plurality of requests associated with a first query plan, wherein the first query plan defines a set of operations for retrieving data from a database, and (ii) a type of request indicator associated with each of the first plurality of requests; filtering, by the computing system, the first plurality of requests associated with the first query plan to determine first filtered requests, wherein the filtering includes determining the first filtered requests that are both;
i) currently executing requests, as indicated by the status indicators, and ii) application requests that are not system requests, as indicated by the type of request indicators;determining, by the computing system, a quantity of the first filtered requests that are associated with the first application; determining, by the computing system, that the quantity of the first filtered requests associated with the first application is the quantity of cores used by the first application executing within the first instance on the first server; and providing, for output by the computing system, the quantity of the first filtered requests associated with the first application as the quantity of the cores used by the first application executing within the first instance on the first server. - View Dependent Claims (18)
-
-
19. A non-transitory computer storage medium encoded with a computer program, the program comprising instructions that when executed by one or more computers cause the one or more computers to perform operations comprising:
-
receiving, by a computing system, a request to determine a quantity of cores of one or more multi-core central processing units included in a first server that are being used by a first application executing within a first instance hosted on the first server; obtaining, by the computing system, a first request table for the first instance that includes (i) a status indicator for each of a first plurality of requests associated with a first query plan, wherein the first query plan defines a set of operations for retrieving data from a database, and (ii) a type of request indicator associated with each of the first plurality of requests; filtering, by the computing system, the first plurality of requests associated with the first query plan to determine first filtered requests, wherein the filtering includes determining the first filtered requests that are both;
i) currently executing requests, as indicated by the status indicators, and ii) application requests that are not system requests, as indicated by the type of request indicators;determining, by the computing system, a quantity of the first filtered requests that are associated with the first application; determining, by the computing system, that the quantity of the first filtered requests associated with the first application is the quantity of cores used by the first application executing within the first instance on the first server; and providing, for output by the computing system, the quantity of the first filtered requests associated with the first application as the quantity of the cores used by the first application executing within the first instance on the first server. - View Dependent Claims (20)
-
Specification