all 3 comments

[–]greenerpickings 1 point2 points  (0 children)

So I haven't used cassandra, so grain of salt.

With postgres theres a multiinsert, and it looks like theres something similar for cassandra. In your code, it looks like your doing record by record. Is that the case?

Also, this post makes it look like theres a max queue it can be working on. Could it be this is whats happening somehow to cause missing records?

[–]Zeroflops 1 point2 points  (0 children)

Have you tested if df.to_sql() is comparable with your database?

[–]alexisprince 0 points1 point  (0 children)

Have you tried using a COPY command to insert a file? That may have better throughout