pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
What is the advantage
10+ messages / 7 participants
[nested] [flat]

* What is the advantage
@ 2003-11-22 19:41 Ivan <zenzo@net.hr>
  2003-11-23 07:36 ` Re: What is the advantage William ZHANG <uniware@zedware.org>
  2003-11-24 02:31 ` Re: What is the advantage Christopher Browne <cbbrowne@acm.org>
  0 siblings, 2 replies; 10+ messages in thread

From: Ivan @ 2003-11-22 19:41 UTC (permalink / raw)
  To: pgsql-admin

As I am new in the world of PostgreSQL I would like to know what are the
advantages of using it.

Bye,
Ivan

--
Trebate bolji pristup internetu?
Nazovite IskonInternet na 0800 1000 ili pogledajte
http://www.iskon.biz/individualni/usluge/dialup/



^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: What is the advantage
  2003-11-22 19:41 What is the advantage Ivan <zenzo@net.hr>
@ 2003-11-23 07:36 ` William ZHANG <uniware@zedware.org>
  2003-11-24 16:03   ` Re: What is the advantage Gémes Géza <geza@kzsdabas.sulinet.hu>
  1 sibling, 1 reply; 10+ messages in thread

From: William ZHANG @ 2003-11-23 07:36 UTC (permalink / raw)
  To: pgsql-admin


""Ivan"" <zenzo@net.hr> Writes news:3fbfbbfe.2dd6.0@net.hr...
> As I am new in the world of PostgreSQL I would like to know what are the
> advantages of using it.

PostgreSQL is a open source ORDBMS, with many great features.
Sugguest you read its document for details.

>
> Bye,
> Ivan
>
> --
> Trebate bolji pristup internetu?
> Nazovite IskonInternet na 0800 1000 ili pogledajte
> http://www.iskon.biz/individualni/usluge/dialup/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>





^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: What is the advantage
  2003-11-22 19:41 What is the advantage Ivan <zenzo@net.hr>
  2003-11-23 07:36 ` Re: What is the advantage William ZHANG <uniware@zedware.org>
@ 2003-11-24 16:03   ` Gémes Géza <geza@kzsdabas.sulinet.hu>
  0 siblings, 0 replies; 10+ messages in thread

From: Gémes Géza @ 2003-11-24 16:03 UTC (permalink / raw)
  To: pgsql-admin

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

William ZHANG írta:
| ""Ivan"" <zenzo@net.hr> Writes news:3fbfbbfe.2dd6.0@net.hr...
|
|>As I am new in the world of PostgreSQL I would like to know what are the
|>advantages of using it.
|
IMHO:

Stored procedures
Triggers
Views
Rules

With them you can embeed your aplications logic right in the database,
instead of implementing it on the (database) client application, in this
way no mather how you connect to the database, from psql, a webap, or a
GUI application you will "see" the same thing.
E.g. if for a payment are allowed sums between $100 and $1000 you could
prevent inserting other values by defining a trigger. Or if modifying
some data in a table should happen when you insert something in an other
table, you could write a rule, for it.

Best Regards,

Geza Gemes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/wivv/PxuIn+i1pIRAs/iAJ9lEdNe0CfXYw15zLuuLS+LBdkqcgCfQ3cU
h9yVsRMWTX7F99zLd/PoV1o=
=FP5A
-----END PGP SIGNATURE-----




^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: What is the advantage
  2003-11-22 19:41 What is the advantage Ivan <zenzo@net.hr>
@ 2003-11-24 02:31 ` Christopher Browne <cbbrowne@acm.org>
  1 sibling, 0 replies; 10+ messages in thread

From: Christopher Browne @ 2003-11-24 02:31 UTC (permalink / raw)
  To: pgsql-admin

zenzo@net.hr ("Ivan") wrote:
> As I am new in the world of PostgreSQL I would like to know what are
> the advantages of using it.

That cannot be evaluated in the absence of some set of metrics
indicating your preferences and needs, and which would allow comparing
PostgreSQL to some other option.  (Whether that be Oracle, MS Access,
Berkeley DB, or storing data as text records in the style of Rand
RDB.)

To do a comparison requires comparing to something [some other way of
storing data], and requires having some "functional" basis for having
a preference.
-- 
"cbbrowne","@","ntlug.org"
http://cbbrowne.com/info/multiplexor.html
"We English-speaking peoples should   keep hold of the essential  fact
about foreign languages: They exist to make us laugh."
-- John Derbyshire



^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* WHAT IS THE ADVANTAGE
@ 2003-11-24 11:41 Ivan <zenzo@net.hr>
  2003-11-24 12:29 ` Re: WHAT IS THE ADVANTAGE ow <oneway_111@yahoo.com>
  0 siblings, 1 reply; 10+ messages in thread

