First look at when to use dynamic performance view:
(1) Nomount
When you start the routine, Oracle opens the parameter file, assigns the SGA, and starts the background process. Therefore, when the routine is in the Nomount state, only access to
One, SELECT1. Understanding | [] {} The meaning in the introduction of the command, as well as the data in the Basic Select query table, mainly using the Select command.SELECT *| {[DISTINCT] column|expression [alias],...} from table;In this way of
The data de-duplication technology can provide more backup capacity, achieve longer data retention, maintain continuous verification of backup data, improve the level of data recovery service, and facilitate data disaster tolerance. Duplicate data
Do a simple dynamic query code in a stored procedure, such as:
CREATE OR REPLACE Procedure Zxm_sb_gz_get
(P_table in Varchar2,
P_name in Varchar2,
P_value in Varchar2,
Outpara out Lntxdba.zxm_pag_cs_power.c_type
)
As
Begin
Declare
Next, we will parse the parsing function syntax format (syntax format diagram refer to: http://blog.csdn.net/yidian815/article/details/12709223).
Function name
When it comes to it people, it's a simple thing, not a description.
Function arguments:
Well, I also Finon, because in the company's year-end goal of writing to learn Oracle, today began Oracle, to give you a new understanding of it! Not going to hit me! ~ Quack.
Actually, to be honest, I don't want to write theory in this respect,
One, backup operations
Standby set
1. Set up a backup tag
Backup Database tag= ' full_bak1′;
Note: Each tag must be unique, and the same token can be used for multiple backups to restore only the most recent backup.
2. Set the backup set size
1. Use of high-speed storage devices to improve reading and writing capabilities, such as: EMC and NetApp,
2. If there is no data in the TAB1 table
DROP TABLE TAB1;
CREATE TABLE TAB1 as SELECT * from TAB2;
And then when you create the index
3.
Multiple Oracle databases that are physically stored on the network can logically be viewed as a single, large database. Users can access the data in the remote database at the same time through the network. Collaborative processing between servers
In order to be successful, I'll involve some preliminary steps that will be needed to see what happens, including running Plustrce SQL scripts, creating a Explain_plan table, granting roles, configuring Sql*plus environments to view execution plans.
Database security and least privilege principles
One, public permissions
The public role is implicitly granted to each user. As long as any permissions are granted to public, the appropriate permissions are actually granted to everyone who can
The original paging query SQL code is as follows:
select ROWNUM rn, t.id ID, o.name YYB,u.name XM, t.MC from tZDYSX t,tuser u,lborganization o where t.cjr=u.id and u.orgid=o.orgcode and t.gx = 1 order by ID
The results are as follows:
RN ID
When building an Oracle database, you should see an option on the Database Setup Assistant Wizard, which is how the connection mode of the database is used. In oracle9i or 10g, you can see 2 connection modes, one called a dedicated server connection
Oracle's spatial database operation driver updated, the new driver for Oracle8.0 or above, the new driver in the database operation above and the original driver difference is larger, but one thing: the use of simpleThe steps to build a spatial
Ora-12516:tns: The listener could not find a usable process that meets the protocol stack requirements
Ora-12516:tns: The listener could not find the available handle error for the matching information stackORA-12520: The solution: Check, the
Recently done projects encountered ORA-01000 errors, reference to some solutions, to solve their own problems to write down some of the experience.Java accesses an Oracle database, and in the For loop code, if you omit the connection that was
The merge statements introduced in Oracle 9i R2 are often referred to as "update Inserts" (Upsert), because the merge allows you to update and insert (insert) rows of data in the same step, for extraction, Converting and loading types of
If you cannot take any other approach to the problem of the database, you can use the Rman drop database. Only the database should be placed in a restricted session mode, and the database can be deleted silently by using Rman to connect to the
The main function of the Ocrconfig tool is to back up and restore OCR.
Although Ocrconfig can be run directly with Oracle users, most commands require the root user to have permission to execute:
bash-2.03$ Ocrconfig
Name:
Ocrconfig-oracle the
Case 1: Delete user and all objects by mistake, restore
1 Create a user and assign permissions
06:14:01 sql> Create user Scott identified by tiger default tablespace users;
User created.
06:15:55 sql> Grant Connect, resource to Scott;
Grant
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