| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: ORA_ROWSCN and ROWDEPENDENCIES
hpuxrac wrote:
> DA Morgan wrote:
> > You seem to be missing out on some pretty basic oracle concepts here. > > Do different rows in a table that are inserted/changed and committed on > different commits ever share the same SCN?
I don't know why don't you tell me. ;-)
SQL> CREATE TABLE t (
2 testcol VARCHAR2(3));
Table created.
SQL> BEGIN
2 FOR i IN 1..10000 LOOP
3 INSERT INTO t VALUES ('ABC');
4 COMMIT;
PL/SQL procedure successfully completed.
SQL> SELECT ora_rowscn, COUNT(*)
2 FROM t
3 GROUP BY ora_rowscn;
ORA_ROWSCN COUNT(*)
---------- ----------
2387360 660
2383612 660
2389638 660
2392659 660
2392761 100
2386611 660
2388125 660
2390406 660
2382841 660
2384366 660
2388896 660
2391174 660
2385131 660
2385880 660
2382075 660
2391935 660
16 rows selected.
SQL> Do you have a different explanation?
Anyone interested should drop the above table, recreate it with the ROWDEPENDENCIES keyword and observe the difference.
There may at one time have been a 3 second granularity, I see no evidence for it in 10gR2.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.orgReceived on Wed Jan 17 2007 - 23:04:06 CST
![]() |
![]() |