Re: PreparedStatement prepare what?

2019-12-13 Thread Russell Spitzer
Preparing statement basically lets the server optimize for the structure of a given query. So for example, say you want to Insert a lot of rows to a table with columns a, b, c. You may prepare a statement *Insert into fun_table (a,b,c) values (?,?,?)* The question marks are basically slots for va

PreparedStatement prepare what?

2019-12-13 Thread lampahome
I use cassandra-python driver and try to be familiar with preparedstatement to improve performance. I saw doc on datastax about it, but it doesn't describe detaily. Can anyone explain what does it prepare what? Will that help performance? thx