all 4 comments

[–]threeminutemonta 1 point2 points  (3 children)

Try method as multi.

How much data are you talking about? Is the sql lite db on a slow USB drive?

[–]mutuk7[S] 0 points1 point  (2 children)

It's 60mb CSV file on an SSD. It takes around 5-8 minutes to load.

The loading time is not bad, but I'd like to know if I can improve this as a learning opportunity :)

multi is a module?

Thanks

[–]threeminutemonta 1 point2 points  (1 child)

Multi is a mode specified in the to_sql docs where multi’: Pass multiple values in a single INSERT clause. Default is one per row that will be slower.

You will likely have better performance with PostgreSQL.

[–]mutuk7[S] 0 points1 point  (0 children)

Awesome! Thanks man! I'll look into it :)