From: Ivan @ 2003-11-24 11:41 UTC (permalink / raw)
  To: pgsql-admin

>Ivan wrote:
>
>>As I am new in the world of PostgreSQL I would like to know what are the
>>advantages of using it.
>>  
>>
>Over what?
>
>
Over MySQL as I used it until now.

--
Trebate bolji pristup internetu?
Nazovite IskonInternet na 0800 1000 ili pogledajte
http://www.iskon.biz/individualni/usluge/dialup/



^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: WHAT IS THE ADVANTAGE
  2003-11-24 11:41 WHAT IS THE ADVANTAGE Ivan <zenzo@net.hr>
@ 2003-11-24 12:29 ` ow <oneway_111@yahoo.com>
  0 siblings, 0 replies; 10+ messages in thread

From: ow @ 2003-11-24 12:29 UTC (permalink / raw)
  To: pgsql-admin


--- Ivan <zenzo@net.hr> wrote:
> Over MySQL as I used it until now.

What are your issues with mySql?







__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/



^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: WHAT IS THE ADVANTAGE
@ 2003-11-24 14:20 Ivan <zenzo@net.hr>
  0 siblings, 0 replies; 10+ messages in thread

From: Ivan @ 2003-11-24 14:20 UTC (permalink / raw)
  To: ow <oneway_111@yahoo.com>; pgsql-admin

Well, I'm using MySQL on the web for a forum and a news sistem. I just
started to work with relational databases (i'm 16 years old).
>
>--- Ivan <zenzo@net.hr> wrote:
>> Over MySQL as I used it until now.
>
>What are your issues with mySql?
>
>
>
>
>
>
>
>__________________________________
>Do you Yahoo!?
>Free Pop-Up Blocker - Get it now
>http://companion.yahoo.com/
>
>---------------------------(end of broadcast)---------------------------
>TIP 4: Don't 'kill -9' the postmaster
>

--
Trebate bolji pristup internetu?
Nazovite IskonInternet na 0800 1000 ili pogledajte
http://www.iskon.biz/individualni/usluge/dialup/



^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: WHAT IS THE ADVANTAGE
@ 2003-11-24 14:30 Ivan <zenzo@net.hr>
  2003-11-24 16:44 ` Re: WHAT IS THE ADVANTAGE William Yu <wyu@talisys.com>
  2003-11-24 23:14 ` Re: WHAT IS THE ADVANTAGE Nathan <postgresql@phreaker.net>
  0 siblings, 2 replies; 10+ messages in thread

From: Ivan @ 2003-11-24 14:30 UTC (permalink / raw)
  To: pgsql-admin

I use the MySQL database on the web for the forum and for a news system. I
would like to know what are the advantages of pgsql over MySQL. I am
entering in the world of databases so i don't know much as I am 16 years
old.
>
>--- Ivan <zenzo@net.hr> wrote:
>> Over MySQL as I used it until now.
>
>What are your issues with mySql?
>
>
>
>
>
>
>
>__________________________________
>Do you Yahoo!?
>Free Pop-Up Blocker - Get it now
>http://companion.yahoo.com/
>
>---------------------------(end of broadcast)---------------------------
>TIP 4: Don't 'kill -9' the postmaster
>

--
Trebate bolji pristup internetu?
Nazovite IskonInternet na 0800 1000 ili pogledajte
http://www.iskon.biz/individualni/usluge/dialup/



^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: WHAT IS THE ADVANTAGE
  2003-11-24 14:30 Re: WHAT IS THE ADVANTAGE Ivan <zenzo@net.hr>
@ 2003-11-24 16:44 ` William Yu <wyu@talisys.com>
  1 sibling, 0 replies; 10+ messages in thread

From: William Yu @ 2003-11-24 16:44 UTC (permalink / raw)
  To: pgsql-admin

