Piet de Visser's Avatar

Piet de Visser

@pdevisser.bsky.social

Database-guy, Typo-maker, Voyager. phd in I told you so, knighthood in... Airport Queues ? Get a motorcycle ! Movie Quotes: "You are a Meaningful and Valued member of ... " "Activate the Omega 13"

562 Followers  |  304 Following  |  258 Posts  |  Joined: 27.07.2023  |  2.2538

Latest posts by pdevisser.bsky.social on Bluesky

Probably Correct.

But also: maybe want to keep this a guarded secret to avoid a grey-wave ?

07.08.2025 17:34 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

??

07.08.2025 08:31 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

The Green Barrel will do.

(in an earlier life, my Boss would proudly show that green thing... )

05.08.2025 14:40 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Grinning...

but everyone want to hear + see AI-stuff..
we have to at least pretend some AI.

it is abt mandatory #buzzwordcompliance ...
Even by criticizing the #buzzwordcompliance, you can increase your count of hashtag-hits with #buzzwordcompliance...

05.08.2025 13:46 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

How do you apply "Green" practices in your work ?

Desired answer: we buy Expen$ive green paint...
(bigger budget is more Status for Boss, more commi$$ion for $alesrep)

My Answer: make systems More Efficient, use less resources, consume less electricity....
(not always what they wants to hear...)

05.08.2025 13:06 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 3    πŸ“Œ 0

There is an Old Proverb...

To Find Typos... Publish your blog.

05.08.2025 10:16 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

And Thank You !

Also : Congrats with you recent career-moves.

I'm now running an image provided by an Oracle-VP...
(and using microdnf to tweak it a bit...)

04.08.2025 18:10 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

hm.
today we still laugh at this....

04.08.2025 16:46 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

hmmm
if you didnt manage to "hand over" to some minion, it may come back to haunt you.

The uninformed will blame you for what they dont understand...

04.08.2025 16:43 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Oracle23ai and python - How to fix (avoid) a MERGE statement. TL;DR: Still using Oracle and python, and loving the combination. But some Annoying High-Frequency MERGE statements from several python prog...

Ancient Wisdom to make a program faster: Dont Execute it.

How to skip "unnecessary" code, and thus avoid RoundTrips...

simpleoracledba.blogspot.com/2025/08/orac...

#Oracle
#python

04.08.2025 07:36 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Let me add... any teaching that uses Pascal, or a similar language to encourage "Structured Programming" is probably Good Stuff.

03.08.2025 15:13 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

@pougorg.bsky.social is in a month.
I got my "concept" for prez accepted, but,...
They turned it into a "workshop".

Been thinking about it.
I'll try to make it interesting, with "audience participation" (BYODatabase!).

Image of me thinking...

03.08.2025 15:10 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

FP Brooks, Mythical Man Month...

I'll also mention K+R.
I never was a good C-programmer, but a bit of (pro*)C-practice helped develop useful (conceptual) programming-skills, Still Valid.

03.08.2025 15:04 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Anwenderkonferenz

Anwenderkonferenz

Das Programm der DOAG 2025 Konferenz + Ausstellung ist online! Aus den zahlreichen Einreichungen hat unser Programmkomitee eine hochklassige Agenda mit rund 300 Sessions zusammengestellt. Jetzt im Programm stΓΆbern und Early-Bird-Tickets sichern! scomp.ly/Aw8gZoL #DOAG2025

01.08.2025 12:21 β€” πŸ‘ 8    πŸ” 6    πŸ’¬ 0    πŸ“Œ 0

Final Thought: as Epoch-day approaches, I can just see some AI-resultset kicking this up by 2037..

Hi There!

(we did Y2K, now you can fix Epoch... )

31.07.2025 18:06 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

And the angle of Timezone..: For my epoch-functions and macros, I thought I wanted UTC (I think epoch is defined as seconds since 1-1-1970-00:00:00 At UTC.. ?)

Any thoughts ?
(do we need to discuss this over beer in at some confrnce...)

31.07.2025 18:01 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

re-1: constant-value can be achieved with macro, with CTE-materialize, with sql_transpiler, .. probably more...

