Debian Codegraph @

mysql-test/suite/perfschema_stress/README

raw
1 # Copyright (c) 2009, 2010 Sun Microsystems, Inc.
2 # Use is subject to license terms
3 #
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; version 2 of the License.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software
15 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA
16
17 WL#4818 - Stress testing of PERFORMANCE_SCHEMA
18
19 The performance schema storage engine is backed by data structures, we
20 want to be sure that these data structures are not fragile under
21 load.
22
23 NFS1: 20 threads doing read of performance data (both mutex and
24 disk), 5 threads changing what is being instrumented, 25 threads doing
25 DML and DDL so that the statistics are updated. Connections should frequently
26 disconnect or be KILLed, and reconnect.
27
28 The database should not crash under any circumstance.
29
30 How to run:
31
32 MTR_VERSION=1 ./mtr --stress \
33 --stress-suite=perfschema_stress \
34 --stress-threads=50 \
35 --stress-test-duration=3600