Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix readme markdown#6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
afiskon merged 1 commit intopostgrespro:masterfromolshevskiy87:fix_readme_md
Mar 21, 2017
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletionsREADME.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -57,7 +57,7 @@ sudo make uninstall

## Usage

First ZSON should be *trained* on common data usingzson_learn procedure:
First ZSON should be *trained* on common data usingzson\_learn procedure:

```
zson_learn(
Expand DownExpand Up@@ -107,7 +107,7 @@ select zson_learn('{{"table1", "col1"}, {"table2", "col2"}}');

This time *second* dictionary will be created. Dictionaries are cached in memory so it will take about a minute before ZSON realizes that there is a new dictionary. After that old documents will be decompressed using old dictionary and new documents will be compressed and decompressed using new dictionary.

To find out which dictionary is used for given ZSON document usezson_info procedure:
To find out which dictionary is used for given ZSON document usezson\_info procedure:

```
zson_test=# select zson_info(x) from test_compress where id = 1;
Expand DownExpand Up@@ -139,5 +139,5 @@ select pg_table_size('tt') / (select count(*) from tt)

... i.e. average document size. When it suddenly starts to grow it's time to re-learn.

However, developers usually know when they change a schema significantly. It's also easy to re-check whether current schema differs a lot from the original usingzson_dict table.
However, developers usually know when they change a schema significantly. It's also easy to re-check whether current schema differs a lot from the original usingzson\_dict table.


[8]ページ先頭

©2009-2025 Movatter.jp