Re: [PHP] PostgreSQL vs. Interbase

2001-05-11 Thread Geoff Caplan

Hi

 Please discuss as to your point of view the advantage of PostgreSQL over
 Interbase and/or vise versa. I'm considering three (3) important points


I'm just evaluating Interbase and there is an important point that did not
come out in the thread.

It seems that Borland went back on key commitments to the open source
development team and lost their trust and goodwill. As a result, the source
has forked, with most of the momentum behind the fully open source Firebird
project. Borlands commitment to their own 'official' version looks pretty
thin.

You can find info on Firebird at:

  http://firebird.sourceforge.net
  http://www.ibphoenix.com
  http://www.interbase2000.com

Things are at an early stage, but Firebird have already identified and fixed
a major security hole during their security audit of the Borland code, and
offer binary builds for a number of platforms.

Looks like the Firebird fork is the one with the future.

Geoff Caplan




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PostgreSQL vs. Interbase

2001-05-07 Thread Luke Welling


Altunergil, Oktaywrote:
 The link that goes to interbase's web site in freshmeat.com redirects to
 http://www.borland.com/interbase/
 which does not list the product as free or open source?

 Is there another version?

 oktay

My understanding is that the current open source version is available from:
http://www.borland.com/devsupport/interbase/opensource/

Ongoing certified versions with Borland support will be available from
somewhere on borland.com for a price and any future open source versions
will be available from SourceForge.

Cheers,

Luke Welling
--
PHP and MySQL Web Development
by Luke Welling and Laura Thomson
http://www.amazon.com/exec/obidos/ASIN/0672317842/tangledwebdesign



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PostgreSQL vs. Interbase

2001-05-07 Thread Luke Welling

Arnold Gamboa wrote:
 I'm currently in serious research on what database to use for a B2B site
 which is expected to hold millions of records. I have in so far considered
 two open source databases - Interbase and PostgreSQL. With this in mind,
I'm
 sending this email to both the PostgreSQL and Interbase mailing lists and
 also on PHP's. I would appreciate what ever information you can provide.
 Thanks :)

 My inquiry:

 Please discuss as to your point of view the advantage of PostgreSQL over
 Interbase and/or vise versa. I'm considering three (3) important points

 1.  Speed
 2.  Data Reliability
 3.  Portability

I first saw your message on the PostgreSQL list, but figured what I was
going to answer belonged here more.

One other thing you might like to consider is documentation.  Interbase
probably has better documentation than PostgreSQL from their respective
primary sources, but you will find a *lot* more documentation on using PHP
with PostgreSQL than with Interbase.

Where PHP examples and documentation is database specific, it is mostly
MySQL, some PostgreSQL, some Oracle and very little of any other.

Cheers,

Luke Welling




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] PostgreSQL vs. Interbase

2001-05-07 Thread Altunergil, Oktay

The link that goes to interbase's web site in freshmeat.com redirects to
http://www.borland.com/interbase/
which does not list the product as free or open source? 

Is there another version?

oktay

-Original Message-
From: Luke Welling [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 3:17 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PostgreSQL vs. Interbase


Arnold Gamboa wrote:
 I'm currently in serious research on what database to use for a B2B site
 which is expected to hold millions of records. I have in so far considered
 two open source databases - Interbase and PostgreSQL. With this in mind,
I'm
 sending this email to both the PostgreSQL and Interbase mailing lists and
 also on PHP's. I would appreciate what ever information you can provide.
 Thanks :)

 My inquiry:

 Please discuss as to your point of view the advantage of PostgreSQL over
 Interbase and/or vise versa. I'm considering three (3) important points

 1.  Speed
 2.  Data Reliability
 3.  Portability

I first saw your message on the PostgreSQL list, but figured what I was
going to answer belonged here more.

One other thing you might like to consider is documentation.  Interbase
probably has better documentation than PostgreSQL from their respective
primary sources, but you will find a *lot* more documentation on using PHP
with PostgreSQL than with Interbase.

Where PHP examples and documentation is database specific, it is mostly
MySQL, some PostgreSQL, some Oracle and very little of any other.

Cheers,

Luke Welling




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PostgreSQL vs InterBase

2001-03-02 Thread Meir kriheli

On Friday 02 March 2001 00:23, Shaun Thomas wrote:
 On Thu, 1 Mar 2001, Meir kriheli wrote:
  I use both of the databases (Interbase 6.01 and PostgreSQL 7.1beta4).
 
  PostgreSQL has more features comapared to Interbase (the procedureal
  language is very robust and there are many datatyps to choose from. Also
  you can have some kind of object support in it to inherit tables for
  example), but it's windows implemenation is very hard (at least for me, I
  like to compile it).

 Postgres also has a nasty show-stopping bug they don't seem to want to
 fix.  Try making a stored procedure with many parameters, and send
 a single null to it.  I dare you.  I so love having all of my other
 parameters, and the return value of the function turned into null because
 postgres can't tell where a null occoured.

I don't like stored procedures, or functions in any programming language that 
accepts many parameters, and I avoid the as much as I can. Those things are 
hard to debug and write (hmm, what paraemeters should go here ? :-( ) and 
they hinder the readability of the code.

As for null values, I don't use them as well, I work with different databases 
and each one has their quirks about null. Basiclly null is undefined and 
should stay that way. Usually I decide on an invalid value (such as -1) and 
pass it to the function.

 I also love the fact that you can't drop foreign keys, modify columns,
 drop columns without rebuilding the entire table, etc.  We use it here,
 but it makes me want to pull my hair out.  If someone would just combine
 postgres and mysql, we'd have the best database in the universe.  Fast and
 stable, with all of the RDBMS anyone could want.

Well I can do all of this in mysql because there's no referential integrity. 
You can't drop or modify a column which is reference by a foreign key, 
beacuse  that would break the integrity. You don't need to rebuld the table,
just drop the foriegn key and off you go.

 But as it stands, postgres is still a bit player with an incomplete
 feature set.  But I don't want to start a holy war here, so I'll drop it.

OK.

  As for speed both are very fast (even when compared to commerical DB, in
  my tests the deafult install of Interbase outperfomed the default install
  of Oracle 8i about 10X, tested on P166 with 96MB and PII400 with 192MB).

 This only occours if you don't know how to optimize Oracle.  Oracle is
 *very* picky about *everything*.  You need index tablespaces on separate
 disks from the data tablespaces, and yet another one for system
 tablespaces.  You should also have one for archive logs, redo logs, and of
 course your temporary tables.  Setting it to threading mode is also nice
 for connection pooling and to stop killing your machine under heavy load.

 That, and the machines you've quoted are in no way powerful enough for
 production Oracle databases, period.  You should also run oracle on some
 kind of Solaris/Sun combo.  Raw mount points direct to the actual disks is
 ideal, but loopback filesystems work just as well. Remember to cluster
 your raid into 4 - 6 arrays of 3+ disks, too.  There is no such thing as a
 default Oracle install, because installing oracle on a single user machine
 with one disk and only a little ram (yes, anything under 512 is very
 little for Oracle) will make Oracle look like a piece of crap.

 The point about Oracle is that it *lets* you do all of those
 optimizations, and if you're good at it, it will outperform almost any
 other database you throw at it.  Trust me on this one.

Well let me see,

1. I have several databases to choose from, Which give me the performance I 
need.

2. I don't have to be a DBA to manage them, I don't have to use raids to get 
performance and I don't have to split indexes between hard disks to get 
adaquete preformence.

3. I don't a supercomputer and I can use them in moderate hardware for my 
needs, and I don't have to dedicate plenty of RAM to them.

4. This databases are open-source and don't have linking problems. Anyone 
tried to install Oracle 8.0.5 on Linux (patch-O-rama for Glibc). 8i is a 
resource hog (JVM in the database, are they nuts ?) and i won;t touch it with 
a stick,

5. I can expect this databases to work for me out of the box (out of the 
install in this case)

6. All this databases are free and I can choose the one I want according to 
the task I'm facing, without paying outrages licensing fee to Oracle, and 
spending lots of money on unnedded hardware.

Isn't the choice obvious ? Why would anyone touch Oracle - I guess it is only 
because of their hype and spin - much like some other company I won't mention.

BTW, I was in Oracle's OPP program for quite a while, but left it when 8i 
came out, it was an overkill. (But I sure miss those Oracle parties, They 
were outrages, or as one of their representives said to me, they had lots of 
money the needed to spend).

OK, I'll stop now, I'm running out of air, I think I'm turning blue, Help !! 
Help !! someone 

Re: [PHP] PostgreSQL vs InterBase

2001-03-01 Thread Meir kriheli

On Wednesday 28 February 2001 06:19, [EMAIL PROTECTED] wrote:
 Arnold Gamboa wrote:
  I hve heard a great deal about InterBase.  Please comment on which is
  better:
 
  1.  Speed
  2.  Data Reliability
  3.  Compatibility with PHP
 
  Thanks for your comments.
 
  --

 1. I think Postgresql
 2 and 3 I can't say which is better. Both seem to work ok - you might
 want to search for postgresql and persistent connections in the archives
 - seems they aren't perfect yet.

I use both of the databases (Interbase 6.01 and PostgreSQL 7.1beta4).

PostgreSQL has more features comapared to Interbase (the procedureal language 
is very robust and there are many datatyps to choose from. Also you can have 
some kind of object support in it to inherit tables for example), but it's 
windows implemenation is very hard (at least for me, I like to compile it).

As for speed both are very fast (even when compared to commerical DB, in my 
tests the deafult install of Interbase outperfomed the default install of 
Oracle 8i about 10X, tested on P166 with 96MB and PII400 with 192MB).

-- 
Meir Kriheli

  There's someone in my head, but it's not me - Pink Floyd

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PostgreSQL vs InterBase

2001-03-01 Thread Shaun Thomas

On Thu, 1 Mar 2001, Meir kriheli wrote:

 I use both of the databases (Interbase 6.01 and PostgreSQL 7.1beta4).

 PostgreSQL has more features comapared to Interbase (the procedureal language
 is very robust and there are many datatyps to choose from. Also you can have
 some kind of object support in it to inherit tables for example), but it's
 windows implemenation is very hard (at least for me, I like to compile it).

Postgres also has a nasty show-stopping bug they don't seem to want to
fix.  Try making a stored procedure with many parameters, and send
a single null to it.  I dare you.  I so love having all of my other
parameters, and the return value of the function turned into null because
postgres can't tell where a null occoured.

I also love the fact that you can't drop foreign keys, modify columns,
drop columns without rebuilding the entire table, etc.  We use it here,
but it makes me want to pull my hair out.  If someone would just combine
postgres and mysql, we'd have the best database in the universe.  Fast and
stable, with all of the RDBMS anyone could want.

But as it stands, postgres is still a bit player with an incomplete
feature set.  But I don't want to start a holy war here, so I'll drop it.

 As for speed both are very fast (even when compared to commerical DB, in my
 tests the deafult install of Interbase outperfomed the default install of
 Oracle 8i about 10X, tested on P166 with 96MB and PII400 with 192MB).

This only occours if you don't know how to optimize Oracle.  Oracle is
*very* picky about *everything*.  You need index tablespaces on separate
disks from the data tablespaces, and yet another one for system
tablespaces.  You should also have one for archive logs, redo logs, and of
course your temporary tables.  Setting it to threading mode is also nice
for connection pooling and to stop killing your machine under heavy load.

That, and the machines you've quoted are in no way powerful enough for
production Oracle databases, period.  You should also run oracle on some
kind of Solaris/Sun combo.  Raw mount points direct to the actual disks is
ideal, but loopback filesystems work just as well. Remember to cluster
your raid into 4 - 6 arrays of 3+ disks, too.  There is no such thing as a
default Oracle install, because installing oracle on a single user machine
with one disk and only a little ram (yes, anything under 512 is very
little for Oracle) will make Oracle look like a piece of crap.

The point about Oracle is that it *lets* you do all of those
optimizations, and if you're good at it, it will outperform almost any
other database you throw at it.  Trust me on this one.

-- 
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
| Shaun M. ThomasINN Database Programmer  |
| Phone: (309) 743-0812  Fax  : (309) 743-0830|
| Email: [EMAIL PROTECTED]AIM  : trifthen  |
| Web  : hamster.lee.net  |
| |
| "Most of our lives are about proving something, either to   |
| "ourselves or to someone else." |
|   -- Anonymous  |
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PostgreSQL vs InterBase

2001-03-01 Thread Mark Charette

From: "Shaun Thomas" [EMAIL PROTECTED]
 The point about Oracle is that it *lets* you do all of those
 optimizations, and if you're good at it, it will outperform almost any
 other database you throw at it.  Trust me on this one.

I'm sorry, I can't trust you very much on this. Having worked as a high-end
Oracle tuner on a 1 terabyte database for 3 years and having recently been
involved in a new DB2 app, I find DB2 to be as good if not better than
Oracle in very many important ways.

Not even including a cost that's about 1/4 of a highly discounted Oracle
cost model for an identical HA envioronment.

Mark C.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PostgreSQL vs InterBase

2001-02-27 Thread Wade Halsey

Hi

We have been using Interbase for all our php development and have not
experienced problems. The oprational database is 4gigs and if we execute
large queries on it we recieve sub-second responses so speed is definetly
not a problem

Interbase is a good way to go if you have need for a relational database and
of course a bonus is that it is free :)


- Original Message -
From: Arnold Gamboa [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 27, 2001 11:00 AM
Subject: [PHP] PostgreSQL vs InterBase


 I hve heard a great deal about InterBase.  Please comment on which is
 better:

 1.  Speed
 2.  Data Reliability
 3.  Compatibility with PHP

 Thanks for your comments.



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PostgreSQL vs InterBase

2001-02-27 Thread Ron Wills


I know this isn't one of the databases that you;re inquiring about, but
we've been using MySQL (www.mysql.com) and it has been working beautifully.
We have an email server with a MySQL db that's about 4 Gigs now a it's
still running strong. MySQL is free and might be worth looking into :-)
Arnold Gamboa wrote:
I hve heard a great deal about InterBase. Please
comment on which is
better:
1. Speed
2. Data Reliability
3. Compatibility with PHP
Thanks for your comments.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

--
209 Media http://www.209media.com>
Ron Wills [EMAIL PROTECTED]>
Programmer


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


Re: [PHP] PostgreSQL vs InterBase

2001-02-27 Thread mwaples

Arnold Gamboa wrote:
 
 I hve heard a great deal about InterBase.  Please comment on which is
 better:
 
 1.  Speed
 2.  Data Reliability
 3.  Compatibility with PHP
 
 Thanks for your comments.
 
 --
1. I think Postgresql
2 and 3 I can't say which is better. Both seem to work ok - you might
want to search for postgresql and persistent connections in the archives
- seems they aren't perfect yet.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]