Skip to content

Commit

Permalink
Updated readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
percona-csalguero committed Jan 21, 2018
1 parent ae3dff5 commit 2fa2149
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Random data generator for MySQL
[![Build Status](https://travis-ci.org/Percona-Lab/mysql_random_data_load.svg?branch=master)](https://travis-ci.org/Percona-Lab/mysql_random_data_load)

Many times in my job i need to generate random data for a specific table in order to reproduce an issue.
Many times in my job I need to generate random data for a specific table in order to reproduce an issue.
After writing many random generators for every table, I decided to write a random data generator, able to get the table structure and generate random data for it.
Plase take into consideration that this is the first version and it doesn't support all field types yet!

Expand Down Expand Up @@ -119,7 +119,7 @@ CREATE TABLE `test`.`t3` (
```
To generate 100K random rows, just run:
```
random-data-load test t3 100000 --max-threads=8 --user=root --password=root
mysql_random-data-load test t3 100000 --user=root --password=root
```
```
mysql> select * from t3 limit 1\G
Expand Down Expand Up @@ -162,21 +162,18 @@ There are binaries available for each version for Linux and Darwin. You can find

https://github.com/Percona-Lab/mysql_random_data_load/releases

You can copy a link for the binary you want (in this case for 1.0.5), and use wget to download:

```
cd ~/bin/
wget https://github.com/Percona-Lab/mysql_random_data_load/releases/download/0.1.5/mysql_random_data_load_linux_amd64
chmod +x mysql_random_data_load_linux_amd64
```

## To do
- [ ] Add suport for all data types.
- [X] Add supporrt for foreign keys.
- [ ] Support config files to override default values/ranges.
- [ ] Support custom functions via LUA plugins.

## Versions history
## Version history

#### 0.1.8
- Fixed error for triggers created with MySQL 5.6
- Added Travis-CI
- Code clean up

#### 0.1.7
- Support for MySQL 8.0
Expand Down

0 comments on commit 2fa2149

Please sign in to comment.