oracle| Access
1. The connection was very slow, and an exception occurred while performing a select operation after the connection was successful:
Exception in thread "main" java.sql.sqlexception:ora-00600: Internal error code, parameters:
Oracle segment:
First, the package and package body are established in Oracle, where functions and stored procedures are defined to return the result set.
1: Establish package:
CREATE OR REPLACE package SCOTT.pk_wt is type mytype is ref cursor;
ORACLE11G database, modified memory parameter memory_max_target=943718400, turn off the error when the database restarts
[Oracle@instuctor shm]$ Sqlplus/as SYSDBA
Sql*plus:release 11.2.0.3.0 Production on Mon Nov 19 09:34:11 2012
Copyright (c) 198
When there are serious performance problems or hang in the database, we need to systemstate dump to know what the process is doing, what is waiting for, who is the resource holder, and who is blocking the others. In the case of these problems,
Instance recovery is used to recover from a crash failure or an instance in a parallel server environment fails, so instance recovery can refer either to crash recovery or to instance recovery in a parallel server environment (as long as one
A hot backup is a copy of a data file when it is in use. During the replication process, DBWR is also in progress, so backups may receive some "inconsistent" backups:
Some data blocks may be older than the other blocks
The SCN of some blocks may
When Oracle executes some SQL, it will require some temporary space to store the intermediate data that is generated during execution. These temporary spaces are made by Orac le
Allocates to the process from the specified temporary table space.
Case study (1)
Let's say I modified a piece of data: Update people set name= ' Fusnow ' where name= ' old Fusnow ';
The things I need to do include:
Generate redo information in redo log buffer (including Redo,undo redo of the table, index or
Now explain what "high water level" is:
Logical storage structure of Oracle: Tablespace--> segment--> Area--> block
Block: is the smallest storage unit, now the standard block size is 8k,oracle every I/O operation is also done by block, that is,
Oracle's online segment contraction (on-line Segment Shrink) refers to the online defragmentation of fragments in the space, which has the following characteristics:
Online, that is, DML is almost unaffected during segment compression (only a short
In Oracle, not as convenient as MySQL, can be directly on the User IP restrictions, Oracle to implement user-level IP restrictions, you can use triggers to bypass the implementation, the following is an example of a trigger:
Create or replace
RDA is the short name of the remote diagnostic Agent, the tool Oracle uses to collect and analyze databases, and running the tool does not change any of the parameters of the system, and RDA collects data that is comprehensive and simplifies our day-
oracle| Program | pagination | example
?
Include "/maya/inc/dbconn.php";
$sql = "Select Max (rownum) from xqhtest where id$stmt =ociparse ($gConn, $sql);
Ociexecute ($stmt);
Ocifetch ($stmt);
$rowcount =ociresult ($stmt, 1);
Ocifreestatement
Js|oracle
Recently, due to the project, the system needs to be transformed into another environmental system. That is, the Resin + Ms SQL developed JSP program into the WebLogic + Oracle JSP program. Oracle I played it six years ago, I forgot how to
mysql|oracle| Comparison | data | database | Performance comparison of PHP with MySQL and Oracle database
Test hardware Instructions:
The test used is my love machine, configured as follows:
cpu:c433
Memory: 128M
Hard drive: Cool fish 2 generation 2
It is a good strategy to use the Oracle Import Export Tool (Import/export) for porting between Oracle databases. Although it is possible to reconstruct the database structure using the reverse Engineering in the Sybase power designer, the more
Brain--Control file
The role of the control file
Control the contents of a file
(1) as shown in Figure 11.1.
(2) The General Information tab of the Edit control file appears as shown in Figure 11.2.
(3) Figure 11.3 shows the record document Segment
Oracle | Stored Procedure | example | implementation /Oracle execute in sample stored procedure
/Reference
$ Gconn = ocilogon ("test", "test ");
/* Ocidefinebypos example thies@digicol.de (980219 )*/
/Discrate and necode is out parameter, the
If you want to reprint Oracle, please specify the source!
As anyone who has ever used Oracle knows, to change the column names and order of tables in Oracle is a trivial matter, here's a simple way to do it.
Sql> Select object_id from all_objects
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.