Oracle 11g RAC remote database login time and OS time difference 16 hours solution
Help colleagues install the RAC database of Oracle 11.2.0.4 for project stress testing. The operating system is red flag server 3.
Today, my colleague suddenly called to say that the database time is 16 hours different from the OS time. The problem is that the two nodes log on locally and check that the sysdate and OS time are the same, but remotely log on to other node
Linux installation setup VNC Remote Desktop Connection to install Oracle 11g
Preface:To install Oracle in Linux, you need to start the swing interface of Java. Therefore, the x-window is required. Therefore, it is difficult to directly go to the server room to perform on-site operations. Remote xshell cannot run Windows, in this case, you can use the vnc mode to remotely connect to the windows of the Linux system for remote Oracle installation.
1. Che
Solve the problem that the database cannot automatically collect statistics due to Oracle 11g installation.
Recently, it was found that some Oracle 11g databases could not automatically collect statistics. Some View query results are as follows:
SQL> select client_name, status from dba_autotask_client where client_name = 'Auto optimizer stats collect ';CLIENT_NAME STATUS-------------------------------------
Oracle 11g flash back archiving Technology
Oracle flash back Data Archiving
Oracle flash back data archiving can be used to automatically track and archive data in tables with flash back data archiving enabled. This ensures that the flashback query can obtain the SQL-level access permission for the database object version without the error of too old snapshots.With the flash back data archiving function, you can track and store all transaction changes
Configure IP address access restrictions for Oracle 11g
For data security considerations, make some restrictions on the IP address of the Oracle database. Only a fixed IP address can be accessed.
Modify the $ JAVA_HOME/NETWORK/ADMIN/sqlnet. ora File
Add the following content (marked in red ):
# Enable ip address RestrictionTcp. validnode_checking = yes# List of IP addresses allowed to access the database. Separate multiple IP addresses with commas
CRS-0184/PRCR-1070 when Oracle 11g RAC executes root. sh
Oracle 11g RAC installation, the first node to execute root. sh encountered a CRS-0184/PRCR-1070, Google a lot of posts have not found a solution. Hey, let's calm down and look at the log !! The conclusion is a casual problem, as described below.
1. Fault
# Installation environment[Root @ linux1 ~] # More/etc/issueEnterprise Linux Server release 5.5 (
Oracle 11g statistics collection-collecting multi-column statistics
When writing an SQL statement, we may encounter multiple conditions following the where clause, that is, we can filter the data based on the conditions of multiple columns. By default, Oracle will multiply multiple columns to obtain the selectivity of the where statement. This may make Oracle's selectivity inaccurate, this causes the optimizer to make incorrect judgments. For example,
Connect to the oracle (11g) database using python, python11gPreparation: 1. Download the corresponding version of oracle-instantclient (I am here 11.2.0.1.0)
http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html2. Installation
rpm -ivh oracle-instantclient11.2-basic-11.2.0.1.0-1.x86_64.rpm3. Configure Environment Variables
export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib:$LD_LIBRARY_PATHexport PATH=/usr/lib/oracl
Oracle 11g RMAN: Interpretation of the command for creating dg in Active Database Duplication for standby database, rmanduplicationIf the production-based duplicate replication is not manually configured with pfile (set memory, process, dg-related configuration parameters, database-related path parameters), various parameters cannot be converted;Because duplicate will automatically copy pfile, control file, and password files from production. If the e
The defects of using the skewonly parameter to collect histograms under 11G have been fixed, 11.
We have previously verified the defect of using the skewonly parameter to collect histograms in 10 GB and fixed it in 11 GB. The histogram is becoming more and more important in large data volumes. If not, the execution plan is likely to be inaccurate.
SQL> select * from v $ version;BANNER
-------------------------------------------------------------------
In Oracle 11g RAC, it is found that both the Solaris and GSD services are in the offline status, which is the default situation of Oracle 11g RAC. Even so, the use of the database is not affected, because the resource for the WLM is used, WLM is available in 11.2.0.2. GSD is used to support interaction tools such as dbca, srvctl, and OEM. This article describes how to switch these two services to online.
1
Using Oracle ODP. Net 11g. Net Program release method ()
ODP. net 11g is released by Oracle for. netProgramThe ADO. NET component that accesses the Oracle database has better performance than the Oracle component that comes with Microsoft. It can also access advanced Oracle features such as the UDT (user defined type) type, procedure, and ref.
. NET 1.1 client requires the following release files:
Some ASP. NET + Oracle 11G systems write-and-learn essays, including Oracle's "batch Update" and Oracle's internal encoding set to the Unicode Character Set. (4) Oracle "batch Update", "batch Add", and "batch Delete" Syntax Oracle can still isolate Multiple SQL statements using semicolons (;), such as SQL Server and Sybase databases. Only the begin and end keywords must be added before and after oracle. For example: String strsql = "begin insert in
Basic Import and Export commands for Oracle10g/11g:
ExpUser Name/User Password@ Service name File=Save path. dmp Buffer=8192Filesize=10000 m feedback=1000 imp username/user password @ service name file = file path. dmp full = y
Generally, data export (including triggers and stored procedures) under a specified user can be completely exported (imported) within 10 Gb ). In addition, you can also export the specified table and specify functions. For
Oracle Database 11g Release 2 installation on CentOS 6.6 (x64 platform)(note:the Current user is "tdtc100")1. Down Install files(1) Linux.x64_11gR2_database_1of2.zip(2) Linux.x64_11gR2_database_2of2.zip2. Unzip files(1) $> unzip Linux.x64_11gR2_database_1of2.zip(2) $> unzip Linux.x64_11gR2_database_2of2.zip3. Install Dependencies (manually)Optionally, Oracle automatically, see the following "Using Oracle Repository"(1) root$> yum install libaio-*a). L
Label:During the installation of Oracle 11g R2, this error occurred while creating a new DB instance, and if you select Ignore, a ora-28000 error occurs. Through the network query verification, this is the first configuration of the administrator password, the use of the beginning of the password, Oracle does not seem to support this, but did not prompt error, fainted! It is said that including other illegal special characters may also produce this pr
1. Oracle 11g R2 Installation Manual (graphics tutorial) for Windows
Before installation, you need to confirm the following points:
Your memory is not a problem (this is important, if your machine often blue screen then don't pretend, or you cry)
Your system is activated.
The computer is already installed. NETFramework 4.0, or the first step will have a pop-up box to tell you "Oui.exe has stopped working"
Even 64-bit systems can install 32-bit Or
Description
This article installs the Oracle 11g Dataguard physical repository and tests the 11g Dataguard physical Repository's new feature active Data Guard, which is a function of Oracle Database Enterprise Edition, which requires the amount External authorization, this article is for testing only.
First, the environment introduction
1. Primary database environment
Operating system version: OEL5.8 x6
Oracle 11g Dataguard Snapshot standby database functionality, which places the standby in open read/write state and simulates the test in the main library of the production environment. When the standby snapshot standby task completes, you can switch back to the physical repository role. In the state of snapshot standby database, the repository can accept the log from the main library, but it cannot apply the change to the repository.
This article us
Due to Oracle licensing issues, MAVEN3 does not provide Oracle JDBC driver, in order to apply Oracle JDBC driver to the MAVEN project, it must be added to the local repository manually.
This document is for Oracle 11g. first, to get Oracle JDBC Driver
1. Download the corresponding version through the official Oracle website: http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html
2. Obtained via ORACLE installation directory, locate
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.