This is a discussion on mySQL log file exceeding 270MB! What's up? within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; My host has just informed me that I'm about to exceed my allowed limit of 300MB after my recent install ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| My host has just informed me that I'm about to exceed my allowed limit of 300MB after my recent install of OSCommerce. They're saying that the mySQL log file is 270MB, and that if I cut it down, everything will be all right. Is this normal for my log file to be that large? It seems quite weird. Also, does anyone know how to "cut it down" without disrupting anything? Thanks, Greg Heffron |
| Sponsored Links | ||
| ||
| |
|
#2
| ||||
| ||||
| It is save to delete your MySQL log - Turn off the logging in OSC - it is only best for debugging... Every person that view EACH page could produce anywhere from 2 to 20 or more SQL commands. When Logging SQL - EACH command is copied into this file and can grow QUITE FAST on a LIVE "busy" site (even though you get few to no orders). How long has the site been live? - 270 MB is quite large. |
|
#3
| |||
| |||
| I found out that the logging that you can turn off in OSC isn't the same log. In fact, I had to ask my server administrator to turn off mySQL's logging directly, as I didn't have telnet access or anything. So far, it worked like a charm. One note: don't ever delete your log file. Instead, use the mySQL command, "flush-logs." |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compatible with PHP 4.33 and mysql 3.23 | the_error_king | osCMax v2 Installation issues | 6 | 06-15-2005 08:19 PM |
| MySQL? Please help! | extremenewb | osCommerce 2.2 Installation Help | 3 | 09-22-2004 08:31 AM |
| add a new mysql table | Dumb_Question | osCommerce 2.2 Modification Help | 0 | 12-14-2003 12:37 PM |
| mySQL database | mattias2 | osCommerce 2.2 Installation Help | 1 | 10-23-2003 07:46 PM |