Ivan wrote:

> I use the MySQL database on the web for the forum and for a news system. I
> would like to know what are the advantages of pgsql over MySQL. I am
> entering in the world of databases so i don't know much as I am 16 years
> old.

For a forum & news system, there's probably zero difference/advantege. 
:) Unless you get several million hits and tens of thousands of posts 
every day. In that case, it would be an issue of whether MySQL InnoDB 
row-locking would perform better or Postgresql's MVCC. (The default 
MySQL ISAM tables would be cripped due to write-table-locking.)




^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: WHAT IS THE ADVANTAGE
  2003-11-24 14:30 Re: WHAT IS THE ADVANTAGE Ivan <zenzo@net.hr>
@ 2003-11-24 23:14 ` Nathan <postgresql@phreaker.net>
  1 sibling, 0 replies; 10+ messages in thread

From: Nathan @ 2003-11-24 23:14 UTC (permalink / raw)
  To: pgsql-admin

Ivan wrote:
> I use the MySQL database on the web for the forum and for a news system. I
> would like to know what are the advantages of pgsql over MySQL. I am
> entering in the world of databases so i don't know much as I am 16 years
> old.

When you use PostgreSQL and experiment with it a little,
you will quickly find yourself using possibilities that you
would probably not consider using MySQL, such as referential
integrity, stored procedures, constraints, and transactions.

Those are all essential database functions, even if they aren't
quite as essential as, say, indexes and joins.

I can't talk about MySQL 4.x or MySQL with InnoDB, but when I
used lesser versions I often found myself frustrated since I
*like* referential integrity, I *like* forcing values to fit in
exectly the range I want, and I *like* updating several related
tables while other people are using the database without fear
of them getting inconsistent data. Haven't yet used stored
procedures, but I suspect I'll come to like like that too.

When I use PostgreSQL, I find myself using the database as a
reliable source of consistent data, instead of as a loose-leaf
binder with lots of data that has to be checked every time I use
multiple tables. Of course I don't expect lines to disappear
from tables without warning, but *knowing* that *whatever* the
bugs in my code (except if I drop the foreign key ;-)), if I
select a line containing item=543,person=234,date=xxx, then
the database *guarantees* that "select * from person where
person=234;" will yield a name and a telephone number in a
specific format, even if some other process decided to delete
that person yesterday . . . but couldn't, since he had an item
outstanding . . . well that's just priceless.

I think MySQL does some of this now, not all. I don't really
care anymore :-) But I don't think you'll find yourself using
the features naturally since they haven't been there as long.

Oh, and the query analyzer is cool.

Not quite off-topic: using a language with exceptions, such
as Java, in relation with an RDBMS with transactions, such as
PostgreSQL, makes the expression "error-handling" bring a smile
to my face. The joy of seeing an update of multiple related
tables get clobbered 3/4 way through because of some obscure
consistency check, seeing everything rolled back to pristine
state, seeing he program getting back control in just the right
place, and the satisfaction of knowing that nobody else could
have noticed, that makes my day. OK, I know, it's midnight.




^ permalink  raw  reply  [nested|flat] 10+ messages in thread


end of thread, other threads:[~2003-11-24 23:14 UTC | newest]

Thread overview: 10+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-11-22 19:41 What is the advantage Ivan <zenzo@net.hr>
2003-11-23 07:36 ` William ZHANG <uniware@zedware.org>
2003-11-24 16:03   ` Gémes Géza <geza@kzsdabas.sulinet.hu>
2003-11-24 02:31 ` Christopher Browne <cbbrowne@acm.org>
2003-11-24 11:41 WHAT IS THE ADVANTAGE Ivan <zenzo@net.hr>
2003-11-24 12:29 ` Re: WHAT IS THE ADVANTAGE ow <oneway_111@yahoo.com>
2003-11-24 14:20 Re: WHAT IS THE ADVANTAGE Ivan <zenzo@net.hr>
2003-11-24 14:30 Re: WHAT IS THE ADVANTAGE Ivan <zenzo@net.hr>
2003-11-24 16:44 ` Re: WHAT IS THE ADVANTAGE William Yu <wyu@talisys.com>
2003-11-24 23:14 ` Re: WHAT IS THE ADVANTAGE Nathan <postgresql@phreaker.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox