File: intro56.html

package info (click to toggle)
mpsql 2.1-2
  • links: PTS
  • area: non-free
  • in suites: potato
  • size: 3,528 kB
  • ctags: 4,886
  • sloc: ansic: 35,184; makefile: 3,761; sh: 44
file content (516 lines) | stat: -rw-r--r-- 9,974 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>A Short History of Postgres</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet version 1.19"><LINK
REL="HOME"
TITLE="PostgreSQL User's Guide"
HREF="user.html"><LINK
REL="UP"
TITLE="Introduction"
HREF="intro.html"><LINK
REL="PREVIOUS"
TITLE="Introduction"
HREF="intro.html"><LINK
REL="NEXT"
TITLE="About This Release"
HREF="intro149.html"></HEAD
><BODY
BGCOLOR="#FFFFFF"
TEXT="#000000"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>PostgreSQL User's Guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="intro.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 1. Introduction</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="intro149.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
CLASS="SECT1"
><A
NAME="AEN56"
>A Short History of <SPAN
CLASS="PRODUCTNAME"
>Postgres</SPAN
></A
></H1
><H2
CLASS="SECT2"
><A
NAME="AEN59"
>The Berkeley <SPAN
CLASS="PRODUCTNAME"
>Postgres</SPAN
> Project</A
></H2
><P
>     Implementation of the <SPAN
CLASS="PRODUCTNAME"
>Postgres</SPAN
> 
<SPAN
CLASS="ACRONYM"
>DBMS</SPAN
> began in 1986.  The
     initial  concepts  for  the  system  were  presented in
<A
HREF="biblio.html#STON86"
><I
>The Design of <I
>Postgres</I
></I
></A
>
 and the definition of the initial  data  model
     appeared in 
<A
HREF="biblio.html#ROWE87"
><I
>The <I
>Postgres</I
> Data Model</I
></A
>.
The design of the rule system at
     that time was described in  
<A
HREF="biblio.html#STON87A"
><I
>The Design of the <I
>Postgres</I
> Rules System</I
></A
>.
The  rationale
     and  architecture  of the storage manager were detailed in 
<A
HREF="biblio.html#STON87B"
><I
>The <I
>Postgres</I
> Storage System</I
></A
>.</P
><P
><SPAN
CLASS="PRODUCTNAME"
>Postgres</SPAN
> has undergone  several  major  releases  since
     then.   The  first "demoware" system became operational
     in 1987 and was shown at the  1988  <SPAN
CLASS="ACRONYM"
>ACM-SIGMOD</SPAN
>  
     Conference.   We  released Version 1, described in 
<A
HREF="biblio.html#STON90A"
><I
>The Implementation of <I
>Postgres</I
></I
></A
>,
     to a few external users in June 1989.  In response to a
     critique  of  the  first rule system 
(<A
HREF="biblio.html#STON89"
><I
>A Commentary on the <I
>Postgres</I
> Rules System</I
></A
>), 
the rule
     system was  redesigned 
(<A
HREF="biblio.html#STON90B"
><I
>On Rules, Procedures, Caching and Views in Database Systems</I
></A
>)
and  Version  2  was
     released  in  June 1990 with the new rule system.  
     Version 3 appeared in 1991 and added support for  multiple
     storage  managers,  an  improved  query executor, and a
     rewritten rewrite rule  system.   For  the  most  part,
     releases  since  then  have  focused on portability and
     reliability.</P
><P
><SPAN
CLASS="PRODUCTNAME"
>Postgres</SPAN
> has been  used  to  implement  many  different
     research and production applications.  These include: a
     financial data analysis system, a  jet  engine  
     performance   monitoring   package,   an   asteroid  tracking
     database, a medical information database,  and  several
     geographic information systems.  
<SPAN
CLASS="PRODUCTNAME"
>Postgres</SPAN
> has also been
     used as an educational tool  at  several  universities.
     Finally,  
<A
HREF="http://www.illustra.com/"
TARGET="_top"
>Illustra  Information  Technologies</A
>
(since merged into
<A
HREF="http://www.informix.com/"
TARGET="_top"
>Informix</A
>)

 picked up
     the code and commercialized it.
     <SPAN
CLASS="PRODUCTNAME"
>Postgres</SPAN
>  became  the  primary  data  manager
  for  the
<A
HREF="http://www.sdsc.edu/0/Parts_Collabs/S2K/s2k_home.html"
TARGET="_top"
>Sequoia 2000</A
>
 scientific computing project in late 1992.
     Furthermore, the size of the  external  user  community
     nearly  doubled  during  1993.   It became increasingly
     obvious that maintenance of the prototype code and 
     support  was  taking  up large amounts of time that should
     have been devoted to database research.  In  an  effort
     to  reduce  this support burden, the project officially
     ended with Version 4.2.</P
><H2
CLASS="SECT2"
><A
NAME="AEN82"
><SPAN
CLASS="PRODUCTNAME"
>Postgres95</SPAN
></A
></H2
><P
>In 1994,
<A
HREF="mailto:ayu@informix.com"
TARGET="_top"
>Andrew Yu</A
>
and
<A
HREF="http://http.cs.berkeley.edu/~jolly/"
TARGET="_top"
>Jolly Chen</A
>
added a SQL language interpreter to <SPAN
CLASS="PRODUCTNAME"
>Postgres</SPAN
>, 
and the code was subsequently released to
the Web to find its own way in the world. 
<SPAN
CLASS="PRODUCTNAME"
>Postgres95</SPAN
> was a public-domain, open source descendant
of this original Berkeley code.</P
><P
><SPAN
CLASS="PRODUCTNAME"
>Postgres95</SPAN
> is a derivative of the last official release
of  <SPAN
CLASS="PRODUCTNAME"
>Postgres</SPAN
>  (version 4.2). The code is now completely
     ANSI C and the code size has been trimmed by 25%. There
     are  a lot of internal changes that improve performance
