Skip to main content
property use_snappy

Gets whether the requests that insert or update records (/insert/records and /update/records, from a table, an ingestor or the endpoint methods) are Snappy-compressed, which can cut the time spent sending large batches. Default True. It takes python-snappy, which the ‘fast’ extra installs (pip install gpudb[fast]); without it, these requests are sent uncompressed. Requests in JSON, and those larger than Snappy can compress (1.7 GiB), are never compressed. (The ‘SNAPPY’ encoding compresses every request instead.)

property use_snappy

Gets whether the requests that insert or update records are Snappy-compressed: GPUdb.Options.use_snappy, where python-snappy is installed.