![]() | |
#21
| |||
| |||
|
|
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. |
#22
| |||
| |||
|
|
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 |
#23
| |||
| |||
|
|
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 |
#24
| |||
| |||
|
|
Does this mean Informix has both pessimistic _and_ optimistic locking? |
#25
| |||
| |||
|
|
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 |
#26
| |||
| |||
|
|
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 |
#27
| |||
| |||
|
|
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 |
#28
| |||
| |||
|
|
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. |
#29
| |||
| |||
|
|
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 |
#30
| |||
| |||
|
|
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. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |