performance - Tune a query with ROWID and ORA_ROWSCN -


i have following query taking lot of time table big, query fetching pseudo columns rowid , ora_rowscn.

select rowid, ora_rowscn, t.c1, t.c2, t.c5, t.c7, t.c9 tab t 

i tried using hint all_rows , ran stats still not of help. please suggest. lot in advance.

rowid , ora_rowscn both reside inside data block.

rowid composed of:

  • the data object number of object

  • the data block in datafile in row resides

  • the position of row in data block (first row 0)

  • the datafile in row resides (first file 1). file number relative tablespace.

the ora_rowscn gives last change number block in row resides (not row itself, aware of that).

none of iscontributing total time retrieve rows big table (unless using scn_to_timestamp function).

the problem here wou have no clause , take lot of time retrieve rows big table. if need rows, isn't there column can use chop query many smaller queries, sou start getting results faster, maybe paralelyze whole process (a date column, or id column use mod on clause, that)?


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -