jrgemignani commented on issue #2198: URL: https://github.com/apache/age/issues/2198#issuecomment-3330107850
@ysvoon You should only use **btree** indexes on the **id**, **start_id**, and **end_id** columns. For **properties**, use a **gin** index. For example, - ``` CREATE INDEX some_node_table_name_btree_id ON some_schema.some_node_table_name USING btree (id); CREATE INDEX some_node_table_name_gin_properties ON some_schema.some_node_table_name USING gin (properties); CREATE INDEX some_edge_table_name_btree_ids ON some_schema.some_edge_table_name USING btree (start_id, end_id); CREATE INDEX some_edge_table_name_gin_properties ON some_schema.some_edge_table_name USING gin (properties); ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
