# Index access method, classes and families

> Find the access method, the default operator class for a type and its family. Class and family names can coincide.

---

LLMS index: [llms.txt](/llms.txt)

---

Find the access method, the default operator class for a type and its family. Class and family names can coincide.

A class that omits FAMILY creates a family of the same name. The binary_n and varbinary_n B-tree and hash classes instead join the existing pg_catalog.bytea_ops families.

## Operator classes {#classes}

| Signature | Purpose | Source definition |
|---|---|---|
| <a id="mysql-binary-n-hash-ops-using-hash-5ad8171c" href="#mysql-binary-n-hash-ops-using-hash-5ad8171c">`mysql.binary_n_hash_ops USING hash FOR mysql.binary_n`</a> | Default class in pg_catalog.bytea_ops. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/50-bin.sql#L576-L579) |
| <a id="mysql-binary-n-ops-using-btree-ec4fb85e" href="#mysql-binary-n-ops-using-btree-ec4fb85e">`mysql.binary_n_ops USING btree FOR mysql.binary_n`</a> | Default class in pg_catalog.bytea_ops. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/50-bin.sql#L514-L516) |
| <a id="mysql-hexlit-hash-ops-using-hash-4bfe6dce" href="#mysql-hexlit-hash-ops-using-hash-4bfe6dce">`mysql.hexlit_hash_ops USING hash FOR mysql.hexlit`</a> | Default class in mysql.hexlit_hash_ops. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/50-bin.sql#L149-L151) |
| <a id="mysql-hexlit-ops-using-btree-0d54e5fd" href="#mysql-hexlit-ops-using-btree-0d54e5fd">`mysql.hexlit_ops USING btree FOR mysql.hexlit`</a> | Default class in mysql.hexlit_ops. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/50-bin.sql#L146-L148) |
| <a id="mysql-prefix-1042-using-mysql-prefix-3365d0a8" href="#mysql-prefix-1042-using-mysql-prefix-3365d0a8">`mysql.prefix_1042 USING mysql_prefix FOR character`</a> | Default class in mysql.prefix_1042. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-1082-using-mysql-prefix-a635871f" href="#mysql-prefix-1082-using-mysql-prefix-a635871f">`mysql.prefix_1082 USING mysql_prefix FOR date`</a> | Default class in mysql.prefix_1082. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-1083-using-mysql-prefix-772f0611" href="#mysql-prefix-1083-using-mysql-prefix-772f0611">`mysql.prefix_1083 USING mysql_prefix FOR time without time zone`</a> | Default class in mysql.prefix_1083. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-1114-using-mysql-prefix-17adf5e3" href="#mysql-prefix-1114-using-mysql-prefix-17adf5e3">`mysql.prefix_1114 USING mysql_prefix FOR timestamp without time zone`</a> | Default class in mysql.prefix_1114. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-1184-using-mysql-prefix-b852cc97" href="#mysql-prefix-1184-using-mysql-prefix-b852cc97">`mysql.prefix_1184 USING mysql_prefix FOR timestamp with time zone`</a> | Default class in mysql.prefix_1184. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-1186-using-mysql-prefix-f5cc0052" href="#mysql-prefix-1186-using-mysql-prefix-f5cc0052">`mysql.prefix_1186 USING mysql_prefix FOR interval`</a> | Default class in mysql.prefix_1186. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-1560-using-mysql-prefix-085b33f3" href="#mysql-prefix-1560-using-mysql-prefix-085b33f3">`mysql.prefix_1560 USING mysql_prefix FOR bit`</a> | Default class in mysql.prefix_1560. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-1562-using-mysql-prefix-98fd247f" href="#mysql-prefix-1562-using-mysql-prefix-98fd247f">`mysql.prefix_1562 USING mysql_prefix FOR bit varying`</a> | Default class in mysql.prefix_1562. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-16-using-mysql-prefix-276e976a" href="#mysql-prefix-16-using-mysql-prefix-276e976a">`mysql.prefix_16 USING mysql_prefix FOR boolean`</a> | Default class in mysql.prefix_16. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-17-using-mysql-prefix-5dc347b4" href="#mysql-prefix-17-using-mysql-prefix-5dc347b4">`mysql.prefix_17 USING mysql_prefix FOR bytea`</a> | Default class in mysql.prefix_17. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-1700-using-mysql-prefix-e3ef0192" href="#mysql-prefix-1700-using-mysql-prefix-e3ef0192">`mysql.prefix_1700 USING mysql_prefix FOR numeric`</a> | Default class in mysql.prefix_1700. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-20-using-mysql-prefix-2d42c47c" href="#mysql-prefix-20-using-mysql-prefix-2d42c47c">`mysql.prefix_20 USING mysql_prefix FOR bigint`</a> | Default class in mysql.prefix_20. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-21-using-mysql-prefix-0c3f2e4c" href="#mysql-prefix-21-using-mysql-prefix-0c3f2e4c">`mysql.prefix_21 USING mysql_prefix FOR smallint`</a> | Default class in mysql.prefix_21. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-23-using-mysql-prefix-f46b9a0b" href="#mysql-prefix-23-using-mysql-prefix-f46b9a0b">`mysql.prefix_23 USING mysql_prefix FOR integer`</a> | Default class in mysql.prefix_23. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-25-using-mysql-prefix-3736a6ea" href="#mysql-prefix-25-using-mysql-prefix-3736a6ea">`mysql.prefix_25 USING mysql_prefix FOR text`</a> | Default class in mysql.prefix_25. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-26-using-mysql-prefix-083ca934" href="#mysql-prefix-26-using-mysql-prefix-083ca934">`mysql.prefix_26 USING mysql_prefix FOR oid`</a> | Default class in mysql.prefix_26. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-2950-using-mysql-prefix-ddf1dbc8" href="#mysql-prefix-2950-using-mysql-prefix-ddf1dbc8">`mysql.prefix_2950 USING mysql_prefix FOR uuid`</a> | Default class in mysql.prefix_2950. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-53875699983efc79eeb9e023e66605f5-using-mysql-prefix-8650ad96" href="#mysql-prefix-53875699983efc79eeb9e023e66605f5-using-mysql-prefix-8650ad96">`mysql.prefix_53875699983efc79eeb9e023e66605f5 USING mysql_prefix FOR mysql.binary_n`</a> | Default class in mysql.prefix_53875699983efc79eeb9e023e66605f5. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-700-using-mysql-prefix-52bbc44b" href="#mysql-prefix-700-using-mysql-prefix-52bbc44b">`mysql.prefix_700 USING mysql_prefix FOR real`</a> | Default class in mysql.prefix_700. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-701-using-mysql-prefix-5d61d3a3" href="#mysql-prefix-701-using-mysql-prefix-5d61d3a3">`mysql.prefix_701 USING mysql_prefix FOR double precision`</a> | Default class in mysql.prefix_701. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-b8aba7e65857eaf6a91ca737fb14b87b-using-mysql-prefix-d83aee70" href="#mysql-prefix-b8aba7e65857eaf6a91ca737fb14b87b-using-mysql-prefix-d83aee70">`mysql.prefix_b8aba7e65857eaf6a91ca737fb14b87b USING mysql_prefix FOR mysql.varbinary_n`</a> | Default class in mysql.prefix_b8aba7e65857eaf6a91ca737fb14b87b. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-varbinary-n-hash-ops-using-hash-bcabdff8" href="#mysql-varbinary-n-hash-ops-using-hash-bcabdff8">`mysql.varbinary_n_hash_ops USING hash FOR mysql.varbinary_n`</a> | Default class in pg_catalog.bytea_ops. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/50-bin.sql#L576-L579) |
| <a id="mysql-varbinary-n-ops-using-btree-59361417" href="#mysql-varbinary-n-ops-using-btree-59361417">`mysql.varbinary_n_ops USING btree FOR mysql.varbinary_n`</a> | Default class in pg_catalog.bytea_ops. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/50-bin.sql#L514-L516) |

