RE: io thread very slow copying binlogs

2017-01-20 Thread Michael Dykman
al Message- From: Brad Barnett [mailto:mysql-general-l...@l8r.net] Sent: Friday, January 20, 2017 10:45 AM To: mysql@lists.mysql.com Subject: Re: io thread very slow copying binlogs Hey Morgan, Thanks for the tip. Might come in handy. But, I'm positive it's not a disconnect / reco

Re: io thread very slow copying binlogs

2017-01-20 Thread Brad Barnett
so. About 200kbyte/sec / 1.6Mbit/sec right now. It seems very steady too. As in, if I look at bytes, they're constantly increasing.. just, slow.. On Fri, 20 Jan 2017 10:19:57 -0500 "Morgan Tocker" wrote: > Hi Brad, > > > MySQL community edition 5.6.29, running Linux. >

Re: io thread very slow copying binlogs

2017-01-20 Thread Brad Barnett
t; > increasing in size by a M every 4 or 5 seconds or so. About > > 200kbyte/sec / 1.6Mbit/sec right now. > > > > It seems very steady too. As in, if I look at bytes, they're > > constantly increasing.. just, slow.. > > > > On Fri, 20 Jan 2017 10:19:57

RE: io thread very slow copying binlogs

2017-01-20 Thread Morgan Tocker
Hi Brad, > MySQL community edition 5.6.29, running Linux. > > Binlogs never seem to get caught up on slaves. > > I've done all I can, to validate that this isn't network or disk related. > > Disk tests (using iostat and other methods) show lots of bandwidth

io thread very slow copying binlogs

2017-01-20 Thread Brad Barnett
Hey all, I have a weird issue. MySQL community edition 5.6.29, running Linux. Binlogs never seem to get caught up on slaves. I've done all I can, to validate that this isn't network or disk related. Disk tests (using iostat and other methods) show lots of bandwidth left on the

Re: mysql binlogs and their expiry times

2008-10-20 Thread Moon's Father
liced I had > > to move mysql database to /usr/local/mysql. All works fine. Last week > > I added this entry: > > > > #expire bin logs > > expire_logs_days = 7 > > > > to /usr/local/mysql/my.cnf > > > > I restarted the MySQL server an

Re: mysql binlogs and their expiry times

2008-10-08 Thread Andrew Garner
logs > expire_logs_days = 7 > > to /usr/local/mysql/my.cnf > > I restarted the MySQL server and now I have been waiting for the > binlogs to automatically expire but this is not happening: > > $ ls -l /usr/local/mysql > > -r--r--r-- 1 mysql mysql4954 Oct 1

RE: mysql binlogs and their expiry times

