12. 12
SQL> select * from CUSTOMERS;
CID FORENAME SURNAME DOB
-------- --------------- ----------------- ---------
101230 Sarah Johnson 01-JUN-75
101233 Michael Smith 13-FEB-69
101237 Peter Brown 24-OCT-82
SQL> select * from CUSTOMERS;
CID FORENAME SURNAME DOB
-------- --------------- ----------------- ---------
101230 Sarah Johnson 01-JUN-75
101252 MyTestGuy DoesümlautWork 01-JAN-01
101268 Spaces 01-JAN-01
prod
dev
29. 29
procedure MY_LATEST_PROC is
begin
for i in (
select *
from EVERY_PIECE_OF_DATA_WE_HAVE
where UNINDEXED_COLUMN = 10
)
loop
...
end;
SQL> exec MY_LATEST_PROC
PL/SQL Procedure completed successfully.
Elapsed: 00:00:00.03
197. 197
LICENSE RIGHTS
We grant you a nonexclusive, nontransferable limited license to
use the programs only for the purpose of developing, testing,
prototyping and demonstrating your application, and not for any
other purpose.
If you use the application you develop under this license for any
internal data processing or for any commercial or production
purposes, or you want to use the programs for any purpose
other than as permitted under this agreement, you must obtain
a production release version of the program by contacting us or
an Oracle reseller to obtain the appropriate license.
215. 215
With the initialization parameter CLONEDB set
to true, snapshot clones of a pluggable
database are supported on any ... file systems
with Oracle Direct NFS (dNFS) enabled
(yet to verify)
240. 240
SQL> select * from v$sgastat
2 where name like '%change%';
POOL NAME BYTES
------------ -------------------------- ----------
shared pool change notification obj m 16416
shared pool change tracking state cha 2584
shared pool change notification regis 16416
shared pool change tracking recovery 262144
245. 245
SQL> SELECT (count(distinct b.fno||' '||bno) * 32)/1024 MB
2 FROM x$krcbit b,
3 (SELECT MIN(ver) min_ver, fno
4 FROM
5 (SELECT curr_vercnt ver,curr_highscn high,
6 curr_lowscn low,fno
7 FROM x$krcfde
8 UNION ALL
9 SELECT vercnt ver, high,
10 low, fno
11 FROM x$krcfbh
12 )
13 WHERE
14 (SELECT MAX(bd.checkpoint_change#)
15 FROM v$backup_datafile bd
16 WHERE bd.incremental_level <= 1) between low and high
17 GROUP BY fno ) sub
18 WHERE b.fno = sub.fno
19 AND b.vercnt >= sub.min_ver;
MB
----------
46.34375
262. 262
RMAN> RECOVER COPY OF DATABASE
WITH TAG 'rolling'
UNTIL TIME 'sysdate-3';
263. 263
RMAN> RUN {
RECOVER COPY OF DATABASE
WITH TAG 'rolling';
RECOVER COPY OF DATABASE
WITH TAG 'day3'
UNTIL TIME 'sysdate-3';
RECOVER COPY OF DATABASE
WITH TAG 'day7'
UNTIL TIME 'sysdate-7';
}