Seamless Database Access: Connecting to Oracle Database 23ai on Oracle@GCP Using VS Code
Transform Your Database Development Experience in Minutes

Your Snowflake bills are probably 3x higher than they need to be. We wrapped up an implementation where we slashed compute costs by 70% while improving replication performance by 67%. The secret? Properly configured Oracle GoldenGate 23ai performance settings specifically tuned for X-Small Snowflake warehouses.
Here’s the reality – most organizations start with Medium or Large Snowflake warehouses for Oracle-to-Snowflake replication because they’re afraid of performance issues. That fear costs them $40,000+ annually in unnecessary compute charges. We need results, not expensive insurance policies. Today, I’m sharing the critical settings that make this possible.
Before diving into configuration, let’s address the elephant in the room. An X-Small Snowflake warehouse has:
Compare that to a Medium warehouse at 32 credits/hour, and you’re looking at 4x the cost for maybe 2x the performance. The math doesn’t work.
Your Extract process sets the foundation for downstream performance. Here’s the configuration that’s achieved 67% performance improvements:
EXTRACT EXT_SNOW
USERIDALIAS GGADMIN_ORCL DOMAIN OracleGoldenGate
EXTTRAIL sn
SOURCECATALOG PROD_PDB
-- Critical performance optimizations
TRANLOGOPTIONS INTEGRATEDPARAMS (MAX_SGA_SIZE 2048, PARALLELISM 4)
NOCOMPRESSUPDATES
-- Include monitoring heartbeat
TABLE GGADMIN.GG_HEARTBEAT;
-- Business tables
TABLE SALES.ORDERS;
TABLE SALES.ORDER_ITEMS;
TABLE INVENTORY.PRODUCTS;
TABLE INVENTORY.MOVEMENTS;
Key Performance Settings Explained:
The distribution configuration often gets overlooked, but incorrect settings here negate all upstream optimizations:
{
"name": “PATH_TO_SNOW”,
"source": “EXT_SNOW”,
"target": {
"host": "ogg-da-server”,
"port": 9103,
"trail": “sn”
},
"compressionType": “LZ4”,
"encryptionType": “AES256”,
"tcpBufferSize": 65536
}
The Replicat configuration determines whether your X-Small warehouse keeps up or falls behind:
REPLICAT RSNOW
REPORTCOUNT EVERY 30 MINUTES, RATE
GROUPTRANSOPS 10000
MAXTRANSOPS 20000
-- Map tables
MAP GGADMIN.GG_HEARTBEAT, TARGET GGADMIN.GG_HEARTBEAT;
MAP SALES.ORDERS, TARGET ANALYTICS.ORDERS;
MAP SALES.ORDER_ITEMS, TARGET ANALYTICS.ORDER_ITEMS;
This is where most implementations fail. The Snowflake Event Handler properties make or break X-Small warehouse performance:
# Snowflake Event Handler Configuration
gg.handlerlist=snowflake
gg.handler.snowflake.type=snowflake
gg.handler.snowflake.mode=op
# Authentication
gg.eventhandler.snowflake.connectionURL=jdbc:snowflake://{ID}.snowflakecomputing.com/?warehouse=COMPUTE_WH&db={DATABASE}
# CRITICAL: In-Memory Operation Aggregation
gg.aggregate.operations=true
gg.aggregate.operations.flush.interval=30000
# SQL-based aggregation for massive performance
gg.aggregate.operations.using.sql=true
# Uncompressed updates for MERGE operations
gg.compressed.update=false
# Use MERGE instead of DELETE+INSERT
gg.eventhandler.snowflake.deleteInsert=false
# Handle large objects efficiently
gg.maxInlineLobSize=24000000
# JVM optimization
jvm.bootoptions=-Xmx8g -Xms8g
Performance Impact of Each Setting:
Don’t forget to optimize the Snowflake side:
ALTER WAREHOUSE COMPUTE_WH SET
WAREHOUSE_SIZE = 'X-SMALL’
AUTO_SUSPEND = 60
AUTO_RESUME = TRUE
MIN_CLUSTER_COUNT = 1;
With these configurations, here’s what we’ve achieved on X-Small warehouses:
Every organization processing less than 50M daily changes can run on X-Small Snowflake warehouses – if configured correctly. The settings I’ve shared have been battle-tested across implementations processing billions of rows.
Stop accepting massive Snowflake bills as “the cost of doing business.” With proper Oracle GoldenGate configuration, you get:
These aren’t theoretical numbers. They’re production results from organizations that decided expensive wasn’t better.
The configurations in this post are your starting point. Every environment has unique characteristics that require tuning. But if you’re running Medium or Large warehouses for standard Oracle-to-Snowflake replication, you’re leaving money on the table. Ready to cut your Snowflake costs while improving performance? The team at RheoData specializes in Oracle GoldenGate optimizations that deliver measurable ROI. We don’t just talk about transformation – we deliver it, measure it, and accelerate it.
Contact RheoData for a performance assessment or schedule a consultation to discuss your specific environment. — cloud@rheodata.com
Remember: In the world of real-time replication, performance and cost efficiency aren’t mutually exclusive. They’re complementary when you know which knobs to turn.
Transform Your Database Development Experience in Minutes
Oracle GoldenGate has long been the go-to solution for real-time data integration, and with the...
Modern AI and machine learning initiatives demand fresh data to deliver accurate predictions and...