Limitation for view [message #242383] |
Fri, 01 June 2007 14:52 |
vasudevan
Messages: 119 Registered: February 2006 Location: TRICHY
|
Senior Member |
|
|
Hello sir
I have one question there is any limitation for views ,because
we have created a view from different 20 tables and also view have more than 120 columns from those 20 tables
for eg: if we have tried to run the following query it would be freezed
>select count(*) from <view_name(from 20 tables)> ;
plz give me good suggestion to overcome this type of problems.
-advanced Thanx.
|
|
|
|
Re: Limitation for view [message #242395 is a reply to message #242389] |
Fri, 01 June 2007 15:33 |
vasudevan
Messages: 119 Registered: February 2006 Location: TRICHY
|
Senior Member |
|
|
Thanx for ur reply sir
Actually this view normally used for report generation purpose
we need this 120 colums information thats why we have desidned like this ,there is any other way to fast up the view output.
|
|
|
|
|
|
Re: Limitation for view [message #242466 is a reply to message #242403] |
Sat, 02 June 2007 07:06 |
rleishman
Messages: 3728 Registered: October 2005 Location: Melbourne, Australia
|
Senior Member |
|
|
There is nothing wrong with using views per-se, joins of views can present problems though - especially when they are complex views (see the doco for a definition of complex views).
Oracle has trouble with joins of 5 or more tables. The more tables, the more likely you are to have trouble. See here for more.
Ross Leishman
|
|
|
Re: Limitation for view [message #242727 is a reply to message #242383] |
Mon, 04 June 2007 21:21 |
artmt
Messages: 32 Registered: October 2006 Location: Boston
|
Member |
|
|
If some of the queries against your view need to query base tables A,B,C,D while other queries are only intersted in tables AEDF, then consider table functions as alternative to views.
|
|
|