SingleStore DB

Step 4: Generate trade data

Now that you have created the functionality to generate stock ticker data, run the following commands to generate the data. Note, this process may take several minutes depending on your cluster topology.

CALL seed_trades(100000);
CALL iter_stocks(100);

Notice

Changing the input value for iter_stocks defines the size of the table. For example, changing from 100 to 200 doubles the amount of rows.