Andrej Pashchenko πŸ‡ΊπŸ‡¦ πŸ’™πŸ’› Profile
Andrej Pashchenko πŸ‡ΊπŸ‡¦ πŸ’™πŸ’›

@Andrej_SQL

Followers
173
Following
815
Media
49
Statuses
216

Database developer, data engineer, Oracle Ace Pro β™  Born in Ukraine Views are my own

Joined November 2017
Don't wanna be here? Send us removal request.
@sqldaily
SQL Daily
1 month
Storing UUIDs as RAW values is more efficient than strings But RAW can lead to implicit conversions => poor row estimates If you're stuck with string comparisons @Andrej_SQL shows how to improve row estimates with Extended stats Virtual columns https://t.co/9SPPa3NhmG
Tweet card summary image
blog.sqlora.com
Learn how implicit RAW-to-VARCHAR2 conversions in Oracle break histograms, hurt optimizer estimates, and how to fix them safely.
0
7
19
@Andrej_SQL
Andrej Pashchenko πŸ‡ΊπŸ‡¦ πŸ’™πŸ’›
2 months
New post for #JoelKallmanDay! Ever wondered why the Oracle Optimizer sometimes ignores your histograms? Implicit data type conversions might be to blame. Here’s how to fix it without touching your SQL and with minimal schema impact. #Oracledatabase https://t.co/DkqCeAAqWc
Tweet card summary image
blog.sqlora.com
Learn how implicit RAW-to-VARCHAR2 conversions in Oracle break histograms, hurt optimizer estimates, and how to fix them safely.
0
5
6
@Andrej_SQL
Andrej Pashchenko πŸ‡ΊπŸ‡¦ πŸ’™πŸ’›
2 months
Honored to speak at #HROUG2025 – celebrating its 30th anniversary in amazing Rovinj!πŸŽ‰Huge thanks to the organizers for keeping this fantastic community going for 30 years!πŸ™ Let’s put some old SQL myths to the test together! #Oracle #SQL #Optimizer #Accenture #OracleAce
0
0
4
@Andrej_SQL
Andrej Pashchenko πŸ‡ΊπŸ‡¦ πŸ’™πŸ’›
7 months
MERGE ... RETURNING is now supported in #Oracle23ai. In my view, it deserves more visibility in the documentation β€” it wasn’t easy to find. Even LLMs still claim it doesn’t exist (some even invent error codes). #SQL #MERGE @oracleace https://t.co/FpbYdL2oDS
Tweet card summary image
blog.sqlora.com
Oracle 23ai finally supports MERGE … RETURNING! A long-awaited feature, but still hard to find in the docs.
2
9
16
@Andrej_SQL
Andrej Pashchenko πŸ‡ΊπŸ‡¦ πŸ’™πŸ’›
8 months
Ten years after my first post on the quirks of MERGE and ORA-30926, I took a fresh look at how Oracle 23ai handles it. Clearer error messages, improved diagnostics, and fewer unnecessary restarts. Read the new blog post #Oracle23ai #SQL #MERGE @oracleace https://t.co/13xIIS7cIk
blog.sqlora.com
Explore how Oracle 23ai improves MERGE behavior and error handling, replacing vague ORA-30926 message with clearer, smarter diagnostics.
0
1
3
@Andrej_SQL
Andrej Pashchenko πŸ‡ΊπŸ‡¦ πŸ’™πŸ’›
11 months
Did you know that refreshing HCC-compressed materialized views with atomic_refresh=true can multiply storage usage over time? Small details can have massive impacts. Read the new blog post. #Exadata #Oracle #HCC @oracleace https://t.co/sPsa6z6CPQ
Tweet card summary image
blog.sqlora.com
This post explores the behavior of Hybrid Columnar Compression (HCC) in Oracle Exadata while refreshing materialized views with atomic_refresh=true.
0
0
1
@sqldaily
SQL Daily
1 year
Get rows in one table with no match in another with either c1 NOT IN ( SELECT c2 ... ) NOT EXISTS ( SELECT ... where c1 = c2 ) These perform the same in Oracle #SQL ...unless C2 includes NULL values => NOT IN returns no rows! @Andrej_SQL explores https://t.co/VGVFCcWMUS
0
18
78
@CGohmannDE
Christian Gohmann
1 year
My @AccentureDACH colleague @Andrej_SQL is going to talk about partition exhange at the @Hroug_Croatia #HROUG2024 conference @oracleace
2
1
6
@phsalvisberg
Philipp Salvisberg
1 year
Partition Exchange Reloaded by @Andrej_SQL at #hroug2024.
1
1
7
@Andrej_SQL
Andrej Pashchenko πŸ‡ΊπŸ‡¦ πŸ’™πŸ’›
1 year
Everything you should know about block corruptions in #Oracledatabase with @CGohmannDE at #hroug2024
0
1
7
@Andrej_SQL
Andrej Pashchenko πŸ‡ΊπŸ‡¦ πŸ’™πŸ’›
1 year
On this #JoelKallmanDay, I would like to follow up on my last year's post, comparing #SQL’s NOT IN and NOT EXISTS, focusing on their usage, interchangeability and some myths about performance differences. https://t.co/Vhxo8nRPgQ #Oracledatabase
blog.sqlora.com
This post compares SQL’s NOT IN and NOT EXISTS, focusing on NULL handling, performance differences, and debunking common myths about their usage and interchangeability.
0
7
20
@Andrej_SQL
Andrej Pashchenko πŸ‡ΊπŸ‡¦ πŸ’™πŸ’›
1 year
And if you want to use your existing views and let SQL macros "inject" parameter, you can check the second part ( https://t.co/C8oITOekFk) of this post and also @StewAshton 's post:
Tweet card summary image
stewashton.wordpress.com
[UPDATE 2025-03-04: Yesterday I thought this solution did not work with bind variables, but Iudith Mentzel has corrected me, it works fine. My latest tests were buggy. Sorry for the confusion……
@sqldaily
SQL Daily
1 year
Views are great for creating reusable #SQL statements But they have a drawback: you can't pass parameters to them! @Andrej_SQ shows how to emulate these with SQL macros in Oracle Database Use these to create parameterized query templates https://t.co/oXL1p6Y1Zr
0
1
4
@Andrej_SQL
Andrej Pashchenko πŸ‡ΊπŸ‡¦ πŸ’™πŸ’›
1 year
I am absolutely thrilled to be presenting at the #HROUG2024 for the first time. Thanks @Hroug_Croatia for accepting my talks. In just two weeks! See you there! @oracleace
0
2
10
@Andrej_SQL
Andrej Pashchenko πŸ‡ΊπŸ‡¦ πŸ’™πŸ’›
1 year
There have been some changes and improvements to the Online Statistics Gathering for Bulk Loads over the last few years. Here is the new blog post: #oracledatabase @oracleace https://t.co/YxVA8ueOYt
Tweet card summary image
blog.sqlora.com
Here is an overview of some improvements to Online Statistics Gathering in Oracle Releases 19c-23ai
0
1
4
@Andrej_SQL
Andrej Pashchenko πŸ‡ΊπŸ‡¦ πŸ’™πŸ’›
1 year
Oh and what I've missed to share so far: I will be speaking about SQL macros at the #DOAG2024-Conference in November in Nuremberg. Thank you @DOAGeV for accepting my talk. See you there! #sqlmacros #oracledatabase #sql @oracleace
6
0
1
@Andrej_SQL
Andrej Pashchenko πŸ‡ΊπŸ‡¦ πŸ’™πŸ’›
1 year
Looking at the trace output for SQM expansion can help to interpret some error messages and perhaps understand some of the limitations. Two new blog posts about this: https://t.co/Wit4uCnC6L #sqlmacros #oracledatabase #sql @oracleace
Tweet card summary image
blog.sqlora.com
This blog post uses insights into SQL macro expansion available with the CBO trace to explain some limitations. The workaround to make SQL macros more dynamic - with its related risks - is discussed.
1
0
1
@oracleace
Oracle ACE Program
1 year
Join AOUG Anwenderkonferenz 2024 next week for many great sessions presented by Oracle ACEs πŸ‘‰ @alexnuijten @Ambili_Thots @Andrej_SQL @JrgDoppelreiter @martinberger_ch @Mirela_RoOUG @RoelH @rsantrod @oraclesean @stefanoehrli https://t.co/WFvZRRd0eB #OracleACE
0
11
27
@Andrej_SQL
Andrej Pashchenko πŸ‡ΊπŸ‡¦ πŸ’™πŸ’›
2 years
As a data engineer, do I have to worry about optimizer statistics? In the second part is a typical example of why the performance immediately after loading the data can be suboptimal if you don't take care of the stats. #oracledatabase @oracleace https://t.co/OJ1bKVzRwU
blog.sqlora.com
This post shows how querying of newly inserted data leads to performance issues due to β€œout-of-range” predicates if statistics are not up-to-date.
0
1
6
@Andrej_SQL
Andrej Pashchenko πŸ‡ΊπŸ‡¦ πŸ’™πŸ’›
2 years
I will talk about optimizer statistics at #AOUG Conference on June 17th, in particular what my responsibilities as a data engineer are. I think it's very important that it's not seen as just a DBA's job. Here is just one simple example of why: https://t.co/dD7F5YQdTW @oracleace
blog.sqlora.com
Using a practical example, the post describes the author’s view on the conscious approach to optimizer statistics in ETL processes
0
1
7