Oracle Tutorial: kill deadlock process in Oracle
In Oracle, stored procedures or functions that frequently access packets may cause deadlocks. Scripts of deadlocked objects cannot be run, causing freezing or an exception: too many connections are
Data Dictionary related to PL/SQL
Sometimes, we encounter the following problems during PL/SQL development:1) What database objects does my program depend on?2) which package calls a subroutine or variable in another package?3) which of the
Oracle troubleshooting ORA-01089
After sending the shutdown immediate command to the test database today, observe the log and find the following content:Tue May 12 09:52:45 2015SHUTDOWN: Active processes prevent shutdown operation Shutdown is
MySQL function: group_concat () function
GROUP_CONCAT (expr)This function combines non-null column values according to grouping conditions and returns the result. If a null value exists, null is returned. The complete syntax is as
HQL query problems encountered in the project and HQL problems encountered in the project
Problem description:Purpose: To query all components of the latest version.Description: component: version = 1: n. If this component has only one version,
Database index learning and database indexI. Index Introduction
Database index optimization is a technical activity and cannot rely solely on theory. Because the actual situation is ever-changing, and various databases have complicated mechanisms,
Oracle basic SQL SELECT statement, oracleselect
SELECT * | {[DISTINCT] column | expression [alias],...}
FROM table;
• SELECT identifies the columns to be selected. • FROM identifies FROM which table to select.
Add spaces after column and keep up
The index creation rules for mysql optimization and the index Optimization for mysql
The data structure commonly used for indexing is B + tree.. The structure is as follows:
For example, it is a B + tree. For the definition of B + tree, see B +
Obtains the maximum number of rows in a column in all groups.
How to obtain the maximum row of a column in all groups? The following is an example:
There are several employees in the company. Each employee has its own id, group_id (department) and
Install mysql in ubuntu 1204 and ubuntu
Check whether mysql is installed on the local machine
sudo netstat -tap | grep mysql
After executing the preceding command, the mysq socket is in the listening status, indicating that the installation is
Beckham _ mysql partition theory learning, Beckham _ mysql theory learningMysql PartitionBrief:I. Why mysql partition II? mysql partition type III. mysql partition technology comparison
I. Why mysql partitioning?
1. When business data increases,
MySQL Study-MySQL common users cannot log on locally, mysql-mysqlMySQL Study-MySQL common users cannot log on locallyAfter installing MySQL, we usually add common users with corresponding permissions to access the database. When you log on to the
Python3 connects to the Mairadb database and python3mairadb
# This Code demonstrates connecting to the Mairadb database under python3.3.5.
import mysql. connectorconfig = {'host': '2017. 168.14.101 ', # default 127.0.0.1 'user': 'person',
Run hbm2java and hbm2ddl tools, and hbm2javahbm2ddl
The following content is organized from the second edition of hibernate
Hibernate provides a conversion tool from the ing file to the Java source code, named hbm2java, which can be run using ANT.
Mysql query on the sixth day 1, mysql query on the sixth day
The general query process is from the client to the server, and there is a network between them. Parse on the server, generate the execution plan, and execute. And return it to the client.
Conversion differences between Oracle and MySQL, oraclemysql
1. nvl function.
In Oracle: nvl (join_count, 0)
MySQL: if (join_count is null, '0', join_count)
2. String connection.
"|" Is used for connection in Oracle, and CONCAT is used for
Difference between mysql int (m) and int (m), and mysqlint
It is estimated that most of my friends who are getting started with mysql will have this question: what does the value in int (M) mean?
According to the relevant information, we summarized
New feature 3 of Oracle12c -- ASM & Grid, oracle12casm
1. Enhancements to Automatic Storage Management (ASM)
1.1. Flex ASM
In a typical Grid Architecture Installation, each node has its own ASM instance running and plays the role of the database
Redis _ dictionary and redis dictionaryTwo things you should know before reading this article. First, Redis is a Key-Value database, and second, the dictionary is an abstract data structure that stores Key-Value pairs. It is difficult to guess that
Beckham _ mysql stored procedure, Beckham _ mysqlStored ProcedureBrief:1. What is a stored procedure?2. Use stored procedures
I. Stored Procedure
Similar to a function, a piece of code is encapsulated. You can call this stored procedure to execute
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