I used the Oracle database for the first time. I used SQL Server 2005 in the past. Some questions and feelings are as follows:
1. Oracle client Installation
First, the Oracle client is installed to access the Oracle database in the company's LAN.
Well, as a DBA, you have made unremitting efforts for a long time. You feel that you are ready to take another step. What do I need to become a senior DBA? The following sections help you proceed.
Step #1: Read all documents-Oracle documents are
Oracle databases are more and more widely used. Recently, in some industries, I heard from market members that some customers do not understand them, but I heard that you have used Oracle databases, I think your software is very professional. If you
Recently, the company's servers seem to have problems, and problems may often occur when they are not moved. PLSQL also often fails to log on to the server, thinking of database backup, just in case.SimpleCodeAs follows:
// Create a process
C # It is common to access Oracle, but there are various exceptions in the actual work. I would like to analyze and summarize them as follows for convenience in the future:The character set of a database is commonly used in two ways:
US Code
To configure multiple SDE Service (Oracle) projects, you need to prepare two copies of data with the same structure for different users. Due to the large amount of data, the efficiency of continuous backup and restoration is very low, therefore,
A good article from http://developer.hi.baidu.com/#/detail/21843741;
Because the image cannot be referenced, SQL can run directly.
Row_number () over ([partition by col1] order by col2) as AliasIndicates grouping by col1 and sorting by col2 within
For a simple tree query (recursive query) in Oracle, I want to summarize it very early. I found one and transferred it.
Deptid
Paredeptid
Name
Number
Number
Char (40 bytes)
Department ID
Parent department
In this article, capucivar describes how to create and operate permissions for oracle users.
First, open sqlplus and log on with Scott. The statement for creating a user is: create user username identified by PWD; username is the username you want
Using arrays in PL/SQL is a good practice (for example, using bulk collect and forall ). Batch Processing can greatly reduce the number of environment Switches of the PL/SQL statement execution engine, thus improving its performance.
Another good
Oracle Top N
1. implement select Top N in Oracle
Since Oracle does not support the select top statement, order by and rownum are often used in Oracle to query the select Top N statement.
To put it simply, the implementation method is as
Login
> Sqlplus/As sysdba
// Create a tablespaceCreate tablespace tbspace_dataLoggingDatafile '/u01/Oracle/tbspace/tbspace_data01.dbf'Size 32 mAutoextend onNext 32 m maxsize 2048 mExtent management local;
// Create a user and specify the
Hit/Miss ratios
Here are some scripts related to hit/Miss ratios.Buffer hit ratio
Buffer hit ratio notes:
Consistent gets-The number of accesses made to the block buffer to retrieve data in a consistent mode.
Db blk gets-The number of blocks
Since Oracle EBS {Tagshow (Event)} "> The lecture" r concluded on June 18 "is very popular, but it is restricted by regions and time, so it cannot benefit more people. This time, Cloud. instructor Gong used his spare time to record for everyone
In Oracle10g, I did not pay attention when creating the table. I directly created the table using the SQL statement sent to me by someone else. After the table is created, the Select * from table name is found. The system prompts that the table or
Trigger
The code block automatically executed when a specific event occurs. It is similar to a stored procedure, but users cannot directly call them.
Function:1. Allow/restrict table modifications2. automatically generate a derived column, such as
AsOracle DatabaseOne of the basic knowledge,Oracle Database Management scriptThe importance of Oracle Database management scripts and their applications cannot be ignored.
The data dictionary in Oracle is a very important part of the database and
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.