1. View V$diag_info view, can see the location of the trace file, the specific name and other information.Name column, Diag Trace is where the 11g trace file is locatedThe Default trace file is the trace file name of the current session2. Query can
1. Benefits of Automatic data file expansion1) does not appear because there is no remaining space available to the data cannot be written2) Minimize man-made maintenance3) can be used in databases where important levels are not very large, such as
1.hibernate calling stored procedures various methodsHttp://www.cnblogs.com/jerryxing/archive/2012/04/28/2475762.htmlIf the underlying database (such as Oracle) supports stored procedures, you can also perform bulk updates through stored procedures.
1. The actual demand situation is as follows:650) this.width=650; "src=" Http://img.dnbcw.info/2012413/3941000.png "alt=" 3941000.png "/>Description: In the above table, a student has many courses and scores, now want to have a SQL statement, the
Using spool to export data is sometimes a good choice, 70,000 data export needs 10s, note that the need to use @d:/spool.txt call,set Termout off will not take effect does not display to the screen. A semicolon is appended to the SQL statement and
When you update the same row of records concurrently, the post-update connection needs to wait for the first update to commit or roll back. 3 Graphs to help understand: 1 , New command window, update id=1 line, there is echo can continue to execute
In OracleRowNum, how many records are now in the output result set that match the Where condition.RowNum in the Where condition can be understood in this wayThe rownum in select can be understood as putting this record in the output result set,
1. Describe the difference between a procedure, function and anonymous PL/SQL block. Candidate should mention use of DECLARE statement, a function must return a value while a procedure doesn ' t has To.2. What's a mutating table error and how can I
1. How would determine the time zone under which a database is operating?
SELECT Dbtimezone from DUAL;
2. Explain the use of setting global_names equal to TRUE.
It ensure the use of consistent naming conventions
Solve the problem that the database cannot automatically collect statistics due to oracle11g installation.
Recently, it was found that some 11 GB databases could not automatically collect statistics. Some View query results are as follows:
SQL>
ORACLE11G started from scratch
1.2.4. Database Mode
1. Level 3 Model
(1) Conceptual Model
The schema is a description of the logical structure of the global data in the database and a public data view for all users. It mainly describes the
Oracle uses spool to export data
Using spool to export data is sometimes a good choice. It takes 10 s to export 70 thousand pieces of data. Note that you need to use @ d:/spool.txt to call it, set termout off will take effect and will not be
Myeclipse á' Ó Oracle μ È Ê ¾ ý ¿â Ê ± loexception: TheNetworkAdaptercouldnotestablishtheconnection
£1 £1. * **************************************************** Ô Ï Â Î Ì â Â £°
£ 2 £è» ° ó ° Ù {°? · Copyright? ½ â Ê í£ vcD4KPHA + signature
Installation manual for a single Oracle12c instance on the linux6.4 Platform
I. Preparations
1.1 install the required RPM package
Binutils-2.20.51.0.2-5.11.el6 (x86_64)
Glibc-2.12-1.7.el6 (x86_64)
Libgcc-4.4.4-13.el6 (x86_64)
Libstdc ++-4.4.4-13.
ORACLE11G from scratch-20141128
1. Oracle Database Overview
1.1 structure and composition
Oracle Database 11G has four editions: Enterprise Edition, Standard Edition, Standard Edition 1, and individual edition.
1.1.1, Enterprise
Oracle Auto-increment ID implementation
First, create a table:
Create table test (id number (32) not null primary key, name varchar2 (32 ));
Create sequence test_sequenceINCREMENT BY 1 -- add several start with 1 each time -- count
Several items before deleting oracle archive logs
To delete archived logs, you must confirm the following in advance:1. Whether it is a dg Environment: if it is a dg Environment, check whether the archived logs have been applied to the slave
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