Recently, a production database user is always locked, causing some applications in the production environment to access the database connection failure, resulting in a production accident, the user is locked for the issue of the following record
Database
Introduce the simple usage of Orcale timer, I hope you can understand it at a glance1. Create a table, in order to clearly see the operation of the timer we create a table with a date fieldSQL code
Create Table job_table
1. Collection--Set operation: set, intersection, Difference .Select Deptno,job,sum (SAL) from the EMP Group by Deptno,jobUnionSelect Deptno,to_char (null), SUM (SAL) from the EMP Group by DeptnoUnionSelect To_number (null), TO_CHAR (null), SUM (SAL)
The first step: the installation of Oracle services, two unpacking, respectively extracted after merging into a folder, click EXE installation (if you encounter path problem during installation, directly ignore it)Step two: Use SQLPlus to test
descriptive narrative of the problemOracle assumes the storage number (20,2) data, 0 in the database is 0.00, 2.1 in the database is 2.10, 3.88 is stored as 3.88,Assume that the corresponding display is taken directly from the database:0 2.1 3.88
Tip: This feature is normally used only by developers!Using a scenario EBS Developer sometimes modifies a report based on the reported bug of the feedback. EBS system administrators can query requests submitted by others, but cannot "view output"
The execution plan of SQL actually represents the specific execution steps of the target SQL within the Oracle database, and as a tuning, only know if the execution plan chosen by the optimizer is the best execution plan in the current situation,
Oracle's paging query Oracle's paging query statements can be applied in a format that is given in this article. Paged Query format: SELECT* FROM (SELECT a.*, ROWNUM RN from (SELECT* FROM table_name) A where ROWNUM = 21one of the most inner queries
Oracle's database operations are recorded in the redo log for undo (rollback) or redo (redo) at the time of the database exception. Redo log is also divided into online (online log) and archive (archive log) two parts.Oracle has 3 online log files
Oracle and Oracle Data Migration under the Goldengate architecture650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7B/61/wKiom1bMe8XCQiRqAAEze5VKnU0626.png "title=" Qq20160223233227.png "alt=" Wkiom1bme8xcqirqaaeze5vknu0626.png "/>Host
Reprint to: http://blog.itpub.net/29378313/viewspace-1064069/For the sake of convenience, the following simple models are established and some test data are constructed:In a business admissibility subsystem BSS,SQL Code
--customer data
Oracel provides three types of collection operations: Each is and (UNION), intersection (INTERSECT), poor (minus)Union: Merges the results of multiple operations into a single query result, returning the union of query results and proactively
First, Database modelingIi. Establishment of the tableThird, Database dictionaryIv. DML statementsV. viewsVi. IndexSeven, sequenceVIII. DDL statementsLesson 8 Overview of Data Modeling and Database Design----------------------------------------------
1. List all departments that have at least one employee.Analysis: How many employees are in each department--grouped by department numberSelect Deptno,count (*) from EMP GROUP BY DEPTNO has count (*) >= 1;2. List all employees who pay more than
error when connecting with Visualizer: Error encountered while performing the requested operation: IO error: The Network Adapter could not establish the connection1 Use the Cclear or LU master and other registry cleanup tools to clean up after the
Although the use of many times impexp and IMPDPEXPDP but still encounter a lot of problems, now summarized as follows:Application:Import all table structures and indexes, triggers, procedures, functions, etc. of a user into another userIMP/EXP
Difference between translate and replace: translatereplace
Today, the nesting of replace and translate in the oracle database is a bit confusing, so I went online and looked at it. I felt very open:
The problems encountered today are as
Oracle SQL statement optimization, oraclesql
(1) select the most efficient table name sequence (only valid in the rule-based Optimizer ):The Oracle parser processes the table names in the FROM clause in the order FROM right to left. The table
Oracle authorized grant, oraclegrant
GRANTPrivilege[,...]ONObject[(Column[,...])] [,...]TO {PUBLIC |Username[,...]} [With grant option]These fields are compatible with ipvs implementation, except for the following exceptions:PrivilegeSQL92 allows
[Translated from mos] For A New db, zero rows are returned for the query of Dba_Feature_Usage_Statistics.Source:No Rows Returned from Dba_Feature_Usage_Statistics For Newly Created Database (Doc ID 1943234.1)Applicable:Oracle Database-Enterprise
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