performance_counter {mysql} R Documentation

run the mysql performance counter in a given timespan perioid.

Description

Usage

performance_counter(mysql, task,
    resolution = 1);

Arguments

mysql

mysql connection parameters for create a mysql performance counter @T:Oracle.LinuxCompatibility.LibMySQL.PerformanceCounter.Logger object.

task

the timespan value for run current performance counter task, value could be generates from the time related R# base function: hours, minutes, seconds, days, time_span. [as TimeSpan]

resolution

the mysql performance counter data sampling time resolution value, time internal data unit in seconds. [as double]

env

[as Environment]

Details

Authors

graphR

Value

the return tuple list data has attribute data global_status, is the raw data for the performance counter which is pulled from the mysql server.

the list data also has some specificied data fields: list(Bytes_received, Bytes_sent, Selects, Inserts, Deletes, Updates, Client_connections, Innodb_buffer_pool_read_requests, Innodb_buffer_pool_write_requests, Innodb_data_read, timestamp).

clr value class

Examples


[Package mysql version 1.0.0.0 Index]