473,769 Members | 3,872 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

No future for DB2

This article is very bleak about future of DB2. How credible is the
author. http://www.eweek.com/article2/0,1895,1839681,00.asp

Nov 12 '05
375 18183
rkusenet wrote:
I am beginning to wonder whether being a full time DBA is a
dying profession left for old fogies like me.


I think from one standpoint it is. That standpoint being the
traditional DBA job: It is on its last legs. The DBAs and SysAdmins
of the last decade or two are the equivalent of the county sheriff
during the days of the Wild West. A bunch of self-selected cowboys
with a skill set viewed as valuable but untrained, uncertified, and
being driven into obsolecense by changes in the law and changes in
the demands placed upon them by the community at large.

Just as a point-in-time came when it was not enough to be tough and
be good with a gun ... we are rapidly approaching the time when it
will no longer be enough to be as we have been.

Just as a group of physicians formed the American Board of Medical
Specialities (www.abms.org) and just as attorney's formed the American
Bar Association: With equivalent organizations for other professions
such as accountant, engineer, and pharmacist we too will need to
define and certify members of our profession. All joking aside ...
how many people do you know in IT today that can't, given a single
first-normal form table, convert it to 2NF, 3NF, etc.

More on this later and hopefully something about the American College
of Database Professionals: An organization in its formative stages and
modeled after other professional organizations such as www.facs.org.
--
Daniel A. Morgan
http://www.psoug.org
da******@x.wash ington.edu
(replace x with u to respond)
Nov 12 '05 #201
Buck Nuggets wrote:
db2 has less moving parts to worry about


Oracle has one ... RMAN ... how many less does DB2 have?

--
Daniel A. Morgan
http://www.psoug.org
da******@x.wash ington.edu
(replace x with u to respond)
Nov 12 '05 #202
Mark A wrote:
"rkusenet" <rk******@hotma il.com> wrote in message
news:3l******** *****@individua l.net...
The project I am working on has been developed by UK folks and we are
customizing it for this Canadian customer. I too got a feeling that those
guys are experts only in SQL Server.
Their concept of a RDBMS seems to be weak. For e.g. in SQL Server
one can create a Foreign Key without creating an index. In fact index
creation on the FKY columns is a separate process. Same in Oracle
and DB2. What the UK folks never realized is that almost all the time
a FKY column is joined with PKY column for Query (otherwise why
would it be a separate table). So creating index on the FKY column
should be automatic when creating the FKY constraint.
When I joined the project, one of the first fire I had to fight in the
testing phase was locking. SQL server use to do table scan when it
can't find matching index and that pretty soon escalated into locking
and deadlock problem.
ISOLATION LEVEL - well most of them don't even know what it is,
let alone it is.

I am beginning to wonder whether being a full time DBA is a
dying profession left for old fogies like me.


The subject of foreign keys and indexes has been discussed in the Oracle
newsgroup recently.

Not all foreign keys need (or should have indexes). Some foreign keys are
merely connected to code tables that are used to make sure a valid value is
used, and they are never joined. The example used in the Oracle thread is
division_code on sales transaction table that relates to a division_code
table with only 3 rows (divisions).

Having an index on the foreign key for division_code would slow down inserts
on the sales transaction table, and would never be used for queries
(cardinality of 3 is too low for a RDBMS to use this index for queries),
except for the extremely unlikely event of someone trying to change or
delete a row in the division_code table.

So creating an index on a foreign key should not be automatic.


A syntax such as the following would solve the problem:

ALTER TABLE tab1
ADD CONSTRAINT fk_tab1_col1
FOREIGN KEY (col1)
REFERENCES tab2(col2)
USING INDEX;

Giving the power to decide whether to index, or not, to the
database professional. It needn't be an all, or nothing, syntax.
--
Daniel A. Morgan
http://www.psoug.org
da******@x.wash ington.edu
(replace x with u to respond)
Nov 12 '05 #203
Mark A wrote:
The result is that many schemas have way too many indexes that will never be
used, and of course invariably there are at least a few indexes missing.


While I have seen my fair share of under and over indexed tables I am
a wondering why this concern about slowing up an insert. Rarely is the
problem with an application's performance related to speed of inserts.
Rather it is the speed to retrieval, SELECT, that is the issue and
the focus on getting the data IN should not take precedence over getting
it back out.

One can only insert a record one time. Likely the record will be queried
many many times thereafter.
--
Daniel A. Morgan
http://www.psoug.org
da******@x.wash ington.edu
(replace x with u to respond)
Nov 12 '05 #204
"DA Morgan" <da******@psoug .org> wrote in message
news:1122836023 .709609@yasure. ..
Oracle has one ... RMAN ... how many less does DB2 have?

