Solved

Materialized View Log

Posted on 2004-04-15
3
511 Views
Last Modified: 2012-08-14
Hi,

I have created a materialized log for a table.

T_enterprise_track Table

T_enterprise_track_id, service_id, track_no, status_id, last_accessed_time, activity_id

The column last_accessed_time is updated 30 times a sec. for the new inserted record.

My materialized view contains one column from that table (status_id), which has less updates.

My Materialized view log size will become huge. Since it log unwanted changes

Is there a way to log the fields which selected in the materialized view only not all columns.

Thanks
0
Comment
Question by:shalsaid
3 Comments
 
LVL 6

Accepted Solution

by:
musdu earned 125 total points
ID: 10835526
Hi,

you're right. You can create a table containing T_enterprise_track_id and status_id columns and update it by using a
row trigger on your table T_enterprise_track. Create a snap-shot of new table instead of T_enterprise_track.

regards.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Optimize/Performance Tune Production Databases 11 66
MySQL ERROR 1045 (28000) 2 81
How to remove numeric and alpha from an alphanumeric field? 5 86
Powershell script 13 102
Database tuning – How to start and what to tune. This question is frequently asked by many people, both online and offline. There is no hard and fast rule-of-thumb for performance tuning, however, before beginning the tuning process one should a…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question