SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Guru
    Join Date
    Oct 2006
    Location
    Queensland, Australia
    Posts
    852
    Mentioned
    0 Post(s)
    Tagged
    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?

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,014
    Mentioned
    187 Post(s)
    Tagged
    2 Thread(s)

    system performance

    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.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •