Openscript is now a strange name for many people, but it is estimated that with the 9.0 official version of the market in June, it will be known to more and more people, And users will find this tool really useful, especially for users who are
Round function Usage:
Intercept numbersThe format is as follows: ROUND (Number[,decimals])Where number is to be interceptedDecimals indicates the number of digits that need to be retained after the decimal point. Optional, ignore it to truncate all
ORACLE Sequence Usage
Sequence in Oracle is the serial number, which automatically increases each time it is fetched. Sequence is not related to the table.
1, create Sequence first to have create Sequence or create any Sequence permissions.
The
Oracle Database several startup ways
1, startup Nomount;
Non-installation startup, this way to start executable: Rebuild control files, rebuild the database, read Init.ora files, start instance, that is, start the SGA and background processes,
Performance optimization for Oracle databases
Mainly from internal storage structure, logical partitioning, table structure paradigm, SQL statement optimization.
Hibernate at higher levels, mainly from caching, and the use of SQL statements
For
The role of foreign keys:
maintain data consistency and integrity, primarily to control the storage of data in foreign key tables. causes the two tables to be associated, and the foreign key can only refer to the values of the columns in the outer
The Oracle database uses that primary key generation strategy
1. Automatic Growth identity:
For MySQL, DB2, MS SQL Server, a database-generated primary key for generating unique identities for long, short, int types
Using the self-added fields of
I. Theoretical knowledge of partitioned tables
Oracle provides partitioning technology to support VLDB (Very Large DataBase). The partitioned table puts different records of the partition columns into different partitions by judging the partitioning
Excerpts from the video, so it might be a bit messy.
Oracle Core Competencies
Scalability Reliability Manageability Manageability 1, fine-tuning how Oracle uses memory 2, how often Oracle writes data to diskIntroduction to Oracle Architecture
Introduction to Functions
The Lpad function fills the string with the specified character from the left. It is also understandable from its literal meaning that L is the shorthand for left, the pad is the meaning of the padding, so the lpad is the
In Oracle functions in addition to character functions, date functions, mathematical functions, and conversion functions, and so on, there are some functions are common functions, such as: NVL, NVL2, Nullif, coalesce.Let's take a look at their usage:
Exp local Export and imp local import
Exp command:1 exp username/psw@test file=d:test.dmp full=y2 exp username/psw@test file=d:test.dmp owner= (ly)3 exp username/psw@test file= d:test.dmp tables= (GRID1,GRID2)1 One is the overall export of test
L Preface
The management of Oracle memory, up to 9ir2, is a very important aspect, mismanagement, will likely cause serious performance problems to the database. We'll take a step-by-step approach to all aspects of memory management.
L Overview
InStr (Title, ' Handbook ') >0 equivalent to title like '% manual% '
InStr (Title, ' Handbook ') =1 equivalent to the title like ' Manual% '
InStr (Title, ' Handbook ') =0 equivalent to title not like '% manual% '
There are nearly 11 million data
Set to archive mode
1 sql> archive log list; #查看是不是归档方式 2 sql> alter system set LOG_ARCHIVE_START=TRUE Scope=spfile; #启用主动归档 sql> alter system set log_archive_dest= ' Location=/oracle/ora9/oradata/arch ' scope=spfile; #设置归档路径 sql> alter system
Solution to low swap space when installing Oracle on Linux
There are two ways to increase swap space: Strictly speaking, there is only one way to add swap after the system is installed, and that is the second method of this article, as the first
1. Do not restart the DB instance2.ps-ef | grep dbw0 View ora_dbw0_ instance process ID3.cd/proc/process ID/FD can see 261-/u01/app/oracle/oradata/orcl/users01.dbf (deleted) Identity delete4.cp/proc/process
Vmware Workstation Installing Oracle Solaris 101, open the VMware Workstation, create a new virtual machine, type select "Typical";2, select the system version;3, configure the virtual machine name;4, select the size of the disk;5, configure the CD
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