cleaning up

2016-08-03 Thread Camilo Vieira
Hi, There are lot mysql transactions with the "cleaning up" state on my Mysql 5.6.31: TRANSACTIONS Trx id counter 26782150 Purge done for trx's n:o < 26774181 undo n:o < 0 state: running but idle History list length 739 LIST OF TRANSACT

Re: threads in cleaning up mode

2016-04-04 Thread geetanjali mehra
days, I am struggling with the problem of increasing history >>> list >>> length on mysql 5.6.29. Application that this server is running IOT >>> based. >>> Also, this server has so many threads running in sleeping mode. SHOW >>> ENGINE >>>

Re: threads in cleaning up mode

2016-04-04 Thread geetanjali mehra
; >> For many days, I am struggling with the problem of increasing history >> list >> length on mysql 5.6.29. Application that this server is running IOT based. >> Also, this server has so many threads running in sleeping mode. SHOW >> ENGINE >> INNODB STATUS shows

Re: threads in cleaning up mode

2016-04-04 Thread shawn l.green
STATUS shows all these threads in *cleaning up* mode. I tried all the options to reduce history list length. But it is constantly increasing. Below are the current settings of purge related threads: innodb_max_purge_lag | 100 | | innodb_max_purge_lag_delay | 0

Re: threads in cleaning up mode

2016-04-04 Thread Nitin Mehta
  increasing history list length on mysql 5.6.29. Application that this server is running IOT based. Also, this server has so many threads running in sleeping mode. SHOW ENGINE INNODB STATUS shows all these threads in *cleaning up* mode. I tried all the options to reduce history list length. But it is

threads in cleaning up mode

2016-04-02 Thread geetanjali mehra
Hi to all, For many days, I am struggling with the problem of increasing history list length on mysql 5.6.29. Application that this server is running IOT based. Also, this server has so many threads running in sleeping mode. SHOW ENGINE INNODB STATUS shows all these threads in *cleaning up* mode

Re: Help with cleaning up data

