global_name of Oracle database
Global_name of the Oracle database, as mentioned in the database link and global_names parameters, when setting the Global_names initialization parameter to TRUE, the local database link name must be GLOBAL_ with the
Java EE development of various types of resources download list, the history of the most complete IT resources, click to enter.
1. General SID Mode
Jdbc:oracle:thin:username/password@x.x.x.1:1521:sid2. Ordinary servername Way
System time is the time to send a blog, that is, 2012-8-5.
Comparison of the 1st period
SELECT * from dual where sysdate > to_date (' 2000.8.5 ', ' yyyy.mm.dd ')
SELECT * from dual where to_date (' 2012.8.5 ', ' yyyy.mm.dd ') > To_date (' 2012.6.5,
Look at the operation of the elder brother;
User Atongmu connection, modify table space users offline, prompt permission is insufficient;
Oracle roughly says: Find a database administrator to do the operation, or let him give you the
To report the system environment in the usual way:
Export environment:
Operating system Release version :CentOS 6.5
OS kernel kernel version: 2.6.32-431.el6.x86.64
Oracle Version information:
Sql> select * from V$version;
BANNER----------------------
As the saying goes, the user is God, they sometimes ask a question very simple, just need a word, a minute will be done, but to our DBA, it may be at least half an hour or even half a month to meet his words, there is a better and faster way, I tell
Problem Description:
If a table space has more than one user, then we will be in the migration, if exported by the user import, it would be a troublesome work, this time we can through the Transport_tablespace parameters of the table space migration
-- INSTR (source string, the string to find, starting with the first few characters, to find the ordinal number of matches) if it is not found, return 0. A bit like the Get array subscript
Select INSTR in Java (' Ni ... HA,.OWCAO,NIA,.M,
Add a comment to a table
Comment on table Mw_sys. object instance of the Mwt_om_obj1 is ' business type. ';
To add a comment to a column in a table
Comment on column Mw_sys. Mwt_om_obj1. Unique identifier of the obj_id is ' object. ';Comment on
Before creating a user name, you need to log on to the database as a user Administrator 1, to create a table space before creating a user:
The format is: Format: Create tablespace table name datafile ' data file name ' size table space;
For example:
Environment: RHEL 6.4 + Oracle 11.2.0.3
Scenario One: only some ordinary data file migration, can be online operation.
1. Offline The corresponding table space, move the data file to the new path
2. Data file Alter DATABASE rename file ' to ';
3.
MDSYS.CS_SRS-----The table defines the name of the coordinate system and its ID values in Oracle spatial, which are all published by Open-gis. The currently defined coordinate system has reached 1018.
Mdsys. Sdo_angle_units-----This table defines
1, what is the Oradim Oradim tool is a command-line tool for Oracle on Windows, for manual Oracle service creation, modification, deletion, and so on. The use of Oradim is simple, and you can see the commonly used command examples from the Help file,
A solution to physically remove DBF files that cause the database to not work
Due to the lack of e-disk space in the native ORACLE installation, the E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\TCM_BM data file is not used. DBF Direct physical deletion,
The EXP export tool compresses data backups in a database into a binary system file. Can migrate between different OS
The Imp Import tool imports the binary system files that are formed by exp into the database.
A. Export tool exp
It has three
*********************************************** Statement **********************************************
Original works, from the "Blue Blog" blog, Welcome to reprint, please be sure to indicate the source, otherwise the legal liability for
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