Xiayi
ASP Dynamic Web site development technology
With the deepening of people's understanding of the Internet and the development of IT technology, static Web pages have become more and more unable to meet the needs of information interaction and e-
--View disk statements that consume the most disk read/write rateSELECT *From (select v.sql_id,V.child_number,V.sql_text,V.elapsed_time,V.cpu_time,V.disk_reads,Rank () Over (order by v.disk_reads Desc) Elapsed_rankFrom V$sql v) awhere Elapsed_rank -
Error:
In the startup Oracle database The Times is wrong as follows:
[Oracle@localhost ~]$ Sqlplus/as SYSDBA
Sql*plus:release 11.2.0.1.0 Production on Sat Feb 16 19:43:43 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to
The number of connections to Oracle (sessions) is related to the number of processes (process) in its parameter file, and their relationships are as follows:
Sessions= (1.1*process+5)
But when we increase the number of process numbers, the
With the system administrator, view the current database with several user connections:
Sql> select username,sid,serial# from V$session;
If you want to stop a connection
Sql> alter system kill session sid,serial#;
If this command doesn't
Method One, configure automatic startup when Oracle data is installed
1. After installing Oracle database: Execute Dbstart and Dbshut will prompt:
The code is as follows
Copy Code
[oracle@oracle11g ~]$
In Oracle boot setup, we are able to boot from Oracle software, instance, monitor.
So usually we are using the Sqlplus sys/****** as SYSDBA command to log in, the startup script does not know the SYS user's password, how does it log on up?
In the
Method One:ALTER TABLE old_table_name RENAME to New_table_name; (Uppercase to System command)Method Two:Sql> select tname from tab;Tname------------------------------TESTsql> rename test to temp;Table renamed.Sql> select tname from tab;Tname---------
To create a procedure object (procedural object), you must have the Create PROCEDURE system permission. If this process object needs to be used by other user schemas, then you must have the CREATE any PROCEDURE permission. You may need to excute
To query for a short period of time can be from v$sql or V$sqlarea if you want to query a week or one months then there may be in the V$sqlarea can not find! The following is obtained through the historical Dba_hist_sqlstat, which is retained by
I. Use the ntpdate command
1. When the server is linked to the extranet
# CRONTAB-E
Join a line:
*/1 * * * * ntpdate 210.72.145.44
210.72.145.44 for China National Time Service Center server address, so that the machine every 1 points can be
We know that executing a SELECT statement directly does not open a transaction, so how do I open a read-only transaction?
The code is as follows
Copy Code
--Demo read-only transaction --Creates a table CREATE TABLE t_
The redo log is grouped, a library requires at least two groups, and the default is three groups. The redo log within each group is called a member. By default, each group has only one member, so there is no redundancy, may cause the loss of online
/*********************************************
Toracleviewpagev 2.0
Date: 2000-9-23
Pagination displays classes for Oracle database records
Renew Date: 2000-10-19
Increases the ability to display Toprecord, allowing the first page to display a
It requires a monitoring script.
The ec01_watch.sh content is as follows (replace EC01 with customer instance name according to actual situation):
The code is as follows
Copy Code
check= '
I. Required softwareTake WINDOWS 98 as an example. Other environments are similar.A) JDK1.2.2;JAVA development tools.B) apache_1_3_12_win32.exe;WEB server.C) jakarta-tomcat 3.1;Supports JSP and SERVLET.D) ApacheJServ-1.1.1.exe;Used to connect apache
The customer has a tablespace with a lob object and wants to move the tablespace. However, after moving, the tablespace of the lob object found in dba_lobs is still in the original place.Create table SCES1INPUTS(CODREQUEST VARCHAR2 (9 BYTE) not null,
Php has built-in almost all database processing functions, including Oracle. In this article, we use an instance to introduce how to use these functions to operate Oracle databases.PHP provides two types of APIs (application interfaces) to operate
As the scale of the website expands, MySql obviously cannot meet the requirements.When using a large database of Oracle, it becomes more important to use PHP to access Oracle.I wrote a simple iERP system to talk about how I did it. It is also
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