Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Materialized view log for selected rows

Status
Not open for further replies.

sam93

Programmer
Jul 19, 2002
65
CA
Hi,

Is it possible to create a materialized view log on a table for some rows only. I have a huge table (about 25 mil. rows) with STATUS column. About 5% of the rows have a TYPE_CODE of '04'. Is it possible to create mat. view log only to track changes in those rows.

If this is not possible then what can be a more efficient solution to meet this requirement? I cannot make any changes in the source table, such as creating a database trigger or moving these rows to another table.

Thanks.
 
Why do you need MV? Creating bitmap index may solve your problems. In any case you obviously may add where clause to your MV.

Regards, Dima
 
Hi,

I cannot make any changes to the source table, including creating an index. I think I'll have to filter it in the mat. view with the WHERE clause.

Thanks for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top