Daniel A. Morgan


I think he is talking about the Oracle control files, which are optionally
backed up. RMAN is a big improvement for backups compared to what was
previously required in Oracle, but amazingly not everyone uses it.

DB2 just has one command, the backup command. All of the control files
needed to restore a database are included. If doing an online backup, you
can also include the log files that were active during the online backup in
the backup image.
Nov 12 '05 #205
Mark A wrote:
"DA Morgan" <da******@psoug .org> wrote in message
news:1122836023 .709609@yasure. ..
Oracle has one ... RMAN ... how many less does DB2 have?

Daniel A. Morgan

I think he is talking about the Oracle control files, which are optionally
backed up. RMAN is a big improvement for backups compared to what was
previously required in Oracle, but amazingly not everyone uses it.

DB2 just has one command, the backup command. All of the control files
needed to restore a database are included. If doing an online backup, you
can also include the log files that were active during the online backup in
the backup image.


I think he is talking about dinosaurs that still use command line
scripts to back up Oracle and thus have to concern themselves with
control files, log files, data files, temp files, etc. But lets
acknowledge that these DBAs are dinosaurs using techniques no longer
reflecting best practice in the product.

Sole exception from my comment ... those poor souls precluded from
upgrading to 9i or above by management short-sightedness.
--
Daniel A. Morgan
http://www.psoug.org
da******@x.wash ington.edu
(replace x with u to respond)
Nov 12 '05 #206
"DA Morgan" <da******@psoug .org> wrote in message
news:1122836433 .950130@yasure. ..
While I have seen my fair share of under and over indexed tables I am
a wondering why this concern about slowing up an insert. Rarely is the
problem with an application's performance related to speed of inserts.
Rather it is the speed to retrieval, SELECT, that is the issue and
the focus on getting the data IN should not take precedence over getting
it back out.

One can only insert a record one time. Likely the record will be queried
many many times thereafter.
--
Daniel A. Morgan


When a row is inserted into a table (for example a sales_transacti on table)
then the database must add the table row and add a row to each index.
Typically, it takes more time to add the index row than the data row in a
b-tree index because it must be stored in exact order in the index, and if
the index block is full, a block split occurs, and the non-leaf blocks need
to be updated.

With a low cardinality column like division_code (I assumed there were only
3 valid divisions), an single column index on division_code would not be
used by a query (unless the entire table happened to be in physical sequence
by division_code, or the sales_transacti on table had an extremely large row
length). Typically, there are many of these foreign key relationships to
parent tables, so we are not talking about just one additional index.

If we were talking about the department_code in the employee table, it would
not be much of a problem because I don't know of any companies adding so
many employees to their employee table to make a difference. But for a
sales_transacti on table, where rows are inserted at a high volume, it
certainly could make a difference, especially with multiple unnecessary
indexes..

But my philosophy is, regardless of the size of the table, that if an index
will not be used (assuming that no one is going to do delete cascade or
update on the parent division_code table), then whey have it?

Unfortunately, most "DBA's" don't understand the nature of the application
well enough, and they don't understand enough about how optimizers work, to
make these decisions on a case by case basis. Many DBA's are looking for a
single rule they can follow in every circumstance. IMO, these people are not
real DBA's, and should consider becoming a UNIX/Linux Administrator.
Nov 12 '05 #207
"DA Morgan" <da******@psoug .org> wrote in message
news:1122837601 .611024@yasure. ..
I think he is talking about dinosaurs that still use command line
scripts to back up Oracle and thus have to concern themselves with
control files, log files, data files, temp files, etc. But lets
acknowledge that these DBAs are dinosaurs using techniques no longer
reflecting best practice in the product.

Sole exception from my comment ... those poor souls precluded from
upgrading to 9i or above by management short-sightedness.
--
Daniel A. Morgan


I have seen 9i and 10g shops that don't use RMAN.
Nov 12 '05 #208
"DA Morgan" <da******@psoug .org> wrote in message
news:1122835935 .944779@yasure. ..
Just as a group of physicians formed the American Board of Medical
Specialities (www.abms.org) and just as attorney's formed the American
Bar Association: ... More on this later and hopefully something about the
American College
of Database Professionals: ... orrganizations such as www.facs.org.


