Quote
ESOUP
...
the tables will be "in use" state and i will get "Table '.\piwik\piwik_archive_numeric_2013_xx failed" message at the dashboard.
...
What is the exact error message( s )? How are you determining that the table is locked, and thus causing the issue? See if this helps: http://www.mysqlperformancetuning.com/how-to-reduce-table_locks_waited-in-mysql-myisam
*** EDIT ***
This may help as well:
http://dba.stackexchange.com/questions/21075/way-to-prevent-queries-from-waiting-for-table-level-lock
Sven2157