> Done, an email is now sent after an order is submitted. This is what it

> I have found a large number of files which have names like this
>     www-bin.040
>     www-bin.041
>     www-bin.042
>     www-bin.043
>     www-bin.044
>
> which are using up huge amounts of disk space on my server.
>
> It looks to me like they are logs all of the queries that are run
> with a certain connection.

They are logs of all queries that are run which change data (UPDATEs,
INSERTs, but not SELECTs)

> Since my server averages just over 9 queries a second these logs
> are astronomical is size and they are also not necessary to me.

Heh, you should see how big they get on a server which averages 60 queries
per second...

> Is there a way to get rid of this that any one knows of?

Use the PURGE MASTER LOGS command
(http://www.mysql.com/doc/R/e/Replication_SQL.html) to clean up old files,
or disable binary logging (remove the line with "log-bin" in /etc/my.cnf),
restart mysqld, then delete www-bin.*


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to