Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Performance/Design Advice or DBA vs. Developer

RE: Performance/Design Advice or DBA vs. Developer

From: Regis Biassala <Regis.Biassala_at_datalex.ie>
Date: Tue, 20 May 2003 09:53:22 -0800
Message-ID: <F001.0059E11C.20030520095322@fatcity.com>


I propose that person leaves the planet.....

Regis
OCP++ -----Original Message-----
Sent: Tuesday, May 20, 2003 6:33 PM
To: Multiple recipients of list ORACLE-L

David

    My thoughts are:

  1. If he doesn't want to use a database, why make him use one. Maybe he should just create a file somewhere on the server. That way nobody will blame you.
  2. He has a very shallow understanding of performance.
  3. I'd like him to take a look at one of our systems that has a string like this at the heart of one of the main tables. The developers couldn't be bothered to do it "right", so we're stuck with a crippled design because so much has been built around this mistake that the only feasible way to fix it would be to rewrite the entire system.

Dennis Williams
DBA, 80%OCP, 100% DBA
Lifetouch, Inc.
dwilliams_at_lifetouch.com

-----Original Message-----
Sent: Tuesday, May 20, 2003 10:57 AM
To: Multiple recipients of list ORACLE-L

The developers have a new table that contains a varchar(2) column with multiple, space-separated values for backup targets on servers (I didn't do the modeling on this one). For example:

host_name       backup_target 
dbserver1       / /etc /oracle /scripts /any/other/long/directory/name 


This column started out as varchar(2) 150, then grew to varchar(2) 250, and could potentially grow very long.

I recommended to the developers that we create a separate table to hold the separate values as individual rows, populated via trigger from a staging table during batch loads, something like this:

host_name       backup_target 
dbserver1       / 
dbserver1       /etc 
dbserver1       /oracle 
dbserver1       /scripts 
dbserver1       /any/other/long/directory/name 
...

My reasoning is:

Here is the response from one of the developers:

I can maybe be convinced otherwise, but here is my thinking in support of the "one big field" [varchar2(4000)?] theory:

What do you guys think- anyone have experience with this type of situation?

PS- Environment is Oracle 9.2.0.2 on Sun Solaris; the database is hybrid OLTP and reporting.

Thanks for sharing,

David B. Wagoner
Database Administrator

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: DENNIS WILLIAMS
  INET: DWILLIAMS_at_LIFETOUCH.COM

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
*********************************************************************
This electronic transmission is strictly confidential and intended solely
for the addressee. It may contain information which is covered by legal,
professional or other privilege. If you are not the intended addressee,
you must not disclose, copy or take any action in reliance of this
transmission. If you have received this transmission in error, 
please notify the sender as soon as possible.

This footnote also confirms that this message has been swept
for computer viruses.
**********************************************************************

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Regis Biassala
  INET: Regis.Biassala_at_datalex.ie

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue May 20 2003 - 12:53:22 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US