There are two approaches you might try:

First, assuming you have mutual non-disclosure agreements with your customers, find one that will let you use a chunk of their data. Explain that you want to do performance tuning on representative data, and that if you use their data, they'll see the biggest benefit.

Failing that, pick some subset of their data, and obscure the strings. The last time I did something like this, we calculated MD5 hashes of their strings, then used substrings that were the same length as the original. It made for messy, unreadable data, but was good enough for our (performance tuning) purposes.


Update: I forgot to mention. When you use MD5 hashes (or substrings), foreign key integrity is maintained. That is, if you've got customer data with textual keys, and references to those keys from other tables, when you go the MD5 route you won't lose those references.


In reply to Re: Test data masking tools/techniques? by dws
in thread Test data masking tools/techniques? by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.