Results 1 to 2 of 2
Apr 14, 2007, 17:58 #1
- Join Date
- Oct 2006
- Queensland, Australia
- 0 Post(s)
- 0 Thread(s)
Logging To Multiple Destinations!
Would it hurt the system performance too much to store log data in both a text file and a database. The plain text file will be good for if the database crashes or the application dies (reading log information from inside phpmyadmin can't be good). Storing the logs in a database as well would be good to integrate into the backend of the application so the admins can search and sort the log in a nice user interface.
But would it hurt system performance to much to be performing mysql queries and writing to a file on a regular basis? Or should it be alright?
Apr 15, 2007, 10:54 #2
- Join Date
- Jul 2005
- West Springfield, Massachusetts
- 198 Post(s)
- 3 Thread(s)
I guess it depends on how much is being written and how often. ie. if by "on a regular basis" you mean several times a second, then yes, I imagine it would seriously effect performance.Big Change Coming Soon - if you want your PMs save them now!
What you need to do to prepare for our migration to Discourse
A New SitePoint Forum Experience: Our Move to Discourse