PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > mysql.general > binlog sequence # rollover
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
binlog sequence # rollover

Réponse
 
LinkBack Outils de la discussion
Vieux 20/03/2008, 14h41   #1
Sid Lane
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut binlog sequence # rollover

do binlog sequences just rollover back to 0 w/o a resetlogs? will it just
automatically go back to mysqld.000000 after mysqld.999999? any replication
implications?

I know it sounds like a stupid question and I'm sure the developers are
smart enought to have thought of that but we'll be crossing that threshold
in the next 6-8 weeks and I don't need to find out it's a problem the hard
way.

we're running 5.0.27 for most of our prod...

  Réponse avec citation
Vieux 20/03/2008, 15h08   #2
Baron Schwartz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: binlog sequence # rollover

Hi,

On Thu, Mar 20, 2008 at 9:41 AM, Sid Lane <jakes.dad@gmail.com> wrote:
> do binlog sequences just rollover back to 0 w/o a resetlogs? will it just
> automatically go back to mysqld.000000 after mysqld.999999? any replication
> implications?
>
> I know it sounds like a stupid question and I'm sure the developers are
> smart enought to have thought of that but we'll be crossing that threshold
> in the next 6-8 weeks and I don't need to find out it's a problem the hard
> way.


I'm not sure what happens. But you can test: shut down a test
installation, create mysqld.999998, edit the mysqld.index file
appropriately, and restart. Then see what happens when you run FLUSH
LOGS a few times.
  Réponse avec citation
Vieux 21/03/2008, 10h58   #3
Moon's Father
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: binlog sequence # rollover

This is my test
13795620 8.0K -rw-rw---- 1 mysql mysql 146 Mar 21 17:58 mysql.1000000
13795622 8.0K -rw-rw---- 1 mysql mysql 146 Mar 21 17:58 mysql.1000001
13795623 8.0K -rw-rw---- 1 mysql mysql 106 Mar 21 17:58 mysql.1000002


On Thu, Mar 20, 2008 at 10:08 PM, Baron Schwartz <baron@xaprb.com> wrote:

> Hi,
>
> On Thu, Mar 20, 2008 at 9:41 AM, Sid Lane <jakes.dad@gmail.com> wrote:
> > do binlog sequences just rollover back to 0 w/o a resetlogs? will it

> just
> > automatically go back to mysqld.000000 after mysqld.999999? any

> replication
> > implications?
> >
> > I know it sounds like a stupid question and I'm sure the developers are
> > smart enought to have thought of that but we'll be crossing that

> threshold
> > in the next 6-8 weeks and I don't need to find out it's a problem the

> hard
> > way.

>
> I'm not sure what happens. But you can test: shut down a test
> installation, create mysqld.999998, edit the mysqld.index file
> appropriately, and restart. Then see what happens when you run FLUSH
> LOGS a few times.
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:
> http://lists.mysql.com/mysql?unsub=y...0608@gmail.com
>
>



--
I'm a mysql DBA in china.
More about me just visit here:
http://yueliangdao0608.cublog.cn

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 15h56.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09267 seconds with 11 queries