Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> My View performance is very slow
The performance of the below view is very bad.
I created below view to get the data from 2 different tables and there
is a column which is not part of any table
named "UPDATED",Which will be used along with other columns for
qyerying.
Ex: select *from my_view_v where UPDATED = 'No' and other columns. I created indexes on base tables even then performance is bad.
The base table t1 contains 1,00,0000 records.I have a union all also in the view.
Please help.
CREATE OR REPLACE FORCE VIEW my_view_V
(SOURCE_ROW_ID,...120 columns ......,UPDATED)
AS
SELECT t1.ROWID,
--120 columns
'No'
FROM table1 t1, table2 t2
--120 columns
'Yes'
FROM table1 t1, table3 t2
![]() |
![]() |