## Operator families {#families}

| Signature | Purpose | Source definition |
|---|---|---|
| <a id="mysql-hexlit-hash-ops-using-hash-e1a99cb0" href="#mysql-hexlit-hash-ops-using-hash-e1a99cb0">`mysql.hexlit_hash_ops USING hash`</a> | Created with the default class for mysql.hexlit. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/50-bin.sql#L149-L151) |
| <a id="mysql-hexlit-ops-using-btree-5fa88b32" href="#mysql-hexlit-ops-using-btree-5fa88b32">`mysql.hexlit_ops USING btree`</a> | Created with the default class for mysql.hexlit. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/50-bin.sql#L146-L148) |
| <a id="mysql-prefix-1042-using-mysql-prefix-159296cb" href="#mysql-prefix-1042-using-mysql-prefix-159296cb">`mysql.prefix_1042 USING mysql_prefix`</a> | Created with the default class for character. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-1082-using-mysql-prefix-f6e7d966" href="#mysql-prefix-1082-using-mysql-prefix-f6e7d966">`mysql.prefix_1082 USING mysql_prefix`</a> | Created with the default class for date. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-1083-using-mysql-prefix-639bafb8" href="#mysql-prefix-1083-using-mysql-prefix-639bafb8">`mysql.prefix_1083 USING mysql_prefix`</a> | Created with the default class for time without time zone. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-1114-using-mysql-prefix-95038ca5" href="#mysql-prefix-1114-using-mysql-prefix-95038ca5">`mysql.prefix_1114 USING mysql_prefix`</a> | Created with the default class for timestamp without time zone. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-1184-using-mysql-prefix-87124921" href="#mysql-prefix-1184-using-mysql-prefix-87124921">`mysql.prefix_1184 USING mysql_prefix`</a> | Created with the default class for timestamp with time zone. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-1186-using-mysql-prefix-dfd1618d" href="#mysql-prefix-1186-using-mysql-prefix-dfd1618d">`mysql.prefix_1186 USING mysql_prefix`</a> | Created with the default class for interval. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-1560-using-mysql-prefix-5f9c6a76" href="#mysql-prefix-1560-using-mysql-prefix-5f9c6a76">`mysql.prefix_1560 USING mysql_prefix`</a> | Created with the default class for bit. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-1562-using-mysql-prefix-fac45fdc" href="#mysql-prefix-1562-using-mysql-prefix-fac45fdc">`mysql.prefix_1562 USING mysql_prefix`</a> | Created with the default class for bit varying. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-16-using-mysql-prefix-c9034f4c" href="#mysql-prefix-16-using-mysql-prefix-c9034f4c">`mysql.prefix_16 USING mysql_prefix`</a> | Created with the default class for boolean. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-17-using-mysql-prefix-663aa1cf" href="#mysql-prefix-17-using-mysql-prefix-663aa1cf">`mysql.prefix_17 USING mysql_prefix`</a> | Created with the default class for bytea. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-1700-using-mysql-prefix-0d3d9a23" href="#mysql-prefix-1700-using-mysql-prefix-0d3d9a23">`mysql.prefix_1700 USING mysql_prefix`</a> | Created with the default class for numeric. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-20-using-mysql-prefix-8086d18c" href="#mysql-prefix-20-using-mysql-prefix-8086d18c">`mysql.prefix_20 USING mysql_prefix`</a> | Created with the default class for bigint. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-21-using-mysql-prefix-3467421b" href="#mysql-prefix-21-using-mysql-prefix-3467421b">`mysql.prefix_21 USING mysql_prefix`</a> | Created with the default class for smallint. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-23-using-mysql-prefix-740a359c" href="#mysql-prefix-23-using-mysql-prefix-740a359c">`mysql.prefix_23 USING mysql_prefix`</a> | Created with the default class for integer. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-25-using-mysql-prefix-ce1d0caf" href="#mysql-prefix-25-using-mysql-prefix-ce1d0caf">`mysql.prefix_25 USING mysql_prefix`</a> | Created with the default class for text. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-26-using-mysql-prefix-a90637ee" href="#mysql-prefix-26-using-mysql-prefix-a90637ee">`mysql.prefix_26 USING mysql_prefix`</a> | Created with the default class for oid. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-2950-using-mysql-prefix-eb168316" href="#mysql-prefix-2950-using-mysql-prefix-eb168316">`mysql.prefix_2950 USING mysql_prefix`</a> | Created with the default class for uuid. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-53875699983efc79eeb9e023e66605f5-using-mysql-prefix-45d9a433" href="#mysql-prefix-53875699983efc79eeb9e023e66605f5-using-mysql-prefix-45d9a433">`mysql.prefix_53875699983efc79eeb9e023e66605f5 USING mysql_prefix`</a> | Created with the default class for mysql.binary_n. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-700-using-mysql-prefix-06d947dd" href="#mysql-prefix-700-using-mysql-prefix-06d947dd">`mysql.prefix_700 USING mysql_prefix`</a> | Created with the default class for real. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-701-using-mysql-prefix-3065a80a" href="#mysql-prefix-701-using-mysql-prefix-3065a80a">`mysql.prefix_701 USING mysql_prefix`</a> | Created with the default class for double precision. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |
| <a id="mysql-prefix-b8aba7e65857eaf6a91ca737fb14b87b-using-mysql-prefix-cd9bc4c9" href="#mysql-prefix-b8aba7e65857eaf6a91ca737fb14b87b-using-mysql-prefix-cd9bc4c9">`mysql.prefix_b8aba7e65857eaf6a91ca737fb14b87b USING mysql_prefix`</a> | Created with the default class for mysql.varbinary_n. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L85-L86) |

## Access method {#method}

| Signature | Purpose | Source definition |
|---|---|---|
| <a id="mysql-prefix-7ffb9472" href="#mysql-prefix-7ffb9472">`mysql_prefix`</a> | Index access method for MySQL prefix keys. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L20-L20) |

---

Backlinks:

- [pg_mysql object index](/docs/mysql/reference/objects/)
