I always wanted to deploy phppgamdin, But I encountered different problems when installing phppgamdin in RedHat and Windows. Because I am not familiar with the web stuff, I finally ended up failing. For details, see:
On the weekend, I was suddenly
1. OPatch tool description
The opatch tool was mentioned in the previous Oracle patch system blog:
Introduction to Oracle patch system and opatch tools
Since version 9.2, Oracle has implemented the opatch patch installation tool. opatch uses a
Microsoft SQL ServerMicrosoft SQL Server JDBC Driver (usually used to connect to SQLServer 2000)
Driver package name: msbase. jar mssqlserver. jar msutil. jar
Driver Class Name: com. microsoft. jdbc. sqlserver. SQLServerDriver
Jdbc url: jdbc:
Impact of/dev/shm on Oracle 11g:
ORACLE introduced an Automatic Memory Management feature from the 11g version. This feature requires more shared Memory (/dev/shm ), therefore, if you decide to apply this feature, make sure that the shared memory is
Recently, you need to manually refresh a materialized view after the documents are successfully submitted.
The solution was to call dbms_refresh.refresh ('materialized view name') on the After Update trigger of the table. An error was reported
Oracle always makes decisions based on a certain time point of the query (the query is consistent from this time point ). That is to say, Oracle will ensure that the opened result set must be the current result set at one of the following two points
104 scp to 25Scp/opt/Oracle/111/dbs/initORCL. ora root@10.1.0.25:/opt/oracle/111/dbs/initORCL. oraScp/opt/oracle/111/dbs/spfileORCL. ora root@10.1.0.25:/opt/oracle/111/dbs/spfileORCL. oraScp/opt/oracle/111/dbs/orapwORCL root@10.1.0.25:/opt/oracle/111
Move data objects between tablespaces
I. BASIC script
Moving objects between tablespaces in the Oracle database involves multiple types of data objects.Move Table:
Alter TableT_aMoveTablespace tbs_a;
Mobile index:
Alter IndexI _a rebuild
First, you can use dbms_flashback.get_system_change_number to obtain the current SCN value of the system:
SQL> col scn for 9999999999999SQL> select dbms_flashback.get_system_change_number scn from dual;SCN--------------8908390522972
You can use the
Note: This article is not to give you a case, but to explain the optimization method. The Ancients cloud: it is better to teach people to fish than to teach people to fish. Here we will talk about how to fish.
The SQL optimization mentioned here is
Now let's talk about the meaning of each parameter in the Oracle execution plan.
The following is an example.
Here is a supplement.: Trace types:
Serial number
Command
Explanation
1
SET AUTOTRACE OFF
This is the
Parameter changes:Skip-locking is not recognized in 5.5 and changed to skip-external-locking.Basedir =/usr/local/mysql5.5Datadir =/usr/local/mysql5.5/dataInnodb_data_home_dir =/usr/local/mysql5.5/dataInnodb_log_group_home_dir
I. Oracle database data migration:A. Data Migration Method1、import and export exp.exe/imp.exe;Advantage: strong compatibility. You can export custom objects;2、data pump Import and Export (oracle10g.pdf to upload expdp.exe/impdp.exe;Advantage: Faster
DML ErrorLogging
Oracle provides two types of exception tables.
This is a new feature available in Versions later than 10gR2.
DML error logging is a new feature in ORACLE10gR2. This new feature solves the following problems: assuming that you
The number of records in the database table is as follows:
SQL> select count (*) from table_name t;
COUNT (*)----------6873
1. Statistical results using count:
SQL> alter session set nls_language = "American ";
Session altered.
SQL> set timing
MongoDB Java drivers have provided comprehensive operations, divided into three parts:
1. Common user operations
2. Administrator operations
3. oplog operations
You can add an eclipse testng plug-in and import the testng. jar package to the project.
A customer came up with a strange problem. In a large table with tens of millions of records, SELECT * FROM where rownum
10 minutes later, he sent the TRACE via QQ: SELECT * FROM ttt where rownum
Call count cpu elapsed disk query currentrows
---
1. Create an Oracle global temporary table. The Code is as follows:SQL code
DECLARECntInt;
Begin
-- If the temporary table exists, delete it.
SELECT Count(1)IntoCntFromUser_tablesWhereTable_name ='Templogsmshall _ session';
If cnt> 0THEN
Today, the Oracle SQL driver plug-in is compiled on Mac. The compilation process is recorded here for your reference.
First introduce the compiling environment: Mac OS X 10.7.3, install Qt SDK 1.2 for Mac, XCode 4.2.1.
1. first, download 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