Личный кабинет
Укажите e-mail, на который будет выслан код восстановления пароля.
На указанный вами адрес e-mail был выслан код подтверждения аккаунта. Введите полученный код для продолжения:
Введите новый пароль два раза:
I have table with 500 000 rows, I have int[] column "my_array" in this table, this array column contains minimum 1 and maximum 5 different values.I have GIN index on my_array column: "CREATE INDEX idx ON table_name USING GIN(my_array gin__int_ops)"Then I use this query: "SELECT * FROM table_name WHERE my_array @> '{3}'::integer[] ORDER BY id LIMIT 50"Execution time of this query is approximately 500-1000 ms. Then if I drop gin index "idx", query works extremely fast, less than 20 ms.
В списке pgsql-general по дате отправления: