Jak zobaczyć, które kolumny są indeksowane mysql
SHOW INDEXES FROM table_name;
Nice Newt
SHOW INDEXES FROM table_name;
SHOW INDEX FROM yourtable;
SELECT
tablename,
indexname,
indexdef
FROM
pg_indexes
WHERE
schemaname = 'yourschema' and tablename='yourtable'
ORDER BY
tablename,
indexname;
(POSTRGRESQL)