Oracle Space Management Experiment (i)

Explore the structure of data file header under LMT table space management and the recording mode of bitmap Central The experiment is divided into two steps: 1.LMT locally managed table space, the structure analysis of data files in ASSM automatic

Rhel how to regularly back up Oracle on a daily basis

log

Steps: (1) Create script file bak_112.sh, as follows (automatically back up the database by current date): #!/bin/sh export oracle_base=/u01/app/oracle; oracle_home=/u01/app/oracle/product/11.2.0/db_home1; Export Oracle_home oracle_sid=xxx export

Create SPFile to ASM in Oracle

--View SID Sql> show parameter instance_name; NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ Instance_name String tos --Create Pfile sql> create pfile= '/tmp/tospfile ' from SPFile; File

Oracle's V$lock Performance view

sql> desc V$lock; is the name empty? Type ----------------------------------------- -------- ---------------------------- ADDR RAW (8) Kaddr RAW (8) SID number TYPE VARCHAR2 (2) ID1 number ID2 number Lmode number REQUEST number CTIME

Oracle's V$sqlarea Performance view

1, the structure of the V$sqlarea table Sql> desc V$sqlarea is the name empty? Type ----------------------------------------- -------- ------------------------ Sql_text VARCHAR2 (1000) Sql_fulltext CLOB sql_id VARCHAR2 (13) Sharable_mem

Oracle's v$session Performance view

1, v$session table structure sql> desc v$session; is the name empty? Type ----------------------------------------- -------- ---------------------------- Saddr RAW (8) SID number serial# number Audsid number Paddr RAW (8) user# number

How to Output query content to text in Oracle

Output query content to text Set echo off pagesize 0 heading off feedback out termout off Spool Test.sql Select COUNT (*) from User_tables; Spool off The above script will output the query content to the Test.sql after it has finished executing

Batch operation performance Impact diagnostics in Oracle

Branch of the database performance problems, help to help diagnose. The database is a Oracle10.2.0.3 RAC environment, but is now in a single node working state. The current problem is that page access is slow and no further information is available.

Related view management of Oracle DG logical Standby

log

1.dba_logstdby_events This view can be viewed as a logical standby action log, so if an error occurs, you can see what the recent logic standby has done with the view. By default, this view retains only the records of the last 100 events (you can

Two functions of subroutines in Oracle

A function is a subroutine that evaluates the result value, except that the function has a return clause, and the other structure is similar to the procedure. It is worth noting that functions in Oracle must provide a return value, and if you define

SQL instance for date in Oracle

№ 1: The current date is the week ordinal of this month Sql> Select To_char (sysdate, ' YYYYMMDD W HH24:MI:SS ') from dual; To_char (sysdate, ' YY-------------------20030327 4 18:16:09 Sql> Select To_char (sysdate, ' W ') from dual; T-4 № 2:

Oracle data Backup via OMS

In Oracle 9i, data can be easily exported to a file or imported from a file. With Oracle's Management Server (Oracle Management Server,oms) can be easily implemented, there are many places to explain the entire operation, but the complete guidance

Debug stored Procedures in Oracle

I do not know how to debug a stored procedure when I write it. One way to debug this is to print out the value of a variable in a program that I print on the console in Java. Here's how to do this from the Sqlplus. 1, execute "set serveroptput on"

Implementing replication of databases in Oracle

Running databases on the Internet often has the need to unify database applications across the country, and a node's data changes are reflected not only locally but also remotely. Replication technology provides users with a quick way to access

Oracle automatically backs up data

It is believed that a large number of system administrators are doing the same job every day-backing up the data. Once a day of negligence, and this day the system is precisely the fault, the need for data recovery, then there is nothing at this

Oracle's Stored Procedures guide

   Create procedure procedue_name  [@parameter data_type][output]  [with]{recompile|encryption}  as  sql_statement Explanation Output: Indicates that this parameter is available for return. with {recompile|encryption} Recompile: means recompiling

Configuring Oracle that supports distributed transactions under MTS

1. According to Q193893, we need to build two views within Oracle. Information about using Oracle with Microsoft Transaction Server and COM + components http://support.microsoft.com/?id=193893 Based on our past experience, we can try to run

Sys_connect_by_path function usage in Oracle

The primary role of the Sys_connect_by_path function is to distinguish all child nodes under a parent node from a single character, and then connect to a column to display select level ,sys_connect_by_path( id , '/' ) from test start with pid= 1

Oracle Constraint Management Scripts

As an Oracle database administrator, you will encounter such database management requirements, stopping or opening constraints and triggers for all tables under the current user (schema). This is one of the things you need to do when merging

How to use Oracle Spool

Spool is a control command provided by Oracle Sqlplus. You can use the combination of spool and SELECT statements to dynamically generate some SQL scripts or some data. There are probably two types of statement classifications that can be executed

Total Pages: 2147 1 .... 1575 1576 1577 1578 1579 .... 2147 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.