What does msg_1 do? [message #27705] |
Wed, 21 September 2005 22:26 |
duru1
Messages: 24 Registered: September 2005
Karma: 0
|
Junior Member |
|
|
We have installed fudforum on our server and over time
noticed that msg_1 file grows in size. I have recently
for test purposes copied the file to a different location and
zeroed out the file. In doing so I have notice that the body of previous messages that were sent in various forums were gone.
I still have the old msg_1 file. The purpose of moving the
file was to gain more disk space. Is there a way to fix this
without having to fill my disk.
|
|
|
|
|
Re: What does msg_1 do? [message #27717 is a reply to message #27715] |
Thu, 22 September 2005 20:12 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You cannot compress that file no more then you can compress your MySQL database and have it continue to work.
You can merge but it probably better to keep them separate now, rename the old one to msg_2 and and update old message to have file_id column to have 2 as a value.
FUDforum Core Developer
|
|
|
Re: What does msg_1 do? [message #27718 is a reply to message #27717] |
Thu, 22 September 2005 21:16 |
duru1
Messages: 24 Registered: September 2005
Karma: 0
|
Junior Member |
|
|
I moved the old msg_1 file to msg_2 file to the right location
and the bodies are still not appearing. What do you mean
when you say update the old message to have file_id column to have 2 as a value. Are you saying that I should update the fud_msg.tbl or something else.
Thanks
[Updated on: Thu, 22 September 2005 23:15] Report message to a moderator
|
|
|
Re: What does msg_1 do? [message #27728 is a reply to message #27718] |
Fri, 23 September 2005 14:20 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The database msg table stored the id of the file to open. So for all old message you need to update that id to # 2.
FUDforum Core Developer
|
|
|
|
|
|
|
|
Re: What does msg_1 do? [message #27740 is a reply to message #27737] |
Fri, 23 September 2005 20:11 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You need to provide login password and the database you want to access to that command.
FUDforum Core Developer
|
|
|
|
Re: What does msg_1 do? [message #27747 is a reply to message #27744] |
Sat, 24 September 2005 16:10 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Did you make sure to ONLY update the records referring to the new messages?
FUDforum Core Developer
|
|
|
Re: What does msg_1 do? [message #27787 is a reply to message #27747] |
Mon, 26 September 2005 17:09 |
duru1
Messages: 24 Registered: September 2005
Karma: 0
|
Junior Member |
|
|
I moved the old msg_1 back to the message directory and renamed it to msg_2 then updated the mesage table to change the file_id from 1 to 2 which only contained the old message and not the new messages.
|
|
|