![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
how different are the optimizers between the different commercial databases? Will a query written one way from one vendor not run as well under a different vendor? Also, Im familiar with Oracle and I know that physical I/Os are generally not considered much of a problem(its a small piece of the pie). Typical you focus on decreasing logical I/Os. I am reading an academic database book that states that physical I/Os are extremeley important. Is this the case with databases created by other vendors? |
#3
| |||
| |||
|
|
The same is true of DB/2, Informix, and PostgreSQL; the quality of query optimization will vary quite a bit between them. DB/2, being FAR and away the most mature of the bunch, probably does the best, overall. (IBM was doing cost-based query evaluation decades ago.) |
#4
| ||||
| ||||
|
|
After takin a swig o' Arrakan spice grog, "Ryan" <rgaffuri (AT) cox (DOT) net belched out...: how different are the optimizers between the different commercial databases? Will a query written one way from one vendor not run as well under a different vendor? Also, Im familiar with Oracle and I know that physical I/Os are generally not considered much of a problem(its a small piece of the pie). Typical you focus on decreasing logical I/Os. I am reading an academic database book that states that physical I/Os are extremeley important. Is this the case with databases created by other vendors? |
|
Different versions of *Oracle* have massive variations in how queries are handled. Older versions used a "rule-based" scheme; more recently, they moved to a "cost-based" scheme where how the query is evaluated depends on the statistical characteristics of the data in your system. |
|
The same is true of DB/2, Informix, and PostgreSQL; the quality of query optimization will vary quite a bit between them. DB/2, being FAR and away the most mature of the bunch, probably does the best, overall. (IBM was doing cost-based query evaluation decades ago.) |
|
I'm not sure what strategy Microsoft has taken when they rewrote Sybase's codebase, whether they are rule-based or cost-based. MySQL does rule-based optimization, pointing back to '80s technology. |
#5
| |||
| |||
|
|
I'm not sure what strategy Microsoft has taken when they rewrote Sybase's codebase, whether they are rule-based or cost-based. MySQL does rule-based optimization, pointing back to '80s technology. |
#6
| |||
| |||
|
|
"Christopher Browne" <cbbrowne (AT) acm (DOT) org> wrote in message news:blg64h$brq8p$1 (AT) ID-125932 (DOT) news.uni-berlin.de... After takin a swig o' Arrakan spice grog, "Ryan" <rgaffuri (AT) cox (DOT) net belched out...: We have a saying in India: "Among all the known superstitions of the world, and you do not find in any particular superstition one redeeming feature. They are all alike founded on fables and mythology" I'm not sure what strategy Microsoft has taken when they rewrote Sybase's codebase, whether they are rule-based or cost-based. MySQL does rule-based optimization, pointing back to '80s technology. Microsoft recruited the best people in the field, so the quality of their optimizer must match. |
#7
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |