Data handling techniques in Python for Database
summary
Practical how-to on using cx_Oracle 8.2 for real workloads: improved dead-connection detection (check for DPI-1080), session pools with a one-time session callback to set NLS, and wallet-based connections to Autonomous Database. Shows tuning that cuts round-trips by adjusting prefetch/arraysize, a measured test where looping INSERTs take ~3s vs executemany 0.09s, handling noisy batches with batcherrors and offsets, CSV loads in 10,000-row chunks with setinputsizes, and a coming thin driver option.
AI-written summary · about
chapters (16)
- 0:00Start
- 0:27Architecture of the Cx Oracle Module for Python
- 3:29Jupiter Notebook
- 3:42Connections
- 4:30Oracle Instant Client
- 6:23Syntax
- 7:37Standard Connections
- 7:59Pooled Connections
- 10:46Fixed Size Pool
- 13:30Autonomous Database
- 16:03Queries
- 16:50Fetching Rows
- 17:59Round Trips
- 23:21Benchmark
- 26:05Comma Separated Values
- 31:26Driver for Python
related talks
42mEfficient Data Handling Techniques in Python for Oracle Database
30mLeverage connection pooling and multiplexing for performance and scalability
33mTips and tricks for the Oracle Database developer
30mWrite scalable SQL with Oracle Autonomous Database
59mIntroduction to Python Database Programming
32mExploring the latest open-source Python API for Oracle Database applications
50mSupercharge your Code to Get Optimal Database Performance
15mUsing Oracle Tech for Digital Inclusion in Rural Areas