2014-03-31 Thread Bob Eby
delete b from icd9x10 a join icd9x10 b on a.icd9 = b.icd9 and a.id < b.id >... > CREATE TABLE `ICD9X10` ( > ... > id icd9 icd10 > 25 29182 F10182 > 26 29182 F10282 > ... Good luck, Bob

Re: Help with cleaning up data

2014-03-30 Thread william drescher
On 3/29/2014 2:26 PM, william drescher wrote: I am given a table: ICD9X10 which is a maping of ICD9 codes to ICD10 codes. Unfortunately the table contains duplicate entries that I need to remove. CREATE TABLE `ICD9X10` ( `id` smallint(6) NOT NULL AUTO_INCREMENT, `icd9` char(8) NOT NULL, `

RE: Help with cleaning up data

2014-03-29 Thread David Lerer
10158 Direct: (646) 487-6522 | Fax: (646) 487-1569 | dle...@univision.net | www.univision.net -Original Message- From: william drescher [mailto:will...@techservsys.com] Sent: Saturday, March 29, 2014 2:26 PM To: mysql@lists.mysql.com Subject: Help with cleaning up data I am given a table: IC

Re: Help with cleaning up data

2014-03-29 Thread Carsten Pedersen
On 29-03-2014 19:26, william drescher wrote: I am given a table: ICD9X10 which is a maping of ICD9 codes to ICD10 codes. Unfortunately the table contains duplicate entries that I need to remove. ... I just can't think of a way to write a querey to delete the duplicates. Does anyone have a sugg

Re: Help with cleaning up data

2014-03-29 Thread Fran Garcia
Hi Bill, How big is your table? It seems to me that you might want to change your unique keys to something like (icd9, icd10), thus guaranteeing that every mapping will exist only once in your table. You could create a new table with that constraint and copy all your data to it: CREATE TABLE `ICD

Help with cleaning up data

2014-03-29 Thread william drescher
I am given a table: ICD9X10 which is a maping of ICD9 codes to ICD10 codes. Unfortunately the table contains duplicate entries that I need to remove. CREATE TABLE `ICD9X10` ( `id` smallint(6) NOT NULL AUTO_INCREMENT, `icd9` char(8) NOT NULL, `icd10` char(6) NOT NULL, PRIMARY KEY (`id`), U

Re: Cleaning up old files

2011-11-15 Thread Hal�sz S�ndor
2011/11/14 18:01 +, Rob Tanner So what are those files and can I delete all but the most recent? And if you look up replication, as others already have said, you will find that the command "purge binary logs to 'mysql-bin.'" will do just that--if, as Harald hinted, you

Re: Cleaning up old files

2011-11-15 Thread Hal�sz S�ndor
2011/11/14 18:01 +, Rob Tanner So what are those files and can I delete all but the most recent? And if you look up replication, as others already have said, you will find that the command "reset master" will do just that--if, as Harald hinted, you really _want_ replicatio

Re: Cleaning up old files

2011-11-14 Thread Andrew Moore
The binary log is useful for more then just replication and can be used to take incremental backups or to perform forensics on what your server has done. I would recommend learning how to use them to your advantage over turning binary logging off as some have recommended. Make sure you're monitorin

Re: Cleaning up old files

2011-11-14 Thread Basil Daoust
If you search on "mysql-bin.01" you get a lot of good info. o They are mysql log files it contains all the queries u can view these files with the command mysqlbinlog just man it for more details o These are your binary log files.. you might not want to switch them off depending on your setup -

Re: Cleaning up old files

2011-11-14 Thread Michael Dykman
Those are your binary logs.  They store the data stream to be consumed by your slaves. .http://dev.mysql.com/doc/refman/5.0/en/binary-log.html Are you using replication?  If so, you need to go to each of your slaves and run the command 'SHOW MASTER STATUS;'. That will tell you which files are cu

Re: Cleaning up old files

2011-11-14 Thread Reindl Harald
Am 14.11.2011 19:01, schrieb Rob Tanner: > In my MySQL directory, I have more than a few gig and a half sized files, > mysql-bin.01, > mysql-bin.01 and et cetera. They date from today all the way back to > early 2010. > I don't know exactly what those files are but I would like to

Cleaning up old files

2011-11-14 Thread Rob Tanner
Hi, In my MySQL directory, I have more than a few gig and a half sized files, mysql-bin.01, mysql-bin.01 and et cetera. They date from today all the way back to early 2010. I don't know exactly what those files are but I would like to delete as many as are no longer is use since I had

Re: cleaning up general_log table?

2011-01-06 Thread Jacek Becla
Becla [mailto:be...@slac.stanford.edu] Sent: Thursday, January 06, 2011 5:57 PM To: mysql@lists.mysql.com Subject: cleaning up general_log table? Hello, Is there a way to purge parts of general log table without interrupting the server? Ideally, we would like to transfer older logs (say copy all

RE: cleaning up general_log table?

2011-01-06 Thread Rolando Edwards
rsday, January 06, 2011 5:57 PM To: mysql@lists.mysql.com Subject: cleaning up general_log table? Hello, Is there a way to purge parts of general log table without interrupting the server? Ideally, we would like to transfer older logs (say copy all entries from 2010 into a separate location, and

cleaning up general_log table?

2011-01-06 Thread Jacek Becla
Hello, Is there a way to purge parts of general log table without interrupting the server? Ideally, we would like to transfer older logs (say copy all entries from 2010 into a separate location, and then run: DELETE FROM mysql.general_log WHERE event_time<'2011-01-01' However this yields an err

Cleaning up binary log files during replication

2004-03-23 Thread Raza Ansari
Hi I am using replication to do online backups for my tables. Now my next task is to automate cleaning up of binary log files from Master server. Assuming I have more than one slave running, and may be at the time of clean up one of the slave is down for backup, how can I be sure that my clean up

cleaning up large file ibdata1??

2004-02-20 Thread [EMAIL PROTECTED]
Hi List, I'm having quite a large data file ibdata1 in \mysql\data. The file occupies over 500 MB, while all of my databases at the moment are fairly small (recently, i deleted some old databases). I wonder how it is possible that this file gets so large, compared to the space the rest of my

Re: Cleaning up a messy mysql

2003-09-12 Thread Paul DuBois
At 9:26 PM -0700 9/12/03, Scott Haneda wrote: I have inherited a mysql install, in the user table, there are many usernames and passwords that are not connected to any databases or tables. Looks like someone deleted the databases at one time and neglected to d it right and left ghost users around.

Cleaning up a messy mysql

2003-09-12 Thread Scott Haneda
I have inherited a mysql install, in the user table, there are many usernames and passwords that are not connected to any databases or tables. Looks like someone deleted the databases at one time and neglected to d it right and left ghost users around. Any way to issue some sql that would search t

re: re: High load with "cleaning up" status

2002-10-16 Thread Egor Egorov
d. When this starts happening, we >>notice a >>MZ> lot of processes "cleaning up" within the database. Can someone clue >>me in >>MZ> as to what cleaning up means, and what the possible cause of this is? >> >>Sure, we can. >> >>Please

re: High load with "cleaning up" status

2002-10-14 Thread Mike Zimmerman
gt;MZ> our high spike is about 0.90 load. When this starts happening, we >notice a >MZ> lot of processes "cleaning up" within the database. Can someone clue >me in >MZ> as to what cleaning up means, and what the possible cause of this is? > >Sure, we can. >

re: High load with "cleaning up" status

2002-10-14 Thread Egor Egorov
we notice a MZ> lot of processes "cleaning up" within the database. Can someone clue me in MZ> as to what cleaning up means, and what the possible cause of this is? Sure, we can. Please tell us: - what is the exact mysql version running (build) - how MySQL is configured - how

High load with "cleaning up" status

2002-10-12 Thread Mike Zimmerman
Recently our DB, which is running MySQL 3.23.52, started experiencing intermittant load spikes, of the magnitude of 200+ load averages. Normally, our high spike is about 0.90 load. When this starts happening, we notice a lot of processes "cleaning up" within the database. Can someo