mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
5.6.24
This commit is contained in:
parent
05c002d0ff
commit
d71d411905
128 changed files with 731 additions and 1663 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
/* Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -41,7 +41,6 @@
|
|||
do {} while (0)
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_PSI_STATEMENT_INTERFACE
|
||||
#ifdef HAVE_PSI_STATEMENT_DIGEST_INTERFACE
|
||||
#define MYSQL_DIGEST_START(LOCKER) \
|
||||
inline_mysql_digest_start(LOCKER)
|
||||
|
@ -49,17 +48,13 @@
|
|||
#define MYSQL_DIGEST_START(LOCKER) \
|
||||
NULL
|
||||
#endif
|
||||
#else
|
||||
#define MYSQL_DIGEST_START(LOCKER) \
|
||||
NULL
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_PSI_STATEMENT_DIGEST_INTERFACE
|
||||
#define MYSQL_ADD_TOKEN(LOCKER, T, Y) \
|
||||
inline_mysql_add_token(LOCKER, T, Y)
|
||||
#define MYSQL_DIGEST_END(LOCKER, DIGEST) \
|
||||
inline_mysql_digest_end(LOCKER, DIGEST)
|
||||
#else
|
||||
#define MYSQL_ADD_TOKEN(LOCKER, T, Y) \
|
||||
NULL
|
||||
#define MYSQL_DIGEST_END(LOCKER, DIGEST) \
|
||||
do {} while (0)
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_PSI_STATEMENT_INTERFACE
|
||||
|
@ -132,20 +127,17 @@ inline_mysql_digest_start(PSI_statement_locker *locker)
|
|||
PSI_digest_locker* digest_locker= NULL;
|
||||
|
||||
if (likely(locker != NULL))
|
||||
digest_locker= PSI_STATEMENT_CALL(digest_start)(locker);
|
||||
digest_locker= PSI_DIGEST_CALL(digest_start)(locker);
|
||||
return digest_locker;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_PSI_STATEMENT_DIGEST_INTERFACE
|
||||
static inline struct PSI_digest_locker *
|
||||
inline_mysql_add_token(PSI_digest_locker *locker, uint token,
|
||||
void *yylval)
|
||||
static inline void
|
||||
inline_mysql_digest_end(PSI_digest_locker *locker, const sql_digest_storage *digest)
|
||||
{
|
||||
if (likely(locker != NULL))
|
||||
locker= PSI_STATEMENT_CALL(digest_add_token)(locker, token,
|
||||
(OPAQUE_LEX_YYSTYPE*)yylval);
|
||||
return locker;
|
||||
PSI_DIGEST_CALL(digest_end)(locker, digest);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
/* Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -43,18 +43,8 @@
|
|||
C_MODE_START
|
||||
|
||||
struct TABLE_SHARE;
|
||||
/*
|
||||
There are 3 known bison parsers in the server:
|
||||
- (1) the SQL parser itself, sql/sql_yacc.yy
|
||||
- (2) storage/innobase/fts/fts0pars.y
|
||||
- (3) storage/innobase/pars/pars0grm.y
|
||||
What is instrumented here are the tokens from the SQL query text (1),
|
||||
to make digests.
|
||||
Now, to avoid name pollution and conflicts with different YYSTYPE definitions,
|
||||
an opaque structure is used here.
|
||||
The real type to use when invoking the digest api is LEX_YYSTYPE.
|
||||
*/
|
||||
struct OPAQUE_LEX_YYSTYPE;
|
||||
|
||||
struct sql_digest_storage;
|
||||
|
||||
/**
|
||||
@file mysql/psi/psi.h
|
||||
|
@ -952,29 +942,6 @@ struct PSI_table_locker_state_v1
|
|||
uint m_index;
|
||||
};
|
||||
|
||||
#define PSI_MAX_DIGEST_STORAGE_SIZE 1024
|
||||
|
||||
/**
|
||||
Structure to store token count/array for a statement
|
||||
on which digest is to be calculated.
|
||||
*/
|
||||
struct PSI_digest_storage
|
||||
{
|
||||
my_bool m_full;
|
||||
int m_byte_count;
|
||||
/** Character set number. */
|
||||
uint m_charset_number;
|
||||
unsigned char m_token_array[PSI_MAX_DIGEST_STORAGE_SIZE];
|
||||
};
|
||||
typedef struct PSI_digest_storage PSI_digest_storage;
|
||||
|
||||
struct PSI_digest_locker_state
|
||||
{
|
||||
int m_last_id_index;
|
||||
PSI_digest_storage m_digest_storage;
|
||||
};
|
||||
typedef struct PSI_digest_locker_state PSI_digest_locker_state;
|
||||
|
||||
/* Duplicate of NAME_LEN, to avoid dependency on mysql_com.h */
|
||||
#define PSI_SCHEMA_NAME_LEN (64 * 3)
|
||||
|
||||
|
@ -1037,7 +1004,7 @@ struct PSI_statement_locker_state_v1
|
|||
/** Metric, number of sort scans. */
|
||||
ulong m_sort_scan;
|
||||
/** Statement digest. */
|
||||
PSI_digest_locker_state m_digest_state;
|
||||
const struct sql_digest_storage *m_digest;
|
||||
/** Current schema name. */
|
||||
char m_schema_name[PSI_SCHEMA_NAME_LEN];
|
||||
/** Length in bytes of @c m_schema_name. */
|
||||
|
@ -1902,11 +1869,15 @@ typedef void (*set_socket_info_v1_t)(struct PSI_socket *socket,
|
|||
*/
|
||||
typedef void (*set_socket_thread_owner_v1_t)(struct PSI_socket *socket);
|
||||
|
||||
/**
|
||||
Get a digest locker for the current statement.
|
||||
@param locker a statement locker for the running thread
|
||||
*/
|
||||
typedef struct PSI_digest_locker * (*digest_start_v1_t)
|
||||
(struct PSI_statement_locker *locker);
|
||||
|
||||
typedef struct PSI_digest_locker* (*digest_add_token_v1_t)
|
||||
(struct PSI_digest_locker *locker, uint token, struct OPAQUE_LEX_YYSTYPE *yylval);
|
||||
typedef void (*digest_end_v1_t)
|
||||
(struct PSI_digest_locker *locker, const struct sql_digest_storage *digest);
|
||||
|
||||
/**
|
||||
Stores an array of connection attributes
|
||||
|
@ -2118,8 +2089,8 @@ struct PSI_v1
|
|||
set_socket_thread_owner_v1_t set_socket_thread_owner;
|
||||
/** @sa digest_start_v1_t. */
|
||||
digest_start_v1_t digest_start;
|
||||
/** @sa digest_add_token_v1_t. */
|
||||
digest_add_token_v1_t digest_add_token;
|
||||
/** @sa digest_end_v1_t. */
|
||||
digest_end_v1_t digest_end;
|
||||
/** @sa set_thread_connect_attrs_v1_t. */
|
||||
set_thread_connect_attrs_v1_t set_thread_connect_attrs;
|
||||
};
|
||||
|
@ -2414,6 +2385,10 @@ extern MYSQL_PLUGIN_IMPORT PSI *PSI_server;
|
|||
#define PSI_STATEMENT_CALL(M) PSI_DYNAMIC_CALL(M)
|
||||
#endif
|
||||
|
||||
#ifndef PSI_DIGEST_CALL
|
||||
#define PSI_DIGEST_CALL(M) PSI_DYNAMIC_CALL(M)
|
||||
#endif
|
||||
|
||||
#ifndef PSI_TABLE_CALL
|
||||
#define PSI_TABLE_CALL(M) PSI_DYNAMIC_CALL(M)
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "mysql/psi/psi.h"
|
||||
C_MODE_START
|
||||
struct TABLE_SHARE;
|
||||
struct OPAQUE_LEX_YYSTYPE;
|
||||
struct sql_digest_storage;
|
||||
struct PSI_mutex;
|
||||
typedef struct PSI_mutex PSI_mutex;
|
||||
struct PSI_rwlock;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "mysql/psi/psi.h"
|
||||
C_MODE_START
|
||||
struct TABLE_SHARE;
|
||||
struct OPAQUE_LEX_YYSTYPE;
|
||||
struct sql_digest_storage;
|
||||
struct PSI_mutex;
|
||||
typedef struct PSI_mutex PSI_mutex;
|
||||
struct PSI_rwlock;
|
||||
|
@ -241,20 +241,6 @@ struct PSI_table_locker_state_v1
|
|||
void *m_wait;
|
||||
uint m_index;
|
||||
};
|
||||
struct PSI_digest_storage
|
||||
{
|
||||
my_bool m_full;
|
||||
int m_byte_count;
|
||||
uint m_charset_number;
|
||||
unsigned char m_token_array[1024];
|
||||
};
|
||||
typedef struct PSI_digest_storage PSI_digest_storage;
|
||||
struct PSI_digest_locker_state
|
||||
{
|
||||
int m_last_id_index;
|
||||
PSI_digest_storage m_digest_storage;
|
||||
};
|
||||
typedef struct PSI_digest_locker_state PSI_digest_locker_state;
|
||||
struct PSI_statement_locker_state_v1
|
||||
{
|
||||
my_bool m_discarded;
|
||||
|
@ -280,7 +266,7 @@ struct PSI_statement_locker_state_v1
|
|||
ulong m_sort_range;
|
||||
ulong m_sort_rows;
|
||||
ulong m_sort_scan;
|
||||
PSI_digest_locker_state m_digest_state;
|
||||
const struct sql_digest_storage *m_digest;
|
||||
char m_schema_name[(64 * 3)];
|
||||
uint m_schema_name_length;
|
||||
};
|
||||
|
@ -508,8 +494,8 @@ typedef void (*set_socket_info_v1_t)(struct PSI_socket *socket,
|
|||
typedef void (*set_socket_thread_owner_v1_t)(struct PSI_socket *socket);
|
||||
typedef struct PSI_digest_locker * (*digest_start_v1_t)
|
||||
(struct PSI_statement_locker *locker);
|
||||
typedef struct PSI_digest_locker* (*digest_add_token_v1_t)
|
||||
(struct PSI_digest_locker *locker, uint token, struct OPAQUE_LEX_YYSTYPE *yylval);
|
||||
typedef void (*digest_end_v1_t)
|
||||
(struct PSI_digest_locker *locker, const struct sql_digest_storage *digest);
|
||||
typedef int (*set_thread_connect_attrs_v1_t)(const char *buffer, uint length,
|
||||
const void *from_cs);
|
||||
struct PSI_v1
|
||||
|
@ -610,7 +596,7 @@ struct PSI_v1
|
|||
set_socket_info_v1_t set_socket_info;
|
||||
set_socket_thread_owner_v1_t set_socket_thread_owner;
|
||||
digest_start_v1_t digest_start;
|
||||
digest_add_token_v1_t digest_add_token;
|
||||
digest_end_v1_t digest_end;
|
||||
set_thread_connect_attrs_v1_t set_thread_connect_attrs;
|
||||
};
|
||||
typedef struct PSI_v1 PSI;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "mysql/psi/psi.h"
|
||||
C_MODE_START
|
||||
struct TABLE_SHARE;
|
||||
struct OPAQUE_LEX_YYSTYPE;
|
||||
struct sql_digest_storage;
|
||||
struct PSI_mutex;
|
||||
typedef struct PSI_mutex PSI_mutex;
|
||||
struct PSI_rwlock;
|
||||
|
|
|
@ -4,13 +4,21 @@ show variables like "table_open_cache";
|
|||
show variables like "max_connections";
|
||||
# open_files_limit depends on OS configuration (ulimit -n)
|
||||
#show variables like "open_files_limit";
|
||||
show variables like "%performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
show status like "%performance_schema%";
|
||||
|
||||
# Each test script should provide a different test.cnf file,
|
||||
# with different settings.
|
||||
# This output will show the sizes computed automatically.
|
||||
# Note that this output is very dependent on the platform.
|
||||
# The output of SHOW ENGINE PERFORMANCE_SCHEMA STATUS
|
||||
# is very dependent on the platform,
|
||||
# so it is not printed here to ensure stability of the .results files.
|
||||
# To troubleshoot the performance schema memory consumption at different
|
||||
# configuration settings, comment the following line.
|
||||
# Debug only:
|
||||
|
||||
show engine performance_schema status;
|
||||
# show engine performance_schema status;
|
||||
|
||||
|
|
|
@ -126,7 +126,7 @@ if($is_connect)
|
|||
# Connect is visible.
|
||||
# We hope that sleep 1 is long enough so that PERFORMANCE_SCHEMA
|
||||
# can remove this row before we collect the after action state.
|
||||
let $wait_timeou= 5;
|
||||
let $wait_timeout= 5;
|
||||
let $wait_condition=
|
||||
SELECT COUNT(*) = 0
|
||||
$part;
|
||||
|
|
|
@ -68,7 +68,9 @@ select * from performance_schema.users;
|
|||
--enable_result_log
|
||||
|
||||
# This has a stable output, printing the result:
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
|
||||
# This has an unrepeatable output, it does depends too much on
|
||||
# - the platform hardware (sizeof structures, padding)
|
||||
|
|
|
@ -29,7 +29,9 @@ truncate performance_schema.events_waits_summary_global_by_event_name;
|
|||
truncate performance_schema.events_waits_history_long;
|
||||
|
||||
# Check the configuration is ok
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
show status like "performance_schema%";
|
||||
|
||||
echo "================== Step 1 ==================";
|
||||
|
|
27
mysql-test/suite/perfschema/r/digest_null_literal.result
Normal file
27
mysql-test/suite/perfschema/r/digest_null_literal.result
Normal file
|
@ -0,0 +1,27 @@
|
|||
TRUNCATE TABLE performance_schema.events_statements_summary_by_digest;
|
||||
NULL
|
||||
NULL
|
||||
NULL
|
||||
NULL
|
||||
NULL NULL
|
||||
NULL NULL
|
||||
NULL NULL NULL 1 2 3 NULL NULL
|
||||
NULL NULL NULL 1 2 3 NULL NULL
|
||||
1 IS NULL
|
||||
0
|
||||
2 IS NOT NULL
|
||||
1
|
||||
1 IS NULL 2 IS NULL 3 IS NOT NULL 4 IS NOT NULL
|
||||
0 0 1 1
|
||||
SELECT SCHEMA_NAME, DIGEST_TEXT, COUNT_STAR
|
||||
FROM performance_schema.events_statements_summary_by_digest;
|
||||
SCHEMA_NAME DIGEST_TEXT COUNT_STAR
|
||||
test TRUNCATE TABLE performance_schema . events_statements_summary_by_digest 1
|
||||
test SELECT ? 1
|
||||
test SELECT ? FROM DUAL 1
|
||||
test SELECT ?, ... 2
|
||||
test SELECT ? IS NULL 1
|
||||
test SELECT ? IS NOT NULL 1
|
||||
test SELECT ? IS NULL , ? IS NULL , ? IS NOT NULL , ? IS NOT NULL 1
|
||||
test CREATE TABLE foo ( a INTEGER DEFAULT ? , b INTEGER NOT NULL DEFAULT ? , c INTEGER NOT NULL ) 1
|
||||
test DROP TABLE foo 1
|
|
@ -92,7 +92,9 @@ close pfs_cursor;
|
|||
signal sqlstate '01000' set message_text='Done', mysql_errno=12000;
|
||||
end
|
||||
$
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -116,7 +118,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
@ -125,31 +126,6 @@ performance_schema_session_connect_attrs_size 2048
|
|||
performance_schema_setup_actors_size 100
|
||||
performance_schema_setup_objects_size 100
|
||||
performance_schema_users_size 100
|
||||
show status like "performance_schema%";
|
||||
Variable_name Value
|
||||
Performance_schema_accounts_lost 0
|
||||
Performance_schema_cond_classes_lost 0
|
||||
Performance_schema_cond_instances_lost 0
|
||||
Performance_schema_digest_lost 0
|
||||
Performance_schema_file_classes_lost 0
|
||||
Performance_schema_file_handles_lost 0
|
||||
Performance_schema_file_instances_lost 0
|
||||
Performance_schema_hosts_lost 0
|
||||
Performance_schema_locker_lost 0
|
||||
Performance_schema_mutex_classes_lost 0
|
||||
Performance_schema_mutex_instances_lost 0
|
||||
Performance_schema_rwlock_classes_lost 0
|
||||
Performance_schema_rwlock_instances_lost 0
|
||||
Performance_schema_session_connect_attrs_lost 0
|
||||
Performance_schema_socket_classes_lost 0
|
||||
Performance_schema_socket_instances_lost 0
|
||||
Performance_schema_stage_classes_lost 0
|
||||
Performance_schema_statement_classes_lost 0
|
||||
Performance_schema_table_handles_lost 0
|
||||
Performance_schema_table_instances_lost 0
|
||||
Performance_schema_thread_classes_lost 0
|
||||
Performance_schema_thread_instances_lost 0
|
||||
Performance_schema_users_lost 0
|
||||
call check_instrument("wait/synch/mutex/");
|
||||
instr_name is_wait is_stage is_statement
|
||||
wait/synch/mutex/ 1 0 0
|
||||
|
|
|
@ -22,7 +22,9 @@ flush privileges;
|
|||
insert into test.marker set a = 1;
|
||||
insert into test.marker set a = 1;
|
||||
insert into test.marker set a = 1;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -46,7 +48,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -7,7 +7,9 @@ table_open_cache 2000
|
|||
show variables like "max_connections";
|
||||
Variable_name Value
|
||||
max_connections 151
|
||||
show variables like "%performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -31,7 +33,6 @@ performance_schema_max_rwlock_instances 9102
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 322
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 4000
|
||||
performance_schema_max_table_instances 12500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
@ -65,160 +66,3 @@ Performance_schema_table_instances_lost 0
|
|||
Performance_schema_thread_classes_lost 0
|
||||
Performance_schema_thread_instances_lost 0
|
||||
Performance_schema_users_lost 0
|
||||
show engine performance_schema status;
|
||||
Type Name Status
|
||||
performance_schema events_waits_current.row_size 184
|
||||
performance_schema events_waits_current.row_count 2412
|
||||
performance_schema events_waits_history.row_size 184
|
||||
performance_schema events_waits_history.row_count 4020
|
||||
performance_schema events_waits_history.memory 739680
|
||||
performance_schema events_waits_history_long.row_size 184
|
||||
performance_schema events_waits_history_long.row_count 10000
|
||||
performance_schema events_waits_history_long.memory 1840000
|
||||
performance_schema (pfs_mutex_class).row_size 256
|
||||
performance_schema (pfs_mutex_class).row_count 200
|
||||
performance_schema (pfs_mutex_class).memory 51200
|
||||
performance_schema (pfs_rwlock_class).row_size 320
|
||||
performance_schema (pfs_rwlock_class).row_count 40
|
||||
performance_schema (pfs_rwlock_class).memory 12800
|
||||
performance_schema (pfs_cond_class).row_size 256
|
||||
performance_schema (pfs_cond_class).row_count 80
|
||||
performance_schema (pfs_cond_class).memory 20480
|
||||
performance_schema (pfs_thread_class).row_size 192
|
||||
performance_schema (pfs_thread_class).row_count 50
|
||||
performance_schema (pfs_thread_class).memory 9600
|
||||
performance_schema (pfs_file_class).row_size 320
|
||||
performance_schema (pfs_file_class).row_count 50
|
||||
performance_schema (pfs_file_class).memory 16000
|
||||
performance_schema mutex_instances.row_size 128
|
||||
performance_schema mutex_instances.row_count 15906
|
||||
performance_schema mutex_instances.memory 2035968
|
||||
performance_schema rwlock_instances.row_size 192
|
||||
performance_schema rwlock_instances.row_count 9102
|
||||
performance_schema rwlock_instances.memory 1747584
|
||||
performance_schema cond_instances.row_size 128
|
||||
performance_schema cond_instances.row_count 3504
|
||||
performance_schema cond_instances.memory 448512
|
||||
performance_schema threads.row_size 2816
|
||||
performance_schema threads.row_count 402
|
||||
performance_schema threads.memory 1132032
|
||||
performance_schema file_instances.row_size 704
|
||||
performance_schema file_instances.row_count 7693
|
||||
performance_schema file_instances.memory 5415872
|
||||
performance_schema (pfs_file_handle).row_size 8
|
||||
performance_schema (pfs_file_handle).row_count 32768
|
||||
performance_schema (pfs_file_handle).memory 262144
|
||||
performance_schema events_waits_summary_by_thread_by_event_name.row_size 32
|
||||
performance_schema events_waits_summary_by_thread_by_event_name.row_count 153966
|
||||
performance_schema events_waits_summary_by_thread_by_event_name.memory 4926912
|
||||
performance_schema (pfs_table_share).row_size 22208
|
||||
performance_schema (pfs_table_share).row_count 12500
|
||||
performance_schema (pfs_table_share).memory 277600000
|
||||
performance_schema (pfs_table).row_size 9280
|
||||
performance_schema (pfs_table).row_count 4000
|
||||
performance_schema (pfs_table).memory 37120000
|
||||
performance_schema setup_actors.row_size 256
|
||||
performance_schema setup_actors.row_count 100
|
||||
performance_schema setup_actors.memory 25600
|
||||
performance_schema setup_objects.row_size 448
|
||||
performance_schema setup_objects.row_count 100
|
||||
performance_schema setup_objects.memory 44800
|
||||
performance_schema (pfs_account).row_size 256
|
||||
performance_schema (pfs_account).row_count 100
|
||||
performance_schema (pfs_account).memory 25600
|
||||
performance_schema events_waits_summary_by_account_by_event_name.row_size 32
|
||||
performance_schema events_waits_summary_by_account_by_event_name.row_count 38300
|
||||
performance_schema events_waits_summary_by_account_by_event_name.memory 1225600
|
||||
performance_schema events_waits_summary_by_user_by_event_name.row_size 32
|
||||
performance_schema events_waits_summary_by_user_by_event_name.row_count 38300
|
||||
performance_schema events_waits_summary_by_user_by_event_name.memory 1225600
|
||||
performance_schema events_waits_summary_by_host_by_event_name.row_size 32
|
||||
performance_schema events_waits_summary_by_host_by_event_name.row_count 38300
|
||||
performance_schema events_waits_summary_by_host_by_event_name.memory 1225600
|
||||
performance_schema (pfs_user).row_size 128
|
||||
performance_schema (pfs_user).row_count 100
|
||||
performance_schema (pfs_user).memory 12800
|
||||
performance_schema (pfs_host).row_size 128
|
||||
performance_schema (pfs_host).row_count 100
|
||||
performance_schema (pfs_host).memory 12800
|
||||
performance_schema (pfs_stage_class).row_size 256
|
||||
performance_schema (pfs_stage_class).row_count 150
|
||||
performance_schema (pfs_stage_class).memory 38400
|
||||
performance_schema events_stages_history.row_size 88
|
||||
performance_schema events_stages_history.row_count 4020
|
||||
performance_schema events_stages_history.memory 353760
|
||||
performance_schema events_stages_history_long.row_size 88
|
||||
performance_schema events_stages_history_long.row_count 10000
|
||||
performance_schema events_stages_history_long.memory 880000
|
||||
performance_schema events_stages_summary_by_thread_by_event_name.row_size 32
|
||||
performance_schema events_stages_summary_by_thread_by_event_name.row_count 60300
|
||||
performance_schema events_stages_summary_by_thread_by_event_name.memory 1929600
|
||||
performance_schema events_stages_summary_global_by_event_name.row_size 32
|
||||
performance_schema events_stages_summary_global_by_event_name.row_count 150
|
||||
performance_schema events_stages_summary_global_by_event_name.memory 4800
|
||||
performance_schema events_stages_summary_by_account_by_event_name.row_size 32
|
||||
performance_schema events_stages_summary_by_account_by_event_name.row_count 15000
|
||||
performance_schema events_stages_summary_by_account_by_event_name.memory 480000
|
||||
performance_schema events_stages_summary_by_user_by_event_name.row_size 32
|
||||
performance_schema events_stages_summary_by_user_by_event_name.row_count 15000
|
||||
performance_schema events_stages_summary_by_user_by_event_name.memory 480000
|
||||
performance_schema events_stages_summary_by_host_by_event_name.row_size 32
|
||||
performance_schema events_stages_summary_by_host_by_event_name.row_count 15000
|
||||
performance_schema events_stages_summary_by_host_by_event_name.memory 480000
|
||||
performance_schema (pfs_statement_class).row_size 192
|
||||
performance_schema (pfs_statement_class).row_count 168
|
||||
performance_schema (pfs_statement_class).memory 32256
|
||||
performance_schema events_statements_history.row_size 3024
|
||||
performance_schema events_statements_history.row_count 4020
|
||||
performance_schema events_statements_history.memory 12156480
|
||||
performance_schema events_statements_history_long.row_size 3024
|
||||
performance_schema events_statements_history_long.row_count 10000
|
||||
performance_schema events_statements_history_long.memory 30240000
|
||||
performance_schema events_statements_summary_by_thread_by_event_name.row_size 184
|
||||
performance_schema events_statements_summary_by_thread_by_event_name.row_count 67536
|
||||
performance_schema events_statements_summary_by_thread_by_event_name.memory 12426624
|
||||
performance_schema events_statements_summary_global_by_event_name.row_size 184
|
||||
performance_schema events_statements_summary_global_by_event_name.row_count 168
|
||||
performance_schema events_statements_summary_global_by_event_name.memory 30912
|
||||
performance_schema events_statements_summary_by_account_by_event_name.row_size 184
|
||||
performance_schema events_statements_summary_by_account_by_event_name.row_count 16800
|
||||
performance_schema events_statements_summary_by_account_by_event_name.memory 3091200
|
||||
performance_schema events_statements_summary_by_user_by_event_name.row_size 184
|
||||
performance_schema events_statements_summary_by_user_by_event_name.row_count 16800
|
||||
performance_schema events_statements_summary_by_user_by_event_name.memory 3091200
|
||||
performance_schema events_statements_summary_by_host_by_event_name.row_size 184
|
||||
performance_schema events_statements_summary_by_host_by_event_name.row_count 16800
|
||||
performance_schema events_statements_summary_by_host_by_event_name.memory 3091200
|
||||
performance_schema events_statements_current.row_size 3024
|
||||
performance_schema events_statements_current.row_count 402
|
||||
performance_schema events_statements_current.memory 1215648
|
||||
performance_schema (pfs_socket_class).row_size 320
|
||||
performance_schema (pfs_socket_class).row_count 10
|
||||
performance_schema (pfs_socket_class).memory 3200
|
||||
performance_schema socket_instances.row_size 320
|
||||
performance_schema socket_instances.row_count 322
|
||||
performance_schema socket_instances.memory 103040
|
||||
performance_schema events_statements_summary_by_digest.row_size 1472
|
||||
performance_schema events_statements_summary_by_digest.row_count 10000
|
||||
performance_schema events_statements_summary_by_digest.memory 14720000
|
||||
performance_schema session_connect_attrs.row_size 402
|
||||
performance_schema session_connect_attrs.row_count 512
|
||||
performance_schema session_connect_attrs.memory 205824
|
||||
performance_schema (account_hash).count 2
|
||||
performance_schema (account_hash).size 100
|
||||
performance_schema (digest_hash).count 0
|
||||
performance_schema (digest_hash).size 10000
|
||||
performance_schema (filename_hash).count 0
|
||||
performance_schema (filename_hash).size 7693
|
||||
performance_schema (host_hash).count 2
|
||||
performance_schema (host_hash).size 100
|
||||
performance_schema (setup_actor_hash).count 1
|
||||
performance_schema (setup_actor_hash).size 100
|
||||
performance_schema (setup_object_hash).count 4
|
||||
performance_schema (setup_object_hash).size 100
|
||||
performance_schema (table_share_hash).count 80
|
||||
performance_schema (table_share_hash).size 12500
|
||||
performance_schema (user_hash).count 2
|
||||
performance_schema (user_hash).size 100
|
||||
performance_schema host_cache.size 336
|
||||
performance_schema performance_schema.memory 422231328
|
||||
|
|
|
@ -7,7 +7,9 @@ table_open_cache 400
|
|||
show variables like "max_connections";
|
||||
Variable_name Value
|
||||
max_connections 200
|
||||
show variables like "%performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -31,7 +33,6 @@ performance_schema_max_rwlock_instances 30800
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 420
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 800
|
||||
performance_schema_max_table_instances 12500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
@ -65,160 +66,3 @@ Performance_schema_table_instances_lost 0
|
|||
Performance_schema_thread_classes_lost 0
|
||||
Performance_schema_thread_instances_lost 0
|
||||
Performance_schema_users_lost 0
|
||||
show engine performance_schema status;
|
||||
Type Name Status
|
||||
performance_schema events_waits_current.row_size 184
|
||||
performance_schema events_waits_current.row_count 3000
|
||||
performance_schema events_waits_history.row_size 184
|
||||
performance_schema events_waits_history.row_count 5000
|
||||
performance_schema events_waits_history.memory 920000
|
||||
performance_schema events_waits_history_long.row_size 184
|
||||
performance_schema events_waits_history_long.row_count 10000
|
||||
performance_schema events_waits_history_long.memory 1840000
|
||||
performance_schema (pfs_mutex_class).row_size 256
|
||||
performance_schema (pfs_mutex_class).row_count 200
|
||||
performance_schema (pfs_mutex_class).memory 51200
|
||||
performance_schema (pfs_rwlock_class).row_size 320
|
||||
performance_schema (pfs_rwlock_class).row_count 40
|
||||
performance_schema (pfs_rwlock_class).memory 12800
|
||||
performance_schema (pfs_cond_class).row_size 256
|
||||
performance_schema (pfs_cond_class).row_count 80
|
||||
performance_schema (pfs_cond_class).memory 20480
|
||||
performance_schema (pfs_thread_class).row_size 192
|
||||
performance_schema (pfs_thread_class).row_count 50
|
||||
performance_schema (pfs_thread_class).memory 9600
|
||||
performance_schema (pfs_file_class).row_size 320
|
||||
performance_schema (pfs_file_class).row_count 50
|
||||
performance_schema (pfs_file_class).memory 16000
|
||||
performance_schema mutex_instances.row_size 128
|
||||
performance_schema mutex_instances.row_count 52200
|
||||
performance_schema mutex_instances.memory 6681600
|
||||
performance_schema rwlock_instances.row_size 192
|
||||
performance_schema rwlock_instances.row_count 30800
|
||||
performance_schema rwlock_instances.memory 5913600
|
||||
performance_schema cond_instances.row_size 128
|
||||
performance_schema cond_instances.row_count 10900
|
||||
performance_schema cond_instances.memory 1395200
|
||||
performance_schema threads.row_size 2816
|
||||
performance_schema threads.row_count 500
|
||||
performance_schema threads.memory 1408000
|
||||
performance_schema file_instances.row_size 704
|
||||
performance_schema file_instances.row_count 23385
|
||||
performance_schema file_instances.memory 16463040
|
||||
performance_schema (pfs_file_handle).row_size 8
|
||||
performance_schema (pfs_file_handle).row_count 32768
|
||||
performance_schema (pfs_file_handle).memory 262144
|
||||
performance_schema events_waits_summary_by_thread_by_event_name.row_size 32
|
||||
performance_schema events_waits_summary_by_thread_by_event_name.row_count 191500
|
||||
performance_schema events_waits_summary_by_thread_by_event_name.memory 6128000
|
||||
performance_schema (pfs_table_share).row_size 22208
|
||||
performance_schema (pfs_table_share).row_count 12500
|
||||
performance_schema (pfs_table_share).memory 277600000
|
||||
performance_schema (pfs_table).row_size 9280
|
||||
performance_schema (pfs_table).row_count 800
|
||||
performance_schema (pfs_table).memory 7424000
|
||||
performance_schema setup_actors.row_size 256
|
||||
performance_schema setup_actors.row_count 100
|
||||
performance_schema setup_actors.memory 25600
|
||||
performance_schema setup_objects.row_size 448
|
||||
performance_schema setup_objects.row_count 100
|
||||
performance_schema setup_objects.memory 44800
|
||||
performance_schema (pfs_account).row_size 256
|
||||
performance_schema (pfs_account).row_count 100
|
||||
performance_schema (pfs_account).memory 25600
|
||||
performance_schema events_waits_summary_by_account_by_event_name.row_size 32
|
||||
performance_schema events_waits_summary_by_account_by_event_name.row_count 38300
|
||||
performance_schema events_waits_summary_by_account_by_event_name.memory 1225600
|
||||
performance_schema events_waits_summary_by_user_by_event_name.row_size 32
|
||||
performance_schema events_waits_summary_by_user_by_event_name.row_count 38300
|
||||
performance_schema events_waits_summary_by_user_by_event_name.memory 1225600
|
||||
performance_schema events_waits_summary_by_host_by_event_name.row_size 32
|
||||
performance_schema events_waits_summary_by_host_by_event_name.row_count 38300
|
||||
performance_schema events_waits_summary_by_host_by_event_name.memory 1225600
|
||||
performance_schema (pfs_user).row_size 128
|
||||
performance_schema (pfs_user).row_count 100
|
||||
performance_schema (pfs_user).memory 12800
|
||||
performance_schema (pfs_host).row_size 128
|
||||
performance_schema (pfs_host).row_count 100
|
||||
performance_schema (pfs_host).memory 12800
|
||||
performance_schema (pfs_stage_class).row_size 256
|
||||
performance_schema (pfs_stage_class).row_count 150
|
||||
performance_schema (pfs_stage_class).memory 38400
|
||||
performance_schema events_stages_history.row_size 88
|
||||
performance_schema events_stages_history.row_count 5000
|
||||
performance_schema events_stages_history.memory 440000
|
||||
performance_schema events_stages_history_long.row_size 88
|
||||
performance_schema events_stages_history_long.row_count 10000
|
||||
performance_schema events_stages_history_long.memory 880000
|
||||
performance_schema events_stages_summary_by_thread_by_event_name.row_size 32
|
||||
performance_schema events_stages_summary_by_thread_by_event_name.row_count 75000
|
||||
performance_schema events_stages_summary_by_thread_by_event_name.memory 2400000
|
||||
performance_schema events_stages_summary_global_by_event_name.row_size 32
|
||||
performance_schema events_stages_summary_global_by_event_name.row_count 150
|
||||
performance_schema events_stages_summary_global_by_event_name.memory 4800
|
||||
performance_schema events_stages_summary_by_account_by_event_name.row_size 32
|
||||
performance_schema events_stages_summary_by_account_by_event_name.row_count 15000
|
||||
performance_schema events_stages_summary_by_account_by_event_name.memory 480000
|
||||
performance_schema events_stages_summary_by_user_by_event_name.row_size 32
|
||||
performance_schema events_stages_summary_by_user_by_event_name.row_count 15000
|
||||
performance_schema events_stages_summary_by_user_by_event_name.memory 480000
|
||||
performance_schema events_stages_summary_by_host_by_event_name.row_size 32
|
||||
performance_schema events_stages_summary_by_host_by_event_name.row_count 15000
|
||||
performance_schema events_stages_summary_by_host_by_event_name.memory 480000
|
||||
performance_schema (pfs_statement_class).row_size 192
|
||||
performance_schema (pfs_statement_class).row_count 168
|
||||
performance_schema (pfs_statement_class).memory 32256
|
||||
performance_schema events_statements_history.row_size 3024
|
||||
performance_schema events_statements_history.row_count 5000
|
||||
performance_schema events_statements_history.memory 15120000
|
||||
performance_schema events_statements_history_long.row_size 3024
|
||||
performance_schema events_statements_history_long.row_count 10000
|
||||
performance_schema events_statements_history_long.memory 30240000
|
||||
performance_schema events_statements_summary_by_thread_by_event_name.row_size 184
|
||||
performance_schema events_statements_summary_by_thread_by_event_name.row_count 84000
|
||||
performance_schema events_statements_summary_by_thread_by_event_name.memory 15456000
|
||||
performance_schema events_statements_summary_global_by_event_name.row_size 184
|
||||
performance_schema events_statements_summary_global_by_event_name.row_count 168
|
||||
performance_schema events_statements_summary_global_by_event_name.memory 30912
|
||||
performance_schema events_statements_summary_by_account_by_event_name.row_size 184
|
||||
performance_schema events_statements_summary_by_account_by_event_name.row_count 16800
|
||||
performance_schema events_statements_summary_by_account_by_event_name.memory 3091200
|
||||
performance_schema events_statements_summary_by_user_by_event_name.row_size 184
|
||||
performance_schema events_statements_summary_by_user_by_event_name.row_count 16800
|
||||
performance_schema events_statements_summary_by_user_by_event_name.memory 3091200
|
||||
performance_schema events_statements_summary_by_host_by_event_name.row_size 184
|
||||
performance_schema events_statements_summary_by_host_by_event_name.row_count 16800
|
||||
performance_schema events_statements_summary_by_host_by_event_name.memory 3091200
|
||||
performance_schema events_statements_current.row_size 3024
|
||||
performance_schema events_statements_current.row_count 500
|
||||
performance_schema events_statements_current.memory 1512000
|
||||
performance_schema (pfs_socket_class).row_size 320
|
||||
performance_schema (pfs_socket_class).row_count 10
|
||||
performance_schema (pfs_socket_class).memory 3200
|
||||
performance_schema socket_instances.row_size 320
|
||||
performance_schema socket_instances.row_count 420
|
||||
performance_schema socket_instances.memory 134400
|
||||
performance_schema events_statements_summary_by_digest.row_size 1472
|
||||
performance_schema events_statements_summary_by_digest.row_count 10000
|
||||
performance_schema events_statements_summary_by_digest.memory 14720000
|
||||
performance_schema session_connect_attrs.row_size 500
|
||||
performance_schema session_connect_attrs.row_count 512
|
||||
performance_schema session_connect_attrs.memory 256000
|
||||
performance_schema (account_hash).count 2
|
||||
performance_schema (account_hash).size 100
|
||||
performance_schema (digest_hash).count 0
|
||||
performance_schema (digest_hash).size 10000
|
||||
performance_schema (filename_hash).count 0
|
||||
performance_schema (filename_hash).size 23385
|
||||
performance_schema (host_hash).count 2
|
||||
performance_schema (host_hash).size 100
|
||||
performance_schema (setup_actor_hash).count 1
|
||||
performance_schema (setup_actor_hash).size 100
|
||||
performance_schema (setup_object_hash).count 4
|
||||
performance_schema (setup_object_hash).size 100
|
||||
performance_schema (table_share_hash).count 80
|
||||
performance_schema (table_share_hash).size 12500
|
||||
performance_schema (user_hash).count 2
|
||||
performance_schema (user_hash).size 100
|
||||
performance_schema host_cache.size 336
|
||||
performance_schema performance_schema.memory 421925632
|
||||
|
|
|
@ -7,7 +7,9 @@ table_open_cache 100
|
|||
show variables like "max_connections";
|
||||
Variable_name Value
|
||||
max_connections 50
|
||||
show variables like "%performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 10
|
||||
|
@ -31,7 +33,6 @@ performance_schema_max_rwlock_instances 1612
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 67
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 112
|
||||
performance_schema_max_table_instances 445
|
||||
performance_schema_max_thread_classes 50
|
||||
|
@ -65,160 +66,3 @@ Performance_schema_table_instances_lost 0
|
|||
Performance_schema_thread_classes_lost 0
|
||||
Performance_schema_thread_instances_lost 0
|
||||
Performance_schema_users_lost 0
|
||||
show engine performance_schema status;
|
||||
Type Name Status
|
||||
performance_schema events_waits_current.row_size 184
|
||||
performance_schema events_waits_current.row_count 672
|
||||
performance_schema events_waits_history.row_size 184
|
||||
performance_schema events_waits_history.row_count 560
|
||||
performance_schema events_waits_history.memory 103040
|
||||
performance_schema events_waits_history_long.row_size 184
|
||||
performance_schema events_waits_history_long.row_count 100
|
||||
performance_schema events_waits_history_long.memory 18400
|
||||
performance_schema (pfs_mutex_class).row_size 256
|
||||
performance_schema (pfs_mutex_class).row_count 200
|
||||
performance_schema (pfs_mutex_class).memory 51200
|
||||
performance_schema (pfs_rwlock_class).row_size 320
|
||||
performance_schema (pfs_rwlock_class).row_count 40
|
||||
performance_schema (pfs_rwlock_class).memory 12800
|
||||
performance_schema (pfs_cond_class).row_size 256
|
||||
performance_schema (pfs_cond_class).row_count 80
|
||||
performance_schema (pfs_cond_class).memory 20480
|
||||
performance_schema (pfs_thread_class).row_size 192
|
||||
performance_schema (pfs_thread_class).row_count 50
|
||||
performance_schema (pfs_thread_class).memory 9600
|
||||
performance_schema (pfs_file_class).row_size 320
|
||||
performance_schema (pfs_file_class).row_count 50
|
||||
performance_schema (pfs_file_class).memory 16000
|
||||
performance_schema mutex_instances.row_size 128
|
||||
performance_schema mutex_instances.row_count 2945
|
||||
performance_schema mutex_instances.memory 376960
|
||||
performance_schema rwlock_instances.row_size 192
|
||||
performance_schema rwlock_instances.row_count 1612
|
||||
performance_schema rwlock_instances.memory 309504
|
||||
performance_schema cond_instances.row_size 128
|
||||
performance_schema cond_instances.row_count 612
|
||||
performance_schema cond_instances.memory 78336
|
||||
performance_schema threads.row_size 2816
|
||||
performance_schema threads.row_count 112
|
||||
performance_schema threads.memory 315392
|
||||
performance_schema file_instances.row_size 704
|
||||
performance_schema file_instances.row_count 1556
|
||||
performance_schema file_instances.memory 1095424
|
||||
performance_schema (pfs_file_handle).row_size 8
|
||||
performance_schema (pfs_file_handle).row_count 32768
|
||||
performance_schema (pfs_file_handle).memory 262144
|
||||
performance_schema events_waits_summary_by_thread_by_event_name.row_size 32
|
||||
performance_schema events_waits_summary_by_thread_by_event_name.row_count 42896
|
||||
performance_schema events_waits_summary_by_thread_by_event_name.memory 1372672
|
||||
performance_schema (pfs_table_share).row_size 22208
|
||||
performance_schema (pfs_table_share).row_count 445
|
||||
performance_schema (pfs_table_share).memory 9882560
|
||||
performance_schema (pfs_table).row_size 9280
|
||||
performance_schema (pfs_table).row_count 112
|
||||
performance_schema (pfs_table).memory 1039360
|
||||
performance_schema setup_actors.row_size 256
|
||||
performance_schema setup_actors.row_count 100
|
||||
performance_schema setup_actors.memory 25600
|
||||
performance_schema setup_objects.row_size 448
|
||||
performance_schema setup_objects.row_count 100
|
||||
performance_schema setup_objects.memory 44800
|
||||
performance_schema (pfs_account).row_size 256
|
||||
performance_schema (pfs_account).row_count 10
|
||||
performance_schema (pfs_account).memory 2560
|
||||
performance_schema events_waits_summary_by_account_by_event_name.row_size 32
|
||||
performance_schema events_waits_summary_by_account_by_event_name.row_count 3830
|
||||
performance_schema events_waits_summary_by_account_by_event_name.memory 122560
|
||||
performance_schema events_waits_summary_by_user_by_event_name.row_size 32
|
||||
performance_schema events_waits_summary_by_user_by_event_name.row_count 1915
|
||||
performance_schema events_waits_summary_by_user_by_event_name.memory 61280
|
||||
performance_schema events_waits_summary_by_host_by_event_name.row_size 32
|
||||
performance_schema events_waits_summary_by_host_by_event_name.row_count 7660
|
||||
performance_schema events_waits_summary_by_host_by_event_name.memory 245120
|
||||
performance_schema (pfs_user).row_size 128
|
||||
performance_schema (pfs_user).row_count 5
|
||||
performance_schema (pfs_user).memory 640
|
||||
performance_schema (pfs_host).row_size 128
|
||||
performance_schema (pfs_host).row_count 20
|
||||
performance_schema (pfs_host).memory 2560
|
||||
performance_schema (pfs_stage_class).row_size 256
|
||||
performance_schema (pfs_stage_class).row_count 150
|
||||
performance_schema (pfs_stage_class).memory 38400
|
||||
performance_schema events_stages_history.row_size 88
|
||||
performance_schema events_stages_history.row_count 560
|
||||
performance_schema events_stages_history.memory 49280
|
||||
performance_schema events_stages_history_long.row_size 88
|
||||
performance_schema events_stages_history_long.row_count 100
|
||||
performance_schema events_stages_history_long.memory 8800
|
||||
performance_schema events_stages_summary_by_thread_by_event_name.row_size 32
|
||||
performance_schema events_stages_summary_by_thread_by_event_name.row_count 16800
|
||||
performance_schema events_stages_summary_by_thread_by_event_name.memory 537600
|
||||
performance_schema events_stages_summary_global_by_event_name.row_size 32
|
||||
performance_schema events_stages_summary_global_by_event_name.row_count 150
|
||||
performance_schema events_stages_summary_global_by_event_name.memory 4800
|
||||
performance_schema events_stages_summary_by_account_by_event_name.row_size 32
|
||||
performance_schema events_stages_summary_by_account_by_event_name.row_count 1500
|
||||
performance_schema events_stages_summary_by_account_by_event_name.memory 48000
|
||||
performance_schema events_stages_summary_by_user_by_event_name.row_size 32
|
||||
performance_schema events_stages_summary_by_user_by_event_name.row_count 750
|
||||
performance_schema events_stages_summary_by_user_by_event_name.memory 24000
|
||||
performance_schema events_stages_summary_by_host_by_event_name.row_size 32
|
||||
performance_schema events_stages_summary_by_host_by_event_name.row_count 3000
|
||||
performance_schema events_stages_summary_by_host_by_event_name.memory 96000
|
||||
performance_schema (pfs_statement_class).row_size 192
|
||||
performance_schema (pfs_statement_class).row_count 168
|
||||
performance_schema (pfs_statement_class).memory 32256
|
||||
performance_schema events_statements_history.row_size 3024
|
||||
performance_schema events_statements_history.row_count 560
|
||||
performance_schema events_statements_history.memory 1693440
|
||||
performance_schema events_statements_history_long.row_size 3024
|
||||
performance_schema events_statements_history_long.row_count 100
|
||||
performance_schema events_statements_history_long.memory 302400
|
||||
performance_schema events_statements_summary_by_thread_by_event_name.row_size 184
|
||||
performance_schema events_statements_summary_by_thread_by_event_name.row_count 18816
|
||||
performance_schema events_statements_summary_by_thread_by_event_name.memory 3462144
|
||||
performance_schema events_statements_summary_global_by_event_name.row_size 184
|
||||
performance_schema events_statements_summary_global_by_event_name.row_count 168
|
||||
performance_schema events_statements_summary_global_by_event_name.memory 30912
|
||||
performance_schema events_statements_summary_by_account_by_event_name.row_size 184
|
||||
performance_schema events_statements_summary_by_account_by_event_name.row_count 1680
|
||||
performance_schema events_statements_summary_by_account_by_event_name.memory 309120
|
||||
performance_schema events_statements_summary_by_user_by_event_name.row_size 184
|
||||
performance_schema events_statements_summary_by_user_by_event_name.row_count 840
|
||||
performance_schema events_statements_summary_by_user_by_event_name.memory 154560
|
||||
performance_schema events_statements_summary_by_host_by_event_name.row_size 184
|
||||
performance_schema events_statements_summary_by_host_by_event_name.row_count 3360
|
||||
performance_schema events_statements_summary_by_host_by_event_name.memory 618240
|
||||
performance_schema events_statements_current.row_size 3024
|
||||
performance_schema events_statements_current.row_count 112
|
||||
performance_schema events_statements_current.memory 338688
|
||||
performance_schema (pfs_socket_class).row_size 320
|
||||
performance_schema (pfs_socket_class).row_count 10
|
||||
performance_schema (pfs_socket_class).memory 3200
|
||||
performance_schema socket_instances.row_size 320
|
||||
performance_schema socket_instances.row_count 67
|
||||
performance_schema socket_instances.memory 21440
|
||||
performance_schema events_statements_summary_by_digest.row_size 1472
|
||||
performance_schema events_statements_summary_by_digest.row_count 1000
|
||||
performance_schema events_statements_summary_by_digest.memory 1472000
|
||||
performance_schema session_connect_attrs.row_size 112
|
||||
performance_schema session_connect_attrs.row_count 512
|
||||
performance_schema session_connect_attrs.memory 57344
|
||||
performance_schema (account_hash).count 2
|
||||
performance_schema (account_hash).size 10
|
||||
performance_schema (digest_hash).count 0
|
||||
performance_schema (digest_hash).size 1000
|
||||
performance_schema (filename_hash).count 0
|
||||
performance_schema (filename_hash).size 1556
|
||||
performance_schema (host_hash).count 2
|
||||
performance_schema (host_hash).size 20
|
||||
performance_schema (setup_actor_hash).count 1
|
||||
performance_schema (setup_actor_hash).size 100
|
||||
performance_schema (setup_object_hash).count 4
|
||||
performance_schema (setup_object_hash).size 100
|
||||
performance_schema (table_share_hash).count 80
|
||||
performance_schema (table_share_hash).size 445
|
||||
performance_schema (user_hash).count 2
|
||||
performance_schema (user_hash).size 5
|
||||
performance_schema host_cache.size 336
|
||||
performance_schema performance_schema.memory 24771616
|
||||
|
|
|
@ -7,7 +7,9 @@ table_open_cache 401
|
|||
show variables like "max_connections";
|
||||
Variable_name Value
|
||||
max_connections 152
|
||||
show variables like "%performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -31,7 +33,6 @@ performance_schema_max_rwlock_instances 2222
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 232
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 573
|
||||
performance_schema_max_table_instances 556
|
||||
performance_schema_max_thread_classes 50
|
||||
|
@ -65,160 +66,3 @@ Performance_schema_table_instances_lost 0
|
|||
Performance_schema_thread_classes_lost 0
|
||||
Performance_schema_thread_instances_lost 0
|
||||
Performance_schema_users_lost 0
|
||||
show engine performance_schema status;
|
||||
Type Name Status
|
||||
performance_schema events_waits_current.row_size 184
|
||||
performance_schema events_waits_current.row_count 1734
|
||||
performance_schema events_waits_history.row_size 184
|
||||
performance_schema events_waits_history.row_count 2890
|
||||
performance_schema events_waits_history.memory 531760
|
||||
performance_schema events_waits_history_long.row_size 184
|
||||
performance_schema events_waits_history_long.row_count 1000
|
||||
performance_schema events_waits_history_long.memory 184000
|
||||
performance_schema (pfs_mutex_class).row_size 256
|
||||
performance_schema (pfs_mutex_class).row_count 200
|
||||
performance_schema (pfs_mutex_class).memory 51200
|
||||
performance_schema (pfs_rwlock_class).row_size 320
|
||||
performance_schema (pfs_rwlock_class).row_count 40
|
||||
performance_schema (pfs_rwlock_class).memory 12800
|
||||
performance_schema (pfs_cond_class).row_size 256
|
||||
performance_schema (pfs_cond_class).row_count 80
|
||||
performance_schema (pfs_cond_class).memory 20480
|
||||
performance_schema (pfs_thread_class).row_size 192
|
||||
performance_schema (pfs_thread_class).row_count 50
|
||||
performance_schema (pfs_thread_class).memory 9600
|
||||
performance_schema (pfs_file_class).row_size 320
|
||||
performance_schema (pfs_file_class).row_count 50
|
||||
performance_schema (pfs_file_class).memory 16000
|
||||
performance_schema mutex_instances.row_size 128
|
||||
performance_schema mutex_instances.row_count 4230
|
||||
performance_schema mutex_instances.memory 541440
|
||||
performance_schema rwlock_instances.row_size 192
|
||||
performance_schema rwlock_instances.row_count 2222
|
||||
performance_schema rwlock_instances.memory 426624
|
||||
performance_schema cond_instances.row_size 128
|
||||
performance_schema cond_instances.row_count 1079
|
||||
performance_schema cond_instances.memory 138112
|
||||
performance_schema threads.row_size 2816
|
||||
performance_schema threads.row_count 289
|
||||
performance_schema threads.memory 813824
|
||||
performance_schema file_instances.row_size 704
|
||||
performance_schema file_instances.row_count 1754
|
||||
performance_schema file_instances.memory 1234816
|
||||
performance_schema (pfs_file_handle).row_size 8
|
||||
performance_schema (pfs_file_handle).row_count 32768
|
||||
performance_schema (pfs_file_handle).memory 262144
|
||||
performance_schema events_waits_summary_by_thread_by_event_name.row_size 32
|
||||
performance_schema events_waits_summary_by_thread_by_event_name.row_count 110687
|
||||
performance_schema events_waits_summary_by_thread_by_event_name.memory 3541984
|
||||
performance_schema (pfs_table_share).row_size 22208
|
||||
performance_schema (pfs_table_share).row_count 556
|
||||
performance_schema (pfs_table_share).memory 12347648
|
||||
performance_schema (pfs_table).row_size 9280
|
||||
performance_schema (pfs_table).row_count 573
|
||||
performance_schema (pfs_table).memory 5317440
|
||||
performance_schema setup_actors.row_size 256
|
||||
performance_schema setup_actors.row_count 100
|
||||
performance_schema setup_actors.memory 25600
|
||||
performance_schema setup_objects.row_size 448
|
||||
performance_schema setup_objects.row_count 100
|
||||
performance_schema setup_objects.memory 44800
|
||||
performance_schema (pfs_account).row_size 256
|
||||
performance_schema (pfs_account).row_count 100
|
||||
performance_schema (pfs_account).memory 25600
|
||||
performance_schema events_waits_summary_by_account_by_event_name.row_size 32
|
||||
performance_schema events_waits_summary_by_account_by_event_name.row_count 38300
|
||||
performance_schema events_waits_summary_by_account_by_event_name.memory 1225600
|
||||
performance_schema events_waits_summary_by_user_by_event_name.row_size 32
|
||||
performance_schema events_waits_summary_by_user_by_event_name.row_count 38300
|
||||
performance_schema events_waits_summary_by_user_by_event_name.memory 1225600
|
||||
performance_schema events_waits_summary_by_host_by_event_name.row_size 32
|
||||
performance_schema events_waits_summary_by_host_by_event_name.row_count 38300
|
||||
performance_schema events_waits_summary_by_host_by_event_name.memory 1225600
|
||||
performance_schema (pfs_user).row_size 128
|
||||
performance_schema (pfs_user).row_count 100
|
||||
performance_schema (pfs_user).memory 12800
|
||||
performance_schema (pfs_host).row_size 128
|
||||
performance_schema (pfs_host).row_count 100
|
||||
performance_schema (pfs_host).memory 12800
|
||||
performance_schema (pfs_stage_class).row_size 256
|
||||
performance_schema (pfs_stage_class).row_count 150
|
||||
performance_schema (pfs_stage_class).memory 38400
|
||||
performance_schema events_stages_history.row_size 88
|
||||
performance_schema events_stages_history.row_count 2890
|
||||
performance_schema events_stages_history.memory 254320
|
||||
performance_schema events_stages_history_long.row_size 88
|
||||
performance_schema events_stages_history_long.row_count 1000
|
||||
performance_schema events_stages_history_long.memory 88000
|
||||
performance_schema events_stages_summary_by_thread_by_event_name.row_size 32
|
||||
performance_schema events_stages_summary_by_thread_by_event_name.row_count 43350
|
||||
performance_schema events_stages_summary_by_thread_by_event_name.memory 1387200
|
||||
performance_schema events_stages_summary_global_by_event_name.row_size 32
|
||||
performance_schema events_stages_summary_global_by_event_name.row_count 150
|
||||
performance_schema events_stages_summary_global_by_event_name.memory 4800
|
||||
performance_schema events_stages_summary_by_account_by_event_name.row_size 32
|
||||
performance_schema events_stages_summary_by_account_by_event_name.row_count 15000
|
||||
performance_schema events_stages_summary_by_account_by_event_name.memory 480000
|
||||
performance_schema events_stages_summary_by_user_by_event_name.row_size 32
|
||||
performance_schema events_stages_summary_by_user_by_event_name.row_count 15000
|
||||
performance_schema events_stages_summary_by_user_by_event_name.memory 480000
|
||||
performance_schema events_stages_summary_by_host_by_event_name.row_size 32
|
||||
performance_schema events_stages_summary_by_host_by_event_name.row_count 15000
|
||||
performance_schema events_stages_summary_by_host_by_event_name.memory 480000
|
||||
performance_schema (pfs_statement_class).row_size 192
|
||||
performance_schema (pfs_statement_class).row_count 168
|
||||
performance_schema (pfs_statement_class).memory 32256
|
||||
performance_schema events_statements_history.row_size 3024
|
||||
performance_schema events_statements_history.row_count 2890
|
||||
performance_schema events_statements_history.memory 8739360
|
||||
performance_schema events_statements_history_long.row_size 3024
|
||||
performance_schema events_statements_history_long.row_count 1000
|
||||
performance_schema events_statements_history_long.memory 3024000
|
||||
performance_schema events_statements_summary_by_thread_by_event_name.row_size 184
|
||||
performance_schema events_statements_summary_by_thread_by_event_name.row_count 48552
|
||||
performance_schema events_statements_summary_by_thread_by_event_name.memory 8933568
|
||||
performance_schema events_statements_summary_global_by_event_name.row_size 184
|
||||
performance_schema events_statements_summary_global_by_event_name.row_count 168
|
||||
performance_schema events_statements_summary_global_by_event_name.memory 30912
|
||||
performance_schema events_statements_summary_by_account_by_event_name.row_size 184
|
||||
performance_schema events_statements_summary_by_account_by_event_name.row_count 16800
|
||||
performance_schema events_statements_summary_by_account_by_event_name.memory 3091200
|
||||
performance_schema events_statements_summary_by_user_by_event_name.row_size 184
|
||||
performance_schema events_statements_summary_by_user_by_event_name.row_count 16800
|
||||
performance_schema events_statements_summary_by_user_by_event_name.memory 3091200
|
||||
performance_schema events_statements_summary_by_host_by_event_name.row_size 184
|
||||
performance_schema events_statements_summary_by_host_by_event_name.row_count 16800
|
||||
performance_schema events_statements_summary_by_host_by_event_name.memory 3091200
|
||||
performance_schema events_statements_current.row_size 3024
|
||||
performance_schema events_statements_current.row_count 289
|
||||
performance_schema events_statements_current.memory 873936
|
||||
performance_schema (pfs_socket_class).row_size 320
|
||||
performance_schema (pfs_socket_class).row_count 10
|
||||
performance_schema (pfs_socket_class).memory 3200
|
||||
performance_schema socket_instances.row_size 320
|
||||
performance_schema socket_instances.row_count 232
|
||||
performance_schema socket_instances.memory 74240
|
||||
performance_schema events_statements_summary_by_digest.row_size 1472
|
||||
performance_schema events_statements_summary_by_digest.row_count 5000
|
||||
performance_schema events_statements_summary_by_digest.memory 7360000
|
||||
performance_schema session_connect_attrs.row_size 289
|
||||
performance_schema session_connect_attrs.row_count 512
|
||||
performance_schema session_connect_attrs.memory 147968
|
||||
performance_schema (account_hash).count 2
|
||||
performance_schema (account_hash).size 100
|
||||
performance_schema (digest_hash).count 0
|
||||
performance_schema (digest_hash).size 5000
|
||||
performance_schema (filename_hash).count 0
|
||||
performance_schema (filename_hash).size 1754
|
||||
performance_schema (host_hash).count 2
|
||||
performance_schema (host_hash).size 100
|
||||
performance_schema (setup_actor_hash).count 1
|
||||
performance_schema (setup_actor_hash).size 100
|
||||
performance_schema (setup_object_hash).count 4
|
||||
performance_schema (setup_object_hash).size 100
|
||||
performance_schema (table_share_hash).count 80
|
||||
performance_schema (table_share_hash).size 556
|
||||
performance_schema (user_hash).count 2
|
||||
performance_schema (user_hash).size 100
|
||||
performance_schema host_cache.size 336
|
||||
performance_schema performance_schema.memory 70954032
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema OFF
|
||||
performance_schema_accounts_size -1
|
||||
|
@ -22,7 +24,6 @@ performance_schema_max_rwlock_instances -1
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances -1
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles -1
|
||||
performance_schema_max_table_instances -1
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
12
mysql-test/suite/perfschema/r/start_server_low_digest.result
Normal file
12
mysql-test/suite/perfschema/r/start_server_low_digest.result
Normal file
|
@ -0,0 +1,12 @@
|
|||
USE performance_schema;
|
||||
truncate table events_statements_history_long;
|
||||
SELECT 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1;
|
||||
1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1
|
||||
74
|
||||
####################################
|
||||
# QUERYING PS STATEMENT DIGEST
|
||||
####################################
|
||||
SELECT event_name, digest, digest_text, sql_text FROM events_statements_history_long;
|
||||
event_name digest digest_text sql_text
|
||||
statement/sql/truncate 23e0e19c4baa66c6be30e70f75e52178 TRUNCATE TABLE truncate table events_statements_history_long
|
||||
statement/sql/select 6695eca04b8387c092d89fa88d767328 SELECT ? + ? + SELECT 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 0
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 0
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 0
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 0
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 0
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 0
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 0
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 0
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 0
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 0
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 0
|
|||
performance_schema_max_socket_classes 0
|
||||
performance_schema_max_socket_instances 0
|
||||
performance_schema_max_stage_classes 0
|
||||
performance_schema_max_statement_classes 0
|
||||
performance_schema_max_table_handles 0
|
||||
performance_schema_max_table_instances 0
|
||||
performance_schema_max_thread_classes 0
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema OFF
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -69,7 +69,9 @@ select * from performance_schema.table_io_waits_summary_by_table;
|
|||
select * from performance_schema.table_lock_waits_summary_by_table;
|
||||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -93,7 +95,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -118,7 +118,7 @@ statements_digest 835083efbaa5d8c29d01d558abb8216b SELECT ? FROM `t1` 1 0 0 0
|
|||
statements_digest 6ff375c6f4b283de91711a78bd91b953 SELECT ?, ... FROM t1 2 0 0 0
|
||||
statements_digest 4879fbad051c94ff76e6ad29effa4903 SELECT ? FROM t2 1 0 0 0
|
||||
statements_digest b1ea4bca7c91ebd647b6b81e80a2ef94 SELECT ?, ... FROM t2 2 0 0 0
|
||||
statements_digest 14d463345df747d42a036019a5988a9b INSERT INTO t1 VALUES (?) 1 1 0 0
|
||||
statements_digest 14d463345df747d42a036019a5988a9b INSERT INTO t1 VALUES (?) 2 2 0 0
|
||||
statements_digest ff2d8aa1fd516f5e25b0faf7b1c80b04 INSERT INTO t2 VALUES (?) 1 1 0 0
|
||||
statements_digest 430116339c3a5bf0a1aa9a96e9cfd354 INSERT INTO t3 VALUES (...) 4 4 0 0
|
||||
statements_digest 01467137a1045e85119538ea248d52dd INSERT INTO t4 VALUES (...) 1 1 0 0
|
||||
|
@ -126,7 +126,6 @@ statements_digest b201a20a2a534d2789750270b7f90fab INSERT INTO t5 VALUES (...)
|
|||
statements_digest b1a5f24770580f243ad6704590165d90 INSERT INTO t1 VALUES (?) /* , ... */ 2 7 0 0
|
||||
statements_digest bbbf619ec8ca4ec4a4da28a71eb12a2f INSERT INTO t3 VALUES (...) /* , ... */ 1 3 0 0
|
||||
statements_digest de7bdb298875f4ef826383e3fce53ef9 INSERT INTO t5 VALUES (...) /* , ... */ 1 3 0 0
|
||||
statements_digest f79cdc2ddca01e9ea89782b3548b01e3 INSERT INTO t1 VALUES ( NULL ) 1 1 0 0
|
||||
statements_digest cd4a3e419e2eaed79f66a705ff002910 INSERT INTO t6 VALUES (...) 5 5 0 0
|
||||
statements_digest f2d57cea9e78e7b37c4509c0564dd1cc SELECT ? + ? 3 0 0 0
|
||||
statements_digest 02396199eed2345830efcf00e51107ee SELECT ? 1 0 0 0
|
||||
|
@ -146,7 +145,7 @@ statements_digest efc046c5d04acb8afa61326f759ad380 DROP PROCEDURE p1 1 0 0 0
|
|||
statements_digest 8eaf9e776b79f24f2b8fae8efb92d8a4 CREATE FUNCTION `func` ( a INTEGER , b INTEGER ) RETURNS INTEGER (?) RETURN a + b 1 0 0 0
|
||||
statements_digest b364c71d8c904eb9e95df4d0ca258c00 SELECT func (...) 2 0 0 0
|
||||
statements_digest 88e7ac9784e4561d12fadccde6ea704a DROP FUNCTION func 1 0 0 0
|
||||
statements_digest 15deeaae5594a691cf21abd4439ee5e6 CREATE TRIGGER trg BEFORE INSERT ON t12 FOR EACH ROW SET @ ? := ? 1 0 0 0
|
||||
statements_digest 15deeaae5594a691cf21abd4439ee5e6 CREATE TRIGGER trg BEFORE INSERT ON t12 FOR EACH ROW SET @? := ? 1 0 0 0
|
||||
statements_digest 074e38814943a6dce874784d21fea89d INSERT INTO t12 VALUES (?) 2 2 0 0
|
||||
statements_digest 2b5b02ba54b27638d5d8dbe917ff432d DROP TRIGGER trg 1 0 0 0
|
||||
####################################
|
||||
|
|
|
@ -131,7 +131,7 @@ statements_digest 835083efbaa5d8c29d01d558abb8216b SELECT ? FROM `t1` 1
|
|||
statements_digest 6ff375c6f4b283de91711a78bd91b953 SELECT ?, ... FROM t1 2
|
||||
statements_digest 4879fbad051c94ff76e6ad29effa4903 SELECT ? FROM t2 1
|
||||
statements_digest b1ea4bca7c91ebd647b6b81e80a2ef94 SELECT ?, ... FROM t2 2
|
||||
statements_digest 14d463345df747d42a036019a5988a9b INSERT INTO t1 VALUES (?) 1
|
||||
statements_digest 14d463345df747d42a036019a5988a9b INSERT INTO t1 VALUES (?) 2
|
||||
statements_digest ff2d8aa1fd516f5e25b0faf7b1c80b04 INSERT INTO t2 VALUES (?) 1
|
||||
statements_digest 430116339c3a5bf0a1aa9a96e9cfd354 INSERT INTO t3 VALUES (...) 4
|
||||
statements_digest 01467137a1045e85119538ea248d52dd INSERT INTO t4 VALUES (...) 1
|
||||
|
@ -139,7 +139,6 @@ statements_digest b201a20a2a534d2789750270b7f90fab INSERT INTO t5 VALUES (...)
|
|||
statements_digest b1a5f24770580f243ad6704590165d90 INSERT INTO t1 VALUES (?) /* , ... */ 2
|
||||
statements_digest bbbf619ec8ca4ec4a4da28a71eb12a2f INSERT INTO t3 VALUES (...) /* , ... */ 1
|
||||
statements_digest de7bdb298875f4ef826383e3fce53ef9 INSERT INTO t5 VALUES (...) /* , ... */ 1
|
||||
statements_digest f79cdc2ddca01e9ea89782b3548b01e3 INSERT INTO t1 VALUES ( NULL ) 1
|
||||
statements_digest cd4a3e419e2eaed79f66a705ff002910 INSERT INTO t6 VALUES (...) 5
|
||||
statements_digest f2d57cea9e78e7b37c4509c0564dd1cc SELECT ? + ? 3
|
||||
statements_digest 02396199eed2345830efcf00e51107ee SELECT ? 1
|
||||
|
@ -159,7 +158,7 @@ statements_digest efc046c5d04acb8afa61326f759ad380 DROP PROCEDURE p1 1
|
|||
statements_digest 8eaf9e776b79f24f2b8fae8efb92d8a4 CREATE FUNCTION `func` ( a INTEGER , b INTEGER ) RETURNS INTEGER (?) RETURN a + b 1
|
||||
statements_digest b364c71d8c904eb9e95df4d0ca258c00 SELECT func (...) 2
|
||||
statements_digest 88e7ac9784e4561d12fadccde6ea704a DROP FUNCTION func 1
|
||||
statements_digest 15deeaae5594a691cf21abd4439ee5e6 CREATE TRIGGER trg BEFORE INSERT ON t12 FOR EACH ROW SET @ ? := ? 1
|
||||
statements_digest 15deeaae5594a691cf21abd4439ee5e6 CREATE TRIGGER trg BEFORE INSERT ON t12 FOR EACH ROW SET @? := ? 1
|
||||
statements_digest 074e38814943a6dce874784d21fea89d INSERT INTO t12 VALUES (?) 2
|
||||
statements_digest 2b5b02ba54b27638d5d8dbe917ff432d DROP TRIGGER trg 1
|
||||
SELECT digest, digest_text FROM performance_schema.events_statements_current;
|
||||
|
|
|
@ -9,4 +9,4 @@ SELECT 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1
|
|||
SELECT schema_name, digest, digest_text, count_star FROM events_statements_summary_by_digest;
|
||||
schema_name digest digest_text count_star
|
||||
performance_schema e8d937c7ecf79e105de0f9e364fa5edb TRUNCATE TABLE events_statements_summary_by_digest 1
|
||||
performance_schema 5d9a2f95653d8ca9d9cea3eefff7e361 SELECT ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ... 1
|
||||
performance_schema 5d9a2f95653d8ca9d9cea3eefff7e361 SELECT ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? 1
|
||||
|
|
|
@ -39,7 +39,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -63,7 +65,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -38,7 +38,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -62,7 +64,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -39,7 +39,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -63,7 +65,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -38,7 +38,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -62,7 +64,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -37,7 +37,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -61,7 +63,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -36,7 +36,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -60,7 +62,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -37,7 +37,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -61,7 +63,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -36,7 +36,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -60,7 +62,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -38,7 +38,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -62,7 +64,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -39,7 +39,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -63,7 +65,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -38,7 +38,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -62,7 +64,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -39,7 +39,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -63,7 +65,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -38,7 +38,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -62,7 +64,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -41,7 +41,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -65,7 +67,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -40,7 +40,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -64,7 +66,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -41,7 +41,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -65,7 +67,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -40,7 +40,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -64,7 +66,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -39,7 +39,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -63,7 +65,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -38,7 +38,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -62,7 +64,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -39,7 +39,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -63,7 +65,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -38,7 +38,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -62,7 +64,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -41,7 +41,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -65,7 +67,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -40,7 +40,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -64,7 +66,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -41,7 +41,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -65,7 +67,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -40,7 +40,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -64,7 +66,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -41,7 +41,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -65,7 +67,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -40,7 +40,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -64,7 +66,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -41,7 +41,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -65,7 +67,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -40,7 +40,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -64,7 +66,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -39,7 +39,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -63,7 +65,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -38,7 +38,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -62,7 +64,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -39,7 +39,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -63,7 +65,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -38,7 +38,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -62,7 +64,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -41,7 +41,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -65,7 +67,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -40,7 +40,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -64,7 +66,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -41,7 +41,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -65,7 +67,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
|
@ -40,7 +40,9 @@ truncate performance_schema.events_waits_summary_by_user_by_event_name;
|
|||
truncate performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
truncate performance_schema.events_waits_summary_global_by_event_name;
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
performance_schema_accounts_size 100
|
||||
|
@ -64,7 +66,6 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 168
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
performance_schema_max_thread_classes 50
|
||||
|
|
32
mysql-test/suite/perfschema/t/digest_null_literal.test
Normal file
32
mysql-test/suite/perfschema/t/digest_null_literal.test
Normal file
|
@ -0,0 +1,32 @@
|
|||
# ----------------------------------------------------
|
||||
# Tests for the performance schema statement Digests.
|
||||
# ----------------------------------------------------
|
||||
|
||||
# Test case to show behavior of statements digest when
|
||||
# parsing a NULL literal
|
||||
|
||||
--source include/not_embedded.inc
|
||||
--source include/have_perfschema.inc
|
||||
--source ../include/no_protocol.inc
|
||||
|
||||
TRUNCATE TABLE performance_schema.events_statements_summary_by_digest;
|
||||
|
||||
--disable_query_log
|
||||
|
||||
select NULL;
|
||||
select NULL FROM DUAL;
|
||||
select NULL, NULL;
|
||||
select NULL, NULL, NULL, 1, 2, 3, NULL, NULL;
|
||||
|
||||
select 1 IS NULL;
|
||||
select 2 IS NOT NULL;
|
||||
select 1 IS NULL, 2 IS NULL, 3 IS NOT NULL, 4 IS NOT NULL;
|
||||
|
||||
create table foo (a int DEFAULT NULL, b int NOT NULL DEFAULT 1, c int NOT NULL);
|
||||
drop table foo;
|
||||
|
||||
--enable_query_log
|
||||
|
||||
SELECT SCHEMA_NAME, DIGEST_TEXT, COUNT_STAR
|
||||
FROM performance_schema.events_statements_summary_by_digest;
|
||||
|
|
@ -122,8 +122,9 @@ $
|
|||
delimiter ;$
|
||||
|
||||
# Check the configuration is ok
|
||||
show variables like "performance_schema%";
|
||||
show status like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
|
||||
call check_instrument("wait/synch/mutex/");
|
||||
call check_instrument("wait/synch/rwlock/");
|
||||
|
|
|
@ -36,7 +36,9 @@ insert into test.marker set a = 1;
|
|||
# This will not, the ACL cache is already loaded
|
||||
insert into test.marker set a = 1;
|
||||
insert into test.marker set a = 1;
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
show status like "performance_schema%";
|
||||
# Stop recording events + pull results
|
||||
let $schema_to_dump= "test", "mysql";
|
||||
|
|
|
@ -2,5 +2,7 @@
|
|||
--source include/not_embedded.inc
|
||||
--source include/have_perfschema.inc
|
||||
|
||||
show variables like "performance_schema%";
|
||||
show variables where
|
||||
`Variable_name` != "performance_schema_max_statement_classes" and
|
||||
`Variable_name` like "performance_schema%";
|
||||
show status like "performance_schema%";
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
--max_digest_length=10
|
21
mysql-test/suite/perfschema/t/start_server_low_digest.test
Normal file
21
mysql-test/suite/perfschema/t/start_server_low_digest.test
Normal file
|
@ -0,0 +1,21 @@
|
|||
# -----------------------------------------------------------------------
|
||||
# Tests for the performance schema statement Digests.
|
||||
# -----------------------------------------------------------------------
|
||||
|
||||
--source include/not_embedded.inc
|
||||
--source include/have_perfschema.inc
|
||||
--source ../include/no_protocol.inc
|
||||
|
||||
USE performance_schema;
|
||||
truncate table events_statements_history_long;
|
||||
|
||||
# -----------------------------------------------------------------------
|
||||
# Test to show how the digest behaves with low value of
|
||||
# - performance_schema_max_digest_length
|
||||
# -----------------------------------------------------------------------
|
||||
SELECT 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1;
|
||||
|
||||
--echo ####################################
|
||||
--echo # QUERYING PS STATEMENT DIGEST
|
||||
--echo ####################################
|
||||
SELECT event_name, digest, digest_text, sql_text FROM events_statements_history_long;
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 2009, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
@ -21,29 +21,11 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}
|
|||
|
||||
ADD_DEFINITIONS(-DMYSQL_SERVER)
|
||||
|
||||
# Gen_pfs_lex_token
|
||||
ADD_EXECUTABLE(gen_pfs_lex_token gen_pfs_lex_token.cc)
|
||||
# gen_pfs_lex_token itself depends on ${CMAKE_CURRENT_BINARY_DIR}/sql/sql_yacc.h
|
||||
ADD_DEPENDENCIES(gen_pfs_lex_token GenServerSource)
|
||||
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/pfs_lex_token.h
|
||||
COMMAND gen_pfs_lex_token > pfs_lex_token.h
|
||||
DEPENDS gen_pfs_lex_token
|
||||
)
|
||||
|
||||
SET(PFS_GEN_SOURCES
|
||||
${CMAKE_CURRENT_BINARY_DIR}/pfs_lex_token.h
|
||||
)
|
||||
|
||||
SET_SOURCE_FILES_PROPERTIES(${PFS_GEN_SOURCES} PROPERTIES GENERATED 1)
|
||||
|
||||
#
|
||||
# Maintainer: keep this list sorted, to avoid merge collisions.
|
||||
# Tip: ls -1 *.h, ls -1 *.cc
|
||||
#
|
||||
SET(PERFSCHEMA_SOURCES
|
||||
${PFS_GEN_SOURCES}
|
||||
ha_perfschema.h
|
||||
cursor_by_account.h
|
||||
cursor_by_host.h
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue