Solved

Materialized View Log

Posted on 2004-04-15
3
529 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

728 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