To install the Oracle database on Linux x86, perform the following steps:
1. install Linux and Oracle components;
2. Verify system requirements,
Create users and groups,
Create a directory,
Configure Linux kernel parameters,
Set Shell restrictions
I sorted out an SQL server exercise and learned how to familiarize myself with SQL SERVER.
Problem description:Known link mode:S (sno, sname) Student Relationship.
Sno is the student ID,
Sname is name
C (cno, cname, cteacher) Course
As we all know, the MySQL InnoDB Storage engine is very similar to Oracle and supports transactions and row-locking. After actual tests, a big difference between innodb and oracle is: the same data, the length of innodb single-row storage is
1. Create a special table to save the statistics of each table:Exec dbms_stats.create_stat_table ('s38', 'fys ');
2. Import the statistical information of each table to the ks38.fys table;Exec dbms_stats.export_table_stats ('s38', 'tcl _
When to use Oracle partitioning:1. Large Data Tables, such as tables larger than 2 GB. On the one hand, a 2 GB file is an upper limit for 32-bit OS, and the backup time is long.2. tables that contain historical data, such as the latest data, are
How to solve the problem of max_allowed_packet is read-only when BugZilla is installed on Fedora 11Problem description:
When I have installed all the perl modules and MySQL databases, the following error occurs when I run./checksetup. pl:DBD: mysql:
An earlier version of mysql server has been installed on the Linux server in use. When the rpm package is used for installation, a version conflict is prompted and the installation cannot proceed.
The solution is as follows:
1. First, find all the
In the latest project, you need to convert the utf8-encoded MySQL database to utf8 (in the past, gb2312 to utf8)
The method is as follows:Step 1:Run:./mysqldump-uroot-p -- default-character-set = utf8 -- extended-insert = false dbname> DBNAME_GB2312
This article describes the simple principle of ODBC and how to install, configure, and program ODBC in Linux/Unix.
I. ODBC principles
ODBC is the abbreviation of Open Database Connect, which is a unified interface standard proposed by Microsoft in 19
The SELECT statement of MySQL has the following parameter: SQL _CALC_FOUND_ROWS. This parameter can be used with the function FOUND_ROWS () provided by MySQL.
When we use LIMIT ?,? During paging query, only the records you want are returned. For
1. After installing the Oracle database, You 'd better back up the entire Oracle folder before installing the application, because it is a "clean" database, similar to after installing the operating system, create a clean ghost. After the
The slow_query_log_file log becomes very large and it is inconvenient to analyze its input items. We want to generate a slow_query_log_file file every day and analyze the log file every day. How to cut by day? We have come up with such a way to
Just installed Oracle 11gR2 RAC cluster
Three nodes
After creating a database, everything is normal.
Then I installed an oracle client, and the ORA-12545 appeared during the link.
Then the baidu is simple. Some people say it is the 11gR1 bug. Modify
Creating a table in Oracle focuses on the table field type and corresponding constraints.
1. Create a table statement
Create table tname
(
Fied1 Type 1,
Fied1 type 2,
........
);
Create table tname as subquery -- copy existing tables
2. Field
I. in Linux
The Startup Script of app01 application server is as follows:
#! /Bin/sh ---- # Under aix or hpux #! /Bin/ksh
If ['whoam '! = 'Weblogic ']; thenEcho 'login User error! 'Exit 9Fi
Export srvName = app01Export adminUrl = http: // Manage
ORA-16139: media recovery required error encountered during physical DG Master/Slave database switchover
SQL> ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY;
ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY
*
ERROR at line 1:
ORA-16139: media
Recently, when I was using redis Master/Slave, I did the following two things:
1. You want to analyze redis master-slave operations. All write operations are performed on the master node, and all read operations are performed on the master node.
2
Buffer Pool Flush Listadd page to flush list
The page in the buffer pool has three states:
Free: the current page is not used.
Clean: the current page is used. It corresponds to a page in the data file, but the page is not modified.
Dirty: the
• Describes various conversion functions provided by SQL • TO_CHAR, TO_NUMBER, and TO_DATE conversion functions • Apply conditional expressions to SELECT statements
Implicit and explicit data type conversion
TO_CHAR, TO_DATE, and TO_NUMBER
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