GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • V15 Documentation
  • Privacy Statement
  • License Agreement
  • Contact Us

This view

  • Original page
  • New address

GeezerVison is showing docs.voltdb.com — Chapter 4. Upgrading to Volt Active Data V9

  • Volt Active Data
  • Developer Hub
  • Books
    • VoltDB Tutorial
    • Using VoltDB
    • VoltDB Guide to Performance and Customization
    • VoltDB Administrator's Guide
    • Volt Kubernetes Administrator's Guide
    • VoltDB Quick Reference
  • Current docs ▶
  • VoltDB V15
    • VoltDB V16
    • VoltDB V15.3 LTS
    • VoltDB V14.3 LTS
    • VoltDB V13.3 LTS
    • VoltDB V12.3 LTS
    • VoltDB V11.4
    • VoltDB V10.2
    • VoltDB V9.3
Chapter 4. Upgrading to Volt Active Data V9

Upgrade Guide

  • Preface▶
    • 1. Structure of This Book
    • 2. Related Documents
  • 1. Software Releases and Long-Term Support (LTS)▶
    • 1.1. The Software Release Schedule
    • 1.2. Staying Current
  • 2. The Software Upgrade Process▶
    • 2.1. Preparing for the Upgrade
    • 2.2. Upgrading Volt Databases on Managed Servers
      • 2.2.1. Upgrading the VoltDB Software
      • 2.2.2. Upgrading VoltDB Using Save and Restore
      • 2.2.3. Performing an In-Service Upgrade of a Single Cluster
      • 2.2.4. Performing an Online Upgrade Using Multiple XDCR Clusters
    • 2.3. Upgrading Volt in Kubernetes
      • 2.3.1. Updating Your Helm Repository
      • 2.3.2. Updating the Custom Resource Definition (CRD)
      • 2.3.3. Upgrading the VoltDB Operator and Software
      • 2.3.4. Using In-Service Upgrade to Update the VoltDB Software
      • 2.3.5. Updating VoltDB for XDCR Clusters
  • 3. Upgrading to Volt Active Data V8▶
    • 3.1. What's New in Volt V8.0
    • 3.2. Special Considerations for Existing Customers
  • 4. Upgrading to Volt Active Data V9▶
    • 4.1. What's New in Volt V9.0
    • 4.2. Special Considerations for Existing Customers
  • 5. Upgrading to Volt Active Data V10▶
    • 5.1. What's New in Volt V10.0
    • 5.2. Special Considerations for Existing Customers
  • 6. Upgrading to Volt Active Data V11▶
    • 6.1. What's New in Volt V11.0
    • 6.2. Special Considerations for Existing Customers
  • 7. Upgrading to Volt Active Data V12▶
    • 7.1. What's New in Volt V12.0
    • 7.2. Special Considerations for Existing Customers
  • 8. Upgrading to Volt Active Data V13▶
    • 8.1. What's New in Volt V13
    • 8.2. Special Considerations for Existing Customers
  • 9. Upgrading to Volt Active Data V14▶
    • 9.1. What's New in Volt Active Data V14
    • 9.2. Special Considerations for Existing Customers
  • 10. Upgrading to Volt Active Data V15▶
    • 10.1. What's New in Volt Active Data V15
    • 10.2. Special Considerations for Existing Customers
  • A. Configuration File (deployment.xml)▶
    • A.1. Understanding XML Syntax
    • A.2. The Structure of the XML Configuration File
  • B. Using the Original VoltDB Client Interface▶
    • B.1. Connecting to the VoltDB Database
      • B.1.1. Connecting to Multiple Servers
      • B.1.2. Using the Auto-Connecting Client
    • B.2. Invoking Stored Procedures
    • B.3. Invoking Stored Procedures Asynchronously
    • B.4. Closing the Connection
    • B.5. Handling Errors
      • B.5.1. Interpreting Execution Errors
      • B.5.2. Handling Timeouts
      • B.5.3. Writing a Status Listener to Interpret Other Errors

Chapter 4. Upgrading to Volt Active Data V9

This chapter describes what new features are introduced in V9.0 and what upgrade tasks may be required of existing customers.

4.1. What's New in Volt V9.0

