The Real Sartograph, Lord of Sherwood Forest & Kingswood's Avatar

The Real Sartograph, Lord of Sherwood Forest & Kingswood

@sartograph.bsky.social

Oracle Database Developer | Patchwork with 5 kids and 5 cats | Likes unicorns, sudokus, bad wordplays & good coffee | prohibited to sing

20 Followers  |  73 Following  |  20 Posts  |  Joined: 21.11.2024  |  1.8697

Latest posts by sartograph.bsky.social on Bluesky

EBR is also handy for some structural changes, but requires that the application uses editioning views and clean API packages (smart/pink DB).
But usually in reality you will encounter direct table access from applications. ๐Ÿ˜…

23.10.2025 08:58 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

The biggest takeaway imho is to break deployments into small steps (expand/contract), even if they belong to the same feature. This makes it easier to "undo" stuff or even spot the problem.

23.10.2025 08:58 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

Instead of undoing all prior steps, repairing the order, and then doing everything again,

you would just go forward by repairing the order of the remaining steps.

23.10.2025 08:51 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

Also, rollback scripts in automated fashion will usually undo every part of the deployment, which might consist of several changes.
A forward fix could focus only on the part which went wrong. Maybe your script just tried to create a FK and the table was not yet existing due to wrong ordering.

23.10.2025 08:51 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

So you could just run the failed update script again at a later point as the same version.

Whereas a forward fix is a new deployment (with usual syntax). So you could not run the original patch again and would have to create a new unique changeset to retry the original change.

23.10.2025 08:43 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

I think from DB perspective (DDL/data state) the achieved end result of "undoing" is the same.
The difference is the execution with the tools (ie Flyway/Liquibase). Rollback scripts have a special syntax/tags and I think the tools then treat the initial script as "has not been applied".

23.10.2025 08:43 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Warum heiรŸt es eigentlich alte Blรคtter und nicht Ur-Laub?

19.10.2025 14:40 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Wieso heiรŸt eigentlich Schlumpfkacke und nicht Kot d'azur?

21.06.2025 08:32 โ€” ๐Ÿ‘ 3    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Datagnan and the 3 Musqleteers:
DBAthos, Ratio_to_Reporthos and AWRamis

25.05.2025 16:08 โ€” ๐Ÿ‘ 2    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Code snippet showing Oracle qualified expressions do not work when using subtypes

Code snippet showing Oracle qualified expressions do not work when using subtypes

That is 19c.
Would be so nice if this worked.

28.02.2025 07:42 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Wieso heiรŸt es eigentlich Samenbombe und nicht Grรผnate?

22.02.2025 14:13 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Wieso heiรŸt es eigentlich Farbpalette und nicht Klecksikon?

15.02.2025 11:32 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Wenn man keine kleinen, klรคffenden Hunde mag... ist man dann intรถlerant?

09.02.2025 11:28 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Es kรถnnten morgen alle ausreisepflichtigen Menschen ausgewiesen sein und fรผr niemanden hier wรคre auch nur irgendwas besser.
Wohnraum wรคre weiter unbezahlbar, mehr Pflegekrรคfte haben wir davon auch nicht und in der Schule tropft es weiter durch die Decke.
Das ist NICHT unser Hauptproblem.

26.01.2025 15:11 โ€” ๐Ÿ‘ 4804    ๐Ÿ” 1256    ๐Ÿ’ฌ 77    ๐Ÿ“Œ 40

Wieso heiรŸt es eigentlich Baum und nicht Zweigstelle?

26.01.2025 15:24 โ€” ๐Ÿ‘ 2    ๐Ÿ” 2    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Permission Concept for Database CI/CD in the Oracle Database CI/CD changed how we manage and deploy database changes. This article explains how to set up application- and deployment users correctly.

After my last blog post, a discussion started about user permissions and CI/CD. So, I wrote a short story about the problem that occurs when using a schema user for application access or in database schema deployments.

@oracleace.bsky.social

medium.com/@jasminfluri...

18.12.2024 15:39 โ€” ๐Ÿ‘ 11    ๐Ÿ” 3    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Maybe proxy user would be a good option for the deployment user. Then it doesn't need powerful permissions, we can just grant connect through, maybe even limited to a specific role with only the necessary subset of the schema user permissions.

18.12.2024 19:53 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

I often need to do DML as part of deployments, i.e. data migration, or data "fixes".
I think for audit it is important then that the developers don't have access to the schema users, but only the deployment user, so they can't "go around".

18.12.2024 19:52 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

I totally agree with the application user. But could you explain how you would setup the deployment user? Wouldn't it need some CREATE/ALTER/DROP ANY privileges? Then it would be an almighty all-in-one schema-user. How is that better than the schema users directly?

18.12.2024 18:12 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Robert Habeck, Friedrich Merz und Olaf Scholz รผber #PolitikUndAnstand  | Joko & Klaas 15 Minuten
YouTube video by Joko & Klaas Robert Habeck, Friedrich Merz und Olaf Scholz รผber #PolitikUndAnstand | Joko & Klaas 15 Minuten

Schadet nicht, sich das anzuschauen:
www.youtube.com/watch?v=qfYb...

12.12.2024 08:41 โ€” ๐Ÿ‘ 324    ๐Ÿ” 82    ๐Ÿ’ฌ 20    ๐Ÿ“Œ 3

Looking for daily SQL tips, esp when working with Oracle?

Look no further, just follow
@sqldaily.bsky.social

02.12.2024 17:19 โ€” ๐Ÿ‘ 11    ๐Ÿ” 4    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Nach einiger Klokrastination heute endlich die verstopfte Toilette unter intensiver Anfeuerung der Frau entstopft.

Sie ist eine wahre Pรถmpelmuse.

01.12.2024 11:39 โ€” ๐Ÿ‘ 4    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

Das Erfolgsformat "AskTom" von #Oracle ist nun auf @bsky.app vertreten:

@oracleasktom.bsky.social

cc/ @chrisrsaxon.bsky.social @connormcd.bsky.social

25.11.2024 12:16 โ€” ๐Ÿ‘ 10    ๐Ÿ” 5    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
A plush oracle database wearing a flat dumbledore hat and a unicorn hand puppet as a beard

A plush oracle database wearing a flat dumbledore hat and a unicorn hand puppet as a beard

Next time I will do that!

For now I came up with... *drumroll*

DBledore!

I even created a fancy dress as suggested by @kibeha.dk
I made sure to leave a lot of room for improvement.

24.11.2024 22:33 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

So I need to find a name for my new partner, too.
Do I go with a modern name like Cloudia or Vectoria?
Or something like Rowland, Bufferdinand, Truncatherine, Schemantha or CurrValery?

24.11.2024 16:04 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

@sartograph is following 19 prominent accounts