Skip to content
  • Oracle
  • About
  • Oracle
Search
Close

– nice theory…

– Good and not so good ideas on software development and Oracle databases in particular

Category: Oracle

Set based is faster? Well – not always

March 15, 2024 NiceTheoryVidarLeave a comment

I was about to optimise some code from using FORALL to work set based, but a small test changed my mind.

Read More »

Function result cache, yes or no?

May 31, 2023 NiceTheoryVidarLeave a comment

Oracles function result cache (FRC) works, in simplified terms, by caching the result of a PL/SQL function. This can greatly improve performance, but it can also lead to performance problems.

Read More »

Forall is still row-by-row

May 28, 2023 NiceTheoryVidar1 Comment

I came over some code that used the forall construct to update rows in a large table. Quite a few rows were updated and the batch took some time to complete. Usually, using forall is a good idea, but sometimes other constructs can perform better.

Read More »

Which tables could need updated statistics?

May 22, 2023May 26, 2023 NiceTheoryVidarLeave a comment

Does your tables need updated statistics for the optimizer? Here’s a couple of views that could be useful in the gathering of information.

Read More »

Statistics gathering parameters for partitioned tables

May 20, 2023May 22, 2023 NiceTheoryVidarLeave a comment

When partitioned tables get a bit large, these parameters may be suitable to set.

Read More »

DataGrip cutting DDL short, case 2

May 19, 2023May 22, 2023 NiceTheoryVidarLeave a comment

My preferred tool for writing PL/SQL code has been DataGrip from JetBrains for the last few years. Working on a case with reference partitioned tables, I came over some strange errors. At first I thought Oracle had a lot of bugs in the partitioning syntax, but it turned out to be DataGrip messing with my DDL!

Read More »

DataGrip cutting DDL short, case 1

December 21, 2022December 21, 2022 NiceTheoryVidar1 Comment

My preferred tool for writing PL/SQL code has been DataGrip from JetBrains for the last few years. Working on a case with reference partitioned tables, I came over some strange errors. At first I thought Oracle had a lot of bugs in the partitioning syntax, but it turned out to be DataGrip messing with my DDL!

Read More »

Proxy user logon #JoelKallmanDay

October 11, 2022 NiceTheoryVidarLeave a comment

Are you using proxy logon when connecting to your Oracle database? Why not?

Read More »

Generating data: union all vs insert all

February 11, 2021December 21, 2022 NiceTheoryVidarLeave a comment

To test out different physical table lay-outs, I had to repeatedly generate some test-data. After a few runs, I wanted to speed it up a bit. This is how I did it.

Snail with rocket
Read More »

A small unexpected to_date oddity

September 28, 2020December 8, 2020 NiceTheoryVidar2 Comments

I was about to do some date/time calculations as I got an unexpected result with the to_date-function.

Read More »

Posts navigation

Older Posts

Categories

  • Oracle (35)
  • Optimization (14)
  • PL/SQL (14)
  • Coding practice (9)
  • Built-in functionality (7)

Tags

  • Oracle (22)
  • PL/SQL (12)
  • Optimization (9)
  • SmartDB (9)
  • 12c (6)

Year

  • 2024 (1)
  • 2023 (5)
  • 2022 (2)
  • 2021 (1)
  • 2020 (1)
Blog at WordPress.com.
Back to top
– nice theory…
Blog at WordPress.com.
  • Subscribe Subscribed
    • - nice theory...
    • Already have a WordPress.com account? Log in now.
    • - nice theory...
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...