Subject Re: How to determine the selectivity of a composite index?
Author karolbieniaszewski
--- In firebird-support@yahoogroups.com, "sergiogarciaruso" <sergiogarciaruso@...> wrote:
>
> Hi, I know how to determine the selectivity of an index associated with a single field (http://www.firebirdfaq.org/faq167/), but I would like to know how to do it with multiple fields (composite index). It's that possible?
>
> Best regards,
> Sergio
>

look at this system table

SELECT r.RDB$INDEX_NAME, r.RDB$FIELD_NAME, r.RDB$FIELD_POSITION, r.RDB$STATISTICS
FROM RDB$INDEX_SEGMENTS r


Karol Bieniaszewski