OurSQLEpisode185: GettinginSync This week we discuss pt-table-checksum for keeping data in sync. ear Candy is a rational look at why one company chose MySQL; At the Movies is using MySQL in a practical way for Big Data.
Pt-table-checksum
Pt-table-checksum
Pt-table-sync
Episode 151, where we talked about Oracle toolsmysqldbcompare and mysqldiff
Options discussed:
-- Replicate, -- no-create-replicate-table
-- No-check-binlog-format
-- Recurse (default is infinite), -- recursion-method
-- No-replicate-check, -- quiet
-- Retries, -- resume, -- run-time
-- Set-vars
-- No-empty-replicate-table
-- Max-lag, -- check-slave-lag
-- Max-load (default: threads_running = 25)
-- Pid
-- No-check-plan
-- No-check-replication-filters
-- No-check-slave-tables
You can also give a comma-separated list of configuration files to read in, with the -- config option. if you use it, the -- config option has to be the first option on the commandline. the documentation says to look at the output using -- help to see the default configuration files, and in the testing we did, this looked:
/Etc/percona-toolkit/percona-toolkit.conf
/Etc/percona-toolkit/pt-table-checksum.conf
/Root/. percona-toolkit.conf
/Root/. pt-table-checksum.conf
-- Databases, -- tables, -- engines, -- databases-regex, -- tables-regex, -- columns, -- where
-- Ignore-databases, -- ignore-tables, -- ignore-engines (FEDERATED, MERGE by default), -- ignore-columns, -- ignore-databases-regex, -- ignore-tables-regex
-- Chunk-time, -- chunk-size, -- chunk-index, -- chunk-size-limit
-- Progress
-- Function (default is CRC32)
-- Float-precision
-- Explain
-- Replicate-check-only
-- Trim
-- Replicate-database
Ear Candy
Case study: Why Baron Schwarz chose MySQL for the backend of his company
At the movies
This week in At the Movies, we present Jonathan Levin speaking aboutUsing MySQL to Build Big Data Applications. In this 26 minute video, Jonathan shows how to create summary tables in MySQL for handling big data.
Where you can see us
Sheeri will be at theJune Boston MySQL User Groupon Monday, June 9th, where we'll have Amrith Kumar talking about DB as a service using trove on openstack.
Gerry will be at theJune Seattle MySQL User Groupon Monday, June 9th, where we'll talk about WebScaleSQL.
Sheeri and Gerry will be attendingOSCon 2014 from Sunday July 20th through Thursday July 24th.
Feedback
Facebook group
Google + page
E-mail: podcast at technocation.org
Voicemail using phone/Skype: + 1-617-674-2369
Twitter: @ oursqlcast
OrTweet about @ oursqlcast
Trackback URL for this post:
Http://technocation.org/trackback/1315