有很多朋友都遇到过在操作数据库时误删除某些重要数据的情况,如果数据库没有备份而且数据有十分重要的情况下怎么做才能找回误删除的数据呢?我在这里为大家介绍几种误删除数据库中重要数据的恢复方法(不考虑全库备份和利用归档日志)第一种数据恢复方法是利用oracle提供的闪回方法进行数据恢复,适用于delete删除(一条记录)方式:首先需要知道是什么时间进行的删除操作,如果不能确定具体时间点则选择尽量准确的删除数据前的时间。然后利用select * from 表名 as of timestamp to_timestamp('删除时间点','yyyy-mm-dd hh24:mi:ss')语句可以找回删除的数据。利用insert into 表名 (select * from 表名 as of timestamp to_timestamp('删除时间点','yyyy-mm-dd hh24:mi:ss'));语句就可以将恢复出来的数据插入原表中(注意要保证主键不重复)。另一种方法可以通过闪回整个表来恢复误删除的数据,但仅适用于表结构没有发生改变且用户有flash any table权限的情况下,语句如下:·alter table 表名 enable row movement·flashback table 表名 to timestamp to_timestamp(删除时间点',' frombyte yyyy-mm-dd hh24:mi:ss')第二种数据恢复方法的原理是因为oracle数据库在删除表时会将删除信息存放于某虚拟“回收站”中而非直接清空,再此种状态下数据库标记该表的数据库为“可以复写”,所以在该块未被重新使用前依然可以恢复数据。该方法多用于drop删除。首先需要查询user_table视图找到被删除的表: · select table_name,dropped from user_tables · select object_name,original_name,type,droptime from user_recyclebin注意此时的表名称已经被重新命名,table_name和object_name就是回收站中的存放表名,如果管理员此时可以明确原表的名称可以通过 flashback table 原表名 to before drop语句进行数据恢复,如果不知道原表名称可以直接按照回收站中的表名称将数据恢复回复来,然后通过 flashback table "回收站中的表名(如:Bin$DSbdfd4rdfdfdfegdfsf==$0)" to before drop rename to 新表名语句就可以重新命名。第三种方法同样利用oracle数据库的闪回功能可以将数据库恢复到过去某一状态,语法如下:SQL>alter database flashback onSQL>flashback database to scn SCNNO;SQL>flashback database to timestamp to_timestamp('frombyte 2007-2-12 12:00:00','yyyy-mm-dd hh24:mi:ss');介绍到这里有朋友发现问题了,oracle数据库提供了可以恢复数据的保障机制,但也不可避免的占用了大量空间,使用drop一个表或者delete数据后空间并不能自动进行回收,如果确定需要删除的数据又不想无谓的占用空间该如何操作呢?我们可以使用以下两种方式:1、采用truncate方式进行截断。(但不能进行数据回恢复了)2、在drop时加上purge选项:drop table 表名 purge该选项也可以通过删除recyclebin区域来永久性删除表 ,原始删除表drop table emp cascade constraintspurge table emp;删除当前用户的回收站:purge recyclebin;删除全体用户在回收站的数据:purge dba_recyclebin
启动过程启动过程包含下面的一些步骤:启动一个系统的初始步骤是上电自检(Power On Self Test,POST)。其目的是验证基本硬件是否处于正常的工作状态。同时初始化内存、键盘、通信,以及音频设备。您可以看到在屏幕上显示了所有的这些设备。在这个步骤中,您可以按下功能键,以选择不同的启动列表。这个阶段中所显示的 LED 值是模型特定的。硬件和软件方面的问题都可能使得系统无法启动。注意:基于 MCI 体系结构的旧系统在这个步骤之前还将执行一个附加的步骤,即所谓的内建自检(Built In Self Test,BIST)。对于基于 PCI 体系结构的系统,不再需要执行这个步骤。
本环境是SQL Server 2005 Standard Version 64-bit 和 SQL Server 2008 Standard Version 64-bit 双实例同时安装在一个Windows Server 2008 Standard Version 64-bit OS上: Windows Server 2008 Standard Version 64-bit
Comparison of WinHex License Types and Related Products License type/program Features WinHex Eval. WinHex Personal WinHex Prof. WinHex Specialist n/a X-Ways Imager X-Ways Inv. CTR X-Ways Investigator X-Ways Forensics Usage in business & organizations permitted ^ ✓ ✓ ✓ ✓ ✓ ✓ ✓ Write disk sectors, edit RAM, save large files ✓ ✓ ✓ ✓ ✓* Hexadecimal editor ✓ ✓ ✓ ✓ ✓ ✓* Simultaneously displayed character sets 1 1 2 3 4 3 3 4 WinHex Scripts ✓ ✓ ✓ ✓* Specialist menu (✓) (✓) (✓) (✓) ✓ Highlighting of slack space and free space ✓ ✓ (✓) (✓) ✓ Internal definition of time zones ✓ ✓ ✓ ✓ ✓ Fast hashing algorithms ✓ ✓ ✓ ✓ ✓ ✓ WofCompressedData XPRESS decompression ✓ ✓ ✓ Multiple threads for logical searches and RVS 2 2 8 Availability of a 64-bit edition ✓ ✓ ✓ ✓ ✓ ✓ ✓ Internal RAID 0/5/5EE/6 reconstruction ✓ ✓ ✓ ✓ Windows dynamic disks, LVM2, Apple partitioning ✓ ✓ ✓ ✓ ✓ Understands FAT12, FAT16, FAT32, TFAT, NTFS ✓ ✓ ✓ ✓ ✓ ✓ ✓ Understands exFAT, Ext2/3/4, CDFS, UDF ✓ ✓ ✓ ✓ HFS, HFS+/HFSJ/HFSX, ReiserFS, Reiser4, UFS, XFS ✓ ✓ ✓ Understands Windows memory dumps ✓ Disk imaging (raw/dd) and disk cloning ✓ ✓ ✓ ✓ ✓ ✓ Ability to create skeleton and cleansed images ✓ Creation of evidence file containers ✓ ✓ ✓ ✓ Ability to open and interpret evidence file containers (✓)° (✓)° (✓)° ✓ ✓ ✓ ✓ ✓ Disk image interpretation (raw/DD, VMDK, VHD, VDI) ✓ ✓ ✓ ✓ Support for .e01 images (evidence files) ✓ ✓ ✓ Mount file systems as a drive letters ° ° ° ° ✓ ✓ Regular X-Tensions ✓¹ ✓ Disk I/O X-Tensions (✓)† ✓ ✓ ✓ Viewer X-Tensions ✓ ✓ ✓ Image I/O API ✓ ✓ ✓ Viewer component, gallery, preview mode, file mode ✓ ✓ ✓ Internal picture viewing library ✓ ✓ ✓ Cases, case reports, multi-user collaboration ✓ ✓ ✓ Advanced keyword search and search hit lists ✓ ✓ ✓ Populating an event list / chronological time line ✓ Tagging, categorizing and commenting on files ✓ ✓ ✓ More columns and options in the directory browser (✓) (✓) ✓ ✓ ✓ Using hash databases ✓ ✓ Creating hash databases ✓ H U N D R E D S of additional features (✓) (✓) ✓ Other functions (examples, old page) (✓) ✓ ✓ ✓ ✓ ✓ ^ only for evaluation purposes or to review evidence file containers containing no more than 1000 objects ° only evidence file containers containing no more than 1000 objects * if you run X-Ways Forensics as WinHex † you need to create a case first and add the disk/image, but you cannot save and re-open that case ¹ function XWF_GetRasterImage not usable because internal picture viewing library not available Personal licenses for WinHex are available at a reduced price for non-commercial purposes only, in a non-business, non-institutional, and non-government environment. Professional licenses for WinHex allow usage of the software in any environment (at home, in a company, in an organization, or in public administration). Upgrade Chart You can upgrade existing licenses of certain types to a superior license type. Offers for that are usually available when you query your license status. The following types of upgrades are possible: From → To WinHex personal WinHex prof. WinHex specialist WinHex Lab Ed. Inv. CTR Investi- gator Imager annual Imager perpetual Forensics annual Forensics perpetual WinHex personal ✓ ✓ ✓ WinHex prof. ✓ ✓ WinHex specialist ✓ WinHex Lab Ed. Investigator CTR ✓ ✓ Investigator ✓ Imager tempory Imager perpetual ✓ Forensics annual