Linux Installation Oracle1Increase swap space, memory is greater than 8G and swap is equal to memory sizemkdir/home/Swap CD/home/SwapDD if=/dev/zero of=swapfile bs=1g count= tomkswap swapfile swapon swapfile #增加到swap分区 (31G+ 31G =62G)
Grant CONNECT,RESOURCE,DBA to user;Connect role: --is the typical right to grant the end user, the most basic Create Session--Set up sessions Resource role: --is granted to developers Create CLUSTER --Build a
Trigger implementation function: When inserting a row of data into table A, insert a related data into table B at the same time.---Create a test sample tableCREATE TABLE person (PID number (10));Create table Task (TID number (10));---Create an
I remember a colleague asked me this, said the interview before the problem encountered, the following I introduce three ways.First we create a test table here to add the appropriate test data.CREATE TABLE Test (ID number,name varchar (10));INSERT
This is a summary of the recent study of their own experienceI. Oracle's object-orientedSQL is a collection-oriented one that everyone knows, but there is no denying that there are many places in Oracle today that embody object-oriented thinking.
*The 1,java Web project can be deployed to Tomcat, or it can be mapped to a project's actual directory by configuring Server.xml, so there is no project under Tomcat's WebApps directory, the following is the configuration in Server.xmlContextPath= "/
This is a summary of the recent study of their own experienceI. Oracle's object-orientedSQL is a collection-oriented one that everyone knows, but there is no denying that there are many places in Oracle today that embody object-oriented thinking.
Each table in Oracle has a ROWID, which is a 18-bit character string, for example: Aaangbaabaaao/kaaa. The string it contains consists of a-z,a-z,0-9,+,/of these characters. is 64 binary.Where A-Z corresponds to the 0-25,a-z corresponding to the 26-5
Ora01219 database not opened, ora01219 Database
After connecting to the data today, I saw the prompt that the database was not opened, and the service was closed and re-opened. This is still the case. I found the problem only after I found the
How to merge multiple rows in oracle and Merge multiple rows in oracle
This example describes how to implement multi-row merge in oracle. Share it with you for your reference. The specific analysis is as follows:
When writing SQL statements,
Oracle object-oriented and set
1. oracle object-oriented
We all know that SQL is set-oriented, but it is undeniable that there are many places in oracle that reflect the object-oriented thinking. (This is also a sign that major languages share the
Oracle Database row_number () over statistics of the first 15 enterprises, wm_concat (casewhenthen) Row to Column
Basic usage of the ROW_NUMBER () OVER FunctionSyntax: ROW_NUMBER () OVER (partition by column order by column)
For example, row_number
Oracle lock 2: DML operations and locks
Oracle automatically acquires row locks and table locks for DML operations. The operation type determines the lock action. The following section summarizes the DML operation locks:
SQL Statement
Rowid in Oracle
Each table in Oracle has a rowid, which is an 18-character string, for example, AAANgBAABAAAO/KAAA. it contains a string consisting of A-Z, a-z, 0-9, +. yes.
Where the A-Z corresponds to 0-25, a-z corresponds to 26-51,0-9 corresponds
ORA-04091: table xxxx is mutating, trigger/function may not see it, ora-04091mutating
Today, my colleague asked me to see why a trigger always reports an error. When a DML statement is executed to trigger the trigger, a ORA-04091 error is reported:
Postgres function, postgres date function
1. Data restoration is first considered to be performed in the database, but it is not feasible. External applications are considered to be repaired through jdbc.
For example, profile_image_url and
The reason why the oracle task process is not executed after it is submitted
/* Run the following command in SQL * Plus */-- check steps when the task is not running -- 1. check whether the instance session is RESTRICTED by select instance_name,
Oracle Partition Table Technology (PartitionedTables)
Since Oracle 8 (around 1997), the concept of Partition Table & partition index (Partitioned Tables & Indexes) has been introduced to adjust large Tables and large Indexes to improve
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