I collected a summary of Common commands used to execute scripts in oracle databases, hoping to help you.
1. Execute an SQL script file
The Code is as follows:
Copy code
Sqlplus user/pass @ servicename OrSQL> start
Environment Linux 5.8 10.2.0.5 RAC, two nodes can mount only one node, if you try to mount another node, the ORA-01105 and ORA-01606 error is reportedDatabase VersionCopy codeThe Code is as follows:SQL> select * from v $ version;BANNER---------------
Step 1: Create a table.Copy codeThe Code is as follows:Create table Test_Table(ID number (11) primary key,Name varchar (50) not null,Value1 varchar (50) not null) Step 2: Create an auto-incrementing sequence to provide the call function.Copy codeThe
To synchronize the table data in the select remote database using insert into, configure the oracle service. The remote and local services are both oracle
1. Insert data into the current database
Create public database link remotedb connect to
OLTP Database
DSS database
OLTP = online transaction processing
DSS = data warehousing
Online Transaction Processing
Data Warehouse
For example, plane ticket booking, online transaction, BBS, etc.
For example,
How can I use the CostBased optimizer to Optimize Query operations?
Oracle provides cost-based (CostBased) and rule-based (RuleBased) optimizers (CBO and RBO) for determining the execution plan of query operations. The CostBased optimizer
Oracle service-oriented architecture
Leading Enterprises are using Service-Oriented Architecture SOA to reduce the complexity of their applications and IT environments. SOA can promote the development of modular business services, these services can
I. Oracle Data Guard
Oracle9i introduces a powerful and more effective disaster recovery solution Oracle Data Guard. Oracle Data Guard uses the primary database to operate normally. One or more backup databases are backed up to protect the database.
Problem 1: to load the JDBC driver:
Normally, there are three ways to load the driver:
1) Class. forName (String) is used to initialize the static content of the driver when loading a class specified by a String in classLoader. In fact, the driver
The following diagnostic steps are discussed:
1) clearly describe the problem2) Search for specific errors3) collect operating system-level data4) Get the dump of systemstate and hanganalyze5) Get the output report of STATPACK6) Get the dump of
The class query operator PRIOR and CONNECT_BY_ROOT are added to ORACLE 10 Gb.
PRIOR
In the conditional expression of Cy BY condition of a hierarchical query, PRIOR is used to specify the parent node. As an operator, PRIOR and the plus (+) minus (-)
Bkjia.com exclusive Article]Oracle DBA has long hoped to capture application loads in the production environment, and then replays the captured loads in the test environment to determine the impact of database or application changes on database
We often use Oracle to search for user tables in Oracle databases. Among the many combined queries, using Oracle to Search user tables can greatly improve the query speed, the following provides specific instances based on several different
The commands for creating an administrator in Oracle are as follows:
Precautions for creating an Oracle administrator-
UseSuper User identityPerform the following steps on each cluster node.
-----------------------------------------------------------
After a long period of development in Oracle, many users are familiar with the Oracle user table. Here I will share my personal understanding and discuss it with you. Create a new account on an existing database instance to access some new Oracle
The content of this article is for Oracle password cracking for database administrators, and the implication is to let Oracle administrators keep things related to user names and passwords ...... Cracking and security have always been contradictions.
I like Oracle very much. I also like to sum up the lessons learned about Oracle Spatial in my work. Let's talk about this in detail. Oracle Spatial integrates high-performance management technology for Spatial data warehouses on the database server,
After a long time studying the privileges of the Oracle system, I would like to share with you that you will certainly have a lot of gains after reading this article. I hope this article will teach you more. Oracle System privileges allow the
It is okay to introduce Oracle to many people who do not know Oracle LogMiner. After reading this article, you will certainly have a lot of GAINS. I hope this article will teach you more. Oracle LogMiner is a very useful analysis tool provided by
Before giving you a detailed introduction to Oracle B-tree indexes, let's first take a look at non-unique indexes and then give a full introduction to Oracle B-tree indexes. The Oracle B-tree index does not have a unique entry.
In a non-unique index,
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