Steps for generating an Oracle AWR report
Oracle AWR generates report data by comparing the statistical information collected by two snapshots. The generated report consists of multiple parts, which is similar to the report generated by Statspack.
Solution to Oracle dbstart failure
Solution to Oracle dbstart failure
[Oracle @ CentOS-1 ~] $ DbstartORACLE_HOME_LISTNER is not SET, unable to auto-start Oracle Net ListenerUsage:/u01/app/oracle/product/12.1.0/dbhome_1/bin/dbstart ORACLE_HOMEModify
Oracle NULL values
1. What is NULL?NULL indicates UNKNOW (unknown), which does not represent any value. For example, if a column in a row does not have any value, it is NULL.Oracle allows blank fields of any data type, except for the following two
Database ORA-00600 of a provincial telecommunications industry company [15160]
Systems: HP-UX B .11.31
RAC: YES
Database Version: 10.2.0.4
1. Background
: 39dbrac database Node 2, found a lot of ORA-600 errors in the alert Log, the analysis is the
SQL Syntax of SQLite
The SQLite library can parse most standard SQL languages. However, it also saves some features and adds some new features. This document attempts to describe the SQL syntax that SQLite supports/does not support. View the keyword
Before 9i, Oracle used pfile to store the initialization parameter settings. These parameters were read when the instance was started. Any modification requires restarting the instance to take effect, with spfile, you can use alter system or alter
Vim/etc/my. cnf add skip-grant-tables/Etc/init. d/mysqld restartMysqlUse mysqlUpdate user set password = password ("XMY_vI105VxV") where user = "root ";Flush privileges;Exit/Etc/init. d/mysqld restartWin is to modify my. ini, and the same Restart
Oracle Data Guard synchronizes Data through archive files. The archive files of the master database can be deleted during RMAN backup, but the archive files of the slave database cannot be deleted automatically. You need to write scripts to delete
MySQL: on duplicate key update usage, mysqlduplicateYou can use this syntax to determine whether a record exists when inserting a record. If the record does not exist, insert the record. Otherwise, the record is updated, which is convenient and
MySQL SELECT statement and mysqlselect statement
SELECT statement:
The products table is as follows:
A selects a column FROM a table: mysql> SELECT prod_name FROM products;
B. Retrieve multiple columns FROM the table: mysql> SELECT prod_id, prod_
Mysql Character Set settings
Recently, I have been working on a mysql proxy project, which involves parsing SQL statements. I didn't know much about mysql before. As the project progresses, I had to make up for it. Today, I suddenly saw mysql's
Database naming rules
1Purpose
Standardizes naming rules for various objects in the database.
2Database naming principles
2.1Data Files
If the database uses a file system instead of a bare device, the following naming rules are agreed:
1) Data
A friend asked a question in the QQ group two days ago. The background is as follows:
After continuing to ask, I have the following reply:
1. The connection to the other server is normal.
2. The slave client can telnet port 1521 of the server.
3.
When we install RAC, sometimes the incorrect ASM instance or LISTENER is installed due to various errors, or the CLUSTERWARE resource is added, but it does not really work, such:
The two nodes have created ASM1 and ASM2 instances respectively. The
DataGridViewControls are highly configurable and scalable. It provides a large number of attributes, methods, and events that can be used to customize the appearance and behavior of the control. The following example shows how to add, delete, modify,
To migrate data files using rman:
1. Run copy in the rman window.Copy datafile 1 to '+ TESTDG/rac/datafile/system. dbf ';Copy datafile 2 to '+ TESTDG/rac/datafile/sysaux. dbf ';Copy datafile 3 to '+ TESTDG/rac/datafile/undotbs1.dbf ';Copy datafile 4
To configure a Cluster, you must at least configure1 MGM (Management node) + 1 SQL node + 2 Data NodeMGM can share a machine with the SQL node, and the data node occupies a server separately.This requires at least three servers. Sometimes it will be
In Oracle, if a column type is varchar2, it cannot be directly converted to the clob type. It can be modified indirectly. The following is an experiment:
SQL> create table test (id int, name varchar2 (10 ));
Tablecreated
SQL> insert into test values
We have published three articles in the first, second, and third articles in one of the basic questions and answers for Linux interviews, which are well received by readers. At the same time, we have received feedback. Some readers hope that this
Language _ region. Character SetSIMPLIFIED CHINESE_CHINA.ZHS16GBK
Set nls_lang = 'simplified CHINESE_CHINA.ZHS16GBK'
Oracle modifies the server character set:SQL> SHUTDOWN IMMEDIATE;
SQL> STARTUP MOUNT;
SQL> ALTER SYSTEM ENABLE RESTRICTED SESSION;
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