Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lsm3 index bloat? #1

Open
digoal opened this issue Aug 7, 2020 · 1 comment
Open

lsm3 index bloat? #1

digoal opened this issue Aug 7, 2020 · 1 comment

Comments

@digoal
Copy link

digoal commented Aug 7, 2020

HI, lsm3 index more larger than btree index:

postgres=# create index idx on t using lsm3(id) with (unique=true);
postgres=# insert into t select generate_series(1,10000000), md5(random()::text);

postgres=# \dt+ t
                           List of relations
 Schema | Name | Type  |  Owner   | Persistence |  Size  | Description 
--------+------+-------+----------+-------------+--------+-------------
 public | t    | table | postgres | permanent   | 651 MB | 

 public | idx              | index | postgres | t           | permanent   | 69 GB      | 
@knizhnik
Copy link
Contributor

knizhnik commented Aug 7, 2020

Fixed in 9348b75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants