Skip to main content

Tools for performing batch imports into Vertica

Project description

This package contains tools for performing batch imports to the Vertica database.

Provided modules

Module which contains logic for connection to a Vertica DB.
High speed loader for Vertica.
Base-class for writing Vertica batch importers.
Module managing export from one Vertica cluster to another.

Provided scripts

Command-line interface for the pyvertica.batch module.
Command-line interface for the pyvertica.migrate module.


pyvertica can be installing by executing pip install pyvertica.



  • ADD: rolllback method to VerticaBatch object.
  • ADD: REJECTMAX option.
  • CHANGE: VerticaBatch.get_errors now returns the number of errors instead of a bool indicating if there are errors.
  • CHANGE: REJECTEDFILE option is now set to __debug__.


  • CHANGE: Make it possible to pass host, and credentials to the vertica_migrate tool by using an config file (to not expose credentials on the command-line).


  • CHANGE: Make it more easy to pass more arguments to get_connection through BaseImporter and VerticaBatch. Note that this is a backwards incompatible change as the arguments for BaseImporter, VerticaBatch and get_connection have changed.


  • FEATURE: Add a migration module pyvertica.migrate``and script ``vertica_migrate, to move data between clusters.
  • CHANGE: Make the reconnect optional in VerticaBatch.get_connection


  • CHANGE: Make the execution of ANALYZE_CONSTRAINTS optional (executed when getting the errors).


  • FIX: Handle exceptions raised inside the QueryThread so that the semaphore always gets released.


  • FIX: Line-endings in file-object returned by get_errors. All is now \n.


  • CHANGE: The Batch-history table is now configurable in BaseImporter.
  • CHANGE: get_connection selects a random node from the cluster and returns a connection to that node.
  • FIX: Cleanup fifo + temporary directory.


  • CHANGE: Change the way in how we detect if the FIFO object is consumed by the QueryThread. By opening the FIFO object (for writing) in 'w' mode after the QueryThread was created, it will block until the COPY SQL statement is started.


  • Public release!

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyvertica, version 1.5.0
Filename, size File type Python version Upload date Hashes
Filename, size pyvertica-1.5.0.tar.gz (28.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page