On Windows server2008r2 oracle11g start the EM command: 1. In the start run, type set ORACLE_SID=ORCL (the instance name of your library)2. Run emctl start dbconsole start em3. Run Emctl status dbconsole, check em run conditionAfter launch, you can
You set the recovery window to seven days and the backup Optimization to on using the CONFIGURE command of Recovery Manager (RMAN). TheMost recent backup of the Toolstablespace to disk is taken on January 3.The Toolstablespace is read-only. On
1. According to rowID to divideSELECT * from T_xiaoxi where rowID in (the Select Rid from (select RowNum rn,rid from, select rowID rid,cid fromT_xiaoxi ORDER BY cid Desc) where rownum9980) the ORDER by CID Desc;Execution time 0.03 seconds2.
1. First establish Dump_dir Sqlplus/as SYSDBASELECT * FROM Dba_directoriesIf there is no Dump_dir, execute the following statementCREATE OR REPLACE directory dump_dir as ' C:\as ' where the "C:\as" is the Dump_dir catalog, used to store DMP files2.
Summary of recovery under different Oracle database failures1. Files that are missing or corrupted in non-archive mode--1.1 Data files--Start the state of the database to mount--Recovery method:The entire database is repaired through a database full
Connection mode:
Connect via SQL Developer;
connect via SQL Plus;
SQL developer to connect1. Installing Oracle 11g comes with a tool called SQL Developer, which is very powerful.First we open SQL Developer as shown in:SQL developer
Several types of characters common to Oracle:
The length of the char is fixed and the maximum length is 2K bytes. For example, you define char (20), and even if you insert ABC, less than 20 bytes, the database will automatically add 17 spaces
Where and having can be filtered, generally try to use where, but if there is a group function in the filter condition, can only use having1Sql> SelectDeptnoavg(SAL)2 2 fromEMP3 3 whereDeptno=Ten4 4 Group byDeptno;5 6DEPTNOAVG(SAL)7
You work as a database administrator at Certkiller. com. Your database is open and running in ARCHIVELOG mode.You take the RMAN full backups every Sunday night. On Monday morning, while querying the User1.employees table,You receive the following
One. Start the database :1. Launch the instance, mount and open the databaseStartup2. Launch the instance without loading the database (this mode is used during database creation)Startup Nomount3. Launch the instance, mount the database, do not open
1./*+all_rows*/Indicates that the cost-based optimization method is selected for the statement block, and the optimal throughput is obtained, minimizing the resource consumption.For example:SELECT/*+all+_rows*/emp_no,emp_nam,dat_in from Bsempms
The loss of which and types of files may require a recovery withThe Resetlogs option? (Choose.)A. Control filesB. password fileC. Archived log filesD. system-critical data files for which all the redo entries isPresentE. non-system-critical data
Statistical report: User login (platform clicks) The number of landing times, number of login accounts and total number of accounts in the first one months of the month before the monthly scheduled task statistics.Use stored procedures to store the
ORACLE Stored Procedure instance [memorandum]
Statistical report: the number of user logins (platform clicks) at the beginning of each month. The scheduled tasks count the number of logins, number of Logon accounts, and total number of accounts in
Oracle10gstandbydatabase real-time application of redo data------- Physical standby database:Standby redo log needs to be configured for real-time apply;When real-time applications are enabled, log application service directly receives redo data
Oracle group statement inquiry (Note), oraclegroup
1. The group by statement does not have the sorting function in oracle. order by must be used to sort the statements according to the predefined results.
2. cube extension of group
1 with test as 2 (
[Oracle] oracledba7SQLAccessAdvisor
You find that the execution time of reports in your datawarehouse
Application is significantly high. You suspect the lack of indexes
Be the reason for the degradation in performance. Which advisory comp
Onent
[Oracle] oracledba6SQLTuningsets
You want to use the SQL Tuning Advisor to generate recommendation
S for badly written SQL statements in your development environment. W
Hich three sources can you select for the advisor to analyze? (Choose
Three .
SQL collection (notes) and SQL collection notes
-- SQL is about the set
Oracle is a relational data, where data tables are a set of regular data. Therefore, when using SQL statements, it will save a lot of efficiency if you can follow the set idea,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.