MONGODB Data ArchitectureUpgrade SolutionProblem DiscoveryThe number of users that application servers suddenly flood into, resulting in slow server responseCheck the server and find that the response speed is extremely slow, which is 30ops.Check
Start Multiple MySQL instances on one server using the backup files of each database as data files for SQL Review.There was no problem before running (up to 23 MySQL instances run simultaneously). Later, a new server was configured and the
When designing a database, I want to install the EA software to see if I can use EA to draw an ER model. The results show that not only can be painted, but also can be used to design a whole set of databases (generate SQL scripts ).
The following
Analysis of effective cursor Management
[Train of Thought Analysis]
The cursor can be understood as a shared execution plan. When SQL is not shared, there are two common solutions:
1. Adjust the size of the Shared Pool (the shared execution
It is also used for record for future contact! It basically contains the advanced usage of General SQL!
Drop table if exists stu; create table stu (name varchar (30), age int, stuid int not null PRIMARY key AUTO_INCREMENT, idnum int, sex varchar (30
ORA-01925: maximum of 80 enabled roles exceededMax_enabled_roles 9i parameter, 10 Gb or later. Specifies the maximum number of enabled roles for a user session.MAX_ENABLED_ROLES specifies the maximum number of database roles that users can enable,
--- Create a tableCreate table TESTTABLE(Id1 VARCHAR2 (12 ),Name VARCHAR2 (32))Select t. id1, t. name from TESTTABLE tInsert into TESTTABLE (ID1, NAME)Values ('1', 'hangsan ');Insert into TESTTABLE (ID1, NAME)Values ('2', 'lisi ');Insert into
1.1 symptom description
The response of database nodes is slow, and some user services are affected.
View database alarm logs and start to displayORA-07445Errors, followed by a large numberORA-04031Errors andORA-00600Error.
Check the database logs.
Basic Concepts
1. Database and database management system
1) a database system consists of databases, hardware, software, and personnel.
2) databases are centrally managed and stored in computers for a long time. They are a collection of organized
The text format is as follows:
[File path]
[Configuration information]
Write
For more information, see the source. This article is from the swordsmanship. If you have any questions, please leave a message.
1. First, configure linux to access the
We know that the most popular MySQL standalone version is INNODB, the only engine that supports full transactions. Its characteristic is that the data itself is organized by B-TREE, the data itself is a huge B-TREE index based on the primary key
The recent project involves a large amount of data. The specific problem is: monitoring digital TV signals, monitoring the transmitted code streams, and monitoring 20000 streams per second, each stream corresponds to more than 20 metrics, which are
To view the client information (mainly IP addresses) connecting to the database, you can use the v $ session view, which contains several fields related to the client information:
OSUSER
VARCHAR2 (30)
Operating system client user name
My friend asked:
50 million how to deduplicate a table with data and determine whether the table is repeated based on the two fields.
Reply:Select two fields and the primary key id to create a temporary table t1,T1 is used to establish a
Symptom:
Oracle GridInfrastructure 11gR2 is installed on a single instance database for creating ASM for the standby database. However, the Create asm gui is displayed after you log on to the grid user to execute the ASMCA command, an error occurs
1. Modify the table fields:
Modify the Data Type of a column (generally, the length is limited and there are many restrictions when you change it to a different type ):
Syntax: alter table name MODIFY (column name data type );
Eg1: alter table skate_
Oracle Database startup involves three steps:
Nomount: Find the initialization file pfile or spfile, create the SGA and start the background process, but do not allow access to the database.
Mount: locate the Control File based on the initialization
Now that we have this requirement, we need to have some knowledge about deadlocks to solve deadlocks. For non-DBAs, we do not need to know much about them, you just need to know the basic concepts and common analysis methods. After all, we don't
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