Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: maximum number of columns per table
Jeremy wrote:
> In article <1090377455.197311_at_yasure>, Daniel Morgan says... >
> > > I understand your approach. But what about the overhead of reading say > 150 rows every time when you only wanted one 'logical' row? Sure, in > some cases you don't need all 150 columns - but even then, the need to > code the multiple reads instead of a single 'select *' adds complexity > to the code. > >
Start reading Oracle Concepts guide, Tuning Guide, etc.
There's no overhead and Oracle will probably read the
150 rows in 1 IO operation anyway:
select * from your_1200_columns_table where id = <some unique_number>;
select p.* from parent p, attribute a
where p.obj_id = <some unique_number>
and p.obj_id = a.obj_id;
What's the problem?
-- Regards, Frank van BortelReceived on Wed Jul 21 2004 - 04:36:04 CDT