Skip to content

Commit

Permalink
PS-9181 [DOCS] - document background dictionary cache reload function…
Browse files Browse the repository at this point in the history
…ality in the Masking Functions component 8.0

	modified:   docs/data-masking-function-list.md
	modified:   docs/data-masking-overview.md
  • Loading branch information
patrickbirch committed Dec 27, 2024
1 parent e7b9f6d commit 79d9ee4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/data-masking-function-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ The feature is in [tech preview](glossary.md#tech-preview).

Replaces a term from one dictionary with a randomly selected term in another dictionary.

### Version update

Percona Server for MySQL 8.0.41 introduces an internal term cache. Instead of querying the underlying `mysql.masking_dictionaries` table each time a function is executed, the server now utilizes internal in-memory data structures for lookups. This enhancement significantly improves performance, particularly when processing multiple rows.



### Parameters

| Parameter | Optional | Description | Type |
Expand Down
12 changes: 12 additions & 0 deletions docs/data-masking-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@ These examples underscore how data masking serves as a crucial safeguard for sen

Data masking helps to limit the exposure of sensitive data by preventing access to non-authorized users. Masking provides a way to create a version of the data in situations, such as a presentation, sales demo, or software testing, when the real data should not be used. Data masking changes the data values while using the same format and cannot be reverse engineered. Masking reduces an organization's risk by making the data useless to an outside party.

## Version updates

Percona Server for MySQL 8.0.41 introduces an internal term cache for the
following functions:

* [gen_blocklist](data-masking-function-list.md#gen_blockliststr-from_dictionary_name-to_dictionary_name)

* [gen_dictionary](data-masking-function-list.md#gen_dictionarydictionary_name)


Instead of querying the underlying `mysql.masking_dictionaries` table each time a function is executed, the server now utilizes internal in-memory data structures for lookups. This enhancement significantly improves performance, particularly when processing multiple rows.

## Data masking techniques

The common data masking techniques are the following:
Expand Down

0 comments on commit 79d9ee4

Please sign in to comment.