I have a MySQL table with 27 columns and more than 1 million rows. I want to fetch the complete data from the table, which makes my query - select * from table;
I do this through java Prepared statmennts and ResultSet. How can I optimize this operation. Some kind of batching will be helpful or should I proceed with some other technique?
Could you please advise.