The following error is reported when the standby uard standby database starts a recover:ORA-16014: log 4 sequence #1 not archived, no available destinations
Solution:First lookSQL> show parameter db_recovery
NAME TYPE VALUE---------------------------
When I got off work, the company's database was suddenly blocked. A buf table could not extract more than 20 million data and changed the program. The effect was not obvious. Since Oracle was restarted once before, I still want to restart oracle
-- 1. Create the fn_Split function. (split string, returns a table with the column name id)
If exists (Select*FromDbo. sysobjectsWhereId = object_id ('Fn _ Split')And(Type ='Fn' OrType ='Tf' OrType ='If'))
DROP FUNCTIONFn_Split
GO
First, the experiment environmentTwo Linux servers with MySQL installed can be YUM installed, Binary packages installed, or source code packages compiled. Then, the master-slave synchronization of the two MySQL servers is realized, how to Implement
1. Compare the difference between the current time and the specified time in minutes:Select sysdate,Sysdate-to_date ('2017-04-03 13:45:39 ', 'yyyy-mm-dd hh24: mi: ss ')From dualOutput result: AM 10:45:56 0.875196759259259Select sysdate, to_date ('201
31. Which two statements are true regarding the database in ARCHIVELOG mode? (Choose two .)
A) You have to shut down the database to perform the backups.
B) Archiving information is written to the data files and redo log files.
C) You can perform
The most basic method is to create one master node and one or more slave nodes. Each slave node must know the address of the master node.Start the master server:Java code
Mongod -- master
Start the slave server, where master_address is the
1. Row-Level Lock:(The following statement adds a lock to all rows in the table)Select * from person for update;
If this row of record is locked, the system directly throws an error ora-00054 without waitingSelect * from person where id = '1' for
This time, we will separately investigate the time of Master/Slave latency. The master-slave latency mentioned here does not refer to the "Slave database update performance cannot keep up with the master database", but to the "Delay Time for a
Integrity constraintsIntegrity constraints are used to enhance data integrity. Oracle provides five integrity constraints:
CheckNOT NULLUniquePrimaryForeign key
Integrity constraints are a rule that does not occupy any database space. Integrity
RHEL5U5 + Oracle 11gr2 does not have many steps to manually create a database on bare devices. Therefore, you can simply paste the steps and do not have any Chinese comments. It is only used as personal notes, if some netizens fail to understand or
Common sqlplus commandsWhen an SQL statement is entered, the SQL statement is in the cache of SQLPLUS. The cache is small and only one SQL statement is allowed. When the next SQL statement is entered, the previous SQL statement is overwritten.To
Oracle learning Dynamic Performance Table v $ locked_object
This view lists all the locks obtained by each transaction on the system.
Description of columns in V $ LOCKED_OBJECT:
XIDUSN: rollback segment numberXIDSLOT: Slot NumberXIDSQN: serial
Run the sqlplus command in SSH Secure Shell. If the SQL plus command cannot be found, the Oracle environment variable is not configured. The configuration method is as follows: Find the. bash_profile file (Note: This configuration environment
For the four phases of Oracle Database startup, see:
1. The database is in the SHUTDOWN status.
In this status, the database is stopped. External data requests cannot be accepted. You cannot use the operating system command ps-ef | grep ora to see
1. Install unixODBC
Use YUM for installation:
Linux uses a CD to build a local YUM Server
[Root @ rac1 mnt] # yum install unixODBC
[Root @ rac1 mnt] # yum install unixODBC-devel
Run the isql command to install unixODBC. You can use this command to
1. Check the system packageRpm-q compat-libstdc ++-33 elfutils-libelf-devel glibc-common glibc-devel gcc-c ++ libaio-devel libaio libgcc libstdc ++ libstdc ++-devel make sysstat unixODBC-devel pdksh5.2.14
Note that the package pdk5.2.14 does not
In Linux, use mysqldump to regularly back up MySQL databases:
#! /Bin/bash
PATH =/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin :~ /Bin
Export PATH
Export LANG = en_US.UTF-8
Savedir =/log/database_bak/
Cd"$ Savedir"
Time ="$
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