and code maintainability. 
<SPAN
CLASS="PRODUCTNAME"
>Postgres95</SPAN
> v1.0.x runs about  30-50%
     faster  on  the  Wisconsin  Benchmark compared to v4.2.
     Apart from bug fixes, these are the major enhancements:

<P
></P
></P><UL
><LI
><P
>      	The query language <SPAN
CLASS="PRODUCTNAME"
>Postquel</SPAN
> has been replaced with
        	<SPAN
CLASS="ACRONYM"
>SQL</SPAN
> (implemented in the server). We do  not yet support
        	subqueries  (which can be imitated with user defined
        	<SPAN
CLASS="ACRONYM"
>SQL</SPAN
> functions). Aggregates  have  been
        	re-implemented.  We also added support for ``GROUP BY''.
        	The <TT
CLASS="FILENAME"
>libpq</TT
> interface is still available  for  <SPAN
CLASS="ACRONYM"
>C</SPAN
>  
        	programs.</P
></LI
><LI
><P
>      	In addition to the monitor program, we provide a new
        	program (<SPAN
CLASS="APPLICATION"
>psql</SPAN
>) which supports <SPAN
CLASS="ACRONYM"
>GNU</SPAN
> <TT
CLASS="FILENAME"
>readline</TT
>.</P
></LI
><LI
><P
>      	We added a new  front-end  library,  <TT
CLASS="FILENAME"
>libpgtcl</TT
>,  that
        	supports  <SPAN
CLASS="ACRONYM"
>Tcl</SPAN
>-based  clients.   A sample shell, 
        	pgtclsh, provides new Tcl  commands  to  interface  <SPAN
CLASS="APPLICATION"
>tcl</SPAN
>
        	programs with the <SPAN
CLASS="PRODUCTNAME"
>Postgres95</SPAN
> backend.</P
></LI
><LI
><P
>      	The  large  object interface has been overhauled. We
        	kept Inversion large objects as the  only  mechanism
        	for  storing  large objects. (This is not to be 
        	confused with the Inversion file system which has  been
        	removed.)</P
></LI
><LI
><P
>      	The  instance-level  rule  system  has been removed.
        	Rules are still available as rewrite rules.</P
></LI
><LI
><P
>      	A short tutorial introducing regular <SPAN
CLASS="ACRONYM"
>SQL</SPAN
> features as
        	well as those of ours is distributed with the source
        	code.</P
></LI
><LI
><P
>      	<SPAN
CLASS="ACRONYM"
>GNU</SPAN
> make (instead of  <SPAN
CLASS="ACRONYM"
>BSD</SPAN
>  make)  is  used  for  the
        	build.  Also,  <SPAN
CLASS="PRODUCTNAME"
>Postgres95</SPAN
>  can  be  compiled with an
        	unpatched <SPAN
CLASS="PRODUCTNAME"
>gcc</SPAN
> (data alignment of  doubles  has  been
        	fixed).</P
></LI
></UL
><P></P
><H2
CLASS="SECT2"
><A
NAME="AEN126"
><SPAN
CLASS="PRODUCTNAME"
>PostgreSQL</SPAN
></A
></H2
><P
>By 1996, it became clear that the name &#8220;Postgres95&#8221; would not stand
the test of time. A new name, <SPAN
CLASS="PRODUCTNAME"
>PostgreSQL</SPAN
>, 
was chosen to reflect the
relationship between original <SPAN
CLASS="PRODUCTNAME"
>Postgres</SPAN
> 
and the more recent
versions with <SPAN
CLASS="ACRONYM"
>SQL</SPAN
> capability. 
At the same time, the version numbering
was reset to start at 6.0, 
putting the numbers back into the sequence originally begun by
the <SPAN
CLASS="PRODUCTNAME"
>Postgres</SPAN
> Project.&#13;</P
><P
>The emphasis on development for the v1.0.x releases of 
<SPAN
CLASS="PRODUCTNAME"
>Postgres95</SPAN
>
was on stabilizing the backend code.
With the v6.x series of <SPAN
CLASS="PRODUCTNAME"
>PostgreSQL</SPAN
>, 
the emphasis has shifted from
identifying and understanding existing problems in the backend 
to augmenting features and capabilities, although
work continues in all areas.&#13;</P
><P
>Major enhancements include:

<P
></P
></P><UL
><LI
><P
>Important backend features, including subselects, defaults, 
constraints, and triggers, have been implemented.</P
></LI
><LI
><P
>Additional <SPAN
CLASS="ACRONYM"
>SQL92</SPAN
>-compliant language features have been added,
 including primary keys, quoted identifiers, literal string type coersion, 
type casting, and binary and hexadecimal integer input.</P
></LI
><LI
><P
>Built-in types have been improved, including new wide-range date/time types 
and additional geometric type support.</P
></LI
><LI
><P
>Overall backend code speed has been increased by approximately 20-40%, 
and backend startup time has decreased 80% since v6.0 was released.</P
></LI
></UL
><P></P
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="intro.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="user.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="intro149.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Introduction</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="intro.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>About This Release</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>