gooderp18绿色标准版
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
4.2KB

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>65.1. Introduction</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made" href="pgsql-docs@lists.postgresql.org" /><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /><link rel="prev" href="spgist.html" title="Chapter 65. SP-GiST Indexes" /><link rel="next" href="spgist-builtin-opclasses.html" title="65.2. Built-in Operator Classes" /></head><body><div xmlns="http://www.w3.org/TR/xhtml1/transitional" class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="5" align="center">65.1. Introduction</th></tr><tr><td width="10%" align="left"><a accesskey="p" href="spgist.html" title="Chapter 65. SP-GiST Indexes">Prev</a> </td><td width="10%" align="left"><a accesskey="u" href="spgist.html" title="Chapter 65. SP-GiST Indexes">Up</a></td><th width="60%" align="center">Chapter 65. SP-GiST Indexes</th><td width="10%" align="right"><a accesskey="h" href="index.html" title="PostgreSQL 12.4 Documentation">Home</a></td><td width="10%" align="right"> <a accesskey="n" href="spgist-builtin-opclasses.html" title="65.2. Built-in Operator Classes">Next</a></td></tr></table><hr></hr></div><div class="sect1" id="SPGIST-INTRO"><div class="titlepage"><div><div><h2 class="title" style="clear: both">65.1. Introduction</h2></div></div></div><p>
  3. <acronym class="acronym">SP-GiST</acronym> is an abbreviation for space-partitioned
  4. <acronym class="acronym">GiST</acronym>. <acronym class="acronym">SP-GiST</acronym> supports partitioned
  5. search trees, which facilitate development of a wide range of different
  6. non-balanced data structures, such as quad-trees, k-d trees, and radix
  7. trees (tries). The common feature of these structures is that they
  8. repeatedly divide the search space into partitions that need not be
  9. of equal size. Searches that are well matched to the partitioning rule
  10. can be very fast.
  11. </p><p>
  12. These popular data structures were originally developed for in-memory
  13. usage. In main memory, they are usually designed as a set of dynamically
  14. allocated nodes linked by pointers. This is not suitable for direct
  15. storing on disk, since these chains of pointers can be rather long which
  16. would require too many disk accesses. In contrast, disk-based data
  17. structures should have a high fanout to minimize I/O. The challenge
  18. addressed by <acronym class="acronym">SP-GiST</acronym> is to map search tree nodes to
  19. disk pages in such a way that a search need access only a few disk pages,
  20. even if it traverses many nodes.
  21. </p><p>
  22. Like <acronym class="acronym">GiST</acronym>, <acronym class="acronym">SP-GiST</acronym> is meant to allow
  23. the development of custom data types with the appropriate access methods,
  24. by an expert in the domain of the data type, rather than a database expert.
  25. </p><p>
  26. Some of the information here is derived from Purdue University's
  27. SP-GiST Indexing Project
  28. <a class="ulink" href="https://www.cs.purdue.edu/spgist/" target="_top">web site</a>.
  29. The <acronym class="acronym">SP-GiST</acronym> implementation in
  30. <span class="productname">PostgreSQL</span> is primarily maintained by Teodor
  31. Sigaev and Oleg Bartunov, and there is more information on their
  32. <a class="ulink" href="http://www.sai.msu.su/~megera/wiki/spgist_dev" target="_top">web site</a>.
  33. </p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="spgist.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="spgist.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="spgist-builtin-opclasses.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 65. SP-GiST Indexes </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 65.2. Built-in Operator Classes</td></tr></table></div></body></html>
上海开阖软件有限公司 沪ICP备12045867号-1