Skip to content
Random Query Generator (with MariaDB patches)
Branch: master
Clone or download
Latest commit bea5b6b Mar 31, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bench gentest.pl made a wrapper of new module GenTest::App::GenTest.pm Mar 9, 2010
conf Use reverse executable comments to avoid syntax errors on VALUES Jul 19, 2018
data General re-defining grammar and combinations for ALTER TABLE Jul 15, 2018
dict Add text type and pseudo-text contents Jul 15, 2018
init Updated init files so that old variables and switches were replaced w… Jul 21, 2011
lib Fix bootstrap with non-root user for 10.4.1+ Mar 31, 2019
performance remove dependency on unreleased GenTest::Generator::FromCSV May 10, 2011
t new implementation of string() in Random.pm that sacrifices some flex… Nov 21, 2011
unit Allways generate testng result file in unit test dir Jan 25, 2013
util Windows support for native startup (runall-new) and combinations Jul 15, 2018
Contributors Adding +x to combinations.pl & updating contributor list Aug 6, 2012
LICENSE Copyright headres and license added Feb 10, 2010
Makefile add both types of test to the 'make test' Makefile target May 17, 2010
README Add a usage example Mar 31, 2019
backtrace-all.gdb add extra information to backtraces - full strings + potential locati… Jul 2, 2010
backtrace.gdb add extra information to backtraces - full strings + potential locati… Jul 2, 2010
bughunt_template.cfg - Modify bughunt.pl so that Jul 6, 2010
combinations.pl Allow just to print created combinations with --dry-run option Jul 15, 2018
gendata-old.pl added --notnull option to all scripts Aug 2, 2010
gendata.pl --strict_fields option V1 for runall/gendata/gentest added Nov 15, 2011
gengrammar.pl Copyright headres and license added Feb 10, 2010
gensql.pl Copyright headres and license added Feb 10, 2010
gentest.pl Add ps-protocol mode Jul 15, 2018
pb2runtest.pl Adjustments after merge Apr 8, 2010
populate-schema.pl Write some of most important error messages to STDERR Jul 15, 2018
run-scenario.pl Restart / CrashRestart scenario and related modifications Jul 15, 2018
runall-new.pl Windows support for native startup (runall-new) and combinations Jul 15, 2018
runall-trials.pl Remove trailing slashes from the vardir, they cause wrong directory n… May 27, 2015
runall.pl Store mysqld binaries upon demand, for further failure analysis Jul 15, 2018
server.pl Enabling mysql_multi_statements => 1 for connect strings. Discussed w… Oct 25, 2012
simpipe-crash.pl Adding pointers to /usr/bin/perl to avoid having to use perl somescri… Aug 13, 2012
simpipe-fullscan.pl Adding pointers to /usr/bin/perl to avoid having to use perl somescri… Aug 13, 2012
simplify-grammar_template+.cfg Reducing lenght of the simplify-grammar_template+.cfg configuration e… Jan 1, 2013
simplify-grammar_template.cfg Cleanup of help text for simplify utils Aug 13, 2012
simplify-mysqltest_template-huge.cfg Cleanup of help text for simplify utils Aug 13, 2012
simplify-mysqltest_template.cfg new grammar for testing MariaDB MWL#34 - Dynamic columns May 7, 2011
translateMysql.pl Adding pointers to /usr/bin/perl to avoid having to use perl somescri… Aug 13, 2012

README

INTRODUCTION
---------------------------------------------------------------

This is the source or binary distribution of The Random Query
Generator with MariaDB patches, a tool for generating complete databases
and executing queries against them for the purpose of testing.

Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights
reserved.  Use is subject to license terms.
Copyright (c) 2010, 2019, MariaDB

Upstream Wiki:
* https://github.com/RQG/RQG-Documentation/wiki

MariaDB Knowledge Base:
* https://mariadb.com/kb/en/library/rqg-extensions-for-mariadb-features

Github:
* https://github.com/MariaDB/randgen

QUICK START
---------------------------------------------------------------

Example (replace <basedir> with the location of your MariaDB build):

perl runall-new.pl --basedir=<basedir> \
--grammar=conf/mariadb/oltp.yy \
--gendata=conf/mariadb/oltp.zz --threads=4 \
--duration=60 \
--engine=InnoDB \
--vardir=/dev/shm/vardir


LICENSE
---------------------------------------------------------------

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
the Free Software Foundation; version 2 of the License. Please see the
LICENSE file for information about licensing and use restrictions of
this software.
You can’t perform that action at this time.