Oracle function learning notes

1. Oracle single row FunctionsOracle character functions 1.1LOWER: lowercase string;Select LOWER ('help') from dual ---> HeLpUPPER-case strings;Select UPPER ('help') from dual ---> HeLpINITCAP upper case of the first letter of the string, and lower

Oracle operations on Linux

The following operations on Oracle are performed on the Linux platform! 1. su Oracle 2. sqlplus/logon 3. connect test/test as sysdba (test/test is an Oracle user and password) 4. startup 5. lsnrctl Preferred database

Install Perl DBI support on Linux

If you want to write Perl scripts that can access the MySQL database, you need to install the DBI module. You need to install two groups of DBI modules, one of which is the DBI module that provides various basic DBI drivers, another group is the DBD:

Oracle case: Analysis of 10053 tracking files

First, we will introduce some parameter descriptions related to the CBO computing cost and how to calculate the cost of CBO in queries. Next, we will provide a general method for analyzing 10053 trace files. Finally, we will discuss how to analyze 10

Comparison of Oracle backup functions

Oracle backup features include: Advanced Replication) Streaming Replication) Slave uard) One worker uard: Dataguard is generally the first choice for dba in terms of high availability and Disaster Tolerance. After all, dataguard has an overwhelming

Oracle SQL Best Practices

1. Replace DISTINCT with EXISTS to eliminate sort operation 2. If you filter data in group by, specifying conditions in the WHERE clause has better performance than HAVING clause. Because data has been filtered out before the GROUP, fewer rows are

Oracle Releases undo tablespace

In daily database maintenance and database programming, we often hesitate to perform DML operations on large data volumes, so that Oracle's undo tablespace can be extended to dozens of GB or dozens of GB. the physical space occupied by the disk will

Statistics on the number of records in all tables of the current Oracle user

Create or replace procedure tj_data is-- Variables used in the current Stored ProcedureV_tableName VARCHAR2 (100 );V_ SQL varchar2 (200 );V_count integer;-- Obtain all tables in the current databaseCURSOR TABLE_LOOP is select Table_name FROM

Oracle partition exchange-archive data

The procedure for Oracle partition switching is as follows: 1. Create Partition Table t1. Assume that there are two partitions, P1 and P2.2. Create a base table t11 to store data of the P1 rule.3. Create a base table t12 to store P2 rule data.4. Use

Oracle Incremental Backup

Common scripts:----- Level 1. 0 backupBatch file:Set Oracle_SID = orclRman target sys/test @ orcl prepare file ='s:/backup/scripts/0/db_fullbakup_orcl.rman 'Log ='s:/backup/LOG/rman_backup _ % DATE :~ 0, 4% % DATE :~ 5, 2% % DATE :~ 8, 2%. Log' Rman

Oracle DML operation process

DML operations. All Oracle processes are executed together! The user transmits the DML operation statement to the buffer cache in the sga through the process, and then updates the changed data block in the buffer cache, then, the logwr process first

Oracle creates user tablespaces and users

-- Create the data table space t_space1 as the data table space name datafile as the data file path Create tablespace t_space1 datafile 'e: \ OracleTableSpace \ space_1 \ t_space1.dbf' size 5 M autoextend on next 5 M maxsize 20 M extent management

Oracle 11g new collection function listparts implements column forwarding

Oracle 11g new collection function listparts implements column forwarding First, the syntax is as follows:Listparts (column | expression,Delimiter) within group (order by column | expression) is a clustering function. Use an example to describe its

Oracle DB Group functions

• Group function:-type and syntax-use AVG, SUM, MIN, MAX, COUNT-use DISTINCT keyword in group function-NULL Value in group Function What is group function? The group function calculates the row set and provides a result for each group. Unlike a

Create, modify, add, delete, modify, and query an Oracle table-DML operation

1. Table Name and column command rules: It must start with a letter and cannot exceed 30 characters. Oracle reserved words cannot be used. Only A-Za-z0-9 $ # and so on can be used. TABLE: partition table, table partition cluster index table

Explore the filter principles in execution plans

I have written an article about the performance problems caused by filter, which is written at the beginning: The word "filter" is confusing. a subnode, two subnodes, and three subnodes can be mounted at the next level .... Apply a subnode to filter

Oracle Update Execution Plan Principle Analysis and Optimization

When update is used, there is only one subnode in most cases. Only when a subquery is used in the set clause can it have more than two nodes. If it has only one node, similar to the filter operation (exploring the filter principle in the execution

Oracle backs up a user and migrates the data

Today, we used to import all the information from one Oracle user to another. For example, if one user on one machine is aa, all information of the aa user, such as tables, tablespaces, and indexes, needs to be copied to the local database on

Hugepage needs to be configured for large Oracle memory

1. The Oracle 10g rac server is configured with 128G memory, and the sga pga is very large. After restart, it is found that ipcs show sga is correct, that is, free-m is incorrect, and the difference is very long. 2. You can configure hugepage, but

Oracle 12C inserts Non-PDB into CDB

Go to non-CDB Database View the location of the data file [Oracle @ shuang ~] $ Sqlplus/as sysdba SQL * Plus: Release 12.1.0.1.0 Production on Wed Feb 26 13:17:45 2014 Copyright (c) 1982,201 3, Oracle. All rights reserved. Connected to an idle

Total Pages: 1013 1 .... 1009 1010 1011 1012 1013 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.