Because Oracle has a slightly different format for adding and deleting columns, it is hereby documented for easy viewing later.1. Add Columns:Sql> ALTER TABLE t1 add y integer;Table AlteredExecuted in 0.046 secondsDescription: Added column format
Some of the operations that Oracle uses are documented:1. Steps to establish tablespace and User: User establishes:create user user name identified by "password"; authorization:grant create session to User name; grant
1. Database in the project development, most of the use of Oracle, what 8i,9i,10g,11g, etc., has always been that the database version upgrade for the development of a system developer carcass, not what is important, I just focus on the database
Use profile for password restrictions. Oracle automatically establishes a profile called default when the database is established, and Oracle assigns the default to the user when it is established without specifying the profile option.(1) Account
Unlike databases, Oracle Clusterware has a rich view, tools to assist with diagnostics, and its log and trace files are the only choices. But unlike Oracle's only alert logs and several trace files, Oracle Clusterware's log system is more complex,
The database and the client are on different machines.Before installing, navigate to the following folder on the server where the Oracle database is installed.Change localhost in Listener.ora and Tnsnames.ora to the IP address of the machine, my 192.
Environment:Production system is an online user 10K OLAP system (11g RAC two nodes), one day the user unit found that the scanner is slow.View monitoring,Node1,io is high, heart rate is very highImmediately proceed to analysis:1. Original production
Pctfree,pctused,initrans,maxtransPctfreeWhen a block's usage space reaches the 100-pctfree value, the block is detached from the free list. For example, Pctfree is 10, then when the block uses 90% it will be out of freeelist, and subsequent inserts
Oracle Static Monitoring RegistrationThere are many articles on the internet about Oracle monitoring static registration, but most of them are simple to say, and there is no detailed example, here, will be combined with Linux AS4 under the Oracle
Static registrationChange the 1521 port in Listener.ora and Tnsnames.ora to 1421, it is very simple
Dynamic registration2.1 Change the port in the Listener.ora file to 1421LISTENER =(Description_list =(DESCRIPTION =(address= (PROTOCOL = IPC)
Add annotations to tables, columns, and read annotations in Oracle1. Add notes to the table: Sql>comment on table name is ' table Comment ';2. Add comment to column: sql>comment on column table. Column is ' column comment ';3. Read the Table notes:
are found on the Internet, the final collection together, the URL has forgotten which is, sorry to create an instance part of this would like to write a script, first of all, the script experiment successfully put up again. Delete Oracle Instance 1.
1) Change the date display type of the results queried in SQL developer in Oracle 11g R2, that is, the setting of the session date type:Alter session Set Nls_date_format = ' Yyyy-mm-dd HH24:MI:SS ';Oracle Plus fields:ALTER TABLE operator_daily Add
with the SQL statement, delete duplicates only keep one in thousands of records, there are some identical records, how to use SQL statements, delete duplicates1, duplicate records in the lookup table are judged by a single field (Peopleid) .Select *
This article transferred from: http://blog.chinaunix.net/uid-17079336-id-2832443.html1. Create a PRIMARY KEY constraint while creating a table(1) No namingCREATE TABLE Student (StudentID int PRIMARY key NOT NULL,Studentname varchar (8),age int);(2)
Environment: aix7.1+oracle RAC 11.2.0.3Migration Description: Today in the installation of Oracle RAC, the wrong 500G data disk as a OCRDG, then later more trouble, only to speak OCR and Votedisk migrated to the new OCRDG, and DATADG deleted and
Check the script for the ORACLE warning File
Check the important information within two days:
Vi alter_error.sh
Echo "Check Alter Error: "cat $ TRACE/alert _ $ ORACLE_SID.log | grep-E ^ ORA-\ | Reconfig \ | abort \ | Shut \ | ^ Start \ | error \ |
The Oracle11g password is locked and reported to the ORA-28000theaccountislocked
I. Reasons for triggering this error and Related Factors
This is because "PASSWORD_LIFE_TIME = 180 days" is set in the default profile in oracle11g by default.The
Why didn't I hit Racdatabasehome during oracleraco patchauto?First explain the environment: OS: AIX 7.1Oracle version: Oracle Rac 11.2.0.3 before the release of the 11.2.0.3.9 Patch Set, Rac is not officially used, so simply hit the latest 11.2.0.3.1
Solve the Problem of connecting 32-bit plsql clients to databases without 64-bit Oracle11gSince I installed 64-bit Oracle, plsql cannot be connected because it is 32-bit. There is a way to connect to the Internet;
Download
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