gist-index Questions
2
Solved
I can't use directly uuid with gist index
CREATE INDEX idx_leaderboads_values_gist
ON leaderboard_entry
USING gist
(id_leaderboard , value);
And I got this error:
ERROR: data type uuid has...
Warplane asked 28/3, 2014 at 18:5
4
Solved
I'm using PostgreSQL 9.2 and have a table of IP ranges. Here's the SQL:
CREATE TABLE ips (
id serial NOT NULL,
begin_ip_num bigint,
end_ip_num bigint,
country_name character varying(255),
CONS...
Carlita asked 18/1, 2013 at 21:13
1
I have a simple table which has a user_birthday field with a type of date (which can be
NULL value)
CREATE TABLE users
(
user_id bigserial NOT NULL,
user_email text NOT NULL,
user_password text...
Thundery asked 2/4, 2014 at 22:28
1
Solved
I have to decide whether to use GIN or GiST indexing for an hstore column.
The Postgres docs state:
GIN index lookups are about three times faster than GiST
GIN indexes take about three times lo...
Severini asked 6/12, 2013 at 5:48
4
Solved
I have been working on optimizing my Postgres databases recently, and traditionally, I've only ever use B-Tree indexes. However, I saw that GiST indexes suport non-unique, multicolumn indexes, in t...
Murillo asked 20/4, 2009 at 0:24
1
Solved
From what information I could find, they both solve the same problems - more esoteric operations like array containment and intersection (&&, @>, <@, etc). However I would be interested ...
Ricks asked 22/8, 2008 at 5:22
1
© 2022 - 2024 — McMap. All rights reserved.