Remind me what that "ww" stands for in www. again ...?
Nov 12 '05 #209
On Sun, 31 Jul 2005 13:24:14 -0600, Mark A interested us by writing:
But my philosophy is, regardless of the size of the table, that if an index
will not be used (assuming that no one is going to do delete cascade or
update on the parent division_code table), then whey have it?


This is one statement with which I can unconditionally agree.

It follows with my personal belief that the need of every index should be
periodically re-evaluated, and - if it's existance can not (or can no
longer) be justified, the index should be eliminated.

Thankfully, Oracle provides the ability to monitor index usage.

--
Hans Forbrich
Canada-wide Oracle training and consulting
mailto: Fuzzy.GreyBeard _at_gmail.com
*** I no longer assist with top-posted newsgroup queries ***

Nov 12 '05 #210

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

47
3664
by: David Eng | last post by:
> For many years now enterprise business application development has > been the core area for the use of C++. > Today a significant share to this segment has already been lost to > SUN's Java technology and with MS now abandoning C++ in favour if its > proprietery .NET and C# technology, how long can we except C++ to hold > on against these might competitors? > Has C++ become a dying language? > What is the future of C++? As I posted...
35
3354
by: GTO | last post by:
I do not believe that C# is the future of C++. I also do not believe that adding two thousand new library functions to the standard library is the future of C++. But what is the future of C++? Is it as good as a programming language can get? Like so many of you, I programmed speech recognizers, image recognition systems, a portion of a chess program, lots of numeric code using STL, and tons of other applications in C++, (even firmware...
9
2368
by: Lyle Fairfield | last post by:
It's confusing. Many people here and elsewhere make many different predictions: There's an introduction mentioning some aspects of this at http://msdn.microsoft.com/data/mdac/techinfo/default.aspx? pull=/library/en-us/dnmdac/html/data_mdacroadmap.asp revised Sep 2005 (upper case conversions are mine)
2
2165
by: | last post by:
Everything seems to be moving to .NET and VC++ seems to be adding a lot of managed code support every new release. The questions: is unmanaged code in VC++ beeing phased out in favour of managed code? And suppose I still program in VC++ 6.0, can I safely assume that the code I use in VC++ 6.0 will still be available in future VC++ versions. Finally will VC++ 6.0 generated executables be still be able to run on futur Windows versions and...
0
1854
by: Fuzzyman | last post by:
Hello all, The following is a copy of a blog entry. It's asking a question about future statements and the built in compile function. I'd appreciate any pointers or comments about possible approaches. `Movable Python <http://www.voidspace.org.uk/python/movpy/>`_ supports running both Python scripts and ``.pyc`` bytecode files. It does this by compiling scripts to bytecode, or extracting the code object from bytecode files, and then...
29
3133
by: Zootal | last post by:
My apologies if this gets asked/discussed a lot. With c# rampaging through corporate USA (and other countries), what impact will this have on the usage and future of c++? I've used both of them a bit. I'm in school, and our CS program does not use c#, but uses mostly c++ and a bit of java. C# is relegated ot the CIS programs. Out there in the real world, what kind of a future does c++ have?
6
14452
by: rohayre | last post by:
Im a long time java developer and actually have never done anything with java scripting. I'd like to write a short simple script for calculating a date in the future based on today's date and a letter. Can I use javascripting to create a webpage to allow a user to enter a letter and then click a button to find a future calendar date? I'm just not sure how much user interaction scripting allows. Does java scripting allow buttons, textfields...
190
8174
by: blangela | last post by:
If you had asked me 5 years ago about the future of C++, I would have told you that its future was assured for many years to come. Recently, I have been starting to wonder. I have been teaching C++ at a local polytechnical school here in Vancouver, Canada for approximately 8 years. Six years ago, at the height (or should I say volume?) of the internet bubble, I had 80+ students per semester in my C++ course. Now I am fortunate to have...
5
3593
by: KimmoA | last post by:
Does C have a future? I'd like to think so, but nobody seems to agree with me. Of course, I don't use C in my profession, and maybe I wouldn't be using it if I had the pressure to actually produce things with deadlines and stuff. Hmm. That's a depressing thought. I can't stand OOP. Yes, it is beautiful in theory, and it might make sense for huge projects with many people involved, but I don't want anything to do with it. (I switched to C...
51
3434
by: Jon Harrop | last post by:
If Microsoft turn F# into a product and place it alongside C# and VB, will many people migrate from C# to F#? -- Dr Jon D Harrop, Flying Frog Consultancy http://www.ffconsultancy.com/products/?u
0
9579
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10206
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9984
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9851
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5293
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5441
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3949
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3556
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2811
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.