Category Archives: InterBase

Articles about the InterBase database

InterBase Change Views – Part 1 – What is a change view

This is the first post of a series on InterBase Change Views and is intended to be a high level overview of the new powerful change view technology that is patent pending and part of InterBase. Following this post I plan to show more posts taking the concept of Change Views into the real world with some real application examples.

InterBase Change Views

InterBase XE7 introduces a new way to track data changes to the database called Change Views.

Change Views are a new “subscription based” model allowing you to “subscribe” to data; once subscribed you are able to ask the database at a later time, spanning connections, for what has changed.

This is an especially cool, low cost way to reduce network traffic, mobile data costs and development time when tasked with keeping multiple remote database caches up to date. (especially if you have large tables to keep up dated).

Change Views are simple to use and reduce the upfront planning needed for building in data tracking that history has shown to be inherently complex and error prone.

Best of all change views has zero impact on database performance regardless of the number of subscribers!

Subscription & Subscribers

A core concept to change views is that of Subscriptions and Subscribers.  InterBase Change view allows multiple subscribers to a subscription.

A subscription is defined once and then can be connected to by multiple users. Once defined, you can control who can subscribe thanks to the InterBase inbuilt user security.

Subscriptions work at field level and can be defined to track either an entire table or multiple tables. Subscriptions can also be defined to track Inserts, Updates or Deletes (or a mix of)

Multiple devices per subscriber

In addition to allowing specific users to subscribe to data, you can use a single user to have multiple destinations that are subscribing. This allows a user to subscribe for different devices such as their Phone, Tablet, Laptop or for a single user to be used programatically to distinguish multiple sites – e.g. Office 1, Office 2 etc.

This is done using the “at” verb when connecting to the subscription.

What Change Views are not!

Change Views are not an auditing system. While you can track deleted records, Change View are about identifying what has changed without keeping every value that it has been. If you want to do that, then continue to use Triggers and logging tables for the values you need to audit.

Video – Change Views

An overview of Change Views is available in the InterBase product address from CodeRage 9. I will be digging into more code based versions through this series. This covers the syntax used

Documentation – Change View

There is a great introduction to InterBase Change Views in the release notes for InterBase XE7
http://docwiki.embarcadero.com/InterBase/XE7/en/What’s_New_in_InterBase_XE7#Change_Views_Feature

 

Delphi, C++ and InterBase Community

I’m sure some of you have seen the new Delphi, C++ and InterBase community platform that is being developed at Embarcadero. If not I would highly recommend a visit.

The Embarcadero Community is the new home to blogs, event diaries, latest news and features articles. While the old locations are still working, over time expect to see more and more on the community. Community is also social media ready with links for Facebook, Twitter, linkedIn and Google+

Community Welcome Page

Continue reading Delphi, C++ and InterBase Community

InterBase XE7 now available!

InterBase XE7 – It’s Live!

http://embt.co/IBXE7FirstLook
I am especially proud today to blog about the launch of InterBase XE7! As the Product Manager for InterBase, I have seen the planning, development and delivery of some amazing new developments over this last year or so, and today you can get your hands on them!

InterBase XE7 – Whats new?

In short, the big headline items include

  • Change Views
  • New – 64bit Linux support
  • New – Ubuntu Linux support
  • A number of speed improvements (as you would expect)
  • 64bit transaction ID’s = longer running databases
  • Incremental data dumps for faster backup
  • Additional API support
  • Performance Monitoring updates

Change Views!

InterBase XE7 (codenamed DeltaForce during development) introduces “Change Views“, which is a whole new way to track and manage changes (Delta’s). If you have ever wanted an easy way to identify what delta data is needed to keep your local cache up to date Change Views is for you!

Change views identifies data at the field level with exceptionally low footprint on the database, regardless of 1 or 1000’s of subscribers.

Change views introduces a subscription based model that enables you to create a subscription for Inserts, Updates, Deletes to specific tables either completely or partially. A subscription can contain links to one or more tables.

“Tracking and managing data changes to multiple destinations has never been easier; just subscribe and query with SQL!”

InterBase – the 64bit database for Ubuntu!

InterBase is also now available for Linux 64bit for the first time on RHEL 6 and 7, SUSE 11 and also for the first time official Ubuntu 14 support.

Incremental Data Dumps

A data dump is a read only copy of the database. For XE7 they are suggested as the best way to backup the database due to their speed at getting the copy updated to reflect the live version quickly, managed by delta change tracking.  This can either be done via the command line using gbak, via IBConsole of via a new services API. If your using Change Views, then you should use Incremental Data Dumps to ensure subscription tracking is maintained.

64bit Transaction ID’s

One great thing about InterBase is that its an embeddable database, i.e. you can install it silently in part of your application. In the past, for exceptionally heavy users with 10’s of 10,000’s of transactions a day you used to be looking to schedule monthly backup and restore’s to ensure you didn’t run out of transaction ID’s at peak time. With XE7, transaction ID’s are now 64bit in size meaning that even if you were using 10,000 transactions a second, you can run for 150+ years (just a tad longer!)

Updated InterBase Documentation

