User A in the database accesses user B's table t_department
First, create dblinks in database a to link the two databases as follows:
CREATE DATABASE LINKTestlink1ConnectAcsys// A user name of database BIdentified by "djzcq" // PasswordUsing 'B';
1. Online log files
Each Oracle database has at least two online redo log file groups. Each redo log group contains one or more redo log members, the individual redo log file members of these groups actually form an image of each other. The
Scripts for querying Oracle hidden Parameters
Oracle10:59:23 Read55 Comment0 Font Size:LargeMediumSmall Subscription
I can't remember it all the time. Stay and forget it :)
You need to log on with the Sys user to view two views:
X $ ksppi
Cancel spfile parameter settings
Alter system reset parameter SID = 'sid | *'
Or alter system set parameter = value to the original value
Create pfile using spfile
Spfile is a binary file, pfile is a text file, you
In Oracle databases, undo has three major functions:Provides Consistent Read and RollbackTransaction and Instance Recovery).
Consistent read is relative to Dirty read (DirtyRead. Assume that a table T contains 10000 records. It takes 15 minutes to
Http://www.oracle.com/technetwork/cn/database/windows/downloads/index-101312-zhs.html
To connect ORACLE to VS, use ENTITY.
1. If you only need to use ENTITY, you can use ODAC of the next 11G version or later. Do not enter 10. The English is
1. Trace file)
Provides detailed debugging information. When a server fails, a trace file containing a large amount of diagnostic information is generated.
Enable tracking SQL _TRACE = TRUE
Measure oracle
V $ view, such as v $ waitstat and
Differences between adding a comment and canceling a comment: F5 shows the effect, and the execution time is compared to the forced execution index example.
Select count (1) FROM (select * from vav_stbms_tb_act_source_2012 where cstart_time> = to_
(Original post address http://blog.csdn.net/linghe301/article/details/8501195)
Someone asked me a question a few days ago: Suppose I have two layers, one line layer, one surface layer, saved as MXD, and then published the service, I want different
Q] how to view the database Character Set[A] select * fromNls_database_parameters, derived from props $, indicates the character set of the database.Select * fromNls_instance_parameters, which is from v $ parameter,Indicates the character set
1. Open Oracle SQL Developer 2.1 and the following error occurs: "Unable to create an instance of the Java Virtual Machine"
Solution: Modify ide \ bin \ ide. conf in the tool path.AddVMOption-Xmx 256 M
Reference: http://www.faisalmb.com/blog/post/200
If you think a PL/SQL running for a long time has a problem, you need to stop it immediately. What can be done: There are two methods:
1. Execute alter system kill session'
Sid, serial #'
The sid, serial #, can be found in V $ Session. Sometimes
Syntax:
Table Index CREATE [UNIQUE|BITMAP] INDEX [schema.]index_nameON [schema.]table_name [tbl_alias](col [ASC | DESC]) index_clause index_attribs
Index_clses:There are two situations:1. Local Index
The storage location of the index information
The installation of SDE10.1 is different from that of the previous version. Therefore, you must carefully read the installation documentation during installation.
Steps:
1. Before installing SDE, you need to ensure that the database is installed and
See the following SQL statement select t2. * from (
Select t. *, rownum as row_num from t where rownum IDAsc
) T2 where t2.row _ num> 10
OrderIDAsc
Because order by is executed after select during the query, In the first-level query, the result
-- Select to_char (add_months (sysdate, 0), 'yyyy-MM-dd') day from dual -- select to_char (add_months (sysdate,-1) of the current date of the previous month ), 'yyyy-MM-dd') day from dual -- select to_char (add_months (sysdate, 1) next month,
The database listening service is dynamically configured and static.
Preparations:
1. create necessary Directories
2. Prepare the init. ora file.
3. Prepare the database creation script
Oradim-delete-sid dbname
Set oracle_sid =
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