Click here to Skip to main content
15,885,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am developing a chat application...
and All the chat history is saved as seperate textfiles (namely abc@bbc.com.txt, bill@gmail.com.txt)
But Now, I want to make a recent chats list (as like Skype).
But taking the date from these chat text files is not a good solution.
What can I use instead of text files ?
If I save all chats in a single XML file, the file may be very large, so I am afraid abt perfomance....
Posted

1 solution

Use database to save long histories such as SQL,Oracle or Access (but i prefer not to use access online).
 
Share this answer
 
v2
Comments
Yesudasan Moses 20-Nov-13 5:12am    
so a simple chat client needs oracle or sql server to be installed ???
am not talking abt saving on server...
agent_kruger 20-Nov-13 5:42am    
without saving it in database you cannot handle it but if you save it in text a lot of file will accumilate. (Sql is the best option but for higher data like 5,000,000 entries oracle is good)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900