mysql-random-data-generator
mysql-random-data-generator copied to clipboard
This is the easiest MySQL random test data generator tool. Load the procedure and execute to auto detect column types and load data.
Generating 10,000 rows in a table of 10 columns of VARCHAR(25) plus an auto-increment int primary key (11 columns total). Hardware is very powerful. 4 core, 24GB RAM, on NVME...
function get_float(in_precision int, in_scale int) do not work properly when precision is 1 and scale is 0 i.e table data type decimal(1,0)
fixed for floating point issue, and added bit value
Consolidating the table update into a single database transaction improves performance (on my instance approx 35%, 1000000 line insert 155 secs -> 100 secs)
Why can't you specify the data format, if only you can support regular expressions