1. First, the Scott account needs to be unlocked and entered: Alter user Scott account unlock; At this point, the Scott accounts are expired and the password expires (expired);2. Then, check the Scott account validity period, enter: SELECT * from
1. Explain The difference between a hot backup and a cold backup and the benefits associated with each.
a hot backup was basically taking A backup of the database while it was still up and running and it must being in Archiv E log mode.
1. How would determine the time zone under which a database is operating?
SELECT Dbtimezone from DUAL;
2. Explain the use of setting global_names equal to TRUE.
It ensure the use of consistent naming conventions
1. How can variables is passed to a SQL routineBy use of the & symbol. For passing in variables the numbers 1-8 can is used (&1, &2,..., &8) to pass the values after the command into The SQLPLUS session. To being prompted for a specific variable,
1. A tablespace has a table with the extents in it. Is this bad? Why or is not.Multiple extents in and of themselves aren?t bad. However if you also has chained rows this can hurt performance.2. How does the set up tablespaces during an Oracle
Oracle Database Lock table query and unlock processIn Oracle database operations, we sometimes use lock table queries and operations such as unlocking and kill processes, so how are these operations implemented? In this paper, we mainly introduce
This article is an original article,Reprint please indicate the sourcehttp://blog.csdn.net/msdnchina/article/details/41413313To delete an archive log, you need to confirm several points in advance:1. Whether it is a DG environment: if the DG
When installing Oracle, you need to adjust the kernel parameters of Linux , but what do the parameters mean?Minimum values given in the Linux installation documentation:FS.AIO-MAX-NR = 1048576Fs.file-max = 6815744Kernel.shmall = 2097152Kernel.shmmax
To establish the tablespace and the user's steps:
User
Create:Create user username identified by "password";
Authorization:Grant create session to user name;
Grant create table to user name;
Grant create tablespace to user name;
The undo table Space is used to hold undo data. When a DML operation is performed, Oracle writes the old data for these operations to the Undo segment. Operations such as consistent read to the database, transaction rollback, and so on. In other
CLOB type, but for this type of processing is still more troublesome, varchar2 length of 4000bytes, if VARCHAR2 can meet the needs of the landlord, we recommend the use of VARCHAR2, the following provides the way to read the CLOB type in Java, I am
>exp-help>imp-helpData dictionary table: dba_data_files: Data File TableTo view the data file name and the name of the table space to which it belongs:Set display length per line: Set Linesize 300;Set the number of columns to display per page: set
Backup Requirements and Rman backupOracle database Backup related questions and answers:1) What is the state of the database at the time of backup?The database is in the open state when you back up so that the database works correctly.2) where is
Oracle dynamic SQL
The syntax for executing dynamic SQL statements is:
Excute immediate dynamic SQL statement using binding parameter list returning into output parameter list
Test Table: student (id, name, age );
Example: Storage
Create or
Oracle (+) connector usage
In the Oracle PL-SQL, left and right connections can also be implemented as follows
Example:
SELECT stu_name, class_nameFORM students, classesWHERE students. classid (+) = classes. id
The preceding SQL query uses the
Oracle Database Connection detection (Shell)Version 1
Oracle Database Version: Oracle Release 10.2.0.1.0
System Version: Red Hat guest iselinux 5.4
2 Check Step 2.1 write Shell scripts
Edit the check_oracle_connection.sh script for a user with
Oracle locks the temporary table statistics and whether the hint can be dynamically collected after the lock
The statistical information of the global temporary table cannot be collected. If it is collected, its statistical information must be 0,
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