The default MySQL Character Set provided by the system is not gbk. Therefore, it brings great inconvenience to the database promotion and application and the development of Chinese programs, the endless conversion between GBK and UTF8 consumes
The deepest cause of all deadlocks is resource contention. This article provides an example to illustrate this problem.
Symptom 1
One user A accesses Table A (Table A is locked), then table B is accessed, and another user B accesses table B (Table B
To understand the Oracle architecture, you must first understand two basic concepts: databases and instances.
I. Databases
A database is a collection of data. Whether the database adopts a relational structure or an object-oriented structure, the
It is often used in the NT environment to convert a MySQL database to an SQL Server database or to a MySQL database. After using MySQL ODBC, you can use the SQL Server 7 management tool or the MySQL management tool. You can also use other management
Download all file names:10201_database_linux32.zipFile size (KB ):653061KBModify the sysctl. conf file in the/etc/directory to add the kernel parameters. The key part is described as follows:Added content:Kernel. shmall = 2097152Kernel. shmmax = 2684
Log On As an Oracle user.1. Unzip the 9206 patch installation package$ Unzip p3948480_9206_solaris64.zip2. Set the environment variables ORACLE_HOME and ORACLE_SID.$ ORACLE_HOME =/opt/oracle/db01/app/oracle/product/9.2.0$ ORACLE_SID = ORCL$ Export
The system crontab is used to regularly execute Backup files and save the backup results by date to achieve the purpose of backup.1. Create the path to save the backup file/mysqldata# Mkdir/mysqldata2. Create the/usr/sbin/bakmysql file.# Vi/usr/sbin/
After a whole day, finally solved the problem of jdbc (mysql-connector-java-5.0.30) and mysq communication Chinese garbled! My system is linux (Ubuntu ). Use hibernate to connect to mysql in java (Myeclipse environment. There is no problem in
When I write a query condition, the problem is as follows:For example, if I want to write all records whose fields contain the word "Li ",? $ Str = "Li ";Select * from table where field like '%? $ Str % ';In addition to records containing the word
In the application, the system prompts you to provide reference information to help you use the system correctly. However, when running Oracle form, the prompt information of the information line at the bottom of the screen is in English. When more
To enable normal display of Your webpage on more servers, add "set names UTF8" (you can select the appropriate encoding, such as gb2312 ), even if you do not add this sentence, you can access it normally.
Let's talk about the character set of MySQL.
Today, the development database has created an index online for more than one hour. An error is returned when an index is deleted after it is forcibly canceled.
Re-create the index will tell you that the index already exists, drop index will tell
1. User Management
1.1 create a user (Database verification)
Create user dave identified by pwd
Default tablespace users
Temporary tablespace temp
QUOTA 5 m ON users;
1.2 modify a user
Alter user dave quota 0 on system;
1.3 Delete a user
Drop
In Oracle, sequence is the so-called serial number, which is automatically increased every time it is obtained. It is generally used in places where the sequence numbers need to be sorted.
1. Create SequenceFirst, you must have the create sequence
Purpose: Do not memorize scripts. You can use them without having to understand the meaning of the view.Including: V $ SYSTEM_EVENT/V $ SESSION_EVENT/V $ SESSION_WAIT/V $
SQL * Plus: Release 11.2.0.1.0 Production on Mon Feb 18 15:42:14 2013
OS: Linux node 2.6.32-200.13.1.el5uek #1 SMP Wed Jul 27 21:02:33 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
Due to application requirements, some user passwords cannot expire, and
At pm, I suddenly received a call from a MM in the test group saying that the database could not be connected. So I quickly logged on to the database and tried to log on. The connection remained in a waiting state for a long time. At that time, I
In the database O & M process, Shell scripts provide great convenience for O & M. The passing of shell script parameters as variables to SQL and SQL scripts is also a common situation for DBAs. This article mainly discusses how to pass parameters of
The Oracle monitoring index feature allows us to roughly determine whether an index is used. This is because the index is monitored when statistics are collected in Oracle 10 Gb, which is not produced by SQL statements. In the case of 11g, there is
Unlike SQL Server, which uses # In the stored procedure, you can create a temporary table to cache the data to be processed. Oracle mainly needs to create a temporary table structure physically and use the global temporary table keyword.
Syntax:
--
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