Important alert: (current site time 7/15/2013 7:22:26 PM EDT)
|
|
Baan index performance, oxym0ron!
|
Email
|
| Submitted on: |
7/11/2000 11:04:57 PM |
| By: |
Steven Hauser
|
| Level: |
Beginner |
| User Rating: |
Unrated |
| Compatibility: |
Informix
, Oracle |
| Views: |
8506 |
|
|
|
|
|
Baan Indexes - Anchor your Performance Firmly in the Mud. I do not know about you, but BaanIVc with the "Level 2" Oracle driver
has some of the worst indexes I have seen, well, since PeopleSoft anyway. And this is not just Oracle specific, any database will have problems
with Baan's indexes, including Informix and DB2.
|
| | Terms of Agreement:
By using this article, you agree to the following terms...
- You may use
this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
- You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
- You may link to this article from another website, but ONLY if it is not wrapped in a frame.
- You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.
|
I do not know about you, but BaanIVc with the "Level 2" Oracle driver
has some of the worst indexes I have seen, well, since PeopleSoft anyway. And this is not just Oracle specific, any database will have problems
with Baan's indexes, including Informix and DB2.
A couple examples from some large tables in implementations I have
seen:
Table TTPPPC231ccc has thirteen indexes. All thirteen have the fields
T$YEAR, T$PERI, T$EMNO, T$SERN. Many other fields are shared too.
What a waste.
Five of the thirteen indexes start with fields that have less than
five unique values. Only one of the thirteen indexes has a 'head'
(lead field) with more than a couple thousand values.
Thirteen must be Baan's lucky number.
The huge TTFGLD4xxccc general ledger tables seem to start every
index with a company number field, guaranteed to be a domain with
few unique values in any implementation of BAAN.
So what is the point? All the documentation I have read from
Oracle, Informix, etc., says to model a B-Tree composite index
with a head field that has a large domain with many values distributed
evenly over that domain. This allows the RDBMS optimizer to
pick the best path to the data.
Hmm... This is exactly what Baan does not do. Why trust the RDBMS
to pick the best path. What does Informix or Oracle know about databases,
not as much as the Dutch boys. With level1 Baan did not even let the
RDBMS make the index. So Baan now lards the SQL with hints to limit
the effectiveness of the optimizer.
And don't put thirteen indexes on a table, it makes updating very slow.
Maybe if Baan concentrated on engineering instead of conservative religious practices, apartheid and corporate shenanigans they might sell some product. Or maybe they are all shooting smack and
smoking hash in Amsterdam. Ya sure, you betcha.
|
| Other 13 submission(s) by this author
| |
Report Bad Submission
|
Your Vote
|
| |
Other User Comments
|
There are no comments on this submission. |
Add Your Feedback
Your feedback will be posted below and an email sent to
the author. Please remember that the author was kind enough to
share this with you, so any criticisms must be stated politely, or they
will be deleted. (For feedback not related to this particular article, please
click here instead.)
To post feedback, first please login.
|
|