.. _sys_indexes(KES):

sys_indexes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

视图\ ``sys_indexes``\ 提供对于数据库中每一个索引信息的访问。

.. table:: sys_indexes列
      :widths: 2 2 3 
         
      +----------------+----------+--------------------------------------------------+
      | 名称           | 类型     | 描述                                             |
      +================+==========+==================================================+
      | ``schemaname`` | ``name`` | 包含表和索引的模式名                             |
      +----------------+----------+--------------------------------------------------+
      | ``tablename``  | ``name`` | 此索引的基表的名字                               |
      +----------------+----------+--------------------------------------------------+
      | ``indexname``  | ``name`` | 索引名                                           |
      +----------------+----------+--------------------------------------------------+
      | ``tablespace`` | ``name`` | 包含索引的表空间名（如果是数据库的默认值则为空） |
      +----------------+----------+--------------------------------------------------+
      | ``indexdef``   | ``text`` | 索引定义（ ``CREATE INDEX`` 命令的重构）         |
      +----------------+----------+--------------------------------------------------+
