Help
General ArrowChat talk that doesn't fit any other forum.
User avatar
BBurgos Martinez
Customer
 
Posts: 7
Joined: 07 Jul 2011, 13:37

 

by BBurgos Martinez 11 May 2012, 16:28

I'm wondering what would be the best type of table for the arrowchat where all the messages are stored. I was thinking since it's a lot of inserts, then innodb would be optional. I was also thinking of switching it to a MEMORY table since message history isn't important to me. My question would be, what table type would performance the best(to reduce server load), MyISAM, Innodb, or MEMORY?

Note, that I have no need for keeping records of messages. Also, I run a cron job once a week to keep my table under 100k rows.

Thanks.
User avatar
BKim
Customer
 
Posts: 25
Joined: 26 Jun 2011, 14:37

 

by BKim 29 May 2012, 16:08

Hey there,

I changed arrowchat, arrowchat_chatroom_messages, arrowchat_chatroom_users, and arrowchat_status to MEMORY and haven't had any adverse issues. You'll have to change all the TEXT/BLOB tables to varchar before you do this though.

To be honest I'm not sure if there are any performance improvements, although to my knowledge this should prevent arrowchat from reading from the disk for chat and chatroom messages.
User avatar
BBurgos Martinez
Customer
 
Posts: 7
Joined: 07 Jul 2011, 13:37

 

by BBurgos Martinez 30 May 2012, 14:51

that's for the reply :)

Will give it a try.
User avatar
Staff Bot
ArrowChat Team
 
Posts: 8996
Joined: 07 Nov 2012, 13:41

 

by Staff Bot 16 Dec 2014, 00:26

[b]This thread has been locked because the last post is greater than six months old. There is a good chance that the information in this thread is outdated. Please open a new topic if you wish to discuss this further.[/b]