1. Account Lockout
Failed_login_attempts: Used to specify the maximum number of failed consecutive logons.
Password_lock_time: Used to specify the number of days the account is locked.
03:34:13 sql> Create profile Lock_account limit
03:36:51 2
1. In Oracle, the data table alias cannot be added as.
Such as:
Select A.appname from AppInfo a;--correct
Select A.appname from appinfo as a;--error
Perhaps, is afraid and Oracle in the stored procedure in the key word as conflict problem bar
2.
--View the current library file location
Sql> select name from V$datafile
2 Union
3 Select member from V$logfile
4 Union
5 Select name from V$controlfile
6 Union
7 select name from V$tempfile;
NAME
-------------------------------------------
First, related testing
(1) Create a test table
Sql> CREATE TABLE TT (ID number);
Table created.
At this point, the table is not parsed, it is the original data, that is, 8 blocks of data.
Sql>select segment_name,segment_type,blocks from
Below I introduce three kinds of view parallel related content, such as parallelism, parallel execution instance and so on through the experiment.
1, V$pq_tqstat view
– Script
[Oracle@rac1 ~]$ Cat Showdop.sql
Column Server_type format A15
First, view the user index in the system table
In Oracle, the system table is created automatically when the database is installed, containing all of the database's data dictionaries, the definitions of stored procedures, packages, functions, and
To test the role of database roles, use the set role command to enable roles, setting the default role for database users
Create corner R1 and R2, where R2 password authentication, I set the password is Oracle
Sql> Conn System/oracle
Connected.
1 Preparation work
1.1 Check Initialization parameters
Confirm that the gloal_names is true,job_queue_process greater than 0. Perform the following two Sqlplus commands at both the primary and materialized view sites to check that database
/*
* Oracle saves the date as an integer offset from a key date in the past (which is January 1, 4712 BC) (that is, save the date as a number);
* So you can generate a random date within a specified range by looking for an integer offset that
A First, introduce 2 words
Automatic Diagnostic Repository (ADR)-
A directory of database diagnostic logs and trace files, called ADR base, corresponding to initialization parameter diagnostic_dest,
If you set the ORACLE_BASE environment variable,
The v$ view contains information about the data structure that the kernel maintains in memory and can be accessed through a DBA account with SYS privileges. Here is a summary of these v$ views related to recovery:
9.1 V$log
Contains the log group
Block Repair is the simplest recovery, which is automatically done by the system during normal operation of the database, and is almost impossible for users to feel.
7.1 Block repair initialization and operation
The foreground process calls the
The cause of this story is that there is a classmate in the version 10.2.0.1 (said 9i may also encounter) a host running 198/248/249 (24.9) days after the OCI client spin spin consumption of a large number of CPUs Bug,spin the cause is sltrgatime64 (
Oracle Tablespace Transfer is a new addition to 8i, a fast way to move data between databases, by putting a number
The format data file on the library is attached to another database, rather than exporting the data as a DMP file, which
In some
As shown in the previous example, the specified object skipped the application although it was canceled, but it is possible that during this time due to the primary database data modification, both ends are not synchronized at this time, if the
I/O includes two parts, read and write, to introduce the generation of write operations in Oracle databases first.
2.1. Write
Before introducing write operations, simply look at the physical structure of Oracle: Oracle's physical files include the
Oracle Triggers Category:
1. Statement triggers
2, row triggers
3. System Condition Trigger
4. User event triggers
5. INSTEAD of Triggers
1. Statement triggers
is a specific statement or a trigger on a statement group that executes on a table
Data security is a wide range of topics, including network security, operating system security, Application layer Security and database security, Oracle data security is at the database level of security, the following figure is the Oracle security
1. Definition
Triggers: associated with a table or database event, a trigger defined on a table triggers execution when a trigger event occurs.
Trigger Trigger Order
1 execute BEFORE statement level trigger;
2 for each row affected by the
1 indexes in SQL Server
An index is a disk structure that is associated with a table or view to speed up the retrieval of rows from a table or view. An index contains keys that are generated by one or more columns in a table or view. These keys are
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