Mysql reports the following error:
ERROR 126 (HY000): Incorrect key file for table '/tmp/# SQL _6613_0.myi'; try to repair it
The reason is that the temporary table is too large, and the/tmp partition is only 2 GB. If it cannot be put, an error is
NLS_LANG format:
NLS_LANG = LANGUAGE_TERRITORY.Client CHARACTERSET
1. Composition of the NLS_LANG Parameter
The NLS_LANG parameter consists of the following parts:
NLS_LANG = _.
The meanings of NLS_LANG are as follows:
LANGUAGE:
Oracle
To obtain a data set from Oracle Procedure, the Ref Cursor method is usually used. To obtain this Cursor, there are several ways:
1. dynamic SQL return:
In this case, Procedure operations are usually relatively simple. For example, you can use a
This article describesFedora 1464-bitInstallOracle Database 11g Release 2 (11.2) 64-bit. This article is based on2G swap partition and SELinux disabled. The installation should also include the following packages:
Gnome Desktop Environment
I. Define substitution Variables
1. Set the exact value through DEFINE
Define myv = 'King ';
The value of the variable myv is King.
2. Define a variable using ACCEPT and prompt you to enter its value
Accept myv char prompt 'enter a last name :'
The
PL/SQL is a procedural programming language for Oracle database operations. It can be executed in SQL * plus or embedded in JAVA or C ++. The basic components are as follows:
DECLARE
...
BEGIN
...
EXCEPTION
...
END
It can be used to encapsulate
Create type char_table is table of varchar2 (4000); -- create a custom type script
Create or replace function split_string (pi_str in varchar2, pi_separator in varchar2) -- create a functionReturn char_tableIsV_char_table char_table;-- Create type
The NoSQL product to be evaluated in this article is Redis. It can be understood as a Key-Value data structure operation. The data is stored in the memory and regularly refreshed to the disk, high read/write efficiency has attracted much attention.
The CR blocks created: Oracle metric is the number of CURRENT blocks cloned to create CR (consistent read) blocks. The most common reason for cloning is that the buffer is held in an incompatible mode.
Read consistency is used when competing
Database Version Oracle11gR2SQL> select * from v $ version where rownum = 1;
BANNER--------------------------------------------------------------------------------Oracle Database 11g Enterprise Edition Release 11.2.0.1.0-Production
Create a manually
I have known the MySQL command (command) Auto-completion function in the past few days (MySQL has been used for several years, but now I know it, I am so embarrassed)
But it is not enabled by default. To enable this function, you can
Vi/etc/my. cnf
[
A sample program that uses JDBC to process transaction
Import java. SQL .*;
Public class TestJDBC {Public static void main (String [] args ){Connection conn = null;Statement stmt = null;Try {Class. forName ("Oracle. jdbc. driver. OracleDriver
I. B-Tree indexes
1. Principles for selecting index fields:
The most frequently used field in the where clause
Join fields in a join statement
Select highly selective fields (if a few fields have the same value and there are many unique values,
Many problems occurred when installing RAC.
The summary is as follows:
1. During installation, ohasd cannot be started because root. sh is running at the same time at two nodes and an error occurs.
Then delete and reinstall the disk. The previously
I. IntroductionIn MySQL 5.1, the new replication technology is introduced, namely row-based replication.In short, this new technology focuses on the changes in the table, rather than the previous binlog mode.From MySQL 5.1.12, you can use the
Many Oracle EBS developers have encountered how to submit a concurrent request in Form or PLSQL?It is actually relatively simple. For more information, see PLSQL.
DeclareV_req_id Number;BeginFnd_global.apps_initialize (4394,505 93, 660, 0 );
Oralce has a special "Take care" of the position after sorting the NULL value, which is the "nulls first" and "nulls last" options, with this option, you can forcibly specify the position where the NULL value appears in SQL sorting (whether it is
Paging Query format:
SELECT * FROM(Select a. *, ROWNUM RNFROM (SELECT * FROM TABLE_NAME)Where rownum )Where rn> = 21
SELECT * FROM TABLE_NAME indicates the original query statement that does not flip pages. ROWNUM = 21 control the range of each
The following error is reported when you execute the create Control File Script:
SQL> @/orac/controlfile. SQL
SP2-0042: unknown command "DATAFILE"-rest of line ignored.
SP2-0734: unknown command beginning "'/orac/ora..."-rest of line ignored.
SP2-073
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