I found out that when the number of messages in
database gets around 15.000 the queries last for more
than 7 seconds.
The solution is to index the fealds in database which
are used by phpMyChat (room, user... )
The database should be optimised in the setup files.
Anonymous