InterBase has long been one of the best documented products at Embarcadero and along with the traditional InterBase documentation http://docs.embarcadero.com/products/interbase, InterBase XE7 also has its own docwiki site with detailed notes about the new product features http://docwiki.embarcadero.com/InterBase/XE7/en/Main_Page

Find out more….

Join me for the webinar tomorrow, or register to get the replays.
http://embt.co/IBXE7FirstLook

I will look to get more blog posts done on the new features soon.

InterBase XE7 – First Look Events!!

InterBase XE7 First look live and online!

Starting with the InterBase Product Address at CodeRage 9 news about the new edition of InterBase has been slowly spreading.

InterBase project DeltaForce, named due to its new patent pending technology for tracking and querying of deltas, is a highly scalable, low footprint answer to a number of distributed data set questions.

I’m really excited about what we have coming up in the InterBase XE7 preview events.  I will be hitting the road over the coming weeks in person to present and talk to developers, system architects etc about what InterBase DeltaForce (XE7) can help you achieve and how it can dramatically assist you throughout the product life cycle.

InterBase XE7 First Look – LIVE!

I will be in the following cities over the next few weeks for live preview workshops

InterBase XE7 First Look – Webinar

If your unable to attend one of the live events, then a global live webinar, repeated in 3 time zones, will be going out Thursday 4th December.InterBase XE7 First Look

  • 6AM San Francisco / 9AM New York / 2PM London
  • 11AM San Francisco / 2PM New York / 7PM London

5PM San Francisco / 5-Dec 10AM Tokyo / 5-Dec 12PM Sydney
http://embt.co/IBXE7FirstLook

Can’t wait?

If you are a current InterBase customer, then we still have space on the beta for those of you who really can’t wait. Register now and get priority access to explore InterBase DeltaForce now!

To keep up on on the latest, please follow @InterBase on twitter.

IBLite example from CodeRage 9

The Object Pascal programming source code for the IBLite example from CodeRage 9 that I demo’ed is now available from Embarcadero’s Code Central http://cc.embarcadero.com/item/30035

The C++ programming version demo’ed requires the data module from the Object Pascal code, so once I’ve cleaned that up I’ll post that as well.

The IBLite example code works on Windows, Mac OS X, iOS and Android.  The session replays are available online via the CodeRage website. – More on the InterBase sessions in my previous post

 

InterBase CodeRage 28th-30th November

CodeRage 9Register NOW and join me live at #CodeRage!

CodeRage is a fantastic Object Pascal programming and C++ Programming event – highly recommended for any developer, and best of all – REGISTRATION IS FREE!!

Missed it or got a meeting? – Don’t worry, register and you can still get to see the replays!

My two InterBase CodeRage Sessions!

I will be presenting two InterBase CodeRage sessions on Thursday 30th November 2014

  • the InterBase Keynote (8am Pacific / 4pm UK / 5pm CET) where we will be revealing some of the exciting new developments we are working on with InterBase with project DeltaForce!
  • I will also be talking about InterBase’s free edition that can be used on Windows, Mac OS X, Android and iOS – IBLite in the session Embedding local and remote data access into your applications with IBLite (3pm – C++ & 6pm – Object Pascal)

For times and details of all sessions visit the CodeRage website – See you there!!

 

RAD Studio XE7 – includes IBLite for all platforms!

RAD Studio XE7 has been launched this week and brings with it a host of new features and new components for both the VCL and FMX frameworks.

Its nice to see a lot of care has been made with the new language and non visual components to ensure lots of new stuff for both VCL and FireMonkey which is great for older legacy products and also newer mobile ones. This includes access to Bluetooth (that also now works with AppTethering), a new middle tear architecture called EMS (Enterprise Mobility Services) and the ability to plug in a very fast parallel programming library. The full “whats new” list is on DocWiki and I would recommend a read of that before you go any further – There are some real gems in there. (did I mention GitHub support in the IDE as well?)

On the component side, Marco Cantu has done a great summary post already http://blog.marcocantu.com/blog/2014_september_Delphixe7_newclasses.html  so I feel free to mention a very exciting edition to the run time royalty free side 🙂

IBLite for all platforms – Runtime royalty free!

RAD Studio XE5 saw IBLite appear, a free version of InterBase (in its embedded format) for iOS, with RAD Studio XE6 Android was added and now with RAD Studio XE7 InterBase IBLite is available on Windows and Mac OS X as well.

I will follow up with some blog posts about using this soon, but there is also now a new “Lite” property on the TFDPhysIBDriverLink. Setting this to true picks up the fact you are using IBLite and will default the drivers to the correct locations for the embedded version.

As IBLite can be used as a client library, for those using InterBase, this also opens up the door to free local storage and client driver in one, to simplify the install process. This can also mean fewer access rights as you don’t have to install the client on a machine if you use IBLite.

As before you do need to generate your InterBase license file and deploy that with your application. The license is supplied in your order fulfilment email. (You can see the steps to take in this video)

InterBase IBLite is a great path for those who want the same easy to use database on all platforms, with the support to scale into the future with the full version. It also is a great path for those moving up from Paradox, especially when you look at using FireDAC and reFind to migrate

More InterBase Quick start videos http://www.embarcadero.com/products/interbase-labs

More on InterBase
http://www.embarcadero.com/products/interbase