Tablea Columna columnb
A 1 & 2 SSS
Select * from a where Columna like '% 1 & 1000'; ------------------ the system prompts you to enter a variable.
What if I want to query SSS Based on the clomna value?
Analysis: & is a variable character
Recently, you may need to connect to a remote ORACLE Server. Although many tools can be connected, such as dbvisualizer and navicat, it is well known that, pl SQL developer is incomparable to any other tool in Oracle operations. In addition,
-- You can periodically use the results of DF-h to input an External Log File, and then use Oracle's "External table" to access this "External Log File". For example:
-- Step 1: write a script to regularly insert disk information into the log file:
[
Reprinted from: http://www.iteye.com/topic/82587
The data dictionary dict always belongs to the Oracle user SYS.1. User:Select username from dba_users;Change PasswordAlter user spgroup identified by spgtest;2. tablespace:Select * From
Run the command in the Command window.
Variable names after variable must be the same as those after job =>: job. Otherwise, the error "Not all variables are bound" will be reported. After successful execution, the job number is automatically
Once all the datafiles were on one disk, resulting in a dramatic increase in Io. Now we divide datafile into three hard disks (due to the large data size, we only consider dividing the data equally without moving the index ).
1. First view the
1. To create a global dblink, you must first confirm that you have the permission to create a dblink:
Select * From user_sys_privs where privilege like upper ('% database link % ');
If not, you must use the sysdba role to grant permissions to
1. Download the Oracle client package (30 m)
You only need
Oracle can download a software named Instant Client package. This software does not need to be installed and can be used as long as it is decompressed. It is very convenient and can be used
Although talking about hidden parameters must be meaningless, but those hidden parameters are valuable, we have to "respect" those hidden parameters"
In Aum, why does my undo tablespace only grow and does not recycle it? Now it's more than 40 GB
Make the program a soul
By think
1 What is PL/SQL?
Procedures, functions, and triggers are written in PL/SQL.
The process, function, and trigger are in the Oracle System tablespace.
PL/SQL is a very powerful database Procedural Language
The function
This is the 25th lecture, mainly about the basic understanding of blocks and processes.
1. One of the simplest blocks:Set serveroutput on -- open the output option. If it is off, put_line () has no output.BeginDbms_output.put_line ('hello
InWhen Sr is sent to Mos, how does v $ segment_statistics update it?
ORACLE: V $ segment_statisitcs has been used for internal research since 9ir2 was introduced]
(I) first look at the table structure:
Sys @ orcl> DESC v $ segment_statistics
Two features of a role
1) role DelayDelayed
How to enable the role to take effect immediately:Set role name;For example:Set role resource;Delay recoveryThe following experiment demonstrates the delay recovery:Session (1) SCOTT:Sys @ orcl> conn Scott/
1 Definition
An executable tool used to analyze Oracle tracking files and generate clearer and more reasonable output results as needed
2 preferences
F:\>tkprofUsage: tkprof tracefile outputfile [explain= ] [table= ] [print= ]
When data is stored in a data file, its attributes are determined by the storage. These attributes include: in which data file? Which object does it belong? Where is the data block? Row number? These attributes are combined to form the rowid of
Statistics of dynamic sampling are not recorded in the view, and sometimes the tables that have been analyzed are also evaluated.
It is effective for CBO because RBO does not need statistics, so dynamic sampling is meaningless.
(I) Role of dynamic
(I) histograms
Column chart? Histogram? Actually, these two concepts are called here by think directly using histograms.
Histograms can be understood as the density and range of the approximate distribution of values in a column)
In general, CBO
Sometimes, very depressing, ah, what's going on ah, don't take the index,
If you find that you do not leave the index, but do not rashly impose your own will,
You have to give a reason, do a test first, prove/false take index practical
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