Oracle full-Text retrieval notes

1. Delete the lexical parserexec ctx_ddl.drop_preference (' my_lexer ');2. Create Chinese lexical parserexec ctx_ddl.create_preference (' my_lexer ', ' chinese_vgram_lexer ');3. Create full-text index, multi-fieldEXEC ctx_ddl.create_preference ('

How ORACLE gets the execution plan

6 ways to get the execution plan (detailed steps have been explained in the comments section at the beginning of each example):1. Explain plan for acquisition;2. Set autotrace on;3. Statistics_level=all;4. Direct access via Dbms_xplan.display_cursor

How Oracle queries locked tables and processes

There are several ways that Oracle queries can be used, and the following is how Oracle queries the locked tables and the processes that Oracle queries connect to, and hopefully it will help you.First, view the locked tableSelect p.spid,a.serial#, c.

Use of Sys_connect_by_path functions in Oracle

In Oracle, the primary function of the Sys_connect_by_path function is to differentiate all child nodes under a parent node by a character, and then connect to display in a single column. Sys_connect_by_path (field name, connection between 2 fields),

Oracle Control files

In Oracle, the control file is the file used when the database is mounted, the control file is lost or corrupted, and the instance crashes, where the parameter file records the location of the control file;After the instance starts to Nomount, if

Oracle install and connect to local database with Plsql

1. First install the local Oracle, here I use is xe10g, the specific installation will not demonstrate, all the way fool no brains, user name password custom set to Root/root;2. Install Plsql, not accustomed to English can be installed immediately

Oracle queries multi-table connections

Oracle Multi-table connection query data is divided into 3 main categories:One: Cross ConnectTable A has 3 data, table B has 4 data, after cross-linking there are 12 dataSelect Empno,ename,sal,emp.deptno,dname from EMP Cross JOIN dept;Select

Oracle Database Objects _ constraints

Constraint is a kind of mandatory rule which is added on the table, and it is an important means to guarantee the integrality of data.When you insert data into a table, or modify data in a table, you must meet the conditions specified by the

Calculate percentages with Oracle statements

To the company on the first day, there is nothing to do, the manager said today need to make the report, need to write a few Oracle statements, used to query all types of people under themember number and proportion of the total population.

Methods of intersection in Oracle and Java

and ((#{protocolstarttime} >= t.protocol_start_time and #{protocolstarttime} (#{protocolstarttime} = t.protocol_end_time) OR(#{protocolendtime} >= t.protocol_start_time and #{protocolendtime} )]]>This will determine your incoming start time and end

Configuration of swap on Oracle server

Configuration of swap on Oracle serverOn Oracle servers, setting the appropriate swap size can improve Oracle's performance, and for Oracle 11g, the physical memory on the Oracle server and the swap size to be set are as follows:If the physical

Functions commonly used by Oracle

InStr (String1,string2,start_position,nth_apperance)String1: The source string to look up in this string;String2: The string to find in the String1;Start_position: The starting position of the search in String1;Nth_apperance: To find the first

Oracle Common Commands

One, Oracle idle time automatic release connection settings1. Locate the profile file name for the login user, for example, "DEFAULT"2.ALTER profile "DEFAULT" LIMIT Idle_time 240 (min)3, alter system set RESOURCE_LIMIT=TRUE Scope=both;Ii.

Oracle modifies bdump log storage path

Modify the Bdump log storage path, need to restart the database, 10G version has this parameter, 11G canceled this parameterObjective: The Oracle database sometimes produces a large number of log documents due to abnormal conditions, and the disk

Oracle gets a two-year date

SELECT ROWNUM, ' 1 ' as FLAG, (To_date (To_char (DATE ' 2015-12-31 ', ' YYYY ') | | ' -01-01 ', ' yyyy-mm-dd ') + ROWNUM-1) as Date_dt, DATE ' 2015-12-31 ' as Data_date, SUBSTR (To_char (To_date (To_char (DATE ' 2015-12-31 ', ' YYYY ') | | ' -01-01 '

Oracle Query Table Space

1. View all tablespace usageSelectB.file_idFile ID number,B.tablespace_name table space Name,B.bytes/1024x768/1024x768||'M'Number of bytes,(b.bytes-sum(NVL (A.bytes,0)))/1024x768/1024x768||'M'has been used, sum(NVL (A.bytes,0))/1024x768/1024x76

Oracle occupies 8080 Port problem resolution

Anyone who may have both Tomcat and Oracle installed locally will know that after the installation of Oracle, the 8080 port of Tomcat is already occupied by Oracle.Once the Oracle database is fully installed, when we access port 8080, a xdb window

Oracle Modify field Type method summary

SQL Code 123456789101112131415161718192021st22232425 There is a table named TB, field segment named Name, data type nchar ( -).1. Assuming that the field data is empty, you can do it directly, regardless of the field type you

Some of Oracle's commands

SQLLDR: Generally used to import files ending with any suffix, this time I was just trying to import a file with a suffix of. 20160101.Combined with the use of input.ctl, can be used under DOS, you can import hundreds of thousands of, millions of

Oracle Console OEM fails to start

Open the Oracle console that you just installed today and find that you cannot open the prompt for the following:The database is closed. Please specify the host authentication to access the database restart and diagnostic tools.This is also the case

Total Pages: 2147 1 .... 2138 2139 2140 2141 2142 .... 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.