OracleHow to Create a databaseDATABASE LINKWhat about it? In this article, we will use an instance to introduce the creation process. Next, let's take a look at this process.
Multiple ORACLE databases physically stored in the network can be logically considered as a single large database. Users can access the data in the remote database through the network, the c
Create a soft link command in linux-ln-s this is a very important command in linux, please be familiar with it. Its function is to create a non-same link for a file in another location. The most common parameter of this
Create a soft link command in linux-ln-s this is a very important command in linux, please be familiar with it. Its function is to create a non-same link for a file in another location. The most common parameter of this
due to SSLMy MySQL version is 5.7, the newly installed, not with MySQL SSL, but the connection pool link when the default encryption, so has not been connected, the solution is as follows:url=jdbc:mysql://192.168.80.128:3301/dream?useunicode=truecharacterencoding=utf-8usessl=false Autoreconnect=truefailoverreadonly=falseWhen configuring the JDBC link string, add the usessl=false, do not use SSL encryption,
OracleOperationRemote databaseYou can useCreate a DB LinkThis document describes the creation process in detail. Now let's get started. Assume that the local IP address is 192.168.1.11, database instance orcl, User name: tysp, password: test Remote database IP Address: 192.168.1.52, database instance lntysp, User name: tysp, password: 12345678.
1.
This is a very important command in Linux, please be familiar with it. Its function is to create a link to a file in another location, the most common parameter of this command is-s,The specific usage is: Ln-s source file Destination file.when we need to use the same file in different directories, we do not need to put
Multiple Oracle databases physically stored in the network can be logically considered as a single large database. Users can access the data in the remote database through the network, the collaborative processing between servers is completely transparent to workstation users and applications, developers do not need to care about the network connection details, the specific distribution of data on network n
This is a very important command in Linux, please be familiar with it. Its function is to create a link to a file in another location, the most common parameter of this command is-s,The specific usage is: Ln-s source file Destination file.when we need to use the same file in different directories, we do not need to put
Multiple Oracle databases physically stored in the network can be logically considered as a single large database. Users can access the data in the remote database through the network, while the collaborative processing between servers
It is completely transparent to workstation users and applications. Developers do not need to care about the details of network links, the specific distribution of data on ne
Create an Oracle database link (DBLINK)
You can run the following command to check the Global Database Name:
SELECT * FROM GLOBAL_NAME;
You can use the following statement to modify the parameter value:
Alter system set GLOBAL_NAME = TRUE/FALSE;
Connect and communicate betw
This is a very important command in linux. please be familiar with it. Its function is to create a non-same link for a file in another location. The most common parameter of this command is-s. The specific usage is the target file of the ln-s source file. When we need to use... information n in different directories
Command 1: View file contents
"Cat filename" to view the contents of the file, the page stays at the end.
"More file name" Paging View file contents
Enter the next line
Space page
Q exit
"Head filename" to view the first few lines of the contents of the file, the default first 10 lines, if you want to make a look at the top N rows, add option-N
For example "head-5" view the first five elements
Tail and head opposite, "Tail-5" the last five ele
server where the cube is created.
2. The tnsnames configuration name of the tnsping remote database.
3. Execute the following command after logging on to sqlplus:
SQL> create database link dblinktest connect to user identified by passwd using 'ceshi ';Where:
Dblinktest is
Create a dblink, named Dblink_name, from a database to the B database, the B database IP is 192.168.1.73, the port is 1521, the instance name is Oracle, the login name is tast, and the password is test.
A menu method:
Open Plsql, click "File"-"New"-"Database
Have children shoes asked said, the environment is set up, MySQL also installed, but is not into the database, also start not, has been error, then the following here is how to use the Navicat link to create a databaseFirst of all1) in the Xshell into MySQL, the command is: Mysql-u root-p, and then enter into the MySQL
1. View DblinkSELECT owner,object_name from dba_objects WHERE object_type= ' DATABASE LINK ';OrSELECT * from Dba_db_links; 2. Create Dblink Prerequisites:The user who created the Dblink has the corresponding database permissions. Create public or
Defining a public Database link:exampleThe following statement defines a shared public database link named remote this refers to the database specified by the SE Rvice Name Remote:CREATE public DATABASE LINK remote USING ' remote
Assume that there are two database servers, db_a and db_ B,When user user_a under db_a needs to use database link to access data of user_ B under db_ B, perform the following steps:
1. First, the user user_ B must have the select permission.
2. Create a connection string tnsname_btoa in tnsnames. ora on db_ B. You can
If the database connection is not established in the local Tnsnames.ora, then 1 is used, otherwise 21:create Database Link Geelyin96Connect to Geelyin identified by GeelyinpasswordUsing ' (DESCRIPTION =(Address_list =(ADDRESS = (PROTOCOL = TCP) (HOST = 10.86.1.96) (PORT = 1521)))(Connect_data =(service_name = appdb)))‘
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.