Open fire insert message late in database

hello guys , Why open fire insert message late in database ,

what should i do to solve this problem to openfire insert message instantly in database.

Are you talking about MUC logging or the monitoring plugin or ?