Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

.NET Apps and Interbase Change Views – How to track data changes automatically

trackingchangesblog 7194421

This is a bonus post from the series about the integrating Interbase with .NET apps, and today we’ll talk about the incredible Interbase feature called Change Views™.

Just in case this is your first visit here, I have a recap for you in the chronological order the previous posts were published:

  1. Introducing InterBase for .NET – A Super-Secure Embedded Data Warehouse For .NET Users
  2. Getting Started With InterBase For .NET – Install, Configure And Secure Your Data in Minutes
  3. Your first .NET/Interbase App – How to connect .NET and the Interbase secure data store
  4. .NET Apps using Embedded Interbase Database – How to deploy a secure database app with zero installation/administration

Interbase Change Views™

This is the official Change Views definition:

The Change Views feature uses InterBase multigenerational architecture to capture changes to data. This feature allows you to quickly answer the question, “What data has changed since I last viewed it?”

Previously it involved triggers, logging, and/or transaction write-ahead log scraping. This was time-consuming for the developer and affected the database performance for a certain transaction load or change volume. Now with Change Views, there is no performance overhead on existing transactions because it maintains a consistent view of changed data observable by other transactions.

The Change Views mechanism is not dependent on its own underlying data, but is based on data already stored for existing base tables or views derived from base tables. This implicit view mechanism is temporal based and returns data that have changed since the prior transaction in which the implicit view was observed.

Sounds complicated? Not at all! Let’s review the main Change Views concepts:

Intro to Interbase Change Views

This video presents the Change Views concepts using a very didact demo that is available for you in the IB.NET DataProvider GitHub repository: https://github.com/Embarcadero/IB.NETDataProvider.

Additionally, for more technical details and other possibilities, I invite you to visit the product documentation located here: https://docwiki.embarcadero.com/InterBase/2020/en/Change_Views

 

Exit mobile version