Precautions for installing Oracle 10 GB:
1. disable network connection
2 .......
Modify the character set encoding of an Oracle database:
Modified at creation:Follow the normal steps to create a database
Then select
Character encoding.
Oracle 10g Installation Summary under RedHat Enterprise Linux 5. Two figures are shown first:
DBA is the direction of hard work. Oracle DBA is all-encompassing. It cannot even be used in Linux/UNIX. What Oracle should I do.
Two parts:
1.
Open the/etc/my. cnf file and modify the following settings. If not, add it manually.
# Cancelling the external lock of the file system
Skip-locking
# Do not perform domain name anti-resolution, pay attention to the resulting
1 Definition
Oracle10G EM adopts the web method and is divided into two products: database control and grid control. This section describes how to create a single data dbcontrol. To install Grid control, download a separate CD.
When using DBCA to
Oracle Parsing process (SQL Parsing Flow digoal)
When a user sends an SQL statement to the oracle database, runs the anonymous statement, or runs the SQL statement deployed in the database, the database works according to a certain working mechanism
In projects, serial numbers are often generated based on the year, month, and day rules. A simple stored procedure can be expanded as needed.
I. Serial number Storage table
-- Create tableCreate table SYS_GENKEY(DATESTR VARCHAR2 (50 ),Maxcount
Starting from 10 Gb, Oracle began to provide Shrink commands. If our tablespace supports automatic segment space management (ASSM), we can use this feature to narrow down the segment, that is, reduce the HWM. Here we need to emphasize that this new 1
If you want to create a table with a known table structure in db2, you can use:
(1) create table a as select * from B where 1 <> 1; ---- only create a table without importing data.
(2) create table a as select * from B ---- create table a, and
Dbms_mview.refresh ('table name', 'F') -- fast refresh, that is, incremental refreshDbms_mview.refresh ('table name', 'C') -- completely refreshWe often use materialized views to synchronize or migrate data. In the refreshing process of dbms_mview,
1: The cursor instance displays the name and Department
DECLARE
Name VARCHAR2 (50 );
Department_name varchar (20); -- defines two variables to store the content in the employees table and the departments table.
CURSOR emp_cur IS -- defines the
I. Blocking Solution
1. Find out which users are blocking
Select sid, serial #, username from v $ session where sidIn(Select blocking_session from v $ session );
2. Kill the process in which the user is located
Alter system kill session'& Sid,
Measure the test taker's understanding about the operations in a table in El.
Goal: Learn about table creation and modification and related operations.
Preface:
Oracle: The table is created in the user solution, rather than directly belongs to the
Recently, I was working on an Oracle project for a database. It was also my first project module. It felt a lot of pain, but there were a lot of GAINS. The following are my problems and solutions. I am a cainiao-level expert. If you find any errors,
Oracle Database REAN recovery data file recovery is what we will introduce in this article. We know that apart from the system tablespace data file (mount, other data files can be restored in the open (mount) state. restoring data files in the open
SQL> conn sys/xin as sysdbaConnected.SQL> set wrap offSQL> set linesize 1001. Some basic operations(1) view the tablespace:SQL> select * from v $ tablespace;(2) view data files:SQL> select * from v $ datafile;(3) view the ing between tablespace and
For example, the data format is substring-substring.
-- Obtain the substring
Select substr (source string or field name, INSTR (source string or field name, '-') + 1, INSTR (source string or field name '-', 1, 2) -INSTR (source string or field
Hibernate is usually used in three types: hql query, QBC query, and QBE query:1. QBE (Qurey By Example) Retrieval Method
QBE is the simplest, but its function is also the weakest. It is not very powerful and only useful in some scenarios. A typical
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