I am using MySQL 5.5 with innoDB. The basis of my server is Netty, JDBC and BoneCP.
I have a log table that contains user inputs(HTTP header, request body etc). This table will only be read very rarely for reasons like security and data recovery. Therefore the read performance is not something we care about.
There are five columns in this table.
Name | Type
--------------------------------------------------
userNumber | medium integer
logTime | timestamp
header | varchar(100)
body | varchar(200)
What are some tips that will improve the insert performance?