Oracle DBA simple operation

  -- SQL statements with many executions Select SQL _text, executions from ( Select SQL _text, executions from v $ sqlarea order by executions desc ) Where rownum -- Read SQL statements with multiple hard disks Select SQL _text, disk_reads from

Analysis of ocp007 Question Bank

Q: 1 Examine the structure of the EMPLOYEETechnorati label: ocp 007 database oracleS table:EMPLOYEE_ID NUMBER Primary KeyFIRST_NAME VARCHAR2 (25)LAST_NAME VARCHAR2 (25)Which three statements insert a row into the table? (Choose three .)A. insert

Oracle-DBA Summary

1. Data Dictionary 1.1 query the data dictionary. Dictionary ----- this dictionary contains all dictionary InformationSQL> select * from dict where instr (comments, 'index')> 0; ----- query all data dictionary names related to indexes.1.2 set the

Top 10 reinitialization steps for some goldengate tables

Table re-synchronization (No Time Window on the production end is required)If the data on both sides of some tables is inconsistent due to various reasons, you need to synchronize the data again, but the actual service is always available 24 hours a

Query non-consecutive NO numbers in Oracle

1. Create a table and insert dataSQL codeCreate table lag_use (no number );Insert into lag_use values (1 );Insert into lag_use values (2 );Insert into lag_use values (3 );Insert into lag_use values (5 );Insert into lag_use values (6 );Insert into

Differences between pfile and spfile in oracle

Differences between pfile and spfile in oracle pfile the default name is "init + routine name. ora file path:/app/oracle/product/10.2.0/dbs. This is a text file and can be opened using any text editing tool. The default spfile name is "spfile +

SQL Syntax: for update [of...]

SQL Syntax: for update [of...] Select * from TTable1 for update lock all rows in the table, only read and write select * from TTable1 where pkid = 1 for update lock only select * from Table1 a join Table2 B on. pkid = B. pkid for update: select *

Load profiles of oracle war

Load profiles of oracle war This article gives a glimpse of the oracle database workload activity that occurred within the snapshot interval. for example, the load profile below shows that an average transaction generates about 18 K of redo data,

SQL Optimization-Summary

SQL Optimization-Conclusion 1: Minimize the data scope. 2. There is no need for two SQL statements. Use case when or decode. [SQL] select month_id, corppkno, sum (exportSum_new) exportSum_new, sum (exportSum_newLy) exportSum_newLy, sum

How can I display pl/SQL query data in Chinese?

How can I display pl/SQL query data in Chinese? Solution: 1. Open the installation directory of PLSQL Developer, see the directory of plsqldev.exe, create the "PLSql_run.bat" file in the PLSQL Developer folder, and enter the following content in the

Basic knowledge about block address

Basic knowledge about block address 1. block address (ondisk rba is voided after 9.2) 1.uba= Undofile BA 1 BA = dbfile file number, block number, row number rdba = tablespace Relative Database BA 2 BA = logfile serial number, logfile block number,

Oracle migrates fields between tables through the Stored Procedure

Oracle implements field migration conditions between tables through the stored procedure: two tables: ITPUB_TEST1 field id, value ITPUB_TEST2 field id, funcid, action ITPUB_TEST2 funcid associated with id in itpub_test1. Task: migrate the action

Oracle dbguard configuration listening insufficient privileges

Oracle dbguard configuration listening insufficient privileges from the library after starting to nomount, through listening how can not log on, error ORA-01031: insufficient privileges Enter user-name: after searching for information from multiple

Ora-01578 repair after data block corruption

Repair ora-01578 after data block corruption if the database runs in archive mode with backups, you can use RMAN block recovery. You can run RMAN> blockrecover datafile 1 block 28618 when the data file is online. If no backup, archive logs are lost,

Oracle Automatic Data Backup command

Oracle Automatic Data Backup command oracle backup rhellinux Server # Application environment variable (hpunix) source/home/oracle /. profile # application environment variable (rhel linux) source/home/oracle /. bash_profile # Back up data

How to determine whether the backup set can be recovered (note)

How to determine whether a backup set can be recovered (Note) 1. Bad blocks (1. physical blocks (2. physical damage to logical blocks: In a physical BLOCK resume uption, which is also called a media uption, the database does not recognize the block

Change the data file path of the standby Database

Change the data file path of the standby database to change the data file path of the standby database [oracle @ bldc02 ~] $ Sqlplus/nologSQL * Plus: Release 11.2.0.3.0 Production on Mon Aug 26 10:44:57 2013 Copyright (c) 1982,201 1, Oracle. all

[One Moss per day]-RAC and Sequences (853652.1)

[One Moss per day]-RAC and Sequences (853652.1) Sequences have four combinations:. CACHE + NOORDERb. CACHE + ORDERc. NOCACHE + NOORDERd. NOCACHE + ORDER even in a single-instance configuration, when a large number of sequence needs to be generated,

RMAN duplicate)

RMAN duplicate upgrades the versions of databases in the production environment or tests the performance and impact of new applications, backup and recovery, etc, we can clone it from the production environment to the local without affecting the

Query oracle table Field Information

Querying oracle table field information can be called metadata. Someone asked how to export the table field information today. To tell the truth, I will not use plsql develper to export the table structure, as shown in: When writing a Database

Total Pages: 2147 1 .... 1850 1851 1852 1853 1854 .... 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.