Urh Srecnik
usrecnik.bsky.social
Urh Srecnik
@usrecnik.bsky.social
#oracledba and software developer
Ever had utl_recomp.recomp_serial fail because it couldn't gather statistics concurrently? 🤔

Turns out recompilation still calls dbms_stats.gather_table_stats—which honors global concurrent stats preference.

Details:
blog.srecnik.info/utlrecomp-an...
utl_recomp and Automatic Statistics Gathering
When recompiling invalid objects—often after patches, upgrades, or invalid dependency chains—you might call utl_recomp.recomp_serial. Since it's a serial procedure, one could reasonably expect it to avoid any parallel or background job interaction. B...
blog.srecnik.info
December 3, 2025 at 10:15 AM
USE_SID_AS_SERVICE - or rather, don't unless you need to; here's a scenario from 11g upgrade when this came in handy (embedded devices with hardcoded connection strings).

blog.srecnik.info/legacy-clien...
Legacy Clients on 19c
We've just migrated one of the last databases to 19c. The main area of concern for the client was that they were using rather old embedded devices, which had 11g client libraries and connect strings baked into their firmware. Here's the list of the m...
blog.srecnik.info
November 10, 2025 at 9:06 PM
Oracle Flashback Database can apparently auto-disable itself on I/O errors. I did a few quick test cases about it as I didn't expect this behavior initially. You can read about my findings here:

blog.srecnik.info/oracle-flash...
Oracle Flashback Database Automatic Deactivation
Today I learned that Oracle can disable the Flashback Database feature by itself automatically. Here's the reason - an excerpt from the alert log: ORA-38886: WARNING: Flashback database was disabled due to error when writing flashback database logs. ...
blog.srecnik.info
September 26, 2025 at 8:10 PM
I tried implementing ASM filesystem using dbms_diskgroup.read() and found some quirks.
Here's what I learned: blog.srecnik.info/asmfs-and-db...
ASMFS & dbms_diskgroup.read
Here's what I've learned while trying to implement an ASMFS (which is an open-source GitHub project) and where my implementation fell short of my initial expectations. Initial Expectations I can access v$asm_file and v$asm_alias, which provide a comp...
blog.srecnik.info
August 17, 2025 at 6:14 PM
Ever had to navigate multiple incarnations on a physical standby database — on Standard Edition?

Here’s how to handle RESETLOGS and make the right incarnation visible (and usable) on standby.

blog.srecnik.info/navigating-t...
Navigating Through Incarnations on a Physical Standby Database
On Standard Edition
blog.srecnik.info
July 20, 2025 at 10:46 PM
Ever seen Oracle sessions get "stuck" because their dedicated server process is in STOPPED state?
Here's how I traced such behavior - not to Oracle itself, but to a third-party library hooking into the DB process.

Full story: blog.srecnik.info/why-are-my-o...
Why Are My Oracle Sessions Getting SIGSTOP’d?
Finally, I encountered a case that couldn't be solved using traditional Oracle Database tools. I've been experimenting with eBPF for some time, and this is a real-world scenario from an Exadata environment where I needed eBPF to help me truly underst...
blog.srecnik.info
June 8, 2025 at 7:00 PM
I’m honored to be recognized as an Oracle ACE Associate in the @oracleace.bsky.social community.

Looking forward to continuing this journey and sharing more insights on Oracle technologies with all of you.

Big thanks to @monikalewandowska.bsky.social for the nomination!
March 5, 2025 at 8:40 PM
In my latest blog post, I explore how to streamline user management with Proxy Users and Schema-Only Accounts in Oracle Database.
If database security and schema design are on your radar, take a look:

blog.srecnik.info/proxy-users-...
Proxy Users & Schema Only Accounts
Remember those MYAPP/MYAPP@MYDB logons? With all the security buzz and auditors out there, I thought of those as a thing of the past. This blog won't preach about the importance of strong passwords. Instead, I'll explain which capabilities of Oracle ...
blog.srecnik.info
January 20, 2025 at 6:52 PM
Did you know Oracle Native Network Encryption is available in all licensed editions of Oracle Database?
Here’s a quick how-to: blog.srecnik.info/oracle-nativ...
Oracle Native Network Encryption
As I come across environments where SQL*Net is not encrypted I sometimes also notice that there are two common misconceptions about it: First, some are afraid that certificates must be involved and consequently maintaining a PKI infrastructure is de...
blog.srecnik.info
December 22, 2024 at 6:22 PM
You can read about "Introduction to JOIN LATERAL on Oracle" on my blog. It's sometimes overlooked feature which is available in Oracle since version 12c.

blog.srecnik.info/introduction...
Introduction to JOIN LATERAL on Oracle
Lateral join joins a subquery, which is executed as many times as there are rows in the leading table. Consider it as a kind of for-each loop. Most of, if not all, the problems it solves, can also be solved without lateral join (e.g. using analytic f...
blog.srecnik.info
December 7, 2024 at 4:24 PM
Here's my blog post about Collecting SQL Plan Baselines
on Standard Edition:

blog.srecnik.info/collecting-s...
Collecting SQL Plan Baselines
on Standard Edition
blog.srecnik.info
December 2, 2024 at 7:28 PM