RE: Number of Columns in a Table & SQL Performance ?
Date: Mon, 9 Mar 2009 12:52:45 -0400
There are pro and cons on both.
If you dealing with update insert to single row from both tables and can carry out same on single combined table in single row - it will help to combine.
If you are dealing with multiple rows update and it span through different number of rows in individual tables and may lead to reading more data in joined table. - this will not help.
Tech Project Manager
Ph: 408 424 2777
P Consider the environment. Please don't print this e-mail unless you really need to.
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Subodh Deshpande Sent: Monday, March 09, 2009 7:46 AM
To: VIVEK_SHARMA_at_infosys.com; ORACLE-L Subject: Re: Number of Columns in a Table & SQL Performance ?
should not be if you are taking care of indexes...
thanks and take care..subodh
From: VIVEK_SHARMA <VIVEK_SHARMA_at_infosys.com>
To: ORACLE-L <oracle-l_at_freelists.org>
Sent: Monday, 9 March, 2009 18:49:57
Subject: Number of Columns in a Table & SQL Performance ?
Does the number of columns in a table affect the performance of SELECT/INSERT/UPDATE in OLTP Transactions.
If so, why?
NOTE - Merge of 2 existing tables each has 200 columns approx into a single Table is being planned..
Thanks in Advance
- CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
for the use of the addressee(s). If you are not the intended recipient,
notify the sender by e-mail and delete the original message. Further,
you are not
to copy, disclose, or distribute this e-mail or its contents to any
other person and
any such actions are unlawful. This e-mail may contain viruses. Infosys
every reasonable precaution to minimize this risk, but is not liable for
you may sustain as a result of any virus in this e-mail. You should
carry out your
own virus checks before opening the e-mail or attachment. Infosys
right to monitor and review the content of all messages sent to or from
address. Messages sent to or from this e-mail address may be stored on
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***