I get the sense of it but not sure about latch chain buffer cache how works internally ecc
@JimmyBrockАй бұрын
Love these deep dives
@marcinbadtkeАй бұрын
Thank you Connor. Inspiring.
@berndeckenfelsАй бұрын
Hm isn’t the Jdbc driver also using array fetches when you iterate a ResultSet
@DatabaseDudeАй бұрын
You choose the size. Older drivers used 2 (the minimum) and I think we now default to 10.
@virajmokadam4719Ай бұрын
Thanks. If we use bulk collect in plsql with fetch size >100, will it be more beneficial?
@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Ай бұрын
@@DatabaseDude ok
@MrEnrique2kАй бұрын
Love it
@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Ай бұрын
sorry I don't quite understand what you are asking
@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Ай бұрын
@@ahmedinomazic7032 without seeing the context, its hard to say, but probably yes
@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.