Do an Oracle Data Guard experiment. 2 nodes, one node configuration monitoring is no problem. In another node. The execution of any command related to the interception is hang live. such as: Lsnrctl Stop/start/status, there is the time to run
Oracle Data Structure DeploymentCase:
-1, query dbf file location
Select Tablespace_name, File_id,file_name, round (bytes/(1024*1024), 0) Total_space from Dba_data_files ORDER by Tablespace_name; SELECT * from Dba_data_files;--/home/
With PCT as(SELECT Tablespace_name as Tablespace_name,----bytes/1024/1024/1024 as "file_size",Round (100* (user_bytes/1024/1024)/decode (maxbytes, 0, bytes/1024/1024,maxbytes/1024/1024), 3) as percentFrom Dba_temp_files)SELECT * FROM pctRight
I have not encountered an array of this type before, and recently encountered the need to solve the problem of arrays, find a bit about the use of arrays, now sorted down.Arrays in Oracle are divided into fixed arrays and mutable arrays.One, fixed
Third, stored procedures(a) What is a stored procedureA stored procedure is a named PL/SQL block that is stored in a database and is a database object. The application can invoke the stored procedure and execute the appropriate logic.Both stored
DDL operationsHow to set user permissions in WindowsData Types for OracleCtrl-click the table name to manipulate the mouseThe inserted data needs to be checked to create the tableMain Table Clazz Delete data from the table setting cascade will also
There are several commonly used string functions in Oracle:1, Upper ()---Convert the contents of the string to uppercase, lower ()---all the contents of the string to lowercase . Specific usage:Select upper (' Test '), lower (' test ') from dual2,
I. Create a stored procedure under INS userSecond, Mobapp user empowerment: Execute the permissions of the stored procedureThird, the Odso_insert user executes the stored procedure, can truncate the tableView Odso_insert user-owned permissionsI.
Summary of rownum usage in ORACLE!For Oracle's rownum problem, a lot of data are said to not support >,>=,=,between...and, only with the above symbols (,& Gt;=,=,between. and will prompt SQL syntax error, but often do not find a record, but also
Requirements: Back up the Oracle database and upload the files backed up by the data to the FTP serverFTP Server IP Address: 192.168.6.9FTP Server account/password: test/test20181. Oracle user creates backup script path:#su - oracle$ mkdir
Tidy up the sort:To build a table statement:CREATE TABLE EXAM(Name VARCHAR2 (32),Subject VARCHAR2 (32),Score INTEGER)Data:INSERT into EXAM VALUES (' Zhao Liu ', ' math ', ' 71 ');INSERT into EXAM VALUES (' Zhang San ', ' math ', ' 81 ');INSERT into
You can according to their operating system is how many bits (32-bit or 64-bit), to the official website to download the appropriate installation program, as shown in.One thing to note is that Oracle's installer is divided into 2 files, and after
1. An implicit conversion causes an index to fail. This should be taken seriously. It is also a common mistake in development.Because the table's field TU_MDN is defined as VARCHAR2 (20), the field is passed to Oracle as the number type in the query,
Sometimes we query Gv$sql to see some running details for the same SQL different child cursors:Selet T.inst_id,t.sql_id,t.child_number,t.plan_hash_value,t.last_active_time,t.elapsed_time/100000/decode ( t.executions,0,1,t.executions), t.elapsed_time/
1. Develop WindowsFeature (program) in the Linux extension interface (in fact, from the Windows2008 before the release of the trial, it was found secretly hidden a UNIX interface option).2. The Windows Store can be downloaded to Ubuntu for
Transferred from: https://jingyan.baidu.com/article/9989c74604a644f648ecfef3.htmlSELECT row_number () Over (PARTITION by TA. process_instance_id ORDER by NVL (ta.status, ' D ') ASC, NVL (ta.finish_date, Ta.start_date) DESC) as Row_index,Ta.*From
CSS Startup process1) The operating system is started and calls the GI-related script in the/etc/inittab file.2) The Ohasd.bin daemon is started and the process is responsible for initiating all agent processes, including the oracssdagent_root agent
About DMP Files We use more, DMP files It is used as the file format for the Oracle Import and export tables, and today the DMP files are exported and imported for learning.DMP file ExportDMP file export is generally three kinds, they are: export
Issue Background Description:One day the customer has a demand, given a number of mobile phone numbers or phone numbers, to find out the relevant call records, as well as some related information.Customer-given called number:The results of the query
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