• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

which is faster? mysql or file container

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
7 posts • Page 1 of 1

Postby redrum » Thu Aug 14, 2008 4:54 am

just like the title :p
redrum
Member
 
Posts: 16
Joined: Fri Jul 11, 2008 11:31 am
Top

Postby agamemnus » Thu Aug 14, 2008 5:18 am

I'm convinced that mysql is faster as normally you are writing and deleting to a file instead of to a database (which is almost ALWAYS memory based). Do you have any idea how to set it up, though? For me adding the parameters like "container_cfg_mysql_username" (like demo 55) just cause an error....
agamemnus
Member
 
Posts: 10
Joined: Mon Aug 11, 2008 9:12 pm
Top

Postby agamemnus » Thu Aug 14, 2008 6:48 am

Ok, I figured out a small piece of the puzzle. I didn't set '$params["container_type"] = "mysql";'
agamemnus
Member
 
Posts: 10
Joined: Mon Aug 11, 2008 9:12 pm
Top

Postby Chasingu » Fri Aug 15, 2008 10:59 pm

So MySQL is faster? Now if i put it in so that it deletes all the posts after everyone leaves does the MySQL database delete the posts?
Chasingu
Member
 
Posts: 13
Joined: Tue Jul 08, 2008 12:56 am
Top

Postby agamemnus » Sat Aug 16, 2008 7:22 pm

No, doesn't look like it.

The chat log seems to be still kept in a file. Not sure when it is updated though or where that is in the code. (If it was kept in the db the chat performance would be even faster.)
agamemnus
Member
 
Posts: 10
Joined: Mon Aug 11, 2008 9:12 pm
Top

Postby TheRock » Fri Oct 31, 2008 8:58 pm

so, to the best of my knowledge, mysql (a db) is better off than file based system.
and yes, you can turn of the file logging and just log to db, by directly modifying the file container class.
hope it helps :)
TheRock
New member
 
Posts: 5
Joined: Mon Sep 08, 2008 7:23 pm
Top

Postby OldWolf » Mon Nov 03, 2008 11:05 pm

This thread is a couple months old... I don't think they're checking it any more. :)
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top


Post a reply
7 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: Majestic-12 [Bot] and 57 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub