Added more explanation about GIN index.
This commit is contained in:
parent
55163615c7
commit
1b2982c546
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,9 @@ in the standard RDBS fashion.
|
||||||
We came to some problems when trying to enforce foreign key constrains while using the timescaledb
|
We came to some problems when trying to enforce foreign key constrains while using the timescaledb
|
||||||
extension. We decided to try, if just using a column with array type with proper indes would have simmilar performace.
|
extension. We decided to try, if just using a column with array type with proper indes would have simmilar performace.
|
||||||
|
|
||||||
|
Array columns support indexing with Generalized Inverted Index, GIN,
|
||||||
|
that allows for fast searches on membership and intersection. Because we mostly search for memebership,
|
||||||
|
array column could be performant enough for our purposes.
|
||||||
|
|
||||||
Resources
|
Resources
|
||||||
---------
|
---------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue