~/talk

Inexpensive Datamasking for MySQL with ProxySQL

Talkat HighLoad++ 2017 · 2017-11-07..11-08· [databases, security]
links:none on file
slides:none on file

ProxySQL adds RE2 and PCRE regex support and uses table-driven query rules to rewrite or block queries on the fly for cheap MySQL datamasking. Rules keep first two letters of names and replace the rest with Xs, generate randomized salaries (e.g. salary 50,000 + 10,000), and explicitly select blocked patterns; it can also transform mysqldump output to produce an anonymized export (mysqldump masking). Live demo shows community bypasses patched, clustering/metrics and query mirroring aid rollout, but regex parsing has limits versus a full SQL parser.

AI-written summary · about

  1. 0:00Introduction
  2. 1:45Overview
  3. 4:22What is ProxySQL
  4. 6:43ProxySQL Gateway
  5. 10:27How ProxySQL Works
  6. 16:40Query Rules
  7. 24:49Example
  8. 26:43Limitations
  9. 31:10More examples
  10. 32:48Recap
  11. 33:14Questions
  12. 38:35Native Clustering
  13. 40:25Nick
  14. 41:00ProxySQL dialect
  15. 43:05MS SQL support
  16. 44:10Joints and unions
  17. 45:00Replacing regular expressions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.