?
Solved

Materialized View Log

Posted on 2004-04-15
3
Medium Priority
?
532 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 500 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
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…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

770 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