The BEST way to FETCH from the database

  Рет қаралды 1,937

SQL and Database explained!

SQL and Database explained!

Күн бұрын

Пікірлер: 17
@ilpaolotopleggend6663
@ilpaolotopleggend6663 Ай бұрын
Complex for me but happy to learn by the best
@DatabaseDude
@DatabaseDude Ай бұрын
hopefully it didnt dive too deep
@ilpaolotopleggend6663
@ilpaolotopleggend6663 Ай бұрын
I get the sense of it but not sure about latch chain buffer cache how works internally ecc
@JimmyBrock
@JimmyBrock Ай бұрын
Love these deep dives
@marcinbadtke
@marcinbadtke Ай бұрын
Thank you Connor. Inspiring.
@berndeckenfels
@berndeckenfels Ай бұрын
Hm isn’t the Jdbc driver also using array fetches when you iterate a ResultSet
@DatabaseDude
@DatabaseDude Ай бұрын
You choose the size. Older drivers used 2 (the minimum) and I think we now default to 10.
@virajmokadam4719
@virajmokadam4719 Ай бұрын
Thanks. If we use bulk collect in plsql with fetch size >100, will it be more beneficial?
@DatabaseDude
@DatabaseDude Ай бұрын
"Depends" .... for example, a slow network might benefit from larger sizes. Typically 100-200 is the sweet spot with diminishing benefits after that
@virajmokadam4719
@virajmokadam4719 Ай бұрын
@@DatabaseDude ok
@MrEnrique2k
@MrEnrique2k Ай бұрын
Love it
@ahmedinomazic7032
@ahmedinomazic7032 Ай бұрын
Great info but can this be used in function, as i see in v$sql most of rows p./fetches are from functions which some basic select count(*) ?
@DatabaseDude
@DatabaseDude Ай бұрын
sorry I don't quite understand what you are asking
@ahmedinomazic7032
@ahmedinomazic7032 Ай бұрын
@@DatabaseDude In my database in v$sql most of fetches is from functions if I set up for i in ()... would it benefit , would the latches reduce ?
@DatabaseDude
@DatabaseDude Ай бұрын
@@ahmedinomazic7032 without seeing the context, its hard to say, but probably yes
@akhilchintu6938
@akhilchintu6938 Ай бұрын
Hello Sir, My database is not coming up and not able to open due to ORA-01157:datafile corruption. errors: ORA-01157: cannot identify/lock data file 22 - see DBWR trace file ORA-01110: data file 22: 'datafile/location' And Assumptions are, 1) DB is non-archive log mode 2) DB is in mount stage 3) no RMAN backup 4) its a nonsytem datafile How to recover the datafile by following above assumptions and open the database? Kindly help me out of this.
@DatabaseDude
@DatabaseDude Ай бұрын
asktom.oracle.com/ords/asktom.search?tag=unable-to-open-the-database-ora-01157-cannot-identifylock-data-file
Take a fresh look at Edition Based Redefinition
4:38
SQL and Database explained!
Рет қаралды 844
How He Got $600,000 Data Engineer Job
19:08
Sundas Khalid
Рет қаралды 160 М.
小丑揭穿坏人的阴谋 #小丑 #天使 #shorts
00:35
好人小丑
Рет қаралды 54 МЛН
How Strong is Tin Foil? 💪
00:25
Brianna
Рет қаралды 72 МЛН
One Minute Security with Syft and Grype
1:00
Anchore
Рет қаралды 154
When IDLE sessions break your Application!
7:35
SQL and Database explained!
Рет қаралды 999
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 788 М.
A crash course on the Einstein Toolkit - IST, Lisbon - Jan 2023
1:15:54
SQLite vs PostgreSQL Performance
14:01
Anton Putra
Рет қаралды 34 М.
小丑揭穿坏人的阴谋 #小丑 #天使 #shorts
00:35
好人小丑
Рет қаралды 54 МЛН