Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Database Migration Completed

by Co-Rion (Monk)
on Sep 27, 2008 at 20:00 UTC ( #714052=monkdiscuss: print w/ replies, xml ) Need Help??

15:07:19 Migration started 15:07:19 Switching ~/public_html/index.pl to status monitor 15:07:20 Locking database 15:08:20 Locked database 15:08:20 Replicating tables 15:12:39 Loading 'vote' from disk 15:29:51 Synchronizing remaining votes 15:31:02 Migration done. Restarting webservers.

What amounted to a downtime of the site of about 20 minutes bore great fruits. The new database machine that Pair so generously provide to us is now in use. We are now on MySQL version 5. The new machine has lots more RAM than the old machine, so I expect the GMT 8:00 site slowdown due to the backups to be far less noticeable than it was in the previous years.

This migration was possible through the beta testing especially of ambrus who found the first two incompatible SQL statements, the scripts provided by tye for creating backups while the website is still in use, the moral support and patience of the site users when I tested the DB migration and made the site unusable/unavailable, and last but not least by Pair who donate the new hardware. I'd like to thank all of you and hope the new database makes the site faster.

If you notice any changes in site behaviour, please report them here or in the chatterbox. Preferrably accompany bug reports with a test script taken from Open beta test of the new database. The beta test didn't turn up any more inconsistencies between what MySQL 5 accepts as valid SQL, but there might be nodes that had been unchecked.

Co-Rion for the gods

Comment on Database Migration Completed
Download Code
Re: Database Migration Completed
by Anonymous Monk on Sep 28, 2008 at 01:41 UTC
    egads, thats fantastic :)
Re: Database Migration Completed
by Perlbotics (Abbot) on Sep 28, 2008 at 09:17 UTC

    First of all, thanks a lot for all the effort taken to migrate the PM-DB to the new machine.

    I guess it is not a real bug, but I have observed a minor change in the time stamp format of some of the XML generators since about September, 27th, 17:35 GMT. It seems that the time stamp format of the lastedit attribute of the USERNODES->NODE nodes from the User Nodes XML Ticker has changed from e.g. 20080102101112 to 2008-01-02 10:11:12. An xmlstyle attribute was not provided when querying this node.

    Since I couldn't compare the actual raw ticker output with some other raw output taken previously, the following statement should be taken with a pinch of salt: No time stamp format changes found for nodes:

    No data available to compare the other tickers...

      This change in the timestamp format would as well explain the "unread" mark on all wikis. I guess it comes from the different versions of DBD::mysql between the two machines. I don't know what other places are affected and whether one format makes sense over the other, so I can't promise a quick fix yet.

      Thanks for your report!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://714052]
Approved by atcroft
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2014-12-19 00:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (69 votes), past polls