# US 2015/0149400 A1 · Method and Apparatus for Monitoring an In-memory Computer System

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0149400 A1
- Document ID: US20150149400A1
- Status: Published application
- Kind: A1
- Application number: 14/243,567
- Filed: 2014-04-02
- Published: 2015-05-28
- Earliest claimed: 2013-11-25
- Assignees: Sap SE
- Inventors: Marc-Philip Werner; Wolfgang Auer
- Web page: https://patentgrep.com/patent/US20150149400A1

## CPC

- G06F 16/283: {Multi-dimensional databases or data warehouses, e.g. MOLAP or ROLAP}
- G06F 11/3476: {Data logging (G06F11/14, G06F11/2205 take precedence)}
- G06F 16/2282: {Tablespace storage structures; Management thereof}
- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06F 11/3072: {where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting}
- G06F 11/3409: {for performance assessment}
- G06F 11/3452: {Performance evaluation by statistical analysis}
- G06F 16/21: Design, administration or maintenance of databases
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An in-memory computing system for conducting on-line transaction processing and on-line analytical processing includes system tables in main memory to store runtime information. A statistics services can access the runtime information using script procedures stored in the main memory to collect monitoring data and generate historical data and other system performance metrics while maintaining the runtime data and generated data in the main memory.

## Claims

### Claim 1

A method for monitoring system performance of an in-memory computer system comprising:
conducting, by the in-memory computer system, a plurality of on-line transaction processes (OLTPs) to receive and store data in a main memory component of the in-memory computer system;
conducting, by the in-memory computer system, a plurality of on-line analytical processes (OLAPs) on the data stored in the main memory component to produce a plurality of data analysis results;
storing, by the in-memory computer system, runtime information in a plurality of system tables in the main memory component relating to the step of conducting a plurality of OLTPs and the step of conducting a plurality of OLAPs; and
executing, by the in-memory computer system, a first script procedure, stored in the main memory, to copy some of the runtime information from one or more of the plurality of system tables to one or more of a plurality of statistics tables in the main memory as monitoring data.

### Claim 2 (depends on 1)

The method of claim 1 further comprising executing, by the in-memory computer system, a second script procedure, stored in the main memory, to perform data analysis on the monitoring data in one or more of the plurality of statistics tables to generate a plurality of system performance metrics.

### Claim 3 (depends on 2)

The method of claim 2 further comprising executing, by the in-memory computer system, the second script procedure to store the plurality of system performance metrics in one or more of the plurality of statistics tables.

### Claim 4 (depends on 2)

The method of claim 2 wherein the first script procedure comprises the second script procedure.

### Claim 5 (depends on 1)

The method of claim 1 further comprising executing, by the in-memory computer system, the first script procedure to evaluate the monitoring data according to one or more alert condition definitions, and to write an alert to one or more of a plurality of alert tables stored in the main memory when an alert condition is detected.

### Claim 6 (depends on 5)

The method of claim 5 further comprising executing, by the in-memory computer system, the first script procedure to send an email initiation request in response to the writing of the alert to the one or more of the plurality of alert tables.

### Claim 7 (depends on 1)

The method of claim 1 further comprising executing, by the in-memory computer system, a scheduler process in accordance with a predetermined configuration file to initiate the executing of the first script procedure.

### Claim 8 (depends on 1)

The method of claim 1 wherein the first script procedure comprises a plurality of structured query language commands.

### Claim 9 (depends on 8)

The method of claim 8 wherein the one of more of the plurality of structured query language commands comprises a logical operator to evaluate the monitoring data against one or more threshold values.

### Claim 10 (depends on 1)

The method of claim 1 wherein the runtime information remains in the main memory as it is copied from the one or more of the plurality of system tables to the one or more of a plurality of statistics tables.

### Claim 11

An in-memory computing system comprising:
a plurality of server subsystems;
a main memory subsystem in data communication with the plurality of server subsystems and having stored thereon one or more system tables, one or more script procedures, and one or more statistics tables;
a scheduler subsystem in data communication with the main memory subsystem;
a disk storage subsystem; and
computer executable instructions stored among the main memory subsystem and the disk storage subsystem,
wherein the computer executable instructions are configured to cause the server subsystems to:
execute a plurality of on-line transaction processes (OLTPs) to receive and store data in a memory component of the in-memory computer system;
execute a plurality of on-line analytical processes (OLAPs) on the data stored in the memory component to produce a plurality of data analysis results; and
store runtime information in a plurality of system tables in the main memory subsystem relating to the step of conducting a plurality of OLTPs and the step of conducting a plurality of OLAPs; and
wherein the computer executable instructions are configured to cause the scheduler subsystem to:
invoke a first script procedure of the one or more script procedures in the main memory subsystem to copy some of the runtime information from one or more of the plurality of system tables to one or more of the statistics tables in the main memory subsystem as monitoring data.

### Claim 12 (depends on 11)

The system of claim 11 wherein the computer executable instructions are further configured to cause the scheduler subsystem to invoke a second script procedure of the one or more script procedures in the main memory subsystem to perform data analysis on the monitoring data in one or more of the statistics tables to generate a plurality of system performance metrics.

### Claim 13 (depends on 12)

The system of claim 12 wherein the computer executable instructions are further configured to cause the scheduler subsystem to invoke the second script procedure to store the plurality of system performance metrics in one or more of the plurality of statistics tables.

### Claim 14 (depends on 11)

The system of claim 11 wherein the computer executable instructions are further configured to cause the scheduler subsystem to invoke the first script procedure to evaluate the monitoring data in the main memory subsystem according to one or more alert condition definitions, and to write an alert to one or more of a plurality of alert tables in the main memory when an alert condition is detected.

### Claim 15 (depends on 11)

The system of claim 11 wherein the runtime information remains in the main memory as it is copied from the systems tables to the statistics tables as monitoring data.

### Claim 16

A non-transient computer readable medium having stored thereon computer executable instructions configured to cause one or more data processing units to perform steps of:
conducting a plurality of on-line transaction processes (OLTPs) to receive and store data in a main memory of the in-memory computer system;
conducting a plurality of on-line analytical processes (OLAPs) on the data stored in the memory component to produce a plurality of data analysis results;
storing runtime information in a plurality of system tables in the main memory relating to the step of conducting a plurality of OLTPs and the step of conducting a plurality of OLAPs; and
executing a script procedure in the main memory to copy some of the runtime information from one or more of the plurality of system tables to one or more statistics tables in the main memory as monitoring data.

### Claim 17 (depends on 16)

The computer readable medium of claim 16 wherein the computer executable instructions are further configured to cause one or more data processing units to perform a step of executing a second script procedure in the main memory to perform data analysis on the monitoring data in one or more of the statistics tables to generate a plurality of system performance metrics.

### Claim 18 (depends on 17)

The computer readable medium of claim 17 wherein the computer executable instructions are further configured to cause one or more data processing units to perform a step of executing the second script procedure to store the plurality of system performance metrics in one or more of the plurality of statistics tables.

### Claim 19 (depends on 16)

The computer readable medium of claim 16 wherein the computer executable instructions are further configured to cause one or more data processing units to perform steps of:
executing the first script procedure to evaluate the monitoring data in the main memory according to one or more alert condition definitions, and
storing an alert condition message to one or more of the alert tables in the main memory when an alert condition is detected

### Claim 20 (depends on 16)

The computer readable medium of claim 16 wherein the runtime information remains in the main memory as it is copied from the systems tables to the statistics tables as monitoring data.
