Problem prompt
ERROR message: ERROR: ORA-12514: TNS: listener cocould not resolve SERVICE_NAME given in connect
Solution:
The Code is as follows:
1. Open
/Network/admin/listener. ora file, find:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC
Background processes are used to execute the actual maintenance tasks required to ensure database operation. For example, a background process maintains the buffer cache and writes blocks to data files as needed.
Another process is responsible for
To view the physical file path of an oracle database, you must run the command to view the physical file path of the oracle database. Unless the database is installed by yourself and all security configurations have been performed, otherwise, it is
If some application projects under the Oracle database you manage have a large number of modification and deletion operations, the data index needs to be rebuilt periodically.
It not only improves query performance, but also increases the free space
Steps for effectively disabling the Oracle deadlock process:
1. Check which process is locked
Check the V $ DB_OBJECT_CACHE View:
SELECT * from v $ DB_OBJECT_CACHE where owner = 'user of the process' and clocks! = '0 ';
2. Check which SID is
Comment: Oracle tablespace recovery solutions include user tablespaces, temporary tablespaces, system tablespaces, rollback tablespaces, and control files, the recovery of user tablespace, rollback tablespace, and control file is complex. This
A DB Link must be established between one Oracle database and another Oracle database a few days ago to Insert data from one server to another.
Oracle Server A: Sid: SDH, USERID/PW: NM/NM
Oracle Server B: Sid; gsgx, USERID/PW: gs/gs create the
OracleEnterpriseManager (Oracle Enterprise Manager (OEM) provides management services for managing distributed environments through a set of Oracle programs. OEM includes a set of DBA tools, a repository, and a graphical console. The OEM console
The Oracle synonym (synonyms) is literally an alias. Similar to the attempted function, it is a ing relationship. This topic describes how to create a synonym statement, delete a synonym, and view a synonym statement.Summary of oracle Synonyms:The
1. The case when expression has two forms:Copy codeThe Code is as follows:-- Simple Case FunctionCASE sexWHEN '1' THEN 'male'WHEN '2' THEN 'female'ELSE 'others' END-- Case search functionCASEWHEN sex = '1' THEN 'male'WHEN sex = '2' THEN 'female'ELSE
1. Convert string type to timestampCopy codeThe Code is as follows:Select to_timestamp ('01-October-08 07.46.41.000000000 AM ', 'dd-MON-yy hh: mi: ss. ff am ')From dual;2. Convert timestamp to date typeCopy codeThe Code is as follows:Select cast (to_
The server is windows server 2003. After the oracle client is installed normally, when data is inserted, all Chinese characters are displayed ?.
Exception:
Enter select userenv ('language ') From Dual in the PLL/SQL statement, and the result is
When you export the data of USERNAME user of Data A and then import it to USERNAME in database B, the following problems occur during table data query by USERNAME User:ORA-06550: 1st rows, 7th columns:PLS-00201: The identifier 'System. PROC_AUDIT
1. If the Console is not installed on the database machine or the network service name is not configured using the Console.You can log on to the idle process on the server by running the command sqlplus sys/sys as sysdba. See step 4.2. If the
1. left outer join: LEFT OUTER JOIN SELECT e. last_name, e. department_id, d. department_nameFROM employees eLeft outer join orders ments dON (e. department_id = d. department_id );EquivalentSELECT e. last_name, e. department_id, d.
The principle is to declare constants, including the number of columns, number of rows, and attributes of each column, and then use these constants to control Cells in other procedures of the program. Very convenient for modification and
I believe that three appropriate indexes should be created, that is, the appropriate number of indexes should be created on the appropriate tables and columns. Although this can be summarized in one sentence, the database administrator must make
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