Volt 9.0 is a major release incorporating features from previous point releases plus new capabilities. The major new features in V9.0 include:

  • Automated Deletion of Old Data — Volt 8.4 introduced a new feature, USING TTL ("time to live"), that lets you define when records expire and can be deleted. This feature simplifies application design by automatically removing old data from the database based on settings you define in the table schema. With Volt 9.0, this feature is extended to include the migration of deleted data to other systems for archival purposes, as described next.

  • New Export Capabilities— The code that supports export of data to external systems has been rewritten to provide flexibility, improve reliability, reduce system resource utilization, and support new and future product features. The new export system reinforces the durability of data queued to the export connectors across unexpected system and network failures and allows export to be extended to add new capabilities.

    The first two new capabilities are:

    • ALTER STREAM — The ability to modify an existing stream. You can use the new ALTER STREAM statement to modify the schema of the stream or the target for export without interrupting any already queued export data. See the description of ALTER STREAM in the Using VoltDB manual for details.

    • Automated Data Migration — You can now automate the export of data from Volt database tables to other systems as part of the data aging process. For tables declared with the USING TTL clause you can now add a MIGRATE TO TARGET clause. With MIGRATE TO TARGET, data that exceeds its "time to live" is queued to the specified export connector. Once the data is exported and acknowledged by the external system, it is then deleted from the Volt database. This automated process not only automates the archiving of old data it ensures that the data stays in the Volt database until it is confirmed as received by the export target. See the description of the CREATE TABLE statement in the Using VoltDB manual for more information about the USING TTL and MIGRATE TO TARGET options.

    Two important aspects of the new export infrastructure are the effect on the overall export process:

    • Export now starts when the stream is defined, not when the target is defined. Previously, stream data was not queued for export until a valid export connector was configured and connected. This meant data written to a stream might be dropped rather than queued for export if the connector was not configured correctly. Starting with Volt 9.0, data written to streams declared with the EXPORT TO TARGET clause are queued for export whether the target is configured or not. Similarly, the queued data is removed as soon as the stream itself is removed with the DROP STREAM statement.

      This change makes the queuing of export data much more reliable, easier to understand, and easier to control. Data is queued for export as soon as the stream is defined and purged as soon as the stream is dropped. The new ALTER STREAM statement further lets you modify the stream definition without having to clear any existing export queues.

    • Export is now an enterprise feature. The Volt Community Edition provides access to two streams per database, so users have access to basic export functionality. But for unlimited access to export and migration features, the Enterprise Edition is required. (See Special Considerations for more information about upgrading community databases that use export.)

  • "Live" Schema Updates with Database Replication — Previously, database replication (DR) required the schema of the cooperating databases to match for all DR tables. So updating the schema required a pause while all of the affected databases were updated. Starting with 9.0, this limitation has been loosened. DR continues even if the schema are different. So it is possible to update the schema without interrupting ongoing transactions.

    Of course, it is not possible for Volt to resolve individual transactions if the schema differ. So if a DR consumer (either a replica in passive DR or an XDCR cluster in active replication) receives a binary log where the schema of the affected table(s) does not match, DR will stall and wait for the schema to be updated to match the incoming data. Therefore, care must be taken when updating the schema to ensure that no transactions that are affected by the schema change are processed during the interval when the clusters' schema do not match. See the sections on updating DR schema for passive and active DR for more information.

  • Simplified JSON interface — A new version of the Volt JSON API, 2.0, is now available. The original JSON interface provides complete information about the schema for the data being returned, including separate entries for the data, the column names, and datatypes. The 2.0 API returns a much more compact result set with each row represented by an associative array with each element consisting of the column name and value.

    The 1.0 API is useful if you do not know what data is returned and want to deconstruct the results in detail. The 2.0 API is more useful for rapidly fetching and using known results. Both versions of the API accept the same parameters, as described in the section on using the JSON API in the Using VoltDB manual. So the following calls return the same data except at different levels of detail.

    http://myserver:8080/api/1.0/?Procedure=@Statistics&Parameters=["TABLE",0]
    http://myserver:8080/api/2.0/?Procedure=@Statistics&Parameters=["TABLE",0]
  • Support for Java 11 — Volt now supports both Java 8 and Java 11.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.