Add indexes on Logs table