Use the techniques listed below to make sure you don't forget critical steps during a weekly database backup.
Back up the primary database once a week. If you create, modify, or stop a database, add a new SQL Server message, add or stop connecting
1. The statements that have been validated are exactly the same as those already in the shared pool
2. Variable names as consistent as possible
3. Rational use of outer joins
4. Use fewer layers of nesting
5. Multi-use concurrency
The
1. See if the table space is self growing
SELECT file_name, Tablespace_name, autoextensible from Dba_data_files;
2. View table space Size
Select Tablespace_name, sum (bytes)/1024/1024 as MB from Dba_data_files Group by Tablespace_name;
3. View
Drop deletes the entire table's datasheet structure. Transaction cannot be rolled back.?
1
drop table test;
Truncate deletes all the data in the table and does not line up. And the transaction cannot be rolled back.?
The following is a detailed analysis of the wording of the IF statement in Oracle Pl/sql, the need for a friend to come over the reference to the following
copy code code:
/*If statement:Determine the number entered by the user.*/Set Serveroutput
The first point to note is that the ORA-01555 error is a "safe" error that does not result in data loss or corruption, but that the query that received the error cannot continue. The following is the reason for the occurrence of ORA-01555 errors are
1, start-"run-" cmd, then input sqlplus/as sysdba;
2, delete users: In the DOS window input drop user EQM cascade;
3, delete tablespace: In the DOS window input drop tablespace EQM including CONTENTS and datafiles; If the error says that a table
If you accidentally overwrite the previous stored procedure, that must quickly flash back, the longer the likelihood of flash back less, the following for you to introduce the principle of recovery
If you accidentally overwrite the previous stored
After a large number of deletions to the table, there may be a lot of free space can be recycled, the relevant calculation methods refer to the following:
UPDATE STATISTICS
Analyze table compute Statistics;
Calculate Fragmentation Space
SELECT
Database security problem has been one of the focus of attention, we know that a business or organization of the database if the hacker attacks, and these databases and the preservation of very important data, such as banks, communications and other
When using Sqlplus to connect to Oracle databases, there are always???? A class of characters, mainly because the server and client language settings are not the same.
In the Japanese environment, the server-side setting is Ja16sjis, the client
Select Logid,userid,logtime,url,description, (case operatetype when operatetype = 0 Then ' Add ' when operatetype=1 then ' modify ' Else ' delete ' end case] from log????
1. Case
Select Logid,userid,logtime,url,description, (
Case
When
How the Oracle database collects ORA-00904 errors in the execution plan and resolution of the specified SQL
(Copyright notice, I original or translated articles for reprint, such as reprinted for Personal learning, please specify the source;
In the development of what you should have done similar department management such functions, in general, a department below there is the next level (sub departments), this level is similar to a tree. In this case, the parent department and the
An Oracle library error was excluded and the following process could not be assigned a port resolution within the specified scope
Install the Oracle database a few days ago. Follow the instructions to configure the Linux environment, install the
Oracle|server Tblname=request ("TB")
Dim objorasession,objoradb
Dim Strdbuser,strdbpwd,strdbconn
Call Connectdb ()
Sub connectdb () ' Connect to the database
On Error Resume Next
Strdbuser = "Liujincai" ' Connection user name
Strdbpwd = "ljc1001"
Oracle using System.Data.OleDb;
Create a new class (Parameters for database connections):
public static string Getoracledbconnstr ()
{
Database connection
String tempuser= "System", temppassword= "ANDYSTARMKMK", tempdatasource= "Andy";
String
R represents response time (response times). The specific definition is as follows:
1. Target the tasks this are critical to the business.
2. Collect properly scoped, un-aggregated profile data for each task while the task are exhibiting the
During the installation of the oracle10g RAC, the network settings need to be cautious and extremely important. The following is a list of my oracle10g RAC Environment's network configuration for your reference. 1.hosts File Settings Since RAC has
When a case is used primarily to give data to a value that is understandable,--Simple Case functionCase SexWhen ' 1 ' Then ' men 'When ' 2 ' then ' women 'Else ' other ' END--case search functionCaseWhen sex = ' 1 ' Then ' man 'When sex = ' 2 ' Then
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