1, the name of each node (hostname) to be set.2, it is recommended that the network card used for private communication is bound by two network cards, and the network card names of each node are consistent.3, the public IP, the virtual IP and the
Often by Oracle Pit, as a programmer who needs to develop the Oracle repeatedly, after a time and again after the toss, decided to write down these trivial things.Often in the virtual machine using the Oracle,oracle network configuration there are
/*** constraint ***/* If a constraint is only used for a separate field, you can define a constraint at the field level, or you can define a table-levelBut if a constraint acts on more than one field,Constraints must be defined at the table level*
SHUTDOWN NORMAL: Do not allow new connections, wait for the session to end, wait for the transaction to end, make a checkpoint, and close the data file. No instance recovery is required at startup.SHUTDOWN transactional: Does not allow a new
The Oracle temp table space is used primarily for querying and storing some buffer data. The primary reason for the temporary tablespace consumption is the need to sort the intermediate results of the query. The primary role of temporal
1: Create UserCreate user username identified by password;Note: The password starts with a letter2: Change Passwordyourself: PasswordOthers: Password username (System administrator can change others)3: Delete UserDrop user username [cascade]DBA
整个系统突然挂掉,su 无法切换用户,修改用户最大进程数后可以登录,重启服务后系统仍不正常,后发现为 plsql 上修改 T_XXX_XXXX 表时有事务未提交,因此排查原因为更改数据没有提交事务,数据库就将表锁住。提交或者回滚事务后系统正常The most likely cause is that the change data does not commit the transaction, and the database locks the table! So when
Split Oracle data rows into multiple rows and oracle data into multiple rows
In work and study, we often encounter a situation where one row is divided into multiple rows of data. Here, we will make a comparison.
Single Row splitting
If the table
Jdbc connection string for Oracle pluggable Databases
When I deploy a database of a third-party system on the server, the server database version is oracle 12c. I created an instance. Access is normal.
Later, the project owner told me that oracle12
Use a trigger to insert data into two tables with a primary-foreign key relationship.
Table: T_USERS, t_user_effect_work. The primary key ID in T_USERS and the foreign key in t_user_effect_work are the auto-incrementing series of
ORACLE 11GR2 is configured with a domain during installation and will be deleted later. oracle11gr2
Because a security platform is used. Does this platform not support services in oracle? "." This is because oracle was installed and entered into
Solve ORA-00824: cannot set sga_target due to existing, sgatargetToday Linux server machine restarted, Oracle cannot start up, prompt: Solve the ORA-00824: cannot set sga_target due to existing saw a lot of solutions, found below this particularly
ORA-16401: archivelogrejectedbyRFS
10.2.0.4 standalone DG error: (the master database is 10.2.0.4RAC) Tue Dec 22 14:59:00 2015 Errors in file/u01/app/oracle/admin/orcl/udump/orcl_rfs_3171.trc: ORA-16401: archivelog rejected by RFS
View the prompt
Convert a long field to a varchar2 Field
Reference: How to Convert a Long to Varchar2 (Document ID 228532.1)/* Convert a long field to a varchar2 type */-- create table dxmy_long (lon long, var varchar2 (100); -- insert number into dxmy_long values (
Simple Oracle REGEXP_REPLACE function usage
REGEXP_REPLACE allows you to search for the function of the string's regular expression mode REPLACE function. By default,
This function returns source_char and replace_string to replace each instance in
Add, delete, modify, and query statements for oracle,
Create a table:
Cteate table name (column 1 type,Column 2 );View table structure desc table nameAdd a field alter table name add (column type );Alter field type alter table name modify (column
ORACLE queries the locked object and ends its session. oracle locks the object.
What should I do if I find that a table is locked and I don't know who (or which program) is locked when I use Oracle?
Two steps:
1. Find the session ID and serial
Oracle Database DGbroker three Protection modes switch, oracledgbroker
1. Three protection Modes
-Maximum protection
In Maximum protection, the slave database and master database data are exactly the same, so that zero data loss transactions are
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.