Oracle provides the scott user's re-creation script, and the 11G uses the script to create scott. The simple operation is as follows:
SQL> select * from dba_users where username = 'Scott '; ------ SCOTT has been manually deleted.
No rows
Today is. Take notes on the oracle TAF technology, as shown below:
######################################## ######################################## ####Failover_mode parameter description######################################## #####################
The speed of rollback is achieved through the fast_start_parallel_rollback parameter, which dynamically adjusts the parameter fast_start_parallel_rollback. This parameter determines the number of parallel times of rollback initiation, in a busy
When form has a ora error, you can use the following method for query errors such as opening form encountered FRM-40735: WHEN-BUTTON_PRESSED exception: ORA-040631, enter database, enter oerr ORA 04063 [oratst2 @ oracletest ~] $ Oerr ORA 1, 0406304063
Some big tables are sometimes used in my experiments. Here we will share how to use dba_objects to create and test large tables:
First, create a test table.
SYS @ ORCL> create table test nologging as select rownum id, a. * from dba_objects a where 1
Reporting ORA-01658 when importing data to the orale Database: failed to create INITIAL partition error for segments in tablespace XXX.
When I create a tablespace in Oracle, the initial size is 200 MB. When the data volume in the database reaches
1. view the execution plan of specific statements and the amount of memory/CPU consumed
The current two tables have 1508875 data records each
The original statement is:
SELECT/* + rule */JB. RYID, JB. GMSFHM, JB. XM, JB. XB, JB. CSRQ, ZP.
1. Create full database backup
2. Construct test data under the test2 user
3. Simulate file loss: log on to and close the database as sysdba, and try to restart the database.
4. Execute recovery: Enter the RMAN command line Environment
Note: The catalog directory must be used to create a database for restoration.I. catalog backup1. Create a tablespaceCopy codeThe Code is as follows:SQL> create tablespace rman datafile 'C: \ oracle \ product \ 10.2.0 \ oradata \ orcl \ rman01.dbf'
Index unique scan requires at least 1 logical read compared to index unique SCAN, this is because the unique row scan of the index clearly only has one row of data to be returned, while the index range scan may have multiple rows of data to be
Today is. During the database performance tuning process, I suddenly moved to the previous email with the following information:
From the log, it is found that there is a row-level exclusive lock contention, resulting in a deadlock.
Problem
Oracle Move command Summary
Starting from 8i,OracleStart to provide the Move command. We usually use this command to move a table segment from one tablespace to another. Moving is actually a physical copy of data between blocks, so we can reduce the
--- Indicates flashing back to the database
--- Use a flashback table to restore the table content to a specific time point in the past
--- Restore from the deleted table
--- Use the flashback query to view the database content at any point in time
-
400. Which of the following methods can be used to detect block upload uption?
A. ANALYZE operations
B. dbv
C. SQL queries that access the potentially encrypted upt block
D. RMAN
E. All of the above
Answer: E
Answer:
Reference:
Oracle:
Definition type (for string segmentation ):
Create or replaceTYPE "STR_SPLIT" is table of VARCHAR2 (4000 );
String segmentation functions:
Create or replaceFUNCTION splitstr (p_string IN VARCHAR2, p_delimiter IN VARCHAR2)RETURN
1. Copy the table structure and data:Copy codeThe Code is as follows:Create table table_name_new as select * from table_name_old2. copy only the table structure:Copy codeThe Code is as follows:Create table table_name_new as select * from
Clean up the environment of undo tablespace management Test 1:
Http://blog.csdn.net/wanghui5767260/article/details/20145959
SYS @ ORCL> select tablespace_name, segment_name, status from dba_rollback_segs;
TABLESPACE_NAME SEGMENT_NA STATUS
----------
The role of Data Gurad is not much said. Here, we will talk about the building steps of physical standby.There are roughly three ways to create a standby DatabaseMethod 1: Use rman to generate standby. (use rman's duplice method for direct creation
LabDatabase data files with Backup Recovery ORA-01157 [continued + 1]
YesBackup availableThe experimentHow can I recover without backup??
The prerequisites for this experiment must be in archive mode !!!
However, after testing, we found
I. Problem description: After Oracle is installed locally, you need to connect SQL * plus in a few cases. This window will pop out when you log on locally (this window cannot be logged in or out, of course, it may also be my configuration problem):
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service