亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? cluster.sgml

?? PostgreSQL7.4.6 for Linux
?? SGML
字號:
<!--$Header: /cvsroot/pgsql/doc/src/sgml/ref/cluster.sgml,v 1.30 2003/11/02 12:59:54 petere Exp $PostgreSQL documentation--><refentry id="SQL-CLUSTER"> <refmeta>  <refentrytitle id="sql-cluster-title">CLUSTER</refentrytitle>  <refmiscinfo>SQL - Language Statements</refmiscinfo> </refmeta> <refnamediv>  <refname>CLUSTER</refname>  <refpurpose>cluster a table according to an index</refpurpose> </refnamediv> <indexterm zone="sql-cluster">  <primary>CLUSTER</primary> </indexterm> <refsynopsisdiv><synopsis>CLUSTER <replaceable class="PARAMETER">indexname</replaceable> ON <replaceable class="PARAMETER">tablename</replaceable>CLUSTER <replaceable class="PARAMETER">tablename</replaceable>CLUSTER</synopsis> </refsynopsisdiv> <refsect1>  <title>Description</title>  <para>   <command>CLUSTER</command> instructs <productname>PostgreSQL</productname>    to cluster the table specified   by <replaceable class="parameter">tablename</replaceable>   based on the index specified by   <replaceable class="parameter">indexname</replaceable>. The index must   already have been defined on    <replaceable class="parameter">tablename</replaceable>.  </para>  <para>   When a table is clustered, it is physically reordered   based on the index information. Clustering is a one-time operation:   when the table is subsequently updated, the changes are   not clustered.  That is, no attempt is made to store new or   updated rows according to their index order.  If one wishes, one can   periodically recluster by issuing the command again.  </para>  <para>   When a table is clustered, <productname>PostgreSQL</productname>   remembers on which index it was clustered.  The form   <command>CLUSTER <replaceable class="parameter">tablename</replaceable></command>,   reclusters the table on the same index that it was clustered before.  </para>  <para>   <command>CLUSTER</command> without any parameter reclusters all the tables   in the   current database that the calling user owns, or all tables if called   by a superuser.  (Never-clustered tables are not included.)  This   form of <command>CLUSTER</command> cannot be called from inside a   transaction or function.  </para>  <para>   When a table is being clustered, an <literal>ACCESS   EXCLUSIVE</literal> lock is acquired on it. This prevents any other   database operations (both reads and writes) from operating on the   table until the <command>CLUSTER</command> is finished.  </para> </refsect1> <refsect1>  <title>Parameters</title>  <variablelist>   <varlistentry>    <term><replaceable class="PARAMETER">indexname</replaceable></term>    <listitem>     <para>      The name of an index.     </para>    </listitem>   </varlistentry>   <varlistentry>    <term><replaceable class="PARAMETER">tablename</replaceable></term>    <listitem>     <para>      The name (possibly schema-qualified) of a table.     </para>    </listitem>   </varlistentry>  </variablelist> </refsect1> <refsect1>  <title>Notes</title>   <para>    In cases where you are accessing single rows randomly    within a table, the actual order of the data in the    table is unimportant. However, if you tend to access some    data more than others, and there is an index that groups    them together, you will benefit from using <command>CLUSTER</command>.    If you are requesting a range of indexed values from a table, or a    single indexed value that has multiple rows that match,    <command>CLUSTER</command> will help because once the index identifies the    heap page for the first row that matches, all other rows    that match are probably already on the same heap page,    and so you save disk accesses and speed up the query.   </para>   <para>    During the cluster operation, a temporary copy of the table is created    that contains the table data in the index order.  Temporary copies of    each index on the table are created as well.  Therefore, you need free    space on disk at least equal to the sum of the table size and the index    sizes.   </para>   <para>    Because <command>CLUSTER</command> remembers the clustering information,    one can cluster the tables one wants clustered manually the first time, and    setup a timed event similar to <command>VACUUM</command> so that the tables    are periodically reclustered.   </para>   <para>    Because the planner records statistics about the ordering of tables, it    is advisable to run <command>ANALYZE</command> on the newly clustered    table.  Otherwise, the planner may make poor choices of query plans.   </para>   <para>    There is another way to cluster data. The    <command>CLUSTER</command> command reorders the original table using    the ordering of the index you specify. This can be slow    on large tables because the rows are fetched from the heap    in index order, and if the heap table is unordered, the    entries are on random pages, so there is one disk page    retrieved for every row moved. (<productname>PostgreSQL</productname> has a cache,    but the majority of a big table will not fit in the cache.)    The other way to cluster a table is to use<programlisting>CREATE TABLE <replaceable class="parameter">newtable</replaceable> AS    SELECT <replaceable class="parameter">columnlist</replaceable> FROM <replaceable class="parameter">table</replaceable> ORDER BY <replaceable class="parameter">columnlist</replaceable>;</programlisting>    which uses the <productname>PostgreSQL</productname> sorting code in     the <literal>ORDER BY</literal> clause to create the desired order; this is usually much    faster than an index scan for    unordered data. You then drop the old table, use    <command>ALTER TABLE ... RENAME</command>    to rename <replaceable class="parameter">newtable</replaceable> to the old name, and    recreate the table's indexes. However, this approach does not preserve    OIDs, constraints, foreign key relationships, granted privileges, and    other ancillary properties of the table --- all such items must be    manually recreated.   </para> </refsect1> <refsect1>  <title>Examples</title>  <para>   Cluster the table <literal>employees</literal> on the basis of   its index <literal>emp_ind</literal>:<programlisting>CLUSTER emp_ind ON emp;</programlisting>  </para>  <para>   Cluster the <literal>employees</literal> relation using the same   index that was used before:<programlisting>CLUSTER emp;</programlisting>  </para>  <para>   Cluster all the tables on the database that have previously been clustered:<programlisting>CLUSTER;</programlisting>  </para> </refsect1> <refsect1>  <title>Compatibility</title>  <para>   There is no <command>CLUSTER</command> statement in the SQL standard.  </para> </refsect1> <refsect1>  <title>See Also</title>  <simplelist type="inline">   <member><xref linkend="app-clusterdb" endterm="app-clusterdb-title"></member>  </simplelist> </refsect1></refentry><!-- Keep this comment at the end of the fileLocal variables:mode: sgmlsgml-omittag:nilsgml-shorttag:tsgml-minimize-attributes:nilsgml-always-quote-attributes:tsgml-indent-step:1sgml-indent-data:tsgml-parent-document:nilsgml-default-dtd-file:"../reference.ced"sgml-exposed-tags:nilsgml-local-catalogs:"/usr/lib/sgml/catalog"sgml-local-ecat-files:nilEnd:-->

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
麻豆成人在线观看| 91麻豆精品国产91| 欧美高清一级片在线| 国产日韩欧美麻豆| 亚洲不卡在线观看| 成人av在线电影| 日韩精品最新网址| 夜夜嗨av一区二区三区网页| 岛国精品在线播放| 日韩一区二区在线观看视频| 一区二区三区高清| 成人动漫一区二区在线| 久久久久久免费毛片精品| 天天做天天摸天天爽国产一区| av成人老司机| 国产午夜精品理论片a级大结局| 天天免费综合色| 欧美午夜寂寞影院| 中文字幕在线不卡国产视频| 国产一区二区精品久久99| 欧美一级免费大片| 午夜精品久久久久久久蜜桃app| 91麻豆蜜桃一区二区三区| 日本一区二区综合亚洲| 激情综合一区二区三区| 91精品中文字幕一区二区三区| 伊人色综合久久天天人手人婷| www.欧美日韩| 中文字幕一区二区三区精华液| 国产精品一区一区| 久久久噜噜噜久久中文字幕色伊伊 | 国产精品久久久久久妇女6080| 美女一区二区在线观看| 日韩视频免费观看高清完整版| 亚洲成精国产精品女| 欧美色图第一页| 一区二区三区中文在线| 91麻豆免费在线观看| 亚洲少妇中出一区| 欧美视频精品在线观看| 午夜精品在线视频一区| 欧美伊人精品成人久久综合97| 悠悠色在线精品| 欧美日韩在线三区| 蜜桃久久久久久久| 2020国产精品自拍| 成人福利视频在线看| 亚洲欧美偷拍卡通变态| 在线观看不卡一区| 日本不卡1234视频| 久久影音资源网| 成人av电影免费观看| 亚洲在线观看免费| 91精品国产黑色紧身裤美女| 九九视频精品免费| 国产精品区一区二区三| 在线视频综合导航| 日产国产欧美视频一区精品| 久久人人97超碰com| av成人免费在线| 日韩精品亚洲专区| 国产三级一区二区| 欧美亚洲图片小说| 国产乱码精品一区二区三区忘忧草| 国产精品色在线观看| 欧美三级日韩在线| 国产在线国偷精品产拍免费yy| 综合激情成人伊人| 日韩美女天天操| 99vv1com这只有精品| 蜜臀精品久久久久久蜜臀 | 欧美视频一区在线| 久久99精品国产麻豆不卡| 中文成人av在线| 欧美丰满高潮xxxx喷水动漫| 国产精品中文欧美| 一级日本不卡的影视| 久久精品一区二区三区不卡| 欧美日韩亚洲综合在线| 国产成人精品www牛牛影视| 亚洲国产一区二区在线播放| 国产日韩欧美a| 欧美久久久久免费| heyzo一本久久综合| 蜜桃免费网站一区二区三区 | 久久这里只有精品首页| 欧美三级在线看| 成人午夜激情影院| 精品一区二区成人精品| 亚洲一区二区三区爽爽爽爽爽| 国产日韩精品一区二区浪潮av| 在线播放/欧美激情| 97超碰欧美中文字幕| 国产精品一区在线观看你懂的| 亚洲3atv精品一区二区三区| 中文字幕中文字幕一区| 26uuu色噜噜精品一区二区| 欧美日韩精品一区二区| 成人免费福利片| 国产精品一区二区免费不卡 | 日韩午夜精品电影| 欧洲精品在线观看| av成人动漫在线观看| 国产呦精品一区二区三区网站| 日韩成人伦理电影在线观看| 亚洲一区二区三区四区在线| 亚洲色图欧美偷拍| 亚洲天堂a在线| **性色生活片久久毛片| 欧美国产亚洲另类动漫| 久久精品视频网| 国产欧美一区二区三区网站| 久久久www免费人成精品| 精品sm在线观看| 欧美精品一区二区三区在线播放| 欧美一区二区播放| 欧美一区二区三区四区高清| 欧美乱妇20p| 7799精品视频| 欧美成人一区二区三区在线观看 | 蜜桃久久久久久| 91免费版pro下载短视频| 国产精品一级在线| 成人综合婷婷国产精品久久蜜臀| 丁香激情综合国产| 97se亚洲国产综合在线| 在线日韩国产精品| 欧美日韩三级一区二区| 欧美一卡二卡三卡四卡| 欧美一级一级性生活免费录像| 日韩免费观看2025年上映的电影| 精品裸体舞一区二区三区| 久久人人97超碰com| 国产精品理伦片| 亚洲精品国产第一综合99久久| 亚洲激情男女视频| 视频一区二区欧美| 韩国女主播一区| 成人永久看片免费视频天堂| 色呦呦日韩精品| 91精品国产入口在线| 国产欧美一区二区精品久导航| 一色屋精品亚洲香蕉网站| 亚洲午夜久久久久| 韩国在线一区二区| 97久久精品人人爽人人爽蜜臀| 欧美色图12p| 国产人伦精品一区二区| 亚洲精品国产视频| 久久99国内精品| 91香蕉视频黄| 欧美videofree性高清杂交| 国产精品热久久久久夜色精品三区| 亚洲制服丝袜一区| 精品无人码麻豆乱码1区2区| 99精品一区二区| 在线综合亚洲欧美在线视频| 亚洲国产精华液网站w| 午夜精品成人在线| 国产a区久久久| 欧美一级高清片| 综合欧美亚洲日本| 国产伦精一区二区三区| 欧美日韩大陆在线| 国产精品成人一区二区艾草| 日韩高清一区在线| 一本久久综合亚洲鲁鲁五月天| 日韩女优电影在线观看| 亚洲精品国产视频| 国产精品99久久久久久似苏梦涵| 欧美日韩一区二区欧美激情| 国产欧美一区二区精品婷婷| 七七婷婷婷婷精品国产| 91蜜桃视频在线| 亚洲国产精品成人综合| 精品一区二区三区在线观看国产| 在线精品国精品国产尤物884a| 国产日韩视频一区二区三区| 日本不卡高清视频| 欧美日韩亚洲综合在线 | 亚洲va中文字幕| 97精品电影院| 中文字幕欧美日韩一区| 国产专区综合网| 666欧美在线视频| 亚洲成人免费在线| 色综合久久久久| 亚洲视频在线一区观看| 国产精品乡下勾搭老头1| 欧美成人欧美edvon| 日本亚洲天堂网| 在线综合视频播放| 日本视频在线一区| 欧美一区二区大片| 另类人妖一区二区av| 在线观看91精品国产麻豆| 亚欧色一区w666天堂| 欧美综合天天夜夜久久| 亚洲一区二区三区四区中文字幕| 91理论电影在线观看|