re-2: dynamic (geeky? normally would not want...) can be achieved from just a function, see my earliest attempts.

but "dynamic" might expose some inner-workings.. hehehe. curious.

31.07.2025 17:58 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

There are many dimensions to this.

One Angle:

1- to follow sysdate + systmstmp, you want a Fnctn that returns "constant" during exec of the SQL (call that atomic)
2 - to measure "inside" a DML (or Select), you want a Fnctn to return point in time at exact time of call. quite geeky/curious.

31.07.2025 17:54 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

hmm, I was probably mistaken..
Cant reproduce.

When I test now (script or manual-typing)
set trnsplr=on : all f_epoch results are equal, and match systmstmp. Nice!
set trsplr=off (bck to dflt) has immediate effect: all f_epoch values vary. even with identical stmnts.

As Expected, I think.

31.07.2025 16:43 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Funny but serious...

Many systems HANG !

Checking... Lock-Wait, Find blocker-session...

Someone had (justly) updated parent-data via a SQL-tool, session still open... (forgotten to hit commit-button...)

Grinning at "lifetime learning" ...
And thinking: "the other system has autocommit...

31.07.2025 09:15 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Thx. I wondered about that already.
Had also expected the need for explicit CAST 2 date ?
I'll look into that.
The function f_epoch2 came from some quick trial+err.
And using sysdate (in the function version) to calculate "whole-seconds-to-midnight" was notably faster than using 2 x systimestamp.

31.07.2025 06:11 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

"normal", as in: Each call to the function returns a slightly diff epochs (visible in fractional seconds).

But that behaviour only returns After the statement is re-parsed with transpiler reset to off.
The parse with identical epochs can survive the alter-session if you dont edit/parse the stmnt.

31.07.2025 06:04 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

And a sneaky by-effect of parsing: if you turn the transpiler OFF, the behaviour returns to normal, but NOT (yet) for the SOFT-Parse stmnts. You have to Force a Hardparse for the behaviour to return completely.

This Database will Always Amaze...

30.07.2025 16:20 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Brilliant.
Why didnt I know this...
(I know, I know.. RTFM... and then some...)

30.07.2025 16:11 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Defensive programming - Wikipedia

Messing about with "code"...
Can just say that the art of #defensiveprogramming needs too be re-visited...

Nobody seems to check for (input-)errors much, and that is potentially a (security)risk.
I guess a lot of "incidents" are either not-noticed, or kept silent.

en.wikipedia.org/wiki/Defensi...

30.07.2025 12:13 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Le Mot - Wordle en franΓ§ais Wordle, mais en franΓ§ais. Devinez le mot du jour ! Totalement gratuit, en ligne, et sans pub.

Le Mot (@WordleFR) #1298 5/6

β¬›πŸŸ¨β¬›πŸŸ¨πŸŸ¨ good starter word eh..
πŸŸ¨πŸŸ¨πŸŸ¨β¬›πŸŸ¨ Hmm.
πŸŸ©πŸŸ¨πŸŸ¨πŸŸ¨β¬› now a lot of clues..
πŸŸ©πŸŸ©πŸŸ©β¬›πŸŸ©
🟩🟩🟩🟩🟩

wordle.louan.me

30.07.2025 12:08 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

on 3rd.. Wow

30.07.2025 09:25 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Storage...
I bet your storage engineer keeps saying something like:
"my io-system is not very busy, really"...
(if he, always a he, as some monitoring-capability at all...)

And software-managed IO systems may well suffer from some scheduling-effect, like "off-cpu".

Happy Puzzling !

29.07.2025 18:11 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Grinning right at you...

Every now and then we do that: run iostat, vmstat or sar and scrape the data into a worksheet, make a quick-graph of something... and Spot the Anomaly.

So many fancy monitoring-tools have tried to replace or improve.
But the quick DIY-Excel is still as good as 30yrs ago...

29.07.2025 16:19 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

and yes.. it was about (eliminating) RoundTrips...

29.07.2025 08:27 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@pdevisser is following 20 prominent accounts