How to resolve the Spotfire Statistica error: "Write Spreadsheet To Database: Overflow" using the "Write Spreadsheet to Database" node

How to resolve the Spotfire Statistica error: "Write Spreadsheet To Database: Overflow" using the "Write Spreadsheet to Database" node

book

Article ID: KB0138226

calendar_today

Updated On:

Products Versions
Spotfire Data Science - Statistica 14.x and higher
Spotfire Statistica 14.x and higher

Description

When writing data to a database using the "Write Spreadsheet to Database" node, the following errors can occur:

 

image.png

 

image.png

 

image.png

 

 

Environment

OS:  Windows

Resolution

Before writing data from Statistica to a database, consider reducing the number of columns (variables) by 1) filtering or 2 ) subsetting the data. 

 

Resolution One

There are several filtering nodes available for filtering data:

image.png

 

Resolution Two

Subsetting options:

image.png

 

Typical use is to subset by variable, i.e., removing unnecessary variables:

image.png

 

 

 

Maximum Column Limits by Database 

DatabaseStandard Table LimitSpecial Table Limit / Conditions
Microsoft SQL Server1,024Up to 30,000 using "Wide Tables" (Sparse Columns).
Oracle Database1,000Up to 4,096 in Oracle 23c+ (Wide Tables feature).
PostgreSQL1,600Limited by the 8KB page size; actual count depends on data types.
MySQL4,0961,017 for InnoDB engine; also restricted by the 65,535-byte row size.
SnowflakeUnlimited*While technically unlimited, Snowflake recommends staying under 1,000–2,000 for performance.
Starburst (Trino)Connector DependentLimited by the underlying source (e.g., if querying Hive, the limit is ~32,767).
SQLite2,000Can be increased up to 32,767 at compile time.

*Though techncially the number of rows is "unlimited", performance degrades with large tables.  

Issue/Introduction

How to resolve the Spotfire Statistica error:  "Write Spreadsheet To Database:  Overflow" using the "Write Spreadsheet to Database" node

Additional Information

https://support.tibco.com/support-home/kbsearch/article?articleNumber=KB0077530