The Messages table in DB?

  • warning: Creating default object from empty value in /home/webapp/drupal-6.28/sites/all/modules/advanced_forum/advanced_forum.module on line 492.
  • warning: Creating default object from empty value in /home/webapp/drupal-6.28/sites/all/modules/advanced_forum/advanced_forum.module on line 492.
  • warning: Creating default object from empty value in /home/webapp/drupal-6.28/sites/all/modules/advanced_forum/advanced_forum.module on line 492.
8 replies [Last post]
Anonymous

I use MySQL, and use the SQL schema in it...But I didn't see any message table?
Does Tigase save any messages in DB?

Thanks..

wojtek's picture
Offline
Joined: 2010-11-24
Points: 1174

Tigase saves only messages for the offline users (given that the plugin msgoffline is active)

kobit's picture
Offline
Joined: 2006-09-03
Points: 267814

A dedicated table for storing messages is used by AMP component only.

Anonymous (not verified)

Ohhh.......
How to do it?I can't use AMP component....:(
Can you give a little point?

Thanks~:)

kobit's picture
Offline
Joined: 2006-09-03
Points: 267814

First of all, tell me why you need a separate message table in DB? AMP uses that table for storing messages to offline users only, anyway.
At the moment we do not have a support for storing chat history.

Anonymous (not verified)

Because I want to use HBase to store chat history....

kobit's picture
Offline
Joined: 2006-09-03
Points: 267814

Could you please elaborate on this? I may have some suggestions for you.

Anonymous (not verified)

My project needs store chat history, and I consider MySQL and NOSQL.Because the chat history will be very large in the future, and the speed of query can't be slow, so I choose NOSQL.
I will use HBase to store chat history.

kobit's picture
Offline
Joined: 2006-09-03
Points: 267814

In such a case I suggest to implement your own component to store chat history, so you can select any DB structure you want and any message table which is convenient to you.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.