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
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.
>
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
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
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
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
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
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
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
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
>
> 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
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'
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
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
> >
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
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
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:
>
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.
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
-
> 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
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
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
"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
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
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
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
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
[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
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
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
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.
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]
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] -
_/ _/ _/ _/ _/
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
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
35 matches
Mail list logo