The system reports an SQL exception. The content is as follows:
Java. SQL. SQLException: ORA-01795: maximum number of expressions in a list is 1000
The SQL statement executed when an exception is thrown is not surprising. It is a common SQL
Problem 1: the shared disk allocated on node 1 can only be seen on node 2.
Solution: Disable Node 1. This step does not verify whether it is required ). You can re-allocate Node 2 once and open Node 1.
Problem 2: Installing Oracle changes the size
Recently suddenly discovered oracle10g in sqldeveloper in the discovery of ORA-12514: TNS: listening process can not parse in the connection descriptor error, but can log on normally under sqlplus. Solution:
1. Open the /network/admin/listener. ora
Create an Oracle trigger for auto-increment of sequence values in a tableHelloblockWriting)
SQL> conn scott/oracle
Use the scott user. Do not use the sys account.
1Create a test tableTb1:
SQL> create table tb1(Id int primary key,
Name varchar2 (20)
Lab environment:
OS: Redhat 5.3 64bit
Mysql: mysql 5.5.29
TCMalloc (Thread-Caching Malloc) implements the same functions as the standard glibc library's malloc, but TCMalloc is much more efficient and faster than standard malloc. TCMalloc is a
For example, there is a Chinese table as follows:
Example 40:
Create table Test table
Id number,
Name VARCHAR230 ),
FLAG CHAR1 ),
CONSTRAINT PK_TESTD primary key id) using index );
-- Create the mv log and MV at the source end:
Drop materialized
Ora-02292: Username that violates the complete constraints. constraint name)-The subrecord has been found.
Another reason is that A field in Table B references A field in Table A as A constraint ).
If the referenced field is field and B. field is
1. archive can only be changed under mount.
SQL> shutdown immediateThe database has been closed.The database has been detached.The ORACLE routine has been disabled.SQL> startup mount;The ORACLE routine has been started.
Total System Global Area 77838
1. date: Query and modify the date and time
1) display the current time and date
$ Date
Fri Jul 17 14:09:38 CDT 1998
2) set the time and date
$ Date 0717142598
Fri Jul 17 14:25:56 CDT 1998
The configurable time range is 1970 ~ 2037
2. cal: Display
-- 1Create table my_test (Id NUMBER (3 ),Name VARCHAR2 (20));Insert into my_test VALUES (1, 'this is line 1 ');Insert into my_test VALUES (1, 'this is line 1 ');Insert into my_test VALUES (1, 'this is line 1 ');Insert into my_test VALUES (1, 'this
1. Checkpoints
Checkpoints checkpoint is the system powered on CMOS initialization program initial program load, IPL) after running, a series of information is displayed on the display panel of the I/O cabinet.
After the AC power supply is
1. Download gqlplus, download link http://jaist.dl.sourceforge.net/project/gqlplus/gqlplus/1.12/gqlplus-1.12.tar.gz.
2. Upload to linux, decompress and compile and install
2.1tar-zxvfgqlplus-1.12.tar.gz
2.2cdgqlplus-1.12
./Configure
Make
3.
Lock: Controls concurrent access to shared resources to prevent conflicts.Ensures data consistency, integrity, and sharing.-- Lock classification:1) Row-Level Lock exclusive lock)In oracle databases, when insert, update, delete, select... for update
-- ==================================
-- SYSTEM tablespace management and Backup Recovery
-- ==================================
SYSTEM tablespace is the most important tablespace in Oracle databases. It stores information generated by some DDL
① ASM file conversion
Take the created asmtest tablespace as an example.
(I) convert OS files to ASM files
Sys @ ORCL> create tablespace asmtest datafile size 10 m;
Tablespace created.
Sys @ ORCL> alter tablespace asmtest offline;
Tablespace
Idle> startup
ASM instance started
Total System Global Area 83886080 bytes
Fixed Size 1217836 bytes
Variable Size 57502420 bytes
ASM Cache 25165824 bytes
ORA-15032: not all alterations saved med
ORA-15063: ASM discovered an insufficient number of
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