postgres/doc/FAQ_chinese

726 lines
27 KiB
Plaintext
Raw Normal View History

2005-05-11 06:11:05 +04:00
PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⣨FAQ<41><51>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>£<EFBFBD>2005 <20><> 06 <20><> 02 <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 22:27:35 CST
Ŀǰά<C7B0><CEAC><EFBFBD><EFBFBD>Ա<EFBFBD><D4B1>Bruce Momjian (pgman@candle.pha.pa.us)
<20><><EFBFBD>İ<EFBFBD>ά<EFBFBD><CEAC><EFBFBD><EFBFBD>Ա<EFBFBD><D4B1>doudou586 <20><>doudou586_2005@yahoo.com.cn<63><6E>
<20><><EFBFBD>ĵ<EFBFBD><C4B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>°汾<C2B0><E6B1BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
http://www.postgresql.org/files/documentation/faqs/FAQ.html<6D><EFBFBD><E9BFB4>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵͳƽ̨<C6BD><CCA8><EFBFBD>ص<EFBFBD><D8B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>http://www.postgresql.org/docs/faq/<2F><><EFBFBD>ش<EFBFBD><D8B4><EFBFBD>
_________________________________________________________________
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
1.1)PostgreSQL <20><>ʲô<CAB2><C3B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ô<EFBFBD><C3B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
1.2)PostgreSQL <20>İ<EFBFBD>Ȩ<EFBFBD><C8A8>ʲô<CAB2><C3B4>
1.3)PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>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B9><EFBFBD>PostgreSQL <20><>
<EFBFBD>û<EFBFBD><EFBFBD>ͻ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2.1)<29><><EFBFBD>ǿ<EFBFBD><C7BF><EFBFBD><EFBFBD><EFBFBD>ʲô<CAB2><C3B4><EFBFBD>Ժ<EFBFBD> PostgreSQL <20>򽻵<EFBFBD><F2BDBBB5><EFBFBD>
2.2)<29><>ʲô<CAB2><C3B4><EFBFBD>߿<EFBFBD><DFBF>԰<EFBFBD> PostgreSQL <20><><EFBFBD><EFBFBD> Web ҳ<>
2.3)PostgreSQL ӵ<><D3B5>ͼ<EFBFBD><CDBC><EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
ϵͳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
3.1)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܰ<EFBFBD> PostgreSQL װ<><D7B0> /usr/local/pgsql <20><><EFBFBD><EFBFBD><EFBFBD>ĵط<C4B5><D8B7><EFBFBD>
3.2)<29><><EFBFBD><EFBFBD><EFBFBD>ο<EFBFBD><CEBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӣ<EFBFBD>
3.3)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD><DDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ի<EFBFBD><D4BB>ø<EFBFBD><C3B8>õ<EFBFBD><C3B5><EFBFBD><EFBFBD>ܣ<EFBFBD>
3.4)PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD>Ի<EFBFBD><D4BB><EFBFBD>ʲô<CAB2><C3B4><EFBFBD>ĵ<EFBFBD><C4B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԣ<EFBFBD>
3.5)Ϊʲô<CAB2><C3B4><EFBFBD><EFBFBD>ͼ<EFBFBD><CDBC><EFBFBD>ӵ<EFBFBD>¼ʱ<C2BC>յ<EFBFBD><D5B5><EFBFBD>Sorry, too many clients<74><73> <20><>Ϣ<EFBFBD><CFA2>
3.6)ΪʲôҪ<C3B4><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD> PostgreSQL <20><>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD>汾ʱ<E6B1BE><CAB1> dump <20><> restore <20><>
3.7)(ʹ<><CAB9>PostgreSQL)<29><><EFBFBD><EFBFBD>Ҫʹ<D2AA><CAB9>ʲô<CAB2><C3B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӳ<EFBFBD><D3B2> <20><>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
4.1)<29><><EFBFBD><EFBFBD>ֻѡ<D6BB><D1A1>һ<EFBFBD><D2BB><EFBFBD><EFBFBD>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>У<EFBFBD><D0A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD>У<EFBFBD>
4.2)<29><><EFBFBD>β鿴<CEB2><E9BFB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD><DDBF>Լ<EFBFBD><D4BC>û<EFBFBD><C3BB>Ķ<EFBFBD><C4B6><EFBFBD><E5A3BF><EFBFBD>β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BD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD>к<EFBFBD>/<2F>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֶΣ<D6B6>
4.11.2)<29><><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>кŵ<D0BA>ֵ<EFBFBD><D6B5>
4.11.3)ʹ<><CAB9> currval() <20><EFBFBD>º<EFBFBD><C2BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>race condition<6F><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
4.11.4)Ϊʲô<CAB2><C3B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><ECB3A3>ֹ<EFBFBD><D6B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>к<EFBFBD><D0BA>أ<EFBFBD>Ϊʲô<CAB2><C3B4><EFBFBD><EFBFBD><EFBFBD>к<EFBFBD><D0BA>ֶε<D6B6>ȡֵ<C8A1>
д<><D0B4>ڼ<EFBFBD><DABC><EFBFBD><EFBFBD>أ<EFBFBD>
4.12)ʲô<CAB2><C3B4> OID<49><44>ʲô<CAB2><C3B4> CTID <20><>
4.13)Ϊʲô<CAB2><C3B4><EFBFBD>յ<EFBFBD><D5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2>ERROR: Memory exhausted in
AllocSetAlloc()<29><><EFBFBD><EFBFBD>
4.14)<29><><EFBFBD><EFBFBD><EFBFBD>β<EFBFBD><CEB2><EFBFBD>֪<EFBFBD><D6AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>е<EFBFBD> PostgreSQL <20>İ汾<C4B0><E6B1BE>
4.15)<29><><EFBFBD><EFBFBD><EFBFBD>δ<EFBFBD><CEB4><EFBFBD>һ<EFBFBD><D2BB>ȱʡֵ<CAA1>ǵ<EFBFBD>ǰʱ<C7B0><CAB1><EFBFBD><EFBFBD><EFBFBD>ֶΣ<D6B6>
4.16)<29><><EFBFBD>ν<EFBFBD><CEBD><EFBFBD> outer join <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӣ<EFBFBD><D3A3><EFBFBD>
4.17)<29><><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9><EFBFBD><EFBFBD><E6BCB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD><DDBF>IJ<EFBFBD>ѯ<EFBFBD><D1AF>
4.18)<29><><EFBFBD><EFBFBD><EFBFBD>ú<EFBFBD><C3BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ض<EFBFBD><D8B6>л<EFBFBD><D0BB><EFBFBD><EFBFBD>У<EFBFBD>
4.19)Ϊʲô<CAB2><C3B4><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9>PL/PgSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><C8A1>ʱ<EFBFBD><CAB1>ʱ<EFBFBD><CAB1><EFBFBD>յ<EFBFBD><D5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2>relation
with OID ##### does not exist<73><74><EFBFBD><EFBFBD>
4.20)Ŀǰ<C4BF><C7B0><EFBFBD><EFBFBD>Щ<EFBFBD><D0A9><EFBFBD>ݸ<EFBFBD><DDB8>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>
_________________________________________________________________
<EFBFBD><EFB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BFBD><DFA3><EFBFBD><EFBFBD>DZ鲼<C7B1><E9B2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ز<EFBFBD>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>κι<CEBA>˾<EFBFBD><CBBE><EFBFBD>ơ<EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EBBFAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E9A3AC><EFBFBD>μ<EFBFBD><CEBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD><D4B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⣨FAQ<41><51>
http://www.postgresql.org/files/documentation/faqs/FAQ_DEV.html
1.2)PostgreSQL <20>İ<EFBFBD>Ȩ<EFBFBD><C8A8>ʲô?
PostgreSQL<51>ķ<EFBFBD><C4B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӿ<EFBFBD>
<20><><EFBFBD><EFBFBD>BSD<53><44>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9>û<EFBFBD><C3BB><EFBFBD>κ<EFBFBD><CEBA><EFBFBD><EFBFBD>ƣ<EFBFBD><C6A3><EFBFBD><EFBFBD>Ǻ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD>ʽ<EFBFBD><CABD><EFBFBD>һ
<20>û<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ı<EFBFBD><C4B1><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD>õ<EFBFBD>BSD<53><44>Ȩ<EFBFBD><C8A8><EFBFBD>ݣ<EFBFBD>
<20><><EFBFBD>ְ<EFBFBD>Ȩ<EFBFBD><C8A8>c<EFBFBD><63>1996-2005<30><35>PostgreSQL
ȫ<>򿪷<EFBFBD>С<EFBFBD><EFBFBD><E9A3AC><EFBFBD>ְ<EFBFBD>Ȩ<EFBFBD><C8A8>c<EFBFBD><63>1994-1996 <20><><EFBFBD>ݴ<EFBFBD>ѧ<EFBFBD><D1A7><EFBFBD>
<20><>Portions copyright (c) 1996-2005, PostgreSQL Global Development
Group Portions Copyright (c) 1994-6 Regents of the University of
California<69><61>
2005-05-11 06:11:05 +04:00
<20><><EFBFBD><EFBFBD>Ϊ<EFBFBD>κ<EFBFBD>Ŀ<EFBFBD><C4BF>ʹ<EFBFBD>ã<EFBFBD><C3A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޸ĺͷַ<CDB7><D6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĵ<EFBFBD><C4B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD>κη<CEBA><CEB7><EFBFBD>
<20><>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǩ<EFBFBD><C7A9><EFBFBD><EFBFBD><EFBFBD>˶<EFBFBD><CBB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><D6A4><EFBFBD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>İ<EFBFBD>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD><EFBFBD>ͱ<EFBFBD><CDB1><EFBFBD><EFBFBD>Լ<EFBFBD><D4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20>ֳ<EFBFBD><D6B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>п<EFBFBD><D0BF><EFBFBD><EFBFBD>С<EFBFBD>
<20><>Permission to use, copy, modify, and distribute this software and
its documentation for any purpose, without fee, and without a written
agreement is hereby granted, provided that the above copyright notice
and this paragraph and the following two paragraphs appear in all
copies.<2E><>
2005-05-11 06:11:05 +04:00
<20><><EFBFBD>κ<EFBFBD><CEBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>£<EFBFBD><C2A3><EFBFBD><EFBFBD>ݴ<EFBFBD>ѧ<EFBFBD><D1A7><EFBFBD><EFBFBD><EFBFBD>е<EFBFBD><D0B5><EFBFBD>ʹ<EFBFBD>ô<EFBFBD><C3B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĵ<EFBFBD><C4B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>µĶ<C2B5><C4B6>κε<CEBA><CEB5><EFBFBD><EFBFBD><EFBFBD>
<20><>ֱ<EFBFBD>ӵģ<D3B5>
<20><><EFBFBD>ӵģ<D3B5><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD>ӵĻ<D3B5><C4BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>𻵣<EFBFBD><F0BBB5A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD>ʹ<EFBFBD><CAB9><EFBFBD><EFBFBD>
<20><>ѧ<EFBFBD>Ѿ<EFBFBD><D1BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Щ<EFBFBD><D0A9>ʧ<EFBFBD>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD><EFBFBD>ʱҲ<CAB1><D2B2><EFBFBD><EFBFBD><EFBFBD>ˡ<EFBFBD>
<20><>IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY
PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS
SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA
HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.<2E><>
2005-05-11 06:11:05 +04:00
<20><><EFBFBD>ݴ<EFBFBD>ѧ<EFBFBD><D1A7>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD><EFBFBD>κα<CEBA>֤<EFBFBD><D6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ijһ<C4B3>ض<EFBFBD><D8B6><EFBFBD>;<EFBFBD><CDBE><EFBFBD><EFBFBD>ҵ<EFBFBD><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><>֤<EFBFBD><D6A4>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E1B9A9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǻ<EFBFBD><C7BB>ڡ<EFBFBD><DAA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǡ<EFBFBD><C7A1>Ļ<EFBFBD><C4BB><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݴ<EFBFBD>ѧû<D1A7><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ṩά
<20><><EFBFBD><EFBFBD>֧<EFBFBD>֣<EFBFBD><D6A3><EFBFBD><EFBFBD>£<EFBFBD><C2A3><EFBFBD>ǿ<EFBFBD><C7BF><EFBFBD><EFBFBD><EFBFBD>޸ĵķ<C4B5><C4B7><EFBFBD><EFBFBD><EFBFBD>
<20><>THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT,
UPDATES, ENHANCEMENTS, OR MODIFICATIONS.<2E><>
1.3)PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Щ<EFBFBD><D0A9><EFBFBD><EFBFBD>ϵͳƽ̨<C6BD>ϣ<EFBFBD>
һ<><D2BB>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD>ִ<EFBFBD><D6B4><EFBFBD> UNIX <20><><EFBFBD>ݵ<EFBFBD>ƽ̨<C6BD><CCA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> PostgreSQL
<20><><EFBFBD>ڰ<EFBFBD>װָ<D7B0><D6B8><EFBFBD><EFBFBD><EFBFBD>г<EFBFBD><D0B3>˷<EFBFBD><CBB7><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD>ȷ<EFBFBD><C8B7><EFBFBD>Ե<EFBFBD>ƽ̨<C6BD><CCA8>
PostgreSQlҲ<6C><D2B2><EFBFBD><EFBFBD>ֱ<EFBFBD><D6B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڻ<EFBFBD><DABB><EFBFBD>΢<EFBFBD><CEA2>Windows-NT<4E>IJ<EFBFBD><C4B2><EFBFBD>ϵͳ<CFB5><CDB3><EFBFBD><EFBFBD>Win2000<30><30>Win
XP <20><> Win2003<30><33><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɵİ<C9B5>װ<EFBFBD><D7B0><EFBFBD>ɴ<EFBFBD>
http://pgfoundry.org/projects/pginstaller<65><72><EFBFBD>أ<EFBFBD><D8A3><EFBFBD><EFBFBD><EFBFBD>MSDOS<4F><53>Windows<77><73><EFBFBD><EFBFBD><EFBFBD>
<20>ͳ <20><>Win95<39><35>Win98<39><38>WinMe<4D><65><EFBFBD><EFBFBD>Ҫͨ<D2AA><CDA8>Cygwinģ<6E><EFBFBD><E2BBB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<51><4C>
ͬʱҲ<CAB1><D2B2>һ<EFBFBD><D2BB>ΪNovell Netware 6<><36><EFBFBD><EFBFBD><EFBFBD>İ汾<C4B0>ɴ<EFBFBD> http://forge.novell.com
<20><>ȡ<EFBFBD><C8A1>ΪOS/2<><32><EFBFBD><EFBFBD><EFBFBD>İ汾<C4B0>ɴ<EFBFBD>
http://hobbes.nmsu.edu/cgi-bin/h-search?sh=1&button=Search&key=postgre
SQL&stype=all&sort=type&dir=%2F
1.4)<29>Ҵ<EFBFBD><D2B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܵõ<DCB5> PostgreSQL<51><4C>
ͨ<><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɴ<EFBFBD>http://www.postgresql.org/ftp/<2F><><EFBFBD>أ<EFBFBD>Ҳ<EFBFBD><D2B2>ͨ<EFBFBD><CDA8>FTP<54><50><EFBFBD><EFBFBD>
ftp://ftp.PostgreSQL.org/pub/վ<><D5BE><EFBFBD><EFBFBD><EFBFBD>ء<EFBFBD>
1.5)<29>Ҵ<EFBFBD><D2B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܵõ<DCB5><C3B5><EFBFBD> PostgreSQL <20><>֧<EFBFBD>֣<EFBFBD>
PostgreSQL<51><4C><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8><EFBFBD>ʼ<EFBFBD><CABC>б<EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD><E1B9A9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ<EFBFBD><CABC>б<EFBFBD><D0B1><EFBFBD><EFBFBD><EFBFBD>վ<EFBFBD><D5BE>
<20><>
http://www.postgresql.org/community/lists/<2F><>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>£<EFBFBD><C2A3>ȼ<EFBFBD><C8BC><EFBFBD>General
<20><> Bug<75>ʼ<EFBFBD><CABC>б<EFBFBD><D0B1><EFBFBD>һ<EFBFBD><D2BB><EFBFBD>ϺõĿ<C3B5>ʼ<EFBFBD><CABC>
<20><>Ҫ<EFBFBD><D2AA>IRCƵ<43><C6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>FreeNode(irc.freenode.net)<29><>#postgresql<71><6C>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>Ƶ
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9>UNIX<49><58><EFBFBD><EFBFBD>irc<72><63><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD> irc -c '#postgresql' "$USER"
irc.freenode.net
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>IRC<52>ͻ<EFBFBD><CDBB>˳<EFBFBD><CBB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>л<EFBFBD><D0BB><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD>
<20>(#postgersql-es)<29>ͷ<EFBFBD><CDB7><EFBFBD>Ƶ<EFBFBD><C6B5>
(#postgresql-fr)<29><>ͬ<EFBFBD><CDAC><EFBFBD>أ<EFBFBD><D8A3><EFBFBD>EFNET<45><54>Ҳ<EFBFBD><D2B2>һ<EFBFBD><D2BB>PostgreSQL<51>Ľ<EFBFBD><C4BD><EFBFBD>Ƶ<EFBFBD><C6B5><EFBFBD><EFBFBD>
<20><>ҵ֧<D2B5>ֹ<EFBFBD>˾<EFBFBD><CBBE><EFBFBD>б<EFBFBD><D0B1><EFBFBD> http://techdocs.postgresql.org/companies.php<68><70>
1.6)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<E1BDBB><D2BB>BUG<55><47><EFBFBD>
<20>ɷ<EFBFBD><C9B7><EFBFBD>
http://www.postgresql.org/support/submitbug<75><67><EFBFBD><EFBFBD>дBug<75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D><EFBFBD><EFBFBD>ӡ<EFBFBD><D3A1>μ<EFBFBD>
/doc Ŀ¼<C4BF><C2BC><EFBFBD><EFBFBD>ע<EFBFBD><D7A2>ӦΪ $PGHOME/doc<6F><63><EFBFBD><EFBFBD> <20><EFBFBD><E3BBB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> PostgreSQL
<20><><EFBFBD>ֲᣬ<D6B2><E1A3AC><EFBFBD><EFBFBD>ַ<EFBFBD>ǣ<EFBFBD>http://www.PostgreSQL.org/docs<63><73>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E1B9A9><EFBFBD><EFBFBD>
http://www.PostgreSQL.org/docs/awbook.html <20><>
http://www.commandprompt.com/ppbook/ <20><>
Ҳ<>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<51><EFBFBD>ɹ<EFBFBD><C9B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD>е<EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Korry
Douglas<61><73>д<EFBFBD>ġ<EFBFBD><C4A1><EFBFBD>
http://techdocs.PostgreSQL.org/techdocs/bookreviews.php<68><70>
<20><><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>й<EFBFBD>PostgreSQL<51><EFBFBD>ļ<EFBFBD><C4BC><20><>
http://techdocs.PostgreSQL.org/<2F><><EFBFBD>ռ<EFBFBD><D5BC><EFBFBD><EFBFBD>й<EFBFBD> PostgreSQL
<20>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBF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>б<EFBFBD><D0B1><EFBFBD><EFBFBD><EFBFBD>ȡһ<C8A1><D2BB><EFBFBD><EFBFBD>֪Bug<75><67><EFBFBD><EFBFBD>ȱ<EFBFBD>Ĺ<EFBFBD><C4B9>ܺͽ<DCBA><CDBD><EFBFBD><EFBFBD>ļƻ<C4BC><C6BB><EFBFBD>
1.10)<29><>Ӧ<EFBFBD><D3A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѧϰ SQL <20><>
<20><><EFBFBD>ȿ<EFBFBD><C8BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E1B5BD><EFBFBD><EFBFBD>PostgreSQL<51><4C><EFBFBD>ص<EFBFBD><D8B5><EFBFBD><E9BCAE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD>Teach Yourself SQL
in 21 Days, Second Edition<6F><6E> <20><><EFBFBD>ǵ<EFBFBD><C7B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD>ϲ<EFBFBD><CFB2>The Practical SQL
Handbook Bowman, Judith S., et al., Addison-Wesley<65><79><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϲ<EFBFBD><CFB2> The
Complete Reference SQL, Groff et al., McGraw-Hill<6C><6C>
1.11)<29><>Ӧ<EFBFBD><D3A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EBBFAA><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD> Developer's FAQ <20><>
1.12)PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ϵͳ<CFB5><CDB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD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BFBD>
<20><><EFBFBD><EFBFBD><EFBFBD>ۼ<EFBFBD><DBBC>ɣ<EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD>PostgreSQL<51>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Developer's FAQ <20><>ȡ<EFBFBD><C8A1>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>
_________________________________________________________________
<EFBFBD>û<EFBFBD><EFBFBD>ͻ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2.1)<29><><EFBFBD>ǿ<EFBFBD><C7BF><EFBFBD><EFBFBD><EFBFBD>ʲô<CAB2><C3B4><EFBFBD>Ժ<EFBFBD> PostgreSQL <20>򽻵<EFBFBD><F2BDBBB5><EFBFBD>
PostgreSQL(ȱʡ<C8B1><CAA1><EFBFBD><EFBFBD><><D6BB>װ<EFBFBD><D7B0>C<EFBFBD><43><EFBFBD><EFBFBD>ǶʽC<CABD>Ľӿڣ<D3BF><DAA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ľӿڶ<D3BF><DAB6>Ƕ<EFBFBD><C7B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ
<20><><EFBFBD>ܹ<EFBFBD><DCB9>ֱ<EFBFBD><D6B1><EFBFBD><EFBFBD>أ<EFBFBD><D8A3><EFBFBD>Щ<EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD><EFBFBD>ĺô<C4BA>
<20><><EFBFBD><EFBFBD><EFBFBD>ǿ<EFBFBD><C7BF><EFBFBD><EFBFBD>и<EFBFBD><D0B8>Եķ<D4B5><C4B7><EFBFBD><EFBFBD>ƻ<EFBFBD><C6BB>͸<EFBFBD><CDB8>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD>
һЩ<D2BB><D0A9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PHP<48><50><EFBFBD>з<EFBFBD><D0B7><EFBFBD> PostgreSQL
<20>Ľӿڣ<D3BF>Perl,TCL,Python<6F>Լ<EFBFBD><D4BC>ܶ<EFBFBD><DCB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԵĽӿ<C4BD><D3BF><EFBFBD>
http://gborg.postgresql.org <20>ϵ<EFBFBD>Drivers/InterfacesС<73>ڿ<EFBFBD><DABF>ҵ<EFBFBD><D2B5><EFBFBD>
<20><><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8>Internet<65><74><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2.2)<29><>ʲô<CAB2><C3B4><EFBFBD>߿<EFBFBD><DFBF>԰<EFBFBD> PostgreSQL <20><><EFBFBD><EFBFBD> Web ҳ<>
һ<><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>Ϊ<EFBFBD><CEAA>̨<EFBFBD><CCA8>ͦ<EFBFBD><CDA6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>վ<EFBFBD><D5BE><EFBFBD>ǣ<EFBFBD>http://www.webreview.com<6F><6D>
<20><><EFBFBD><EFBFBD> Web <20><><EFBFBD>ɣ<EFBFBD>PHP <20><>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD>õĽӿڡ<D3BF><DAA1><EFBFBD><EFBFBD>ڣ<EFBFBD>http://www.php.net/<2F><>
<20><><EFBFBD>ڸ<EFBFBD><DAB8>ӵ<EFBFBD><D3B5><EFBFBD><EFBFBD>񣬺ܶ<F1A3ACBA><DCB6>˲<EFBFBD><CBB2><EFBFBD> Perl <20>ӿں<D3BF> CGI.pm <20><> mod_perl <20><>
2.3)PostgreSQL ӵ<><D3B5>ͼ<EFBFBD><CDBC><EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20>ǵģ<C7B5><C4A3><EFBFBD>
http://techdocs.postgresql.org/guides/GUITools<6C><73>һ<EFBFBD><D2BB><EFBFBD><EFBFBD>ϸ<EFBFBD><CFB8><EFBFBD>б<EFBFBD><D0B1><EFBFBD>
_________________________________________________________________
ϵͳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
3.1)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܰ<EFBFBD> PostgreSQL װ<><D7B0> /usr/local/pgsql <20><><EFBFBD><EFBFBD><EFBFBD>ĵط<C4B5><D8B7><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> configure ʱ<><CAB1><EFBFBD><EFBFBD> --prefix ѡ<>
3.2)<29><><EFBFBD><EFBFBD><EFBFBD>ο<EFBFBD><CEBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӣ<EFBFBD>
ȱʡʱ<CAA1><CAB1>PostgreSQL ֻ<><D6BB><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8> unix
<20><><EFBFBD>׽<EFBFBD><D7BD>ֻ<EFBFBD>TCP/IP<49><50>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD><D4B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӡ<EFBFBD>
<20><>ֻ<EFBFBD><D6BB><EFBFBD><EFBFBD><EFBFBD>޸<EFBFBD><DEB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>postgresql.conf<6E>е<EFBFBD>listen_addresses<65><73><EFBFBD><EFBFBD>Ҳ<EFBFBD><D2B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
ļ<>pg_hba.conf<6E>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD> host-based
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><D6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Dz<EFBFBD><C7B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӵġ<D3B5>
3.3)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD><DDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ի<EFBFBD><D4BB>ø<EFBFBD><C3B8>õ<EFBFBD><C3B5><EFBFBD><EFBFBD>ܣ<EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<51><4C>DZ<EFBFBD>ܡ<EFBFBD>
<20><>ѯ<EFBFBD><D1AF>ʽ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<><CAB9>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD>ѯ<EFBFBD><D1AF>Prepared Query)<29><>
+ ʹ<><CAB9>ANALYZE<5A>Ա<EFBFBD><D4B1>־<EFBFBD>ȷ<EFBFBD><C8B7><EFBFBD>Ż<EFBFBD>ͳ<EFBFBD>ƣ<EFBFBD>
+ <20><><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9> VACUUM <20><> pg_autovacuum
+ <20><><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݸ<EFBFBD><DDB8><EFBFBD>ʱ<EFBFBD><CAB1>ɾ<EFBFBD><C9BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȼ<EFBFBD><C8BB><EFBFBD>ؽ<EFBFBD><D8BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>postgres.conf<6E>еĺܶ<C4BA><DCB6><EFBFBD><EFBFBD>ö<EFBFBD><C3B6><EFBFBD>Ӱ<EFBFBD><D3B0><EFBFBD><EFBFBD><EFBFBD>ܣ<EFBFBD><DCA3><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD><D0B1><EFBFBD>
<20><><EFBFBD><EFBFBD> Administration Guide/Server Run-time Environment/Run-time
Configuration<6F><6E> <20>йز<D0B9><D8B2><EFBFBD><EFBFBD>Ľ<EFBFBD><C4BD>Ϳɼ<CDBF><C9BC><EFBFBD>
http://www.varlena.com/varlena/GeneralBits/Tidbits/annotated_co
nf_e.html <20><>
http://www.varlena.com/varlena/GeneralBits/Tidbits/perf.html<6D><6C>
Ӳ<><D3B2><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӳ<EFBFBD><D3B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܵ<EFBFBD>Ӱ<EFBFBD><D3B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
http://candle.pha.pa.us/main/writings/pgsql/hw_performance/inde
x.html <20><> http://www.powerpostgresql.com/PerfList/<2F><>
3.4)PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD>Ի<EFBFBD><D4BB><EFBFBD>ʲô<CAB2><C3B4><EFBFBD>ĵ<EFBFBD><C4B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԣ<EFBFBD>
PostgreSQL <20>кܶ<D0BA><DCB6><EFBFBD><EFBFBD><EFBFBD> log_*
<20>ķ<EFBFBD><C4B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ñ<EFBFBD><C3B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڲ<EFBFBD>ѯ<EFBFBD>Ĵ<EFBFBD>ӡ<EFBFBD>ͽ<EFBFBD><CDBD><EFBFBD>ͳ<EFBFBD>ƣ<EFBFBD><C6A3><EFBFBD><EFBFBD><EFBFBD>Щ<EFBFBD><D0A9><EFBFBD><EFBFBD><EFBFBD>Ե<EFBFBD><D4B5>Ժ<EFBFBD><D4BA><EFBFBD><EFBFBD>ܲ<EFBFBD><DCB2><EFBFBD>
<20><><EFBFBD>а<EFBFBD><D0B0><EFBFBD><EFBFBD><EFBFBD>
3.5)Ϊʲô<CAB2><C3B4><EFBFBD><EFBFBD>ͼ<EFBFBD><CDBC><EFBFBD><EFBFBD>ʱ<EFBFBD>յ<EFBFBD><D5B5><EFBFBD>Sorry, too many clients<74><73><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2>
<20><><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD>Ѵﵽȱʡ100<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̨<EFBFBD><CCA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƣ<EFBFBD><C6A3><EFBFBD><EFBFBD><EFBFBD>Ҫͨ<D2AA><CDA8><EFBFBD>޸<EFBFBD>postgresql.
conf<6E>ļ<EFBFBD><C4BC>е<EFBFBD>max_connectionsֵ<73><D6B5>
<20><><EFBFBD><EFBFBD>postmaster<65>ĺ<EFBFBD>̨<EFBFBD><CCA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޸ĺ<DEB8><C4BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>postmaster<65><72>
3.6)ΪʲôҪ<C3B4><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD> PostgreSQL <20><>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD>汾ʱ<E6B1BE><CAB1> dump <20><> restore <20><>
PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ÿ<EFBFBD><C3BF>С<EFBFBD><D0A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˽<EFBFBD><CBBD>ٵ<EFBFBD><D9B5>޸ģ<DEB8><C4A3><EFBFBD><EFBFBD>˴<EFBFBD> 7.4.0 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
7.4.1 <20><><EFBFBD><EFBFBD>Ҫ dump <20><> restore<72><65> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E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BD><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫȫ<D2AA><C8AB><EFBFBD><EFBFBD><EFBFBD>о<EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӳ<EFBFBD><D3B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20>ˡ<EFBFBD><CBA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǵ<EFBFBD><C7B5>ʼ<EFBFBD><CABC>б<EFBFBD><D0B1><EFBFBD>Ҳ<EFBFBD>й<EFBFBD><D0B9><EFBFBD> Ӳ<><D3B2><EFBFBD><EFBFBD><EFBFBD>ú<EFBFBD><C3BA>Լ۱ȵ<DBB1><C8B5><EFBFBD><EFBFBD>ۡ<EFBFBD>
_________________________________________________________________
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
4.1)<29><><EFBFBD><EFBFBD>ֻѡ<D6BB><D1A1>һ<EFBFBD><D2BB><EFBFBD><EFBFBD>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>У<EFBFBD><D0A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD>У<EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֻ<EFBFBD><D6BB>Ҫ<EFBFBD><D2AA>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݣ<EFBFBD><DDA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD>в<EFBFBD>ѯ<EFBFBD><D1AF>֪<EFBFBD><D6AA>ȷ<EFBFBD>е<EFBFBD><D0B5><EFBFBD><EFBFBD><EFBFBD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ģ<EFBFBD>
SELECT cols
FROM tab
ORDER BY random()
LIMIT 1 ;
4.2)<29><><EFBFBD>β鿴<CEB2><E9BFB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD><DDBF>Լ<EFBFBD><D4BC>û<EFBFBD><C3BB>Ķ<EFBFBD><C4B6><EFBFBD><E5A3BF><EFBFBD>β鿴psql<71><6C><EFBFBD>õ<EFBFBD><C3B5>IJ<EFBFBD>ѯָ<D1AF><EFBFBD>
<20>ʾ<EFBFBD><CABE><EFBFBD>ǣ<EFBFBD>
<20><>psql<71><6C>ʹ<EFBFBD><CAB9> \dt
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD>ݱ<EFBFBD><DDB1>Ķ<EFBFBD><C4B6>壬Ҫ<E5A3AC>˽<EFBFBD>psql<71>е<EFBFBD><D0B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD><D0B1><EFBFBD>ʹ<EFBFBD><CAB9>\?
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E2A3AC>Ҳ<EFBFBD><D2B2><EFBFBD><EFBFBD><EFBFBD>Ķ<EFBFBD> psql <20><>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD>
<20>ļ<EFBFBD>pgsql/src/bin/psql/describe.c<><63><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD>psql<71><6C>б<EFBFBD><D0B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD> SQL <20><><EFBFBD><EFBFBD><EFBFBD><E3BBB9><EFBFBD>Դ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gsql/src/tutorial/syscat.source<63>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>о<EFBFBD><D0BE>˺ܶ<CBBA><DCB6>ɴ<EFBFBD><C9B4><EFBFBD><EFBFBD>ݿ<EFBFBD>ϵͳ<CFB5><CDB3><EFBFBD>л<EFBFBD>
ȡ<><C8A1>Ϣ<EFBFBD><CFA2>SELECT<43><EFBFBD><EFB7A8>
4.3)<29><><EFBFBD>θ<EFBFBD><CEB8><EFBFBD>һ<EFBFBD><D2BB><EFBFBD>ֶε<D6B6><CEB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͣ<EFBFBD>
<20><>8.0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD>ֶε<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͺ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ף<EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD> ALTER TABLE ALTER
COLUMN TYPE <20><>
<20><><EFBFBD><EFBFBD>ǰ<EFBFBD>İ汾<C4B0>У<EFBFBD><D0A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
BEGIN;
ALTER TABLE tab ADD COLUMN new_col new_data_type;
UPDATE tab SET new_col = CAST(old_col AS new_data_type);
ALTER TABLE tab DROP COLUMN old_col;
COMMIT;
<20><>Ȼ<EFBFBD><C8BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9>VACUUM FULL tab ָ<><D6B8><EFBFBD><EFBFBD>ʹϵͳ<CFB5>ջ<EFBFBD><D5BB><EFBFBD>Ч<EFBFBD><D0A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ռ<EFBFBD>õĿռ
4.4)һ<>м<EFBFBD>¼<EFBFBD><C2BC>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߴ<EFBFBD><DFB4>Ƕ<EFBFBD><C7B6>٣<EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һЩ<D2BB><D0A9><EFBFBD>ƣ<EFBFBD>
һ<><D2BB><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD><DDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߴ<20><><EFBFBD><EFBFBD><EFBFBD>ƣ<EFBFBD><C6A3>Ѵ<EFBFBD><D1B4><EFBFBD><EFBFBD><EFBFBD> 32TB <20><><EFBFBD><EFBFBD><EFBFBD>ݿ⣩
һ<><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߴ磿 32 TB
һ<>м<EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߴ磿 1.6 TB
һ<><D2BB><EFBFBD>ֶε<D6B6><CEB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߴ<EFBFBD>? 1 GB
һ<><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
һ<><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 250-1600 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>йأ<D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ԫ<EFBFBD><D4AA><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8>
----------------------------------------
60 <20>ֽ<EFBFBD>ÿ<EFBFBD><C3BF>
PostgreSQL <20><><EFBFBD><EFBFBD>ҳ<EFBFBD>Ĵ<EFBFBD>С<EFBFBD><D0A1> 8192 <20>ֽ<EFBFBD> (8 KB)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
8192 <20>ֽ<EFBFBD>ÿҳ
------------------- = 136 <20><>/<2F><><EFBFBD><EFBFBD>ҳ<EFBFBD><D2B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>
60 <20>ֽ<EFBFBD>ÿ<EFBFBD><C3BF>
100000 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
-------------------- = 735 <20><><EFBFBD><EFBFBD>ҳ<EFBFBD><D2B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>
128 <20><>ÿҳ
735 <20><><EFBFBD><EFBFBD>ҳ * 8192 <20>ֽ<EFBFBD>/ҳ = 6,021,120 <20>ֽڣ<D6BD>6 MB<4D><42>
2005-05-11 06:11:05 +04:00
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA>ô<EFBFBD><C3B4><EFBFBD>Ķ<EFBFBD><C4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD>Ҳȷʵ<C8B7><CAB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݣ<EFBFBD><DDA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҳ<EFBFBD><D2B2><EFBFBD>ܺ<EFBFBD>
<20><><EFBFBD><EFBFBD>
<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.8
2005-05-16 06:50:20 +04:00
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĺ<EFBFBD><C4BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* <20><><EFBFBD><EFBFBD> initdb ʱ<><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȱʡ<C8B1>ı<EFBFBD><C4B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> C
locale<6C><65><EFBFBD><EFBFBD>Ϊϵͳ<CFB5><CDB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֪<EFBFBD><D6AA><EFBFBD>ڷ<EFBFBD>C locale<6C><65><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD>ʲô<CAB2><C3B4>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>£<EFBFBD><C2A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դ<EFBFBD><D4B4><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>text_pattern_ops<70><73><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>LIKE<4B><45>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><>8.0֮ǰ<EFBFBD>İ汾<EFBFBD>У<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD>ѯ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͺ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>δ<EFBFBD><CEB4><EFBFBD>õ<EFBFBD><C3B5><EFBFBD><EFBFBD>ر<EFBFBD><D8B1>Ƕ<EFBFBD>int2,int8<74><38><EFBFBD><EFBFBD>ֵ<EFBFBD>͵<EFBFBD><CDB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
4.7)<29><><EFBFBD><EFBFBD><EFBFBD>β<EFBFBD><CEB2>ܿ<EFBFBD><DCBF><EFBFBD><EFBFBD><EFBFBD>ѯ<EFBFBD>Ż<EFBFBD><C5BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҵIJ<D2B5>ѯ<EFBFBD><D1AF>
<20>ο<EFBFBD> EXPLAIN <20>ֲ<EFBFBD>ҳ<EFBFBD><D2B3>
4.8)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD>Сд<D0A1>޹ص<DEB9><D8B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD><EFBFBD>ң<EFBFBD><D2A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4>
<20>д<EFBFBD>޹ز<DEB9><D8B2>ң<EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ~ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽƥ<CABD><EFBFBD><E4A3AC> ~*
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Сд<D0A1>޹ص<DEB9><D8B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽƥ<CABD><EFBFBD><E4A1A3>дЩ<D0B4>޹ص<DEB9> LIKE <20><><EFBFBD>ֳ<EFBFBD>Ϊ ILIKE<4B><45>
<20><>Сд<D0A1>޹صĵ<D8B5>ʽ<EFBFBD>Ƚ<EFBFBD>ͨ<EFBFBD><CDA8>д<EFBFBD><D0B4><EFBFBD><EFBFBD>
SELECT *
FROM tab
WHERE lower(col) = 'abc';
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD>ñ<EFBFBD>׼<EFBFBD><D7BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǿ<EFBFBD><C7BF>Դ<EFBFBD><D4B4><EFBFBD>һ<EFBFBD><D2BB><EFBFBD>ɱ<EFBFBD><C9B1><EFBFBD><EFBFBD>õĺ<C3B5><C4BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
CREATE INDEX tabindex ON tab (lower(col));
4.9)<29><>һ<EFBFBD><D2BB><EFBFBD><EFBFBD>ѯ<EFBFBD><EFBFBD><EFA3AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD>ֶ<EFBFBD><D6B6>Ƿ<EFBFBD>Ϊ NULL
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>β<EFBFBD><CEB2><EFBFBD>׼ȷ<D7BC><C8B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ij<EFBFBD>ֶ<EFBFBD><D6B6>Ƿ<EFBFBD><C7B7><EFBFBD> NULL ֵ<><D6B5>
<20><> IS NULL <20><> IS NOT NULL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֶΣ<D6B6><CEA3><EFBFBD><EFBFBD><EFBFBD><E5B7BD><EFBFBD><EFBFBD><EFBFBD>£<EFBFBD>
SELECT *
FROM tab
WHERE col IS NULL;
Ϊ<><CEAA><EFBFBD>ܶԺ<DCB6> NULL<4C>ֶ<EFBFBD><D6B6><EFBFBD><EFBFBD>򣬿<EFBFBD><F2A3ACBF><EFBFBD> ORDER BY <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9> IS NULL<4C><4C> IS NOT
NULL <20><><EFBFBD>η<EFBFBD><CEB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA> true <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA>false
<20><><EFBFBD><EFBFBD>ǰ<EFBFBD><EFBFBD><E6A3AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӾͻὫ<CDBB><E1BDAB> NULL <20>ļ<EFBFBD>¼<EFBFBD><C2BC><EFBFBD>ڽ<EFBFBD><DABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>沿<EFBFBD>֣<EFBFBD>
SELECT *
FROM tab
ORDER BY (col IS NOT NULL)
4.10)<29><><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD>֮<EFBFBD><D6AE><EFBFBD><EFBFBD>ʲô<CAB2><C3B4>ͬ<EFBFBD><CDAC>
<20><><EFBFBD><EFBFBD> <20>ڲ<EFBFBD><DAB2><EFBFBD><EFBFBD><EFBFBD> ˵<><CBB5>
VARCHAR(n) varchar
ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>󳤶ȣ<F3B3A4B6><C8A3><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȵIJ<C8B5><C4B2>ֲ<EFBFBD><D6B2><EFBFBD><EFBFBD><EFBFBD>
CHAR(n) bpchar <20><><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5><EFBFBD><EFBFBD><EFBFBD>ݲ<EFBFBD><DDB2><EFBFBD><EFBFBD><E5B3A4>ʱ<EFBFBD><CAB1><EFBFBD>Կո<D4BF><D5B8><EFBFBD><EFBFBD><EFBFBD>
TEXT text û<><C3BB><EFBFBD>ر<EFBFBD><D8B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƣ<EFBFBD><C6A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>е<EFBFBD><D0B5><EFBFBD><EFBFBD>󳤶<EFBFBD><F3B3A4B6><EFBFBD><EFBFBD>ƣ<EFBFBD>
BYTEA bytea <20><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD><EFBFBD>У<EFBFBD>ʹ<EFBFBD><CAB9>NULLҲ<4C><D2B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD>
"char" char һ<><D2BB><EFBFBD>ַ<EFBFBD>
2005-05-11 06:11:05 +04:00
<20><>ϵͳ<CFB5><CDB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һЩ<D2BB><D0A9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFB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FBD><EFBFBD><EFBFBD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD> NULL
<20>ֽڵ<D6BD>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD>Щ<EFBFBD><D0A9><EFBFBD>;<EFBFBD><CDBE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD><C6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԡ<EFBFBD>
4.11.1)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD>к<EFBFBD>/<2F>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֶΣ<D6B6>
PostgreSQL ֧<><D6A7> SERIAL
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͡<EFBFBD><CDA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֶ<EFBFBD><D6B6><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD>к<EFBFBD><D0BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
CREATE TABLE person (
id SERIAL,
name TEXT
);
<20><><EFBFBD>Զ<EFBFBD>ת<EFBFBD><D7AA>Ϊ<EFBFBD><CEAA>
CREATE SEQUENCE person_id_seq;
CREATE TABLE person (
id INT4 NOT NULL DEFAULT nextval('person_id_seq'),
name TEXT
);
<20>ο<EFBFBD> create_sequence <20>ֲ<EFBFBD>ҳ<EFBFBD><D2B3>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>еĸ<D0B5><C4B8><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2>
4.11.2)<29><><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>кŵ<D0BA>ֵ<EFBFBD><D6B5>
һ<>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڲ<EFBFBD><DAB2><EFBFBD>֮ǰ<D6AE><C7B0><EFBFBD>ú<EFBFBD><C3BA><EFBFBD> nextval() <20><><EFBFBD><EFBFBD><EFBFBD>ж<EFBFBD><D0B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB> SERIAL
ֵ<><D6B5>Ȼ<EFBFBD><C8BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD><EFBFBD>ʹ<EBA1A3><CAB9> 4.11.1 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>α<EFBFBD><CEB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
new_id = execute("SELECT nextval('person_id_seq')");
execute("INSERT INTO person (id, name) VALUES (new_id, 'Blaise Pascal')");
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ<EFBFBD><D1AF>ʹ<EFBFBD>ô<EFBFBD><C3B4><EFBFBD><EFBFBD><EFBFBD> new_id <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7A3AC>Ϊ person
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ע<><D7A2><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> SEQUENCE <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƽ<EFBFBD><C6BD><EFBFBD><EFBFBD><EFBFBD>
<table>_<serialcolumn>_seq<65><71> <20><><EFBFBD><EFBFBD> table <20><> serialcolumn
<20>ֱ<EFBFBD><D6B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD><C4B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƺ<EFBFBD><C6BA><EFBFBD><EFBFBD><EFBFBD> SERIAL <20>ֶε<D6B6><CEB5><EFBFBD><EFBFBD>ơ<EFBFBD>
<20><><EFBFBD>Ƶģ<C6B5><C4A3><EFBFBD> SERIAL <20><><EFBFBD><EFBFBD>ȱʡ<C8B1><CAA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ú<EFBFBD><C3BA><EFBFBD> currval() <20><><EFBFBD><EFBFBD><EFBFBD>ո<EFBFBD>ֵ<EFBFBD><D6B5>
SERIAL ֵ<><D6B5><EFBFBD><EFBFBD><EFBFBD>
execute("INSERT INTO person (name) VALUES ('Blaise Pascal')");
new_id = execute("SELECT currval('person_id_seq')");
4.11.3)ʹ<><CAB9> currval() <20><EFBFBD>º<EFBFBD><C2BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB>ij<EFBFBD>ͻ<EFBFBD><CDBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>race condition<6F><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD>ᡣcurrval() <20><><EFBFBD>ص<EFBFBD><D8B5><EFBFBD><EFBFBD><EFBFBD>λỰ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BFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>кŻ<D0BA><C5BB><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD><EFBFBD><EFBFBD>
4.12)ʲô<CAB2><C3B4> OID <20><>ʲô<CAB2><C3B4> CTID <20><>
PostgreSQL
<20><EFBFBD><EFB4B4><EFBFBD><EFBFBD>ÿһ<C3BF>м<EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>Ψһ<CEA8><D2BB>OID<49><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD><EFBFBD><EFBFBD>ʱʹ<CAB1><CAB9>WITHOUT
OIDSѡ<53> OID<49><44><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>4<EFBFBD>ֽڵ<D6BD><DAB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> OID <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
PostgreSQL <20>о<EFBFBD><D0BE><EFBFBD>Ψһ<CEA8>ġ<EFBFBD> Ȼ<><C8BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڳ<EFBFBD><DAB3><EFBFBD>40<34><30>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
OID<49>˺<EFBFBD><CBBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ظ<EFBFBD><D8B8><EFBFBD>PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڲ<EFBFBD>ϵͳ<CFB5><CDB3><EF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Ļ<EFBFBD><C4BB><EFBFBD><EFBFBD>غ<EFBFBD><D8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ı<C4B1><E4A1A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>С<EFBFBD>
4.13)Ϊʲô<CAB2><C3B4><EFBFBD>յ<EFBFBD><D5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2>ERROR: Memory exhausted in AllocSetAlloc()<29><><EFBFBD><EFBFBD>
<20><><EFBFBD>ܿ<EFBFBD><DCBF><EFBFBD><EFBFBD><EFBFBD>ϵͳ<CFB5><CDB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4>ù<EFBFBD><C3B9>ˣ<EFBFBD><CBA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ں˶<DABA>ijЩ<C4B3><D0A9>Դ<EFBFBD>нϵ͵<CFB5><CDB5><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><> postmaster ֮ǰ<D6AE><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
ulimit -d 262144
limit datasize 256m
ȡ<><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD>
shell<6C><6C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֻ<EFBFBD><D6BB>һ<EFBFBD><D2BB><EFBFBD>ܳɹ<DCB3><C9B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><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><EFBFBD><EFBFBD><EFBFBD>
4.14)<29><><EFBFBD><EFBFBD><EFBFBD>β<EFBFBD><CEB2><EFBFBD>֪<EFBFBD><D6AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>е<EFBFBD> PostgreSQL <20>İ汾<C4B0><E6B1BE>
<20><> psql <20><EFBFBD><EFA3AC><EFBFBD><EFBFBD> SELECT version();ָ<>
4.15)<29><><EFBFBD><EFBFBD><EFBFBD>δ<EFBFBD><CEB4><EFBFBD>һ<EFBFBD><D2BB>ȱʡֵ<CAA1>ǵ<EFBFBD>ǰʱ<C7B0><CAB1><EFBFBD><EFBFBD><EFBFBD>ֶΣ<D6B6>
ʹ<><CAB9> CURRENT_TIMESTAMP<4D><50>
CREATE TABLE test (x int, modtime TIMESTAMP DEFAULT CURRENT_TIMESTAMP );
4.16)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> outer join <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӣ<EFBFBD><D3A3><EFBFBD>
PostgreSQL <20><><EFBFBD>ñ<EFBFBD>׼<EFBFBD><D7BC> SQL <20>﷨֧<EFB7A8><D6A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӡ<EFBFBD><D3A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӣ<EFBFBD>
SELECT *
FROM t1 LEFT OUTER JOIN t2 ON (t1.col = t2.col);
<20><><EFBFBD><EFBFBD>
SELECT *
FROM t1 LEFT OUTER JOIN t2 USING (col);
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȼ۵IJ<DBB5>ѯ<EFBFBD><D1AF> t1.col <20><> t2.col <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӣ<EFBFBD><D3A3><EFBFBD><EFBFBD>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BD><EFBFBD><EFBFBD><EFBFBD>ض<EFBFBD><D8B6>л<EFBFBD><D0BB><EFBFBD><EFBFBD>У<EFBFBD>
<20>ں<EFBFBD><DABA><EFBFBD><EFBFBD>з<EFBFBD><D0B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݼ<EFBFBD>¼<EFBFBD><C2BC><EFBFBD>Ĺ<EFBFBD><C4B9><EFBFBD><EFBFBD>Ǻ<EFBFBD><C7BA><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD>õģ<C3B5><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>μ<EFBFBD><CEBC><EFBFBD>
http://techdocs.postgresql.org/guides/SetReturningFunctions
4.19)Ϊʲô<CAB2><C3B4><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9>PL/PgSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><C8A1>ʱ<EFBFBD><CAB1>ʱ<EFBFBD><CAB1><EFBFBD>յ<EFBFBD><D5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2>relation with
OID ##### does not exist<73><74><EFBFBD><EFBFBD>
PL/PgSQL<51><EFBFBD><EFBFBD><E6BAAF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݣ<EFBFBD><DDA3>ɴ˴<C9B4><CBB4><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD>õĸ<C3B5><C4B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB> PL/PgSQL
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>Ȼ<EFBFBD><C8BB><EFBFBD>ñ<EFBFBD><C3B1><EFBF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