At the beginning of this day, I learned the MySQL storage process. I just downloaded the new technical White Paper of MySQL 5.0 and carefully studied and practiced it. My personal summary is as follows:
1. When creating a stored procedure on the
The configuration file of the newly added tablespace mainly uses this parameter.Test EnvironmentInnodb_data_file_path = ibdata1: 370 M; ibdata2: 50 M; ibdata3: 50 M; ibdata4: 500 M; ibdata5: 500 M: autoextend
There are several situations1. During
Perform SQL tracking in Oracle. It is estimated that most of them will use autotrace in sqlplus or set 10046 tracking. However, if you are debugging an application system, especially the system that opens the connection pool, the above two methods
Oracle application efficiency can be improved from the following aspects:
(1) Adjustment of business logic functions;
(2) Optimize the data structure design;
(3) optimize data processing steps;
(4) Optimize SQL statements;
⑸ Physical structure
I recently used MySQL databases for Linux projects, but when I remotely connect to MySQL, I always reported erro 2003: Can't connect to MySQL server on '100. 87. ***. * ** '(111). The solution was found several hours yesterday, as shown below:
1.
A test was conducted. SQL> create table test1 (cola varchar2 (10); the table has been created. SQL> create table test2 (colb varchar2 (10); the table has been created. SQL> select * from test1; SQL> select * from test2; SQL> create or replace
I. How to expand the linux swap spaceA) Login as the root user
B) Type following command to create 512 MB swap file (1024*512 MB = 524288 block size ):# Dd if =/dev/zero of =/swapfile1 bs = 1024 count = 524288
C) Set up a Linux swap area:#
I believe everyone has encountered the lock table. I think everyone knows the unlock method, but the killing processes are sometimes low-level. We use stored procedures to implement this function, it becomes very simple.
1. Create a view to query
Symptom:After the instance is started to mount, rename datafile reports an error ORA-01511, ORA-01121, ORA-01110SQL>SQL> ALTER DATABASE RENAME FILE '+ DATA/rac/datafile/system.416.833384105' TO '+ TESTDG/rac/datafile/system. dbf ';Alter database
Oracle Data Table CompressionCompression principle: store the repeated column values of all rows in the same Block in the header area. This region is called a symbol table ). If the value of a column in the row is equalThe value stored in the symbol
Today, the leader asked me to install mysql in the production environment using a compilation-free method, so I had the following content. The directory involved in it has been processed. Please modify it as needed!
1. Download the mysql compilation-
I. Windows cracking:1. Stop the mysql Service2. Enter the command window, enter the bin directory under the mysql installation directory, skip permission detection, and start mysqlMysql \ bin> mysqld-nt -- skip-grant-tables3. open a new window, go
Before leaving work today, I suddenly received a call from the Bureau asking for a detailed call record for June October.
Then, the entire table is started and the extracted records are inserted into the detail table. Now, we can delete tens of
In fact, it is very simple to create an Oracle password file, but to prevent you from forgetting it, record it.
Orapwd file =/u01/app/oracle/product/10.2.0/db_1/dbs/orapworacledb password = oracle entries = 10
[Oracle @ oracle10g dbs] $
You can use sqlplus to connect to an Oracle database and then use the database interactively. Another non-interactive method is to directly execute SQL commands through shell, which can be directly executed on the shell CLI port or through shell
1. OUI-10182 The valid tive user ID does not match the owner of the file ..........
Solution: Use the root account to create the oraInst. loc file under/etc and write the following content:
Inventory_loc =/u01/app/oraInventory (directory of
Oracle 11gR2 service descriptionSome background processes
Background Process
Description
Oracle High Availability Service (OHAS)
OHAS is the first Grid Infrastructure component opened after the server is started. It is
Oracle's verify_function_11G function only makes the password look difficult to guess through some password rules, but some users' habits make the password complex, but it is not difficult to guess, in this case, you can use the program I wrote to
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