US20080016014A1 - Neural network resource sizing apparatus for database applications - Google Patents

Neural network resource sizing apparatus for database applications Download PDF

Info

Publication number
US20080016014A1
US20080016014A1 US11/486,428 US48642806A US2008016014A1 US 20080016014 A1 US20080016014 A1 US 20080016014A1 US 48642806 A US48642806 A US 48642806A US 2008016014 A1 US2008016014 A1 US 2008016014A1
Authority
US
United States
Prior art keywords
database application
database
neural network
program product
computer program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US11/486,428
Other versions
US8051019B2 (en
Inventor
Lev Sigal
Shai Ziv
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SAP SE
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to US11/486,428 priority Critical patent/US8051019B2/en
Assigned to SAP, AG reassignment SAP, AG ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: SIGAL, LEV, ZIV, SHAI
Publication of US20080016014A1 publication Critical patent/US20080016014A1/en
Application granted granted Critical
Publication of US8051019B2 publication Critical patent/US8051019B2/en
Assigned to SAP SE reassignment SAP SE CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: SAP AG
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks

Definitions

  • Embodiments of the invention described herein pertain to the field of computer systems. More particularly, but not by way of limitation, one or more embodiments of the invention enable a neural network resource sizing apparatus for database applications.
  • sizing may be performed by looking at the number of users that will access a system or some other indirect parameter that is not related to the internal metrics of the database application. This results in resource allocation that is not optimized for the database application in use, but is rather a crude, indirect and external guess at the resources that may be needed.
  • Some database application providers furnish their customers with sizing guides which provide static rules that may or may not cover the specific installation at hand.
  • Database application parameters are any element related to a database schema, installation, architecture, implementation or version or any other characteristic associated with a particular database instance.
  • Database application parameters for example are the number of records, lookups, images, PDFs, fields, BLOBs and width of fields, or parameters related to the installation of the database for example the amount of memory allocated for certain tables, or whether the database is configured for a multi-threading architecture, or whether the database implements or is implemented in a particular manner or the exact version of the database.
  • Database application parameters for example may be utilized to train a neural network to yield needed resource output results such as the processing power, memory, disk and/or network capacities required to run the database application. Training in one or more embodiments of the invention may be programmatically accomplished without human intervention. Resource output results are any measurement of system resources or performance or any other metric that impacts or quantifies system performance. By measuring resource output results for a number of differing database application parameters and training a neural network, recommended resource output results allow for recommended resource purchases for example.
  • Training the neural network may be accomplished in many ways and may utilize existing database application parameters and observed resource output results measured at working installations to produce recommended resource output results. For example, an installation where a database application is using 100,000 records and 10,000 images for example may have an average processing utilization e.g., CPU utilization of 50% for a 4 way CPU cluster of 3 GHz each with 8 Gb of RAM. By extracting performance information over many installations and feeding the observed parameters and utilization percentages for the given resources into the neural network, a neural network may hence be trained for accurately recommending resource planning and purchasing.
  • embodiments of the invention may run automatic tests over all desired cross interactions of input and output parameters beginning for example with a small repository and ending with the maximum complexity of data and schema test.
  • a learning session is generated.
  • the learning session is input into the neural network for the given database application version and utilized to plan resource utilization.
  • a learning session may be generated for input to the neural network.
  • the observed resource output results may be factored into specific hardware product recommendations in one or more embodiments of the invention.
  • a perceptron neural network may be utilized. Any type of neural network may be utilized in other embodiments of the invention and the exemplary description herein with respect to perceptron networks is non-limiting.
  • Perceptron networks are the simplest kind of feedforward neural network and these types of neural networks are a type of linear classifier. Perceptron networks are one of the fastest types of classifiers. Any other type of neural network may be utilized in place of the perceptron network that is described herein.
  • Perceptrons are trained by inputting a set of examples and desired outputs. Corrections to the weight vectors are made each time a mistake occurs. This results in learning by example. If the training set is not linearly separable, then this type of training does not converge.
  • Multilayer perceptrons may be utilized in these circumstances in embodiments of the invention where more complex relations exist.
  • the perceptron learning algorithm in a multilayer perceptron embodiment may use a voted formulation of the perceptron learning algorithm. In this manner embodiments of the invention can handle nonlinearly separable data.
  • Embodiments of the invention may be utilized for example to further aide in load balancing and may also generate a report detailing the maximum complexity that the recommended resources, e.g., the resource output results will be able to accommodate. Any type of resource output result based on database application parameters applied to a neural network is in keeping with the spirit of the invention.
  • a website portal may be utilized to field requests for sizing recommendations.
  • the various input parameters such as database application parameters may be gathered and passed to the portal for example in order to obtain the recommended resource output results for a given database application installation.
  • the number and speed of central processing units, the amount of random access memory and amount of disk and/or speed of network recommended for a desired database application may be provided by embodiments of the invention.
  • FIG. 1 shows a graphical representation of a perceptron showing inputs p 1 through pR input to the perceptron layer that yields resource utilization outputs a 1 through aS.
  • FIG. 2 is an equivalent view of FIG. 1 using different neural network notation.
  • FIG. 3 shows the perceptron learning rule formulas.
  • FIG. 4 shows the weighting matrix W having row indices associated with the destination neuron and column indices associated with the given input.
  • FIG. 5 shows a flowchart detailing a method for obtaining training data.
  • FIG. 6 shows a portal interface to an embodiment of the apparatus.
  • FIG. 7 shows a first test schema for generating a resource learning session.
  • FIG. 8 shows a second test schema for generating a resource learning session.
  • FIG. 9 shows an architectural diagram having a test server for training the neural net and also a portal with an HTML interface and a webservice interface utilizing XML.
  • FIG. 10 shows an embodiment of the XML input and output used by the webservice interface.
  • FIG. 1 shows a graphical representation of a perceptron showing inputs p 1 through pR input to the perceptron layer that yields resource utilization outputs a 1 through aS.
  • Inputs p 1 through pR may be configured as follows in one embodiment of the invention:
  • a 1 amount of recommended processing power in a desired benchmark (SPEC, Dhrystone, etc.)
  • Each neuron in the Perceptron Layer is represented as a summation symbol followed by a hardlim, i.e., hard-limit transfer function.
  • the hardlim transfer function returns a zero or one.
  • the perceptron neuron produces a zero if the net input into the hardlim transfer function is less than zero, or a one if the net input to the hardlim transfer function is equal to or greater than zero.
  • the hardlim transfer function allows the perceptron neuron to split the input space into two regions.
  • the weighting matrix W is correlates the weights of each input against each neuron.
  • FIG. 2 is an equivalent view of FIG. 1 using different neural network notation.
  • Input is shown as a bar to indicate that it is a vector of size R. Regardless of the notation used, the inputs, outputs and training are the same.
  • FIG. 3 shows the perceptron learning rule formulas.
  • the goal of training the perceptron is to minimize the error “e” which is the difference between the target vector “t” and the neuron response vector “a”.
  • the neuron output is one and should be zero, then the input vector “p” is subtracted from the weight vector “w”. Similarly, the bias can also be updated based on the error “e”.
  • One skilled in the art of neural networks will understand that many tools or different types of calculations may be performed to produce an updated weighting matrix W.
  • FIG. 4 shows the weighting matrix W having row indices associated with the destination neuron and column indices associated with the given input.
  • the weighting matrix W comprises the various weight vectors and is updated as more and more test data is used to train the system.
  • the neural network may be utilized to recommend resource capacities for database application implementations not yet observed. Any updated training information based on existing installations may also be applied to the neural network to further improve the accuracy of the apparatus. Anyhow known software package may be utilized to implement the neural network such as for example MATHMATICA®.
  • FIG. 5 shows a flowchart detailing a method for obtaining training data.
  • Processing starts at 500 .
  • the database is loaded with a first test schema.
  • the order in which test schemas are loaded and utilized to obtain training data does not matter and the input of simple schemas before more complex schemas is exemplary only.
  • a performance load is run on the database application at 502 .
  • the resulting utilization of CPU, RAM, disk and/or network resources is obtained at 503 . If there are no more tests to run as determined at 504 , then training data is returned at 508 and processing completes at 509 . If there are more tests to run as determined at 504 , then the database is loaded with the next test schema at 505 .
  • a performance load is placed on the database application with the new test schema at 506 .
  • the resulting utilization of CPU, RAM, disk and/or network resources is obtained at 507 . If there are more tests to run at 504 , then another schema is loaded and tested otherwise the training data is returned at 508 and processing ends at 509 .
  • accurate recommended resource output results may be provided.
  • FIG. 6 shows a portal interface to an embodiment of the apparatus.
  • portlet 600 is shown that may be embedded in another webpage for example.
  • a webservice may be utilized in addition to, or in place of the graphical user interface shown in FIG. 6 .
  • the user inputs database application parameters such as for example the number of records, number of lookups, number of images, number of PDF files, number of BLOBs and number of fields in the database for the given schema in input area 601 .
  • Calculate button 602 is pressed and recommended resource output results are shown in recommended resource output results area 603 .
  • recommended servers or hardware products that meet the required capacities may be shown.
  • a recommended server may be shown either if the recommended resources capacities are within the bounds of the recommended server for example.
  • Webservice embodiments may be utilized for example that allow for a given database application implementation to routinely report utilization numbers that occur over time. These reports may be used over time to increase the accuracy of the neural network or to flag problems. For example if a particular installation appears to be losing ground in resource utilization with respect to the planned resources, then this may indicate that there are problems with the system such as hardware problems or over utilized resources which limit the amount of resources that a particular installation may utilize. For example, if the amount of disk for a given installation drops and the number of main data records rises, then the amount of RAM utilized may result in swapping or thrashing. This information may be utilized to not only update the neural network, but also to alert support personnel that there may be a problem.
  • FIG. 7 shows a first test schema for generating a resource learning session.
  • Test schema 700 utilizes a main data table without lookups and with 5000 product records.
  • the database application may make use of family based data which builds upon an existing hierarchy of manufacturer and category however this is optional.
  • the number of PDF files in the 5000 data records is known and is used as an input for training for this test schema.
  • a load module is run against the schema that defines the database application parameters and resource utilization is recorded such as CPU, RAM, disk and/or the network as resource output results.
  • the database application parameters and resource output results (or resource output results rounded up to the meet hardware capable of handling the load for example) are saved and input to the neural network for training the neural network. Any factor for increasing the resource output results to add a safety margin is in keeping with the spirit of the invention.
  • FIG. 8 shows a second test schema for generating a resource learning session.
  • Test schema 800 also includes lookups based on attributes that are associated in the main table with a category as per category-attribute table 801 .
  • the attribute names and types are shown in attributes table 802 .
  • the main data table in this case utilizes 100,000 records and may have a variety of loads place on the database application in order to generate one or more performance points for use in training the neural network. Generally, the more training that can be applied to the neural network over varying parameters, the more accurate the resulting recommended resource output results become.
  • FIG. 8 is simplified for brevity, any number of fields, BLOBs and field widths may be utilized for example in order to provide an array of various tests for a particular database application implementation and given hardware setup.
  • FIG. 9 shows an architectural diagram having a test server for training the neural net and also a portal with an HTML interface and a webservice interface utilizing XML.
  • Load tester LOAD interfaces with server TEST SERVER associated with database DB.
  • Server TEST SERVER utilizes test schemas 1 through N as inputs for a test.
  • the apparatus obtains the database application parameters associated with each database schema, installation, implementation, version or any other database related element and along with the load test results that result from running load tester LOAD.
  • TEST SERVER or any other computing element coupled with the apparatus then trains neural net NN with these database application parameters and resource output result parameters.
  • the apparatus When a user of the apparatus desires recommendations for a desired database application, the apparatus obtains the desired database application parameters and provides at least one recommended resource output result based on neural network NN as trained.
  • the interface to the apparatus may include HTML via portal interface HTML or portal interface WEBSERVICE. Any other method of training neural network NN is in keeping with the spirit of the invention so long as database application parameters are utilized in training neural network NN to provide recommended resource output results. (See FIG. 6 for an HTML embodiment of the portal interface HTML).
  • FIG. 10 shows an embodiment of the XML input and output used by the webservice interface.
  • XML input message 1000 shows elements associated with database parameters residing within element designated DBparameter.
  • the various database application parameters used follow and include NumberOfRecords, NumberOfLookups, NumberOfImages, NumberOfPDFFiles, NumberOfBLOBS and NumberOfFields along with the associated values.
  • XML output message from the webservice includes elements associated with recommended resource capacities residing in element RecommendedCapacity.
  • the various recommended capacity elements used follow and include CPU, RAM, DISK, NETWORK and SERVER. Any variation of the database application parameters and recommended resource output results is in keeping with the spirit of the invention and those shown in FIG. 10 are exemplary.

Abstract

A neural network resource sizing apparatus for database applications. Through use of multiple database application metrics input into a neural network learning algorithm, recommended resource capacities are generated. Input parameters such as the number of records, lookups, images, PDFs, fields, BLOBs and width of fields for example may be utilized to train a neural network to yield needed resource metrics such as the processing power, memory, disk and/or network capacities required to run the database application. Training for the neural network may involve running tests over all desired cross interactions of input and output parameters beginning for example with a small repository and ending with the maximum complexity of data and schema test. The training data is input into the neural network for the given database application version and utilized to plan resource utilization. A portal or webservice may be utilized to provide an interface to the apparatus.

Description

    BACKGROUND OF THE INVENTION
  • 1. Field of the Invention
  • Embodiments of the invention described herein pertain to the field of computer systems. More particularly, but not by way of limitation, one or more embodiments of the invention enable a neural network resource sizing apparatus for database applications.
  • 2. Description of the Related Art
  • There are a number of requirements and/or preferences associated with determining the type of resources, e.g., hardware required to host a particular database application. Implementers and planners generally perform trial and error methods when estimating the processing power, memory and disk resources required to host a given database application. Customers require that hardware is in line with the requirements of the database application. There is no reason for a cluster of super computers to run a given database application if the database application does not require these expensive computing resources. On the other hand, if the computing resources are not of sufficient capacity, then the system will lose performance and may actually fail. For many customers this is unacceptable. The database application implementers are generally not trained in the art of accurately estimating hardware resources and at times over estimate the resources in order to ensure that the database application never fails. This overestimation strategy is not a minimal cost strategy and customers pay more for a given installation than they should in general.
  • Current methodologies for sizing a given database application do not take into consideration a range of variables such as the number of records, lookups, images, PDF files, BLOBs and the widths of the fields for example. Generally, sizing may be performed by looking at the number of users that will access a system or some other indirect parameter that is not related to the internal metrics of the database application. This results in resource allocation that is not optimized for the database application in use, but is rather a crude, indirect and external guess at the resources that may be needed. Some database application providers furnish their customers with sizing guides which provide static rules that may or may not cover the specific installation at hand. This type of solution is slow to adapt to new observed installation utilization figures since the results must be sent back to the company and incorporated in a new version of the sizing guide. The round trip time for delivering new sizing guides to customers based on feedback is long. Companies involved with developing database applications may alter the application software over time which also may render the sizing guides obsolete. This may happen in one of two ways since the software may become more efficient and may then require fewer resources for operation, or alternatively, may become more “feature rich” which tends to require more resources to operate. Either way, the software changes provide a moving target for the implementers that are responsible for planning resource allocation with the customers. Again, the implementers may overestimate the required hardware resources so that their software application(s) appear to be fast and robust. The separation of software implementers from hardware suppliers thus tends to lead to an inefficiency in the corporate world that costs companies great sums of capital.
  • Attempts at calculating required resources based on traditional linear methods of correlating input parameters with required resources generally do not work since small variations of one input parameter may drastically change the required resources. For example, existing methods that utilize tables or linear regression do not incorporate learning methods. As such, these solutions are limited in the complexity that they can handle and are hence inaccurate for real world database applications that have many parameters that may be unique to each installation.
  • For at least the limitations described above there is a need for a neural network resource sizing apparatus for database applications.
  • BRIEF SUMMARY OF THE INVENTION
  • One or more embodiments of the invention enable a neural network resource sizing apparatus for database applications. Through use of multiple inputs such as database application parameters input into a neural network learning algorithm, resource output results are generated. Database application parameters are any element related to a database schema, installation, architecture, implementation or version or any other characteristic associated with a particular database instance. Database application parameters for example are the number of records, lookups, images, PDFs, fields, BLOBs and width of fields, or parameters related to the installation of the database for example the amount of memory allocated for certain tables, or whether the database is configured for a multi-threading architecture, or whether the database implements or is implemented in a particular manner or the exact version of the database. Database application parameters for example may be utilized to train a neural network to yield needed resource output results such as the processing power, memory, disk and/or network capacities required to run the database application. Training in one or more embodiments of the invention may be programmatically accomplished without human intervention. Resource output results are any measurement of system resources or performance or any other metric that impacts or quantifies system performance. By measuring resource output results for a number of differing database application parameters and training a neural network, recommended resource output results allow for recommended resource purchases for example.
  • Training the neural network may be accomplished in many ways and may utilize existing database application parameters and observed resource output results measured at working installations to produce recommended resource output results. For example, an installation where a database application is using 100,000 records and 10,000 images for example may have an average processing utilization e.g., CPU utilization of 50% for a 4 way CPU cluster of 3 GHz each with 8 Gb of RAM. By extracting performance information over many installations and feeding the observed parameters and utilization percentages for the given resources into the neural network, a neural network may hence be trained for accurately recommending resource planning and purchasing.
  • Alternatively, when a new version of the database application is received, embodiments of the invention may run automatic tests over all desired cross interactions of input and output parameters beginning for example with a small repository and ending with the maximum complexity of data and schema test. By gathering statistical data during the testing process over the cross interactions, a learning session is generated. The learning session is input into the neural network for the given database application version and utilized to plan resource utilization. Specifically, by providing the neural network with a set of database application parameters such as the number of records, lookups, images, PDFs, fields, BLOBs and width of fields in a particular test instance along with the recommended or observed metrics for processing power, memory, disk and/or network capacities for a series of tests, a learning session may be generated for input to the neural network. The observed resource output results may be factored into specific hardware product recommendations in one or more embodiments of the invention.
  • In one or more embodiments of the invention, a perceptron neural network may be utilized. Any type of neural network may be utilized in other embodiments of the invention and the exemplary description herein with respect to perceptron networks is non-limiting. Perceptron networks are the simplest kind of feedforward neural network and these types of neural networks are a type of linear classifier. Perceptron networks are one of the fastest types of classifiers. Any other type of neural network may be utilized in place of the perceptron network that is described herein. Perceptrons are trained by inputting a set of examples and desired outputs. Corrections to the weight vectors are made each time a mistake occurs. This results in learning by example. If the training set is not linearly separable, then this type of training does not converge. Multilayer perceptrons may be utilized in these circumstances in embodiments of the invention where more complex relations exist. The perceptron learning algorithm in a multilayer perceptron embodiment may use a voted formulation of the perceptron learning algorithm. In this manner embodiments of the invention can handle nonlinearly separable data.
  • Embodiments of the invention may be utilized for example to further aide in load balancing and may also generate a report detailing the maximum complexity that the recommended resources, e.g., the resource output results will be able to accommodate. Any type of resource output result based on database application parameters applied to a neural network is in keeping with the spirit of the invention.
  • In one or more embodiments of the invention a website portal may be utilized to field requests for sizing recommendations. The various input parameters such as database application parameters may be gathered and passed to the portal for example in order to obtain the recommended resource output results for a given database application installation. For example, the number and speed of central processing units, the amount of random access memory and amount of disk and/or speed of network recommended for a desired database application may be provided by embodiments of the invention.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The above and other aspects, features and advantages of the invention will be more apparent from the following more particular description thereof, presented in conjunction with the following drawings wherein:
  • FIG. 1 shows a graphical representation of a perceptron showing inputs p1 through pR input to the perceptron layer that yields resource utilization outputs a1 through aS.
  • FIG. 2 is an equivalent view of FIG. 1 using different neural network notation.
  • FIG. 3 shows the perceptron learning rule formulas.
  • FIG. 4 shows the weighting matrix W having row indices associated with the destination neuron and column indices associated with the given input.
  • FIG. 5 shows a flowchart detailing a method for obtaining training data.
  • FIG. 6 shows a portal interface to an embodiment of the apparatus.
  • FIG. 7 shows a first test schema for generating a resource learning session.
  • FIG. 8 shows a second test schema for generating a resource learning session.
  • FIG. 9 shows an architectural diagram having a test server for training the neural net and also a portal with an HTML interface and a webservice interface utilizing XML.
  • FIG. 10 shows an embodiment of the XML input and output used by the webservice interface.
  • DETAILED DESCRIPTION
  • A neural network resource sizing apparatus for database applications will now be described. In the following exemplary description numerous specific details are set forth in order to provide a more thorough understanding of embodiments of the invention. It will be apparent, however, to an artisan of ordinary skill that the present invention may be practiced without incorporating all aspects of the specific details described herein. In other instances, specific features, quantities, or measurements well known to those of ordinary skill in the art have not been described in detail so as not to obscure the invention. Readers should note that although examples of the invention are set forth herein, the claims, and the full scope of any equivalents, are what define the metes and bounds of the invention.
  • FIG. 1 shows a graphical representation of a perceptron showing inputs p1 through pR input to the perceptron layer that yields resource utilization outputs a1 through aS. Inputs p1 through pR may be configured as follows in one embodiment of the invention:
  • p1=number of records
  • p2=number of lookups
  • p3=number of images
  • p4=number of PDF files
  • p5=number of fields
  • p6=number of BLOBs
  • p7=width of all fields
  • Outputs from Perceptron Layer may be as follows in one embodiment of the invention:
  • a1=amount of recommended processing power in a desired benchmark (SPEC, Dhrystone, etc.)
  • a2=amount of recommended memory
  • a3=amount of recommended disk
  • a4=amount of recommended network throughput
  • Each neuron in the Perceptron Layer is represented as a summation symbol followed by a hardlim, i.e., hard-limit transfer function. The hardlim transfer function returns a zero or one. The perceptron neuron produces a zero if the net input into the hardlim transfer function is less than zero, or a one if the net input to the hardlim transfer function is equal to or greater than zero. The hardlim transfer function allows the perceptron neuron to split the input space into two regions. The weighting matrix W is correlates the weights of each input against each neuron. By applying multiple vectors of inputs and recommended outputs to the neural network, the neural network is trained to output recommended resource capacities for a given database application version.
  • FIG. 2 is an equivalent view of FIG. 1 using different neural network notation. In this diagram Input is shown as a bar to indicate that it is a vector of size R. Regardless of the notation used, the inputs, outputs and training are the same.
  • FIG. 3 shows the perceptron learning rule formulas. The goal of training the perceptron is to minimize the error “e” which is the difference between the target vector “t” and the neuron response vector “a”. By altering the weights in weight vector W based on the input vector “p”, the new weight vector w(new) is calculated from w(old) and error “e” and input vector “p”. For example if an input vector is presented and the output is correct, then the weight vector “w” is not altered. If the neuron output is zero and should be one, “a” is zero, “t” is one and hence “e”=“t”−“a”=1, then input vector “p” is added to the weight vector “w”. If the neuron output is one and should be zero, then the input vector “p” is subtracted from the weight vector “w”. Similarly, the bias can also be updated based on the error “e”. One skilled in the art of neural networks will understand that many tools or different types of calculations may be performed to produce an updated weighting matrix W.
  • FIG. 4 shows the weighting matrix W having row indices associated with the destination neuron and column indices associated with the given input. The weighting matrix W comprises the various weight vectors and is updated as more and more test data is used to train the system. In this manner, the neural network may be utilized to recommend resource capacities for database application implementations not yet observed. Any updated training information based on existing installations may also be applied to the neural network to further improve the accuracy of the apparatus. Anyhow known software package may be utilized to implement the neural network such as for example MATHMATICA®.
  • FIG. 5 shows a flowchart detailing a method for obtaining training data. Processing starts at 500. The database is loaded with a first test schema. The order in which test schemas are loaded and utilized to obtain training data does not matter and the input of simple schemas before more complex schemas is exemplary only. A performance load is run on the database application at 502. There are many tools that may be utilized in order to simulate a load on the database application. The resulting utilization of CPU, RAM, disk and/or network resources is obtained at 503. If there are no more tests to run as determined at 504, then training data is returned at 508 and processing completes at 509. If there are more tests to run as determined at 504, then the database is loaded with the next test schema at 505. A performance load is placed on the database application with the new test schema at 506. The resulting utilization of CPU, RAM, disk and/or network resources is obtained at 507. If there are more tests to run at 504, then another schema is loaded and tested otherwise the training data is returned at 508 and processing ends at 509. By obtaining a number of resource output results for different database application parameter scenarios, accurate recommended resource output results may be provided.
  • FIG. 6 shows a portal interface to an embodiment of the apparatus. In this figure portlet 600 is shown that may be embedded in another webpage for example. In other embodiments of the invention, a webservice may be utilized in addition to, or in place of the graphical user interface shown in FIG. 6. In this embodiment of the portlet, the user inputs database application parameters such as for example the number of records, number of lookups, number of images, number of PDF files, number of BLOBs and number of fields in the database for the given schema in input area 601. Calculate button 602 is pressed and recommended resource output results are shown in recommended resource output results area 603. Optionally, recommended servers or hardware products that meet the required capacities may be shown. A recommended server may be shown either if the recommended resources capacities are within the bounds of the recommended server for example.
  • Webservice embodiments may be utilized for example that allow for a given database application implementation to routinely report utilization numbers that occur over time. These reports may be used over time to increase the accuracy of the neural network or to flag problems. For example if a particular installation appears to be losing ground in resource utilization with respect to the planned resources, then this may indicate that there are problems with the system such as hardware problems or over utilized resources which limit the amount of resources that a particular installation may utilize. For example, if the amount of disk for a given installation drops and the number of main data records rises, then the amount of RAM utilized may result in swapping or thrashing. This information may be utilized to not only update the neural network, but also to alert support personnel that there may be a problem.
  • FIG. 7 shows a first test schema for generating a resource learning session. Test schema 700 utilizes a main data table without lookups and with 5000 product records. The database application may make use of family based data which builds upon an existing hierarchy of manufacturer and category however this is optional. The number of PDF files in the 5000 data records is known and is used as an input for training for this test schema. A load module is run against the schema that defines the database application parameters and resource utilization is recorded such as CPU, RAM, disk and/or the network as resource output results. The database application parameters and resource output results (or resource output results rounded up to the meet hardware capable of handling the load for example) are saved and input to the neural network for training the neural network. Any factor for increasing the resource output results to add a safety margin is in keeping with the spirit of the invention.
  • FIG. 8 shows a second test schema for generating a resource learning session. Test schema 800 also includes lookups based on attributes that are associated in the main table with a category as per category-attribute table 801. The attribute names and types are shown in attributes table 802. The main data table in this case utilizes 100,000 records and may have a variety of loads place on the database application in order to generate one or more performance points for use in training the neural network. Generally, the more training that can be applied to the neural network over varying parameters, the more accurate the resulting recommended resource output results become. Although the example shown in FIG. 8 is simplified for brevity, any number of fields, BLOBs and field widths may be utilized for example in order to provide an array of various tests for a particular database application implementation and given hardware setup.
  • FIG. 9 shows an architectural diagram having a test server for training the neural net and also a portal with an HTML interface and a webservice interface utilizing XML. Load tester LOAD interfaces with server TEST SERVER associated with database DB. Server TEST SERVER utilizes test schemas 1 through N as inputs for a test. The apparatus obtains the database application parameters associated with each database schema, installation, implementation, version or any other database related element and along with the load test results that result from running load tester LOAD. TEST SERVER or any other computing element coupled with the apparatus then trains neural net NN with these database application parameters and resource output result parameters. When a user of the apparatus desires recommendations for a desired database application, the apparatus obtains the desired database application parameters and provides at least one recommended resource output result based on neural network NN as trained. The interface to the apparatus may include HTML via portal interface HTML or portal interface WEBSERVICE. Any other method of training neural network NN is in keeping with the spirit of the invention so long as database application parameters are utilized in training neural network NN to provide recommended resource output results. (See FIG. 6 for an HTML embodiment of the portal interface HTML).
  • FIG. 10 shows an embodiment of the XML input and output used by the webservice interface. XML input message 1000 shows elements associated with database parameters residing within element designated DBparameter. The various database application parameters used follow and include NumberOfRecords, NumberOfLookups, NumberOfImages, NumberOfPDFFiles, NumberOfBLOBS and NumberOfFields along with the associated values. XML output message from the webservice includes elements associated with recommended resource capacities residing in element RecommendedCapacity. The various recommended capacity elements used follow and include CPU, RAM, DISK, NETWORK and SERVER. Any variation of the database application parameters and recommended resource output results is in keeping with the spirit of the invention and those shown in FIG. 10 are exemplary.
  • While the invention herein disclosed has been described by means of specific embodiments and applications thereof, numerous modifications and variations could be made thereto by those skilled in the art without departing from the scope of the invention set forth in the claims.

Claims (20)

1. A neural network resource sizing computer program product comprising computer readable instruction code executing in a tangible memory medium of a computer, said computer readable instruction code configured to:
obtain at least one database application parameter;
obtain at least one load test result comprising at least one resource output result from a load test run on a database application test implementation comprising said at least one database application parameter;
train a neural network based on said at least one database application parameter and said at least one resource output result; and
provide at least one recommended resource output result based on said at least one database application parameter and said at least one load test result for a desired database application implementation.
2. The computer program product of claim 1 wherein said computer readable program code is further configured to obtain at least one database application parameter from said desired database application implementation.
3. A neural network resource sizing computer program product comprising computer readable instruction code executing in a tangible memory medium of a computer, said computer readable instruction code configured to:
obtain at least one database application parameter;
obtain at least one load test result comprising at least one resource output result from a load test run on a database application test implementation comprising said at least one database application parameter;
train a neural network based on said at least one database application parameter and said at least one resource output result;
obtain at least one database application parameter from a desired database application implementation; and,
provide at least one recommended resource output result based on said at least one database application parameter for said desired database application implementation wherein said at least one database application parameter is input to said neural network.
4. The computer program product of claim 3 wherein said at least one database application parameter is a number of database records.
5. The computer program product of claim 3 wherein said at least one database application parameter is a number of database lookups.
6. The computer program product of claim 3 wherein said at least one database application parameter is a number of images in a database.
7. The computer program product of claim 3 wherein said at least one database application parameter is a number of BLOBs.
8. The computer program product of claim 3 wherein said at least one database application parameter is a number of PDF files stored in a database.
9. The computer program product of claim 3 wherein said at least one database application parameter is a number of database fields or width of a plurality of database fields.
10. The computer program product of claim 3 wherein said at least one recommended resource output result is a central processing unit benchmark number and unit of measure associated with database computer hardware.
11. The computer program product of claim 3 wherein said at least one recommended resource output result is an amount of random access memory associated with database computer hardware.
12. The computer program product of claim 3 wherein said at least one recommended resource output result is an amount of disk storage space for said database hardware.
13. The computer program product of claim 3 wherein said at least one recommended resource output result is a network throughput speed.
14. The computer program product of claim 3 wherein said neural network comprises a perceptron architecture that utilizes a hard-limit transfer function.
15. The computer program product of claim 3 wherein said neural network comprises a multilayer neural network.
16. The computer program product of claim 3 further comprising a portal for providing said at least one recommended resource output result.
17. The computer program product of claim 3 further comprising a portal wherein said portal is configured to provide said at least one recommended resource output result via a webservice XML response.
18. The computer program product of claim 3 further comprising a portal configured to obtain ongoing output results from at least one customer installation over a period of time.
19. The computer program product of claim 3 further comprising a portal configured to obtain ongoing output results from at least one customer installation and report a high utilization to a customer.
20. A neural network resource sizing apparatus for database applications comprising:
means for obtaining at least one load test result comprising at least one resource output result from a load test run on a database application test implementation comprising said at least one database application parameter;
means for training a neural network based on at least one database application parameter and said at least one resource output result;
means for providing at least one recommended resource output result based on said at least one database application parameter for said desired database application implementation wherein said at least one database application parameter is input to said neural network.
US11/486,428 2006-07-13 2006-07-13 Neural network resource sizing apparatus for database applications Active 2027-09-13 US8051019B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US11/486,428 US8051019B2 (en) 2006-07-13 2006-07-13 Neural network resource sizing apparatus for database applications

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US11/486,428 US8051019B2 (en) 2006-07-13 2006-07-13 Neural network resource sizing apparatus for database applications

Publications (2)

Publication Number Publication Date
US20080016014A1 true US20080016014A1 (en) 2008-01-17
US8051019B2 US8051019B2 (en) 2011-11-01

Family

ID=38950424

Family Applications (1)

Application Number Title Priority Date Filing Date
US11/486,428 Active 2027-09-13 US8051019B2 (en) 2006-07-13 2006-07-13 Neural network resource sizing apparatus for database applications

Country Status (1)

Country Link
US (1) US8051019B2 (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080086527A1 (en) * 2006-10-06 2008-04-10 Bea Systems, Inc. Groupware portlets for integrating a portal with groupware systems
US20080126486A1 (en) * 2006-09-15 2008-05-29 Bea Systems, Inc. Personal messaging application programming interface for integrating an application with groupware systems
US20090138467A1 (en) * 2007-11-26 2009-05-28 Oracle International Corporation Data reduction for optimizing and testing
US20110320261A1 (en) * 2010-06-20 2011-12-29 Jayant Kadambi Quality Scoring System for Internet Advertising Loci
US20150046358A1 (en) * 2013-08-08 2015-02-12 Oracle International Corporation Importing tested objects into benefits programs deployed on production systems
CN104821958A (en) * 2015-04-17 2015-08-05 国家电网公司 WebService-based power utilization data packet interactive interface method
CN107230174A (en) * 2017-06-13 2017-10-03 深圳市鹰硕技术有限公司 A kind of network online interaction learning system and method
CN109643393A (en) * 2016-09-07 2019-04-16 罗伯特·博世有限公司 For calculating the model computing unit and controller with the Multilayer Perception model of feedforward and feedback
KR20190044657A (en) * 2016-09-07 2019-04-30 로베르트 보쉬 게엠베하 A model calculation unit and a control device for calculating a multi-layer perceptron model
US20190325307A1 (en) * 2018-04-20 2019-10-24 EMC IP Holding Company LLC Estimation of resources utilized by deep learning applications
WO2020040599A1 (en) * 2018-08-23 2020-02-27 Samsung Electronics Co., Ltd. Electronic device and operating method thereof of processing neural network model by using plurality of processors
US20200136949A1 (en) * 2018-10-31 2020-04-30 Citrix Systems, Inc. Network Configuration System
US20200379740A1 (en) * 2019-05-31 2020-12-03 Apple Inc. Compiling code for a machine learning model for execution on a specialized processor
US20210089876A1 (en) * 2019-09-23 2021-03-25 Intel Corporation Oscillator based neural network apparatus
US11108850B2 (en) * 2019-08-05 2021-08-31 Red Hat, Inc. Triangulating stateful client requests for web applications
US20220179769A1 (en) * 2020-12-09 2022-06-09 International Business Machines Corporation Estimating cloud resources for batch processing

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8185909B2 (en) * 2007-03-06 2012-05-22 Sap Ag Predictive database resource utilization and load balancing using neural network model
US10395141B2 (en) 2017-03-20 2019-08-27 Sap Se Weight initialization for machine learning models
US10692000B2 (en) 2017-03-20 2020-06-23 Sap Se Training machine learning models
US11308492B2 (en) 2019-07-03 2022-04-19 Sap Se Anomaly and fraud detection with fake event detection using pixel intensity testing
US11113689B2 (en) 2019-07-03 2021-09-07 Sap Se Transaction policy audit

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5299284A (en) * 1990-04-09 1994-03-29 Arizona Board Of Regents, Acting On Behalf Of Arizona State University Pattern classification using linear programming
US5398300A (en) * 1990-07-27 1995-03-14 Hnc, Inc. Neural network having expert system functionality
US5704012A (en) * 1993-10-08 1997-12-30 International Business Machines Corporation Adaptive resource allocation using neural networks
US20020152305A1 (en) * 2000-03-03 2002-10-17 Jackson Gregory J. Systems and methods for resource utilization analysis in information management environments
US20020194251A1 (en) * 2000-03-03 2002-12-19 Richter Roger K. Systems and methods for resource usage accounting in information management environments
US20040177245A1 (en) * 2003-03-05 2004-09-09 Murphy Richard C. Automated resource management using perceptron prediction
US20050027661A1 (en) * 2003-06-06 2005-02-03 Lober Bernd F. Method and computer system for providing a cost estimate for sizing a computer system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5299284A (en) * 1990-04-09 1994-03-29 Arizona Board Of Regents, Acting On Behalf Of Arizona State University Pattern classification using linear programming
US5398300A (en) * 1990-07-27 1995-03-14 Hnc, Inc. Neural network having expert system functionality
US5704012A (en) * 1993-10-08 1997-12-30 International Business Machines Corporation Adaptive resource allocation using neural networks
US20020152305A1 (en) * 2000-03-03 2002-10-17 Jackson Gregory J. Systems and methods for resource utilization analysis in information management environments
US20020194251A1 (en) * 2000-03-03 2002-12-19 Richter Roger K. Systems and methods for resource usage accounting in information management environments
US20040177245A1 (en) * 2003-03-05 2004-09-09 Murphy Richard C. Automated resource management using perceptron prediction
US20050027661A1 (en) * 2003-06-06 2005-02-03 Lober Bernd F. Method and computer system for providing a cost estimate for sizing a computer system

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080126486A1 (en) * 2006-09-15 2008-05-29 Bea Systems, Inc. Personal messaging application programming interface for integrating an application with groupware systems
US7996855B2 (en) 2006-09-15 2011-08-09 Oracle International Corporation Personal messaging application programming interface for integrating an application with groupware systems
US20080086527A1 (en) * 2006-10-06 2008-04-10 Bea Systems, Inc. Groupware portlets for integrating a portal with groupware systems
US8463852B2 (en) * 2006-10-06 2013-06-11 Oracle International Corporation Groupware portlets for integrating a portal with groupware systems
US20090138467A1 (en) * 2007-11-26 2009-05-28 Oracle International Corporation Data reduction for optimizing and testing
US8560499B2 (en) * 2007-11-26 2013-10-15 Oracle International Corporation Data reduction for optimizing and testing
US20110320261A1 (en) * 2010-06-20 2011-12-29 Jayant Kadambi Quality Scoring System for Internet Advertising Loci
US20150046358A1 (en) * 2013-08-08 2015-02-12 Oracle International Corporation Importing tested objects into benefits programs deployed on production systems
CN104821958A (en) * 2015-04-17 2015-08-05 国家电网公司 WebService-based power utilization data packet interactive interface method
KR20190044657A (en) * 2016-09-07 2019-04-30 로베르트 보쉬 게엠베하 A model calculation unit and a control device for calculating a multi-layer perceptron model
US11599787B2 (en) 2016-09-07 2023-03-07 Robert Bosch Gmbh Model calculation unit and control device for calculating a multi-layer perceptron model
KR20190043616A (en) * 2016-09-07 2019-04-26 로베르트 보쉬 게엠베하 Model calculation unit for calculation of a multilayer perceptron model including feedforward and feedback and its control device
CN109643393A (en) * 2016-09-07 2019-04-16 罗伯特·博世有限公司 For calculating the model computing unit and controller with the Multilayer Perception model of feedforward and feedback
KR102509434B1 (en) * 2016-09-07 2023-03-13 로베르트 보쉬 게엠베하 Model calculation unit for calculation of multilayer perceptron model including feedforward and feedback and control device thereof
KR102508098B1 (en) * 2016-09-07 2023-03-10 로베르트 보쉬 게엠베하 Model calculation unit and control unit for calculating multilayer perceptron model
CN107230174A (en) * 2017-06-13 2017-10-03 深圳市鹰硕技术有限公司 A kind of network online interaction learning system and method
US20190325307A1 (en) * 2018-04-20 2019-10-24 EMC IP Holding Company LLC Estimation of resources utilized by deep learning applications
WO2020040599A1 (en) * 2018-08-23 2020-02-27 Samsung Electronics Co., Ltd. Electronic device and operating method thereof of processing neural network model by using plurality of processors
US20200136949A1 (en) * 2018-10-31 2020-04-30 Citrix Systems, Inc. Network Configuration System
US10958553B2 (en) * 2018-10-31 2021-03-23 Citrix Systems, Inc. Network configuration system
US20200379740A1 (en) * 2019-05-31 2020-12-03 Apple Inc. Compiling code for a machine learning model for execution on a specialized processor
US11175898B2 (en) * 2019-05-31 2021-11-16 Apple Inc. Compiling code for a machine learning model for execution on a specialized processor
US11108850B2 (en) * 2019-08-05 2021-08-31 Red Hat, Inc. Triangulating stateful client requests for web applications
US20210089876A1 (en) * 2019-09-23 2021-03-25 Intel Corporation Oscillator based neural network apparatus
US20220179769A1 (en) * 2020-12-09 2022-06-09 International Business Machines Corporation Estimating cloud resources for batch processing

Also Published As

Publication number Publication date
US8051019B2 (en) 2011-11-01

Similar Documents

Publication Publication Date Title
US8051019B2 (en) Neural network resource sizing apparatus for database applications
US11790383B2 (en) System and method for selecting promotional products for retail
Dominguez et al. Serial vs. divergent supply chain networks: a comparative analysis of the bullwhip effect
US20090070188A1 (en) Portfolio and project risk assessment
Padmini et al. Use of software metrics in agile software development process
US20160307133A1 (en) Quality prediction
US20140195339A1 (en) Media Mix Modeling Tool
Gao et al. Lookback option pricing problem of uncertain exponential Ornstein–Uhlenbeck model
AU2020203862A1 (en) Artificial intelligence (ai) based predictions and recommendations for equipment
CN109872015A (en) Method and device for behavioral data assessment
Singh et al. Release time problem with multiple constraints
Inoue et al. Bivariate change-point modeling for software reliability assessment with uncertainty of testing-environment factor
Diering et al. New method for assessment of raters agreement based on fuzzy similarity
Tickoo et al. Testing effort based modeling to determine optimal release and patching time of software
Claudia A Decomposed Model of Consumers' Intention to Continue Buying Online.
Bayraktar et al. Assessing the supply chain performance: a causal analysis
Joshi et al. Algorithmic Hessians and the fast computation of cross-gamma risk
CN111861519A (en) Method, apparatus and medium for data processing
Speicher et al. INUIT: the interface usability instrument
Hassan The interplay between the Bayesian and frequentist approaches: a general nesting spatial panel data model
Chatterjee Impact of multivariate normality assumption on multivariate process capability indices
Wu Investment frictions and the aggregate output loss in China
De Andrés et al. Using nonlinear quantile regression for the estimation of software cost
Matos et al. A deep learning-based decision support system for mobile performance marketing
JP2013025340A (en) Company evaluation method and program

Legal Events

Date Code Title Description
AS Assignment

Owner name: SAP, AG, GERMANY

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:SIGAL, LEV;ZIV, SHAI;REEL/FRAME:019223/0149

Effective date: 20061022

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Free format text: PAYER NUMBER DE-ASSIGNED (ORIGINAL EVENT CODE: RMPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Free format text: PAYER NUMBER DE-ASSIGNED (ORIGINAL EVENT CODE: RMPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCF Information on status: patent grant

Free format text: PATENTED CASE

AS Assignment

Owner name: SAP SE, GERMANY

Free format text: CHANGE OF NAME;ASSIGNOR:SAP AG;REEL/FRAME:033625/0334

Effective date: 20140707

FPAY Fee payment

Year of fee payment: 4

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 8

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1553); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 12