Open "my computer"-"Control Panel"-"Administrative Tools"-"Data Source ODBC"-"User DSN ",
Step 1: click "add ".
Step 2: Select "oracle in oradb10g_home2"
Step 3: click the "finish" button and click the "finish" button. An error dialog box is
1. log on to Oracle AS A DBA
A: Start Oracle services.
B: Run cmd to open the command window.
C: Enter "sqlplus sys/root as sysdba" in the command line. The root is the logon password.
In this way, you can successfully log on to Oracle.
Using shell scripts to monitor and manage Oracle databases will greatly simplify DBA workload, such as common instance monitoring, monitoring, and alarm log monitoring, and database backup, AWR report automatic mail, etc. This section describes how
In Oracle RAC, in addition to the TAF Method Based on the client, there is also the TAF Method Based on the server. You can regard the TAF method of the server as an upgraded version of the TAF method of the client. The TAF of the server must be
Migrate database from single instance to Oracle RAC
# Preparation before restore# Backup database# Check listener# Check ASM disk group free space is sufficient.# The following steps was completed sucessful on Oracle 10g RAC + SuSE Linux
Oracle Data Guard provides one or more slave databases for the production database (a copy of the database ), to ensure that data is not lost when the master database is unavailable or when exceptions occur, and continue to provide services through
Cause/trigger factor
It is confirmed that "failed_login_attempts = 10 times" is set in the default profile in oracle11g by default. This problem occurs when the number of incorrect passwords reaches the set value.
Impact and risk
After the account
Cause/trigger factor
This is because "password_life_time = 180 days" is set in the default profile in oracle11g by default.
Impact and risk
After the password expires, the business process has an exception connecting to the database, affecting
Cartesian sets are generated under the following conditions: • omitted join conditions • invalid join conditions • all rows in all tables are connected to each other. To avoid Cartesian sets, a valid join condition can be added to the WHERE clause.
Subquery Syntax: subquery (internal query) is executed once before the primary query. The subquery results are used by the primary query (external query ). Note: subqueries must be included in brackets. Place the subquery on the right of the
The SQL language is case insensitive. SQL statements can be written in one or more rows. Keywords cannot be abbreviated or the sub-statements of different branches are generally written in different branches. Use indentation to improve statement
I couldn't connect to the database at one time. I checked many materials and finally found the answer.
First, ensure that the database service starts.In the database view of myeclipse, right-click-> New to bring up the database driver window,Select
Http://www.iteye.com/topic/26431
Create a sequenceIntroduction to Oracle Sequence
In Oracle, sequence is the so-called serial number, which is automatically increased every time it is obtained. It is generally used in places where the sequence
Oracle Database startup and shutdown Methods
I. Several startup methods:
1. startup nomount
Non-installation startup. In this mode, you can execute: re-build the control file and re-build the database.
Start the instance, that is, start the SGA and
1. stop all Oracle Services 2. use Oracle universal installer to uninstall oracle3. delete all the primary key Oracle databases under hkey_loacal_machine/software from Oracle with a key value (start à run à Regedit) on the registry. 4. Go to the
I. Introduction: the most important part of database adjustment is to rewrite the SQL code with poor running efficiency. The SQL code after rewriting may be significantly different from the previous one in terms of running efficiency!
However, when
When we optimized Oracle performance and checked the Shared Pool and buffer cache hit rates, we realized that we needed to increase these structures to improve them, however, the server does not have enough memory to support this improvement. At the
Oracle supports returning the result set after calling the stored procedure through the ref cursor. Using the cursor is much better than returning array variables in terms of memory consumption and time!
Example: Create a package for the
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