PL/SQL block to display detailed information of the employee with the given employee number
1 SQL> Declare
2 v_empno emp. empno % Type;/* declare the variable v_empno, % type: Make the Type of the variable the same as the empno type in the emp table
401. V $ PQ_TQSTATContains statistics on parallel execution operations to help determine imbalance in a query.402. V $ PROCESSContains information about the active process.403. V $ PROXY_ARCHIVEDLOGContains the description of the archive log backup
When the CPU usage of the Database Host is too high several times, the alarm is reported, resulting in low performance of the host. After some investigation, the cause of the problem is found out and the fault is solved. The specific process is as
About the migration of ocr votedisk environment in rac: hpunixoracle rac 11.2.0.3 Problem description: Due to user error operations, put ocr and votedisk in + GRID. Now we need to migrate it to + OCR_VOTE: solution: the specific operation is as
Oracle journey (ii) SQL statement query settings such as t_chmo_order_opera p, business table t_chmo_teruser u, user table t_chmo_province, Province table t_chmo_opera_price r price list ----- value-added business details select p. oo_source_num as
Listen for configuration independent of the database server, solve ORA-12520 and ORA-12545 errors 1. Environment: 1. linux host ocm (192.168.217.130) as Database sys @ OCM> select * from v $ version; BANNER monitoring Oracle Database 11g Enterprise
PMON failed to acquire latch, see PMON dump solve the problem phenomenon: Database listening crash handling process: Database exception, after receiving the alarm, immediately log on to the server, lsnrctl status found that listener is dead, hurry
Oracle 11g cluster software cannot be started solution step (2) run the following command to view the cluster software status-bash-3.2 #. /crsctl check cluster-all ********************************** * t5220-1: CRS-4535: Cannot communicate with
In Oracle, MERGE statements are used to merge update and INSERT statements. The MERGE statement is used to query another table based on the connection conditions of one table or subquery. The join condition matching is updated, and the INSERT
A note from Data Guard Broker recently used A Broker to configure and manage Data Guard (Oracle version: 10.2.0.1.0). Earlier databases basically did not set db_domain. When database link is used, global_names = true is enabled, and db_domain is
PLSQL Developer connects to Oracle11g 64-bit database configuration details recently changed to a 64-bit computer, so oracle database also changed to 64-bit, but the problem also arises, since plsql developer does not have a 64-bit version, it
In Oracle 11g, if you want to obtain the ip address or hostname of the server, run the following statement:
SELECT utl_inaddr.get_host_address FROM dual; // obtain IPSELECT utl_inaddr.get_host_name FROM dual; // obtain the host Name
If it works
Data Guard wonderful ORA-16191: Primary log shipping client not logged on standby problem engaged in a Data Gurad, switchover, check the Configuration:
SQL> select dest_name,status,error from v$archive_dest where rownum
ORA-16191 error reported.
RMAN-00600: internal error, arguments [10019] [krmxcr] [] [] [] solve a very strange problem today. Today, we are doing physical dg, a rac and a standalone dg. Perform recovery on the same machine first, back up the database, pfile, and standby
Scope sets the initialization parameters to take effect immediately. 1. Test Requirement background. 1. Have you asked me if the initialization parameters can take effect immediately after modification? I did a test immediately and concluded that
Test the table space function of oracle transmission (including detailed procedures) 1. Export the table space from the source server to the source server: 10.1.122.55 target server: 10.1.122.540. note: If the character set is not set here, an error
Count the data of yesterday and today, and first find out the Unit by unit grouping, and then perform external association with the subquery in the Java code select * from -- Query all the institutions in the organization table (select distinct dc.
Oracle datediff evaluate the date, Week, and month Functions
Oracledatediff date week month create or replace function datediff (type in varchar2, startTime in varchar2, endTime in varchar2, v in varchar2) return number as v_result number; SQL _1
Database ACID and CAP theory 1. ACID is the theoretical cornerstone of RDBMS. Atomiclty is the transaction atomicity. C is consistent and inserts A table data, will affect other (index/other tables) consistency. I isolation (ioslation) transactions
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