How to create an oracle user through sqlplus
1. Connect to the database for which you want to add a user through the system administratorOr run the following command: connect system/manager @ user_datebase as sysdba; log on to sys to create a user.
The original dbexport for Oracle was exported to the Excel document format, and many netizens demanded that it be exported to the Word document format. Therefore, the software for exporting it to the Word version was released on the basis of the
1. Basic Structure Create or replace procedure(Parameter 1 in number,Parameter 2 in number) IsVariable 1 integer: = 0;Variable 2 date;Begin
End stored procedure name
2. Select into statementSave the result of the SELECT query to a variable. Multiple
Tablespace is the logical unit of Oracle space management. Data Files in tablespace are stored in entities. tables that we are familiar with are stored in these files. Therefore, tablespace can be viewed as a data file group. In terms of management,
When an Oracle database instance is started, it needs to allocate shared memory to start background processes.
The memory used by the Oracle database mainly involves PGA and SGA.
1. PGA
Program global area, as the name suggests, is the global area
Create user
Create User Username identified by password;
System Permissions
Grant/Revoke create session to/from username;
Grant/Revoke create table to/from username;
Grant/Revoke unlimited tablespace to/from user name;
Grant dBA, connect, resource
1. The Zhaoqing merchants alliance was tracked and asked if there were still problems with the Alliance, so as to respond promptly.
To reduce complaints.2. Since the Oracle connection error was encountered again when the system was reinstalled
MySQLAdvantagesMySQL is a fast, multi-threaded, multi-user SQL database server. It is almost free of charge. It supports regular SQL query languages and multiple data types, and supports various detailed queries of data.MySQL's core program adopts
After the computer name is changed, all Oracle services cannot be started.We recommend that you do not modify the computer name at will, because it is troublesome to modify many Oracle configurations after you modify the computer name.
My original
Routine Management and Maintenance
Enable and disable the start and stop ggsci commands, view the status using the info and status commands, and view the statistics using the stats command, check the discard file and other log files (for example,
1. Enhanced add column description
In Oracle 11gr1, Oracle enhanced the Add column. Instructions on the official website:
Http://docs.oracle.com/cd/B28359_01/server.111/b28279/chapter1.htm#NEWFTCH1
1.1 Enhanced add column functionality
Default
There are three methods to view the session ID of the current session:
1. V $ mystat View
SQL> DESC v $ mystat
Name null? Type
---------------------------------------------------------------
SID number
Statistic # Number
Value number
SQL>
I. Problem Description
Install RAC of 11.2.0.1 on Oracle Linux 6.1 and report time out when root. Sh is executed on the second node, as shown below:
[Root @ rac2 ~] #/U01/APP/11.2.0/GRID/root. Sh
Running Oracle 11g root. Sh script...
The
Sometimes we see the following information in AWR:
The corresponding three SQL statements are as follows:
(1) Call dbms_space.auto_space_advisor_job_proc ()
(2) calldbms_stats.gather_database_stats_job_proc ()
(3) Insert into WRI $ _
For more information, see the following blog:
Oracle racfailover details
Http://blog.csdn.net/tianlesoftware/article/details/5340788
How to configure Server Side transparentapplication failover [ID 460982.1]
1. Create tafservice
[Oracle @ db1
1. Description of inconsistent data dictionaries
Mos Description: Identify data dictionary inconsistency [ID 456468.1]
1.1 data dictionary corruption
Data Dictionary corruption is usually caused by the following situations:
1. Data Dictionary
I. SCN description
I have also compiled several Oracle SCN articles as follows:
An in-depth study on the relationship between the time modification problem and SCN of the Oracle DB Server System
Http://blog.csdn.net/tianlesoftware/article/details/6
The duplicate/resotre/recover method of rman on a hybrid platform is as follows:
(1) Use active database duplicate. This is only available for 11 grman.
(2) Use the duplicate of image copies or backup sets.
(3) Use the resotre and recover of
Method for accessing the sdo_geometry field in Oracle Spatial (in Windows)
Reference URL:
Http://iihero.iteye.com/blog/995152
Blog type: OracleOraclewindowssql. netjdbc1. With OCI or occi, you can refer to the C ++ implementation in the oraclehome \
1. CharA fixed-length string is a string that is stored in the database with spaces filled with insufficient digits. The declaration method is as follows: Char (L). L is the string length. The default value is 1 and the maximum value is 2000. It is
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