SGA)And several OracleBackground ProcessForm
Memory Structure
Sharing poolIncluding library cacheDictionary cache
Process Structure
Lsnrctl(Port:1521) User Process
TablespaceAndData FilesIsOne-to-multipleAffiliated relationship
If you are familiar with ORACLE, you will find that no ready-made objects can be created.
Of course, you may also say that the most SQL method is to use the identity column, and the auto-increment method is OK. However, if you want to implement
Note that when multiple database instances are used, set ORACLE_SID = '',
1. Check whether sqlnet. ora (in the % ORACLE_HOME % NETWORKADMIN directory in WINDOWS) contains this sentence: SQLNET. AUTHENTICATION_SERVICES = (ETS). If not, add
2. Check
SQL _TRACE/10046 events are a method provided by Oracle for SQL tracking. It is a very common method in daily database problem diagnosis and solution. However, the trace file generated by tkprof requires the tkprof tool to generate a format that can
Create a tablespace
datafile size 100M;
identified tablespace qnhouse;
Authorize a user
connect,resource qnhouse;
Table creation and constraints
id name () PK_district_id id
This article mainly analyzes the ORACLE system structure and working mechanism from four different levels of Adjustment Analysis on the large database ORACLE environment, and summarizes the nine different aspects comprehensivelyORACLE Database
1. The following statement is used to query which objects are locked:
The Code is as follows:
Select object_name, machine, s. sid, s. serial #From v $ locked_object l, dba_objects o, v $ session sWhere l. object_id = o.
The first thing to note is that a ORA-01555 error is a "secure" error that will not cause data loss or corruption, but will make the query that receives the error Unable to continue. The following is the cause of the ORA-01555 error is introduced,
1. the length of CHAR is fixed, while the length of VARCHAR2 can be changed. For example, the storage string "abc", for CHAR (20 ), it indicates that the character you store will occupy 20 bytes (including 17 null characters). In the database, it
Solution:
1. view which profile policy is used by the user
SQL> select username, profile from dba_users;
USERNAME PROFILE
-----------------------------------
MGMT_VIEW DEFAULT
SYS DEFAULT
SYSTEM DEFAULT
EKPUSER DEFAULT
2. view the valid days of the
ORA-12560 Solution
Today, when oracle Data imp/exp is executed, the prompt is displayed after executing exp input scott/tiger in cmd:
EXP-00056: ORACLE error 12560
ORA-12560: TNS: protocol adapter error.
EXP-00000: Export termination failed
I
Oracle package utl_inaddr
Purpose: Obtain the Host Name and IP address in the LAN or Internet environment.
1. IP address in utl_inaddr.get_host_address Environment
If the query fails, a system error is prompted.
Query the IP address of
Oracle Linux 6 bridging NICs
Recently, the company formatted an old HP to perform Linux virtualization and install some test servers. The operating system uses Oracle Linux 6.4 and the virtual machine uses KVM.
The previous installation was
Create test tables, which are frequently used by DBAs. Generally, they are created based on dba_objects. This article is based on the big_table of Master Tom for your reference.1. big_table based on Oracle 10 GB
--====================================
1. log on to the database using an oracle user
[Oracle @ wuzj ~] $ Sqlplus/nolog
SQL * Plus: Release 10.2.0.1.0-Production on Thu Feb 26 12:06:29 2009
Copyright (c) 1982,200 5, Oracle. All rights reserved.
SQL> conn/as sysdba
Connected.
// View the
Q: When I installed oracle9i on redhat8, I was prompted to change the second disk, but my optical drive could not be withdrawn. What should I do?The optical drive is loaded by the mount command. when changing the disk, I use the umount command under
During the installation of Oracle10g RAC, it is extremely important to exercise caution when setting the network.The following lists the network configurations of my Oracle10g RAC environment for your reference.1. settings of the hosts fileBecause
Many of my friends only use Oracle to delete the system. However, in many cases, he may find that the next installation page disappears when the system is re-installed, and he may have to reinstall the system, in fact, this is not the case if your
1. What is a cursor?A cursor is a PL/SQL control structure that allows you to control the display of SQL statements to facilitate the processing of table data one by one.2. cursor ClassificationDisplay cursor: Declared and named by the
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