Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
be88b0d8
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
be88b0d8
编写于
1月 28, 2001
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update FAQ.
上级
08dcf0a6
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
27 addition
and
24 deletion
+27
-24
doc/src/FAQ/FAQ.html
doc/src/FAQ/FAQ.html
+27
-24
未找到文件。
doc/src/FAQ/FAQ.html
浏览文件 @
be88b0d8
...
@@ -53,8 +53,8 @@
...
@@ -53,8 +53,8 @@
</CENTER>
</CENTER>
<A
href=
"#2.1"
>
2.1
</A>
) Are there
<SMALL>
ODBC
</SMALL>
drivers for
<A
href=
"#2.1"
>
2.1
</A>
) Are there
<SMALL>
ODBC
</SMALL>
drivers for
PostgreSQL?
<BR>
PostgreSQL?
<BR>
<A
href=
"#2.2"
>
2.2
</A>
) What tools are available for use
PostgreSQL
<A
href=
"#2.2"
>
2.2
</A>
) What tools are available for use
with Web pages?
<BR>
PostgreSQL
with Web pages?
<BR>
<A
href=
"#2.3"
>
2.3
</A>
) Does PostgreSQL have a graphical user
<A
href=
"#2.3"
>
2.3
</A>
) Does PostgreSQL have a graphical user
interface? A report generator? An embedded query language
interface? A report generator? An embedded query language
interface?
<BR>
interface?
<BR>
...
@@ -103,16 +103,16 @@
...
@@ -103,16 +103,16 @@
database?
<BR>
database?
<BR>
<A
href=
"#4.7"
>
4.7
</A>
) How much database disk space is required
<A
href=
"#4.7"
>
4.7
</A>
) How much database disk space is required
to store data from a typical text file?
<BR>
to store data from a typical text file?
<BR>
<A
href=
"#4.8"
>
4.8
</A>
) How do I find out what tables or
<A
href=
"#4.8"
>
4.8
</A>
) How do I find out what tables or
indexes
indexes
are defined in the database?
<BR>
are defined in the database?
<BR>
<A
href=
"#4.9"
>
4.9
</A>
) My queries are slow or don't make use of
<A
href=
"#4.9"
>
4.9
</A>
) My queries are slow or don't make use of
the indexes. Why?
<BR>
the indexes. Why?
<BR>
<A
href=
"#4.10"
>
4.10
</A>
) How do I see how the query optimizer is
<A
href=
"#4.10"
>
4.10
</A>
) How do I see how the query optimizer is
evaluating my query?
<BR>
evaluating my query?
<BR>
<A
href=
"#4.11"
>
4.11
</A>
) What is an R-tree index?
<BR>
<A
href=
"#4.11"
>
4.11
</A>
) What is an R-tree index?
<BR>
<A
href=
"#4.12"
>
4.12
</A>
) What is the Genetic Query Optimizer?
<BR>
<A
href=
"#4.12"
>
4.12
</A>
) What is the Genetic Query Optimizer?
<BR>
<A
href=
"#4.13"
>
4.13
</A>
) How do I perform regular expression
searches
<A
href=
"#4.13"
>
4.13
</A>
) How do I perform regular expression
and case-insensitive regular expression searches?
<BR>
searches
and case-insensitive regular expression searches?
<BR>
<A
href=
"#4.14"
>
4.14
</A>
) In a query, how do I detect if a field
<A
href=
"#4.14"
>
4.14
</A>
) In a query, how do I detect if a field
is
<SMALL>
NULL
</SMALL>
?
<BR>
is
<SMALL>
NULL
</SMALL>
?
<BR>
<A
href=
"#4.15"
>
4.15
</A>
) What is the difference between the
<A
href=
"#4.15"
>
4.15
</A>
) What is the difference between the
...
@@ -198,8 +198,9 @@
...
@@ -198,8 +198,9 @@
<P>
PostgreSQL Data Base Management System
</P>
<P>
PostgreSQL Data Base Management System
</P>
<P>
Portions copyright (c) 1996-2001, PostgreSQL Global Development Group Portions
<P>
Portions copyright (c) 1996-2001, PostgreSQL Global Development
Copyright (c) 1994-6 Regents of the University of California
</P>
Group Portions Copyright (c) 1994-6 Regents of the University of
California
</P>
<P>
Permission to use, copy, modify, and distribute this software
<P>
Permission to use, copy, modify, and distribute this software
and its documentation for any purpose, without fee, and without a
and its documentation for any purpose, without fee, and without a
...
@@ -499,8 +500,8 @@
...
@@ -499,8 +500,8 @@
"mailto:postgres95@openlink.co.uk"
>
postgres95@openlink.co.uk
</A>
.
</P>
"mailto:postgres95@openlink.co.uk"
>
postgres95@openlink.co.uk
</A>
.
</P>
<P>
See also the
<A
href=
<P>
See also the
<A
href=
"http://www.PostgreSQL.org/users-lounge/docs/programmer/odbc.htm"
>
ODBC
chapter
"http://www.PostgreSQL.org/users-lounge/docs/programmer/odbc.htm"
>
ODBC
of the Programmer's Guide
</A>
.
</P>
chapter
of the Programmer's Guide
</A>
.
</P>
<H4><A
name=
"2.2"
>
2.2
</A>
) What tools are available for using
<H4><A
name=
"2.2"
>
2.2
</A>
) What tools are available for using
PostgreSQL with Web pages?
</H4>
PostgreSQL with Web pages?
</H4>
...
@@ -839,16 +840,16 @@ Maximum number of columns in a table? 250-1600 depending on column types
...
@@ -839,16 +840,16 @@ Maximum number of columns in a table? 250-1600 depending on column types
Maximum number of indexes on a table? unlimited
Maximum number of indexes on a table? unlimited
</PRE>
</PRE>
Of course, these are not actually unlimited, but limited to
Of course, these are not actually unlimited, but limited to
available disk space and memory/swap space.
Performance may
available disk space and memory/swap space.
Performance may suffer
suffer when these values get unusually large.
when these values get unusually large.
<P>
The maximum table size of 16TB does not require large file
<P>
The maximum table size of 16TB does not require large file
support from the operating system.
Large tables are stored
support from the operating system.
Large tables are stored as
as multiple 1GB files.
multiple 1GB files.
</P>
<P>
The maximum table size and maximum number of columns can be
<P>
The maximum table size and maximum number of columns can be
increased by a factor of four if the default block size is
increased by a factor of four if the default block size is
increased to 32k.
increased to 32k.
</P>
<H4><A
name=
"4.7"
>
4.7
</A>
) How much database disk space is required
<H4><A
name=
"4.7"
>
4.7
</A>
) How much database disk space is required
to store data from a typical text file?
<BR>
to store data from a typical text file?
<BR>
...
@@ -883,8 +884,8 @@ Maximum number of indexes on a table? unlimited
...
@@ -883,8 +884,8 @@ Maximum number of indexes on a table? unlimited
<P>
Indexes do not require as much overhead, but do contain the data
<P>
Indexes do not require as much overhead, but do contain the data
that is being indexed, so they can be large also.
</P>
that is being indexed, so they can be large also.
</P>
<H4><A
name=
"4.8"
>
4.8
</A>
) How do I find out what tables or
<H4><A
name=
"4.8"
>
4.8
</A>
) How do I find out what tables or
indexes
indexes
are defined in the database?
</H4>
are defined in the database?
</H4>
<P><I>
psql
</I>
has a variety of backslash commands to show such
<P><I>
psql
</I>
has a variety of backslash commands to show such
information. Use \? to see them.
</P>
information. Use \? to see them.
</P>
...
@@ -966,8 +967,8 @@ Maximum number of indexes on a table? unlimited
...
@@ -966,8 +967,8 @@ Maximum number of indexes on a table? unlimited
<P>
The
<I>
~
</I>
operator does regular expression matching, and
<P>
The
<I>
~
</I>
operator does regular expression matching, and
<I>
~*
</I>
does case-insensitive regular expression matching. The
<I>
~*
</I>
does case-insensitive regular expression matching. The
case-insensitive variant of
<SMALL>
LIKE
</SMALL>
case-insensitive variant of
<SMALL>
LIKE
</SMALL>
is called
is called
<SMALL>
ILIKE
</SMALL>
.
</P>
<SMALL>
ILIKE
</SMALL>
.
</P>
<H4><A
name=
"4.14"
>
4.14
</A>
) In a query, how do I detect if a field
<H4><A
name=
"4.14"
>
4.14
</A>
) In a query, how do I detect if a field
is
<SMALL>
NULL
</SMALL>
?
</H4>
is
<SMALL>
NULL
</SMALL>
?
</H4>
...
@@ -1223,13 +1224,14 @@ BYTEA bytea variable-length byte array (null-safe)
...
@@ -1223,13 +1224,14 @@ BYTEA bytea variable-length byte array (null-safe)
SELECT *
SELECT *
FROM t1 LEFT OUTER JOIN t2 ON (t1.col = t2.col);
FROM t1 LEFT OUTER JOIN t2 ON (t1.col = t2.col);
</PRE>
</PRE>
or
or
<PRE>
<PRE>
SELECT *
SELECT *
FROM t1 LEFT OUTER JOIN t2 USING (col);
FROM t1 LEFT OUTER JOIN t2 USING (col);
</PRE>
</PRE>
These identical queries join t1.col to t2.col, and also return any
unjoined rows in t1 (those with no match in t2). A
<P>
These identical queries join t1.col to t2.col, and also return
any unjoined rows in t1 (those with no match in t2). A
<SMALL>
RIGHT
</SMALL>
join would add unjoined rows of t2. A
<SMALL>
RIGHT
</SMALL>
join would add unjoined rows of t2. A
<SMALL>
FULL
</SMALL>
join would return the matched rows plus all
<SMALL>
FULL
</SMALL>
join would return the matched rows plus all
unjoined rows from t1 and t2. The word
<SMALL>
OUTER
</SMALL>
is
unjoined rows from t1 and t2. The word
<SMALL>
OUTER
</SMALL>
is
...
@@ -1242,7 +1244,7 @@ or
...
@@ -1242,7 +1244,7 @@ or
joining
<I>
tab1
</I>
and
<I>
tab2,
</I>
the following query does an
joining
<I>
tab1
</I>
and
<I>
tab2,
</I>
the following query does an
<I>
outer
</I>
join of the two tables:
<BR>
<I>
outer
</I>
join of the two tables:
<BR>
<BR>
<BR>
</P>
<PRE>
<PRE>
SELECT tab1.col1, tab2.col2
SELECT tab1.col1, tab2.col2
FROM tab1, tab2
FROM tab1, tab2
...
@@ -1296,3 +1298,4 @@ or
...
@@ -1296,3 +1298,4 @@ or
compiler compute the dependencies automatically.
</P>
compiler compute the dependencies automatically.
</P>
</BODY>
</BODY>
</HTML>
</HTML>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录