Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am choadrocker on github.
  • I am choadrocker (https://keybase.io/choadrocker) on keybase.
  • I have a public key whose fingerprint is 26B5 4DD4 3DFC C958 68AB C1E4 F2B9 4951 8530 715F

To claim this, I am signing this object:

@choadrocker
choadrocker / backfiller.sh
Created December 17, 2013 19:34
mysql dumping from and to in parallel - for backfilling or w/e
#!/bin/bash
max_threads=16
source=localhost
target=target
source_db=source_db
target_db=target_db
user=user
pass=pass
@choadrocker
choadrocker / many-dump
Last active December 31, 2015 16:08
dump X many tables at a time to hdfs
#!/bin/bash
# dump X many tables at a time to hdfs
# will prolly be INSANE LOAD
max_threads=8
source=localhost
source_db=source
user=user
pass=pass