GIN Index
Query
select * from contacts_docs
where body @> '{"first_name":"John"}';
explain select * from contacts_docs
where body @> '{"first_name":"John"}';
Creating a GIN Index

Get Size of Index

Using JSONB_PATH_OPS ( better )

Size with jsonb_path_ops

On Specific column for smaller size ( not working )

Last updated