2008-10-08 Thread Benjamin Wiechman
Message- > From: Jim Lyons [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 08, 2008 10:51 AM > To: Zbigniew Szalbot > Cc: mysql@lists.mysql.com > Subject: Re: mysql binlogs and their expiry times > > According to the doc for this parameter, "Possible removals hap

Re: mysql binlogs and their expiry times

2008-10-08 Thread Jim Lyons
we do the same thing. works just fine. On Wed, Oct 8, 2008 at 10:55 AM, Tom Brown <[EMAIL PROTECTED]> wrote: > > According to the doc for this parameter, "Possible removals happen at >> startup and at binary log rotation." This implies that removal is not >> automatic - you have to either flus

Re: mysql binlogs and their expiry times

2008-10-08 Thread Tom Brown
According to the doc for this parameter, "Possible removals happen at startup and at binary log rotation." This implies that removal is not automatic - you have to either flush logs or bounce the server. We use "Purge Master" periodically. i do this from cron mysql -e "PURGE MASTER LOGS

Re: mysql binlogs and their expiry times

2008-10-08 Thread Jim Lyons
> > to /usr/local/mysql/my.cnf > > I restarted the MySQL server and now I have been waiting for the > binlogs to automatically expire but this is not happening: > > $ ls -l /usr/local/mysql > > -r--r--r-- 1 mysql mysql4954 Oct 1 07:30 my.cnf > drwx-- 2 mysq

Re: mysql binlogs and their expiry times

2008-10-08 Thread Zbigniew Szalbot
2008/10/8 Rolando Edwards <[EMAIL PROTECTED]>: > At the Linux prompt, enter this : cat mysql-bin.index > > Make sure every binlog is in the mysql-bin.index. If the list is incorrect, > then the expire logs feature won't work. > > To test this out, try using PURGE MASTER LOGS TO ' mysql-bin.55'

RE: mysql binlogs and their expiry times

2008-10-08 Thread Rolando Edwards
1 AM To: mysql@lists.mysql.com Subject: mysql binlogs and their expiry times Hi there, I hope someone can help. Due to they way my HD has been sliced I had to move mysql database to /usr/local/mysql. All works fine. Last week I added this entry: #expire bin logs expire_logs_days = 7 to /usr/local

Re: mysql binlogs and their expiry times

2008-10-08 Thread Krishna Chandra Prajapati
Check show variables like 'expire_log%'; It must show expire_logs_days = 7 On Wed, Oct 8, 2008 at 2:44 PM, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote: > Hello, > > 2008/10/8 Uma Bhat <[EMAIL PROTECTED]>: > > To check the current my.cnf file which is being used by the server, use > > below > >

Re: mysql binlogs and their expiry times

2008-10-08 Thread Zbigniew Szalbot
Hello, 2008/10/8 Uma Bhat <[EMAIL PROTECTED]>: > To check the current my.cnf file which is being used by the server, use > below > > $ ps -ef | grep mysql > You should be able to see the my.cnf path used (usually specified in > --defaults-file="/path to my.cnf") Yes, it was referring to the cor

mysql binlogs and their expiry times

2008-10-08 Thread Zbigniew Szalbot
the binlogs to automatically expire but this is not happening: $ ls -l /usr/local/mysql -r--r--r-- 1 mysql mysql4954 Oct 1 07:30 my.cnf drwx-- 2 mysql mysql1536 Sep 27 07:10 mysql -rw-rw 1 mysql mysql 1073745213 Sep 2 04:07 mysql-bin.47 -rw-rw 1 mysql

Re: binlogs

2005-11-25 Thread Gleb Paharenko
Hello. > I've seen the 'PURGE MASTER LOGS TO 'mysql-bin.0XX';' The complete syntax is available at: http://dev.mysql.com/doc/refman/5.0/en/purge-master-logs.html If you have replication you check that SLAVE has read binary logs which you want to remove. Luke Vanderfluit wrote: >

binlogs

2005-11-24 Thread Luke Vanderfluit
Hi. I have a production server that has a whole series of -bin files. I want to get rid of them because they are consuming too much space. Can I safely delete them? Some date back to April of this year. I've seen the 'PURGE MASTER LOGS TO 'mysql-bin.0XX';' Thanks for any replies. Kind regards.

Re: Restoring a database from binlogs

2005-05-18 Thread kernel
I do have however is replication running and therefore old binlogs. These binlogs go back as far as Nov 12, 2004. The "cleaning" of the log table didn't start until about a month ago and has deleted any data prior to Jan 18, 2005. The only snapshot I can find of the database i

RE: Restoring a database from binlogs

2005-05-18 Thread Jeff McKeon
- > From: Dathan Pattishall [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 18, 2005 2:16 PM > To: Jeff McKeon; mysql@lists.mysql.com > Subject: RE: Restoring a database from binlogs > > > Dump the binarylogs into a text file greping all the log data > in order of oldest to

RE: Restoring a database from binlogs

2005-05-18 Thread Dathan Pattishall
http://www.friendster.com > -Original Message- > From: Jeff McKeon [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 18, 2005 11:31 AM > To: mysql@lists.mysql.com > Subject: Restoring a database from binlogs > > Hey all, > > I've got a big problem. Seems one of

Restoring a database from binlogs

2005-05-18 Thread Jeff McKeon
er is replication running and therefore old binlogs. These binlogs go back as far as Nov 12, 2004. The "cleaning" of the log table didn't start until about a month ago and has deleted any data prior to Jan 18, 2005. The only snapshot I can find of the database is from Sept 10, 200

Re: offline replication with binlogs

2003-11-11 Thread Egor Egorov
"Mauro Marcellino" <[EMAIL PROTECTED]> wrote: > > Hello again... > > I am transferring binlogs between two networks that are not connected as an offline > replication solution. I have two databases which I have configured the my.ini file > to create

offline replication with binlogs

2003-11-10 Thread Mauro Marcellino
Hello again... I am transferring binlogs between two networks that are not connected as an offline replication solution. I have two databases which I have configured the my.ini file to create binlog entries for. Do both databases get written to the same log or is there a separate log for

Re: I don'get binlogs to log properly

2003-06-23 Thread cedric.boudin
Martin Waite writes: > On Thu, 2003-06-19 at 14:13, [EMAIL PROTECTED] > wrote: > > > binlog-do-db= test mysql > > Hi, > > There should only be one database per line: > > binlog-do-db= test > binlog-do-db= mysql How stupid of me not to have thought about

Re: I don'get binlogs to log properly

2003-06-23 Thread Martin Waite
On Thu, 2003-06-19 at 14:13, [EMAIL PROTECTED] wrote: > binlog-do-db= test mysql Hi, There should only be one database per line: binlog-do-db= test binlog-do-db= mysql regards, Martin -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql

Re: I don'get binlogs to log properly

2003-06-19 Thread cedric.boudin
Victoria Reznichenko writes: > [EMAIL PROTECTED] wrote: > > > > so there I am, > > mysql server version 3.23.49-8.4 > > OS linux debian woody > > box type i386 > > > > I've set up binlogs in my.cnf > > I do get the binlog files

Re: I don'get binlogs to log properly

2003-06-19 Thread Victoria Reznichenko
[EMAIL PROTECTED] wrote: > > so there I am, > mysql server version 3.23.49-8.4 > OS linux debian woody > box type i386 > > I've set up binlogs in my.cnf > I do get the binlog files created and rotated this with flush logs as > master reset. > I have the

I don'get binlogs to log properly

2003-06-18 Thread cedric.boudin
Hi Folks, so there I am, mysql server version 3.23.49-8.4 OS linux debian woody box type i386 I've set up binlogs in my.cnf I do get the binlog files created and rotated this with flush logs as master reset. I have the checkpoint and log_pos table set up. what I do not get is that the b

Re: Importing of MySQL BinLogs on Slave

2001-09-24 Thread Benjamin Pflugmann
f -u root --password=l4ka5Tdj databasename; done I hope that isn't you real passwort?!? If it is, you may consider changing it now. ;-) > I can see there is a -r function in mysqlimport, but of course the BinLogs > are in SQL format and this will not work > > Any help would be GREAT

Importing of MySQL BinLogs on Slave

2001-09-21 Thread Michael McConnell
bin/mysql -f -u root --password=l4ka5Tdj databasename; done I can see there is a -r function in mysqlimport, but of course the BinLogs are in SQL format and this will not work Any help would be GREATLY appreciated p.s. suggesting that I use mysql's built in replication is not help.

Re: Binlogs numbers

2001-08-27 Thread Sinisa Milivojevic
Rafal Jank writes: > Hi, > I've noticed, that bin logs names are followed by three digits: 001,002 and so > on. What will happen when I reach 999? Will it start to overwrite my first logs? > > magic words: MySQL, table, sql > -- > _/_/ _/_/_/ - Rafa³ Jank [EMAIL PROTECTED]

Binlogs numbers

2001-08-27 Thread Rafal Jank
Hi, I've noticed, that bin logs names are followed by three digits: 001,002 and so on. What will happen when I reach 999? Will it start to overwrite my first logs? magic words: MySQL, table, sql -- _/_/ _/_/_/ - Rafał Jank [EMAIL PROTECTED] - _/ _/ _/ _/ _/

[Fwd: Re: Rotating the BINLogs]

2001-02-09 Thread Leonardo Dias
I'm not the only one confused. Any ideas? Original Message Subject: Re: Rotating the BINLogs Date: 9 Feb 2001 12:37:03 -0300 From: "Rodolfo Sikora" <[EMAIL PROTECTED]> To: Leonardo Dias <[EMAIL PROTECTED]> I'm really confused like you. I&#x

Rotating the BINLogs

2001-02-09 Thread Leonardo Dias
Hi there, we have two databases replicating perfectly now, though we have a big doubt now: How should we rotate the binary logs without a problem? I was checking out the PURGE MASTER LOGS command in the Manual. The text below was taken from there: "Available starting in Version 3.23.28. Delete