Information about the objects in recycle bin:
SELECT object_name,
original_name, TYPE,
can_undrop , can_purge ,
droptime
FROM recyclebin
or
show recyclebin
Restore
flashback TABLE mytable TO before DROP;
Clear recycle [...]
|
||||||||
|
Information about the objects in recycle bin: SELECT object_name, or show recyclebin Restore flashback TABLE mytable TO before DROP; Clear recycle [...] Get the information about ASM disks: SELECT GROUP_NUMBER, DISK_NUMBER, TOTAL_MB/1024 GB, NAME FROM v$asm_disk; Get the information about ASM diskgroups (including used space and the free space): SELECT GROUP_NUMBER, NAME, TOTAL_MB/1024 TOTAL_GB, FREE_MB/1024 FREE_GB [...] select d.file# f#, d.name, d.status, h.status If there are such files, the recovery is necessary: restore the file from the backup Another possibility (if there are a lot of files): restore the files from the backup Create the table to save logon information: CREATE TABLE logonaudittable ( event VARCHAR2(10), sid NUMBER, serial# NUMBER, TIMESTAMP DATE, username VARCHAR2(30), osuserid VARCHAR2(30), machinename VARCHAR2(64) ); Find the name of the current password function SELECT * FROM DBA_PROFILES WHERE RESOURCE_NAME=’PASSWORD_VERIFY_FUNCTION’; Change the password function for the profile: ALTER PROFILE &profile. LIMIT PASSWORD_VERIFY_FUNCTION &function_name.; Example of the password function: CREATE OR REPLACE FUNCTION dummy_func col opname FOR a40 SELECT sid There is a known problem with Oracle statspack report in 10g, which could cost You at least one lost statspack snapshot. The following message is written into the alert log:
ORA-00001: unique constraint (PERFSTAT.STATS$MUTEX_SLEEP_PK) violated There is a Note 382993.1 in Metalink, which describes this bug. The workaround is [...] Sometimes it’s necessary to read the information from the alert log together with the timestamp of the error. The very simple Unix-shell script helps to do this: echo Export to the compressed file /etc/mknod my_own_pipe p Import from the compressed file: /etc/mknod my_own_pipe p |
||||||||
|
Copyright © 2010 MemoSoup - All Rights Reserved
|
||||||||