dbTalk Databases Forums  

Informix beats Oracle

comp.databases.informix comp.databases.informix


Discuss Informix beats Oracle in the comp.databases.informix forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old   
Ian Michael Gumby
 
Posts: n/a

Default Re: Informix beats Oracle - 06-18-2007 , 02:09 PM









Quote:
From: DA Morgan <damorgan (AT) psoug (DOT) org

How busy is Informix, compared to Oracle, on this machine ? How much
work is being done by both - which system is bigger ?

Dirk

And what is the value of an idle CPU? Is there some kind of prize given
for the most wasted cycles?


Seems to me that Da Maroon is yet again in reverse spin.

Dude, you're a hardware vendor's wet dream.

The point of having spare cycles is that the machine is now free to do other
tasks and at the same time have the head room to grow as the company grows
or the amount of data tossed at the application grows.

__________________________________________________ _______________
Make every IM count. Download Messenger and join the i’m Initiative now.
It’s free. http://im.live.com/messenger/im/home...e=TAGHM_June07



Reply With Quote
  #22  
Old   
Serge Rielau
 
Posts: n/a

Default Re: Informix beats Oracle - 06-18-2007 , 02:21 PM






DA Morgan wrote:
Quote:
No CTO has ever purchased an RDBMS based on efficient use of CPU.
Instead of following the bouncing ball how about asking IBM to make the
same changes to Informix they just made to Viper 2 so it will support
major business applications?
Hmmm... nice stitching. IDS has traditionally watched Oracle closer than
DB2 has, so many of the features you allude to are already present (like
DECODE, UNIQUE, Oracle sequence syntax...). also IDS has "readers don't
block writers, ..." which eliminated the perhaps single biggest
stumbling block for porting Oracle apps.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab


Reply With Quote
  #23  
Old   
Tool
 
Posts: n/a

Default Re: Informix beats Oracle - 06-18-2007 , 02:26 PM



Serge,

Got me to want to actually ask you a question. :-)

It's my understanding that all other DBMS products are pessimistic-locking, ORACLE
is optimistic-locking, Oracle being only one in this category of mainstream DBMS products
to have optimistic locking.

Does this mean Informix has both pessimistic _and_ optimistic locking?

Thanks,

-t-

Serge Rielau wrote:
Quote:
DA Morgan wrote:
No CTO has ever purchased an RDBMS based on efficient use of CPU.
Instead of following the bouncing ball how about asking IBM to make the
same changes to Informix they just made to Viper 2 so it will support
major business applications?
Hmmm... nice stitching. IDS has traditionally watched Oracle closer than
DB2 has, so many of the features you allude to are already present (like
DECODE, UNIQUE, Oracle sequence syntax...). also IDS has "readers don't
block writers, ..." which eliminated the perhaps single biggest
stumbling block for porting Oracle apps.

Cheers
Serge


Reply With Quote
  #24  
Old   
Carsten Haese
 
Posts: n/a

Default Re: Informix beats Oracle - 06-18-2007 , 02:36 PM



On Mon, 2007-06-18 at 11:26 -0700, Tool wrote:
Quote:
Does this mean Informix has both pessimistic _and_ optimistic locking?
In Cheetah, yes:
http://informix-technology.blogspot....committed.html

--
Carsten Haese
http://informixdb.sourceforge.net




Reply With Quote
  #25  
Old   
Serge Rielau
 
Posts: n/a

Default Re: Informix beats Oracle - 06-18-2007 , 04:24 PM



Tool wrote:
Quote:
Serge,

Got me to want to actually ask you a question. :-)
You are aware that this thread may suddenly turn educational now...? ;-)

Quote:
It's my understanding that all other DBMS products are
pessimistic-locking, ORACLE
is optimistic-locking, Oracle being only one in this category of
mainstream DBMS products
to have optimistic locking.
Does this mean Informix has both pessimistic _and_ optimistic locking?
The language here is very confusing and I'm not sure whether there are
true definitions.
To me optimistic locking is an entirely different beast and Informix had
support for it for years and DB2 Viper 2 is introducing it.
Optimistic locking (as I understand it) is commonly used in three-tier
architectures where the business transaction is much longer than the
database transaction. Note that in that space all products are on an
equal footing since no vendor can handle isolation across transactions.
In fact I think SQL Server is the most aggressive user of optimistic
locking for many years with deep support in .NET. Perhaps this is fueled
by the default auto-commit behavior (??)

Ticket purchase at an airline is a typical example for optimistic locking.
You look for a seat going from A->B and you get a set of possibilities
back. Having that information stashed away you check with your
significant other if she agrees and eventually pick one of the option
and hit "book". Two things can happen (actually make that three):
1. All is well you get the seat "confirmed!"
2. You get the seat but the price has changes "Confirmed?"
3. Oops, that seat is gone, try again.
Why? There never was a reservation for any of the seats!

IDS "natively" supports this sort of logic by supplying change
timestamps. The app keeps these around and when update time comes around
the change time stamp is compared to what's in the database.
This approach is "optimistic" in the sense that it assumes that the
stamps will match and you get that seat.

Now, within a transaction a similar scheme can (but not must) be used in
a multi version concurrency control situation. This would imply that a
cursor for UPDATE does not acquire an intend-update lock and the UPDATE
itself may fail if the row has changed between the FETCH and the UPDATE.
To do this reliably a change time stamp must be available for each row
in each table. To the best of my knowledge Oracle records these on a
page level however (i.e. an undosegments have a page granularity, not a
row granularity). But I'm sure Daniel or Mark T. would be more qualified
to comment than I am.

In IDS Cheetah READ COMMITTED is a variation on cursor stability and I
do not think that it uses optimistic locking either. I'm sure Madison or
Jonathan can confirm or dispel my assumption that an intent-update lock
will be used since a very fast transaction could otherwise come in
between the FETCH and UPDATE and COMMIT with no way of the cursor being
notified.

I can't say I'm an expert in locking and isolation level. But hey I
tried :-)

Cheers
Serge

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab


Reply With Quote
  #26  
Old   
Tool
 
Posts: n/a

Default Re: Informix beats Oracle - 06-18-2007 , 04:44 PM



Thanks Serge.

My training has been primarily non-Oracle, meaning that I've learned to
program outside the database, whereas it's my impression that Oracle folks
program applications with a high dependence on the database engine, thusly
why I'm convinced that you can't compare most other database products with
Oracle simply because it's a lot different than most. What I'm gathering
is that it looks like Informix got a big boost in features, but to appreciate
these features you really have to understand how a lot of applications work
that are being used by the big database companies, i.e., SAP, etc. So for
me until I see a benchmark comparison of applications and some specific
task that is compared, I think basic I vs O comparisons are not realistic,
and only superficial at best.

Thanks for your insight...

-t-

Serge Rielau wrote:
Quote:
Tool wrote:
Serge,

Got me to want to actually ask you a question. :-)
You are aware that this thread may suddenly turn educational now...? ;-)


It's my understanding that all other DBMS products are
pessimistic-locking, ORACLE
is optimistic-locking, Oracle being only one in this category of
mainstream DBMS products
to have optimistic locking.
Does this mean Informix has both pessimistic _and_ optimistic locking?
The language here is very confusing and I'm not sure whether there are
true definitions.
To me optimistic locking is an entirely different beast and Informix had
support for it for years and DB2 Viper 2 is introducing it.
Optimistic locking (as I understand it) is commonly used in three-tier
architectures where the business transaction is much longer than the
database transaction. Note that in that space all products are on an
equal footing since no vendor can handle isolation across transactions.
In fact I think SQL Server is the most aggressive user of optimistic
locking for many years with deep support in .NET. Perhaps this is fueled
by the default auto-commit behavior (??)

Ticket purchase at an airline is a typical example for optimistic locking.
You look for a seat going from A->B and you get a set of possibilities
back. Having that information stashed away you check with your
significant other if she agrees and eventually pick one of the option
and hit "book". Two things can happen (actually make that three):
1. All is well you get the seat "confirmed!"
2. You get the seat but the price has changes "Confirmed?"
3. Oops, that seat is gone, try again.
Why? There never was a reservation for any of the seats!

IDS "natively" supports this sort of logic by supplying change
timestamps. The app keeps these around and when update time comes around
the change time stamp is compared to what's in the database.
This approach is "optimistic" in the sense that it assumes that the
stamps will match and you get that seat.

Now, within a transaction a similar scheme can (but not must) be used in
a multi version concurrency control situation. This would imply that a
cursor for UPDATE does not acquire an intend-update lock and the UPDATE
itself may fail if the row has changed between the FETCH and the UPDATE.
To do this reliably a change time stamp must be available for each row
in each table. To the best of my knowledge Oracle records these on a
page level however (i.e. an undosegments have a page granularity, not a
row granularity). But I'm sure Daniel or Mark T. would be more qualified
to comment than I am.

In IDS Cheetah READ COMMITTED is a variation on cursor stability and I
do not think that it uses optimistic locking either. I'm sure Madison or
Jonathan can confirm or dispel my assumption that an intent-update lock
will be used since a very fast transaction could otherwise come in
between the FETCH and UPDATE and COMMIT with no way of the cursor being
notified.

I can't say I'm an expert in locking and isolation level. But hey I
tried :-)

Cheers
Serge



Reply With Quote
  #27  
Old   
Mark Jamison
 
Posts: n/a

Default Re: Informix beats Oracle - 06-18-2007 , 07:20 PM



Hi t,

I'm not Serge, but the answer to that is yes.

As of 11.10, you can have pessimistic-locking, or optimistic locking.

Entirely configurable at the instance level.

The onconfig parameter is

USELASTCOMMITTED




----- Original Message ----
From: Tool <tool (AT) thetool (DOT) com>
To: informix-list (AT) iiug (DOT) org
Sent: Monday, June 18, 2007 1:26:57 PM
Subject: Re: Informix beats Oracle

Serge,

Got me to want to actually ask you a question. :-)

It's my understanding that all other DBMS products are pessimistic-locking, ORACLE
is optimistic-locking, Oracle being only one in this category of mainstream DBMS products
to have optimistic locking.

Does this mean Informix has both pessimistic _and_ optimistic locking?

Thanks,

-t-

Serge Rielau wrote:
Quote:
DA Morgan wrote:
No CTO has ever purchased an RDBMS based on efficient use of CPU.
Instead of following the bouncing ball how about asking IBM to make the
same changes to Informix they just made to Viper 2 so it will support
major business applications?
Hmmm... nice stitching. IDS has traditionally watched Oracle closer than
DB2 has, so many of the features you allude to are already present (like
DECODE, UNIQUE, Oracle sequence syntax...). also IDS has "readers don't
block writers, ..." which eliminated the perhaps single biggest
stumbling block for porting Oracle apps.

Cheers
Serge
_______________________________________________
Informix-list mailing list
Informix-list (AT) iiug (DOT) org
http://www.iiug.org/mailman/listinfo/informix-list







Reply With Quote
  #28  
Old   
pokeyman
 
Posts: n/a

Default Re: Informix beats Oracle - 06-18-2007 , 08:00 PM



On Jun 18, 9:36 am, "Obnoxio The Clown" <obno... (AT) serendipita (DOT) com>
wrote:
Quote:
pokeyman said:

The problem with an audited benchmark is that they often don't tell
the real story. Benchmarks like TPC (A,B,C,D,H,etc...) are highly
specialized and aren't really tests of the DBMS, they are tests of the
hardware. The DBMS code path for these benchmarks is highly optimized
often using technology and features which cost millions to develop and
offer very little customer benefit because most applications won't/
can't use the technology that's helping achieve the winning number.

Not strictly true. Yes, Oracle did once violate the spirit of TPC-B by
introducing discrete transactions, but I'm not sure that they would still
win this race on a like for like box.

I
would venture to guess that all the major DBMS players (Oracle, DB2,
Informix, Sybase, MySQL, etc) are within 10%-20% in terms of raw OLTP
performance on basic tables.

I would venture to guess that you might be surprised.

--
Bye now,
Obnoxio

"I'm astonished anyone pays real money for this crap."
-- Cosmo

--
This message has been scanned for viruses and
dangerous content by OpenProtect(http://www.openprotect.com), and is
believed to be clean.
since i do this for a living, i guess i have some experience in that
area. i've certainly come across examples where 1 DBMS truly out
performs another for a particular query or set of queries, but, in my
experiece of running hundreds of comparisons, i rarely see a
significant difference that would lead me to believe 1 DBMS is
significantly better than another... at least in terms of raw OLTP
power.

your reference to discrete transactions wasn't really what I was
thinking, although that's a good one. probably one of the biggest
benchmark specials that all the players use is hashing (DB2 has Range
cluster, etc...). IDS does not support a hashed access method thus
making it impossible to compete in the TPC (a,b,c) arena.



Reply With Quote
  #29  
Old   
DA Morgan
 
Posts: n/a

Default Re: Informix beats Oracle - 06-18-2007 , 09:27 PM



Serge Rielau wrote:
Quote:
DA Morgan wrote:
No CTO has ever purchased an RDBMS based on efficient use of CPU.
Instead of following the bouncing ball how about asking IBM to make the
same changes to Informix they just made to Viper 2 so it will support
major business applications?
Hmmm... nice stitching. IDS has traditionally watched Oracle closer than
DB2 has, so many of the features you allude to are already present (like
DECODE, UNIQUE, Oracle sequence syntax...). also IDS has "readers don't
block writers, ..." which eliminated the perhaps single biggest
stumbling block for porting Oracle apps.

Cheers
Serge
I thought the single biggest stumbling blocks was IBM management.

That's certainly what I hear.
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu (replace x with u to respond)


Reply With Quote
  #30  
Old   
Neil Truby
 
Posts: n/a

Default Re: Informix beats Oracle - 06-18-2007 , 11:27 PM



"Data Cruncher" <dcruncher4 (AT) aim (DOT) com> wrote

Quote:
david (AT) smooth1 (DOT) co.uk> wrote in message
news:1182119955.516908.315260 (AT) k79g2000hse (DOT) googlegroups.com...

No wonder some of the most demanding OLTP applications in
the world runs on Informix. Like every Visa transaction in
US goes thru an Informix server.
This is a nonsense though, isn't it? Every vendor can pull out an example
of a world-renowned system that runs on its database.




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.