Step 6 - After increasing the table’s capacity, load more data

After you increased the table’s capacity, run the following Python script again to populate the table using the logfile_medium2.csv input data file with the same number of rows as when you ran this command previously. Notice that the execution of the command happens more quickly this time.

python logfile ./data/logfile_medium2.csv

The output will look like this:

row: 100 in 0.9451174736022949
row: 200 in 0.8512668609619141
row: 1900 in 0.8499886989593506
row: 2000 in 0.8817043304443359
RowCount: 2000, Total seconds: 17.13607406616211

With the new capacity, the total load time is lower.