When using expdp to export data in Oracle, sometimes an error occurs. In this case, some records are generated in dba_datapump_jobs. You can see the following command:
Select * from dba_datapump_jobs;
Now we can see the corresponding JOB_NAME.
When Oracle sqlplus is used in linux, the arrow keys do not move the cursor left or right by default, and the commands are up and down. Therefore, if you want to execute the commands that have already been executed, you should try again or use the
1. select an appropriate Oracle optimizer
There are three optimizer types in Oracle:
A. RULE (based on Rules)
B. COST (COST-based)
C. CHOOSE (optional)
Set the default optimizer. You can declare the OPTIMIZER_MODE parameter in the init. ora file,
// Has the following binary tree and converts it into a table structure:
Parent_id child_id weight
-------------------
A B 2
B c 3
C d 4
B e 7
C f 2
// Calculate the product of the edge weight between the leaf node and the root node:
Leaf
1. Compile the RHEL5.4 Kernel1.1 install software packages
Use the yum or rpm command to install the following software package:
Gcc-4 .*Gcc-c ++-4 .*Rpm-4 .*Rpm-build-4 .*RedHat-rpm-config-8 .*Unifdef-1 .*Subversion-1 .*
1.2 install the kernel
It mainly solves the problem of Chinese garbled characters. The following command is unified into gb2312. If you want to use gbk, replace gb2312 with gbk.
Enter the command line mode,
If the MySQL database has been installed, you can use the
SMON is short for System Monitor. If the Oracle instance fails, any data in SGA that is not written to the disk will be lost. In many cases, Oracle instances may fail. For example, an operating system crash may cause Oracle instances to fail. When
Recently, Oracle 11gR1 was installed on Fedora 14. The database can be normally connected from the local machine, but the connection cannot be established from other hosts.Later I found it was the reason for the firewall.
First, run the following
After installing MySQL in Ubuntu, we usually need to set the default Character Set of the database.
# First look at the default character set in mysql.
# Log on to mysql
Mysql-h localhost-u root-p
# View character-related attributes
Show variables
1. Create a tablespace table
SQL> CREATE TABLESPACE table name;
Example: SQL> create tablespace mytablespace;
2. Create a user (in the tablespace table created above)
SQL> CREATE user username identified by password default tablespace table name
The default character encoding of mysql is latin1, while I use UTF-8, and it becomes ????? The solution is as follows:
1. In windows: Modify the my. ini file. Change default-character-set = latin1 to default-character-set = utf8 to restart.2. in
How to obtain the auto-increment ID or the id just inserted in MySQLTo immediately obtain the id of the inserted record, the table must have an ID generated for an AUTO_INCREMENT column.
$ SQL _addinfo =" Insert into contact_info_group set contact_
After a new MySQL connection arrives, a thread is allocated to the thread. If the server has Idle threads cached, use them directly. If no available cache thread exists, re-create a thread for this connection.
/*Schedconnection that uses one thread
Generally, if you want to design a small database (with less code), but want to meet the performance requirements of massive data and access, the most effective method is to select one or more excellent Core algorithms as the engine for main
Preface:
This is my first time in contact with Linux, CentOS, and MySQL. After five days, I finally succeeded in the MySQL-Cluster architecture based on CentOS 5.0. I will share my experiences with you. If you find any errors and negligence, Please
The actual instance:
Today, I found that the website data was abnormal. I checked the database and encountered the following error when operating a table (tbl_test:
Table '. \ mydb \ tbl_test' is marked as crashed and shoshould be retried red
You
Part 1: Environment Configuration
1. Install CentOS 5.5
When installing CentOS 5.5, if the server is only running the Oracle database, you must install gnome, development kit, and Legacy development kit when installing CentOS. You can choose not to
Expdp and impdp are used only in Oracle10g. the following source database is Oracle10.2 and the target database is Oracle11.2.1. Create an expdp export directory on source database server.$ Pwd/Home/oraoms$ Mkdir exp_dir
SQL> create or replace
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