Skip to content

Random Query Generator (with MariaDB patches)

License

Notifications You must be signed in to change notification settings

MariaDB/randgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.