As a result of unexpected circumstancesORACLE initialization or shutdown in progressPersonal understanding of the main if the archive log problems,First cmd1.sqlplus/nolog into Sqlplus2.connect/as SYSDBA Connection dba3.shutdown Normal Unload
Truncate is a unique keyword in Oracle! Its role is to clear a table, in the deletion of data, it has some differences with the delete, so that they can remember:1. Functionally, truncate is the content of a table, which is equivalent to delete from
Oracle database Start and stopLog in as an Oracle userAfter logging in, enter the following command:Oracle-> Sqlplus/nologSql*plus:release 9.2.0.1.0-production on Monday April 26 09:42:00 2004Copyright (c) 1982, 2002>>, Oracle Corporation. All
I. Use of the SQL language1. in operatorThe advantages of SQL in write are easier to write and easy to understand, which is more suitable for modern software development style.But SQL performance with in is always lower, and the steps taken from
In the development we often encounter such a scene, column, such as user modification simple personal basic information, this time need to determine whether the user's basic information exists, if the first entry does not exist in the table insert a
1, optimize the sharding function (generally no one uses)
2, optimize the multi-tenancy model, including the following
Application container
The application container consists of the application root and one or more application
Oracle IntroductionOracle Database, also known as Oracle RDBMS, or Oracle. is a relational database management system of Oracle Corporation. It is a leading product in the field of database. It can be said that Oracle database system is currently
To view the usage of a tablespace:SelectA.tablespace_name,a.bytes/1024x768/1024x768"SumMB ", (a.bytes-B.bytes)/1024x768/1024x768"Used MB", b.bytes/1024x768/1024x768"Free MB",round(((A.bytes-B.bytes)/A.bytes)* -,2) "percent_used" from
1. 复制表结构及其数据:create table table_name_new as select * from table_name_old 2. 只复制表结构:create table table_name_new as select * from table_name_old where 1=2;或者:create table table_name_new like table_name_old 3. 只复制表数据:如果两个表结构一样: insert into
In Oracle 10 Gb, every time you use em in the web form, you will find that after some operations, you have to enter the preferred authentication, because Oracle will wait until you can allow
Use the operating system certificate. If the
When modifying the field in Oracle datebase in the afternoon, the system prompts "record is locked by another user". The error is conceivable.
Unlock below
1. view the lock
Select t2.username, t2.sid, t2.serial #, t2.logon _ time from V $
Query some common ports in Oracle 10 Gb.
Under oracle \ product \ 10.2.0 \ db_1 \ install \, there is a file portlist. ini
It contains common ports and can be set as follows:
Ultra Search http port No. = 5620
Enterprise Manager Agent
Use spring jdbctemplate to perform SQL operations. For each query, update, batchupdate, and execute methods, different connections are called.
Therefore, if you perform data operations on the temporary Oracle table, after you update it once, the
Use the sequence object in the SELECT statement. Check whether group by or order by exists in the same level.
Seq_a, table object tablea (F_a, f_ B)
Select seq_a.nextval, F_a, f_ B
From tablea
Group by F_a, f_ B
Order by f_ B
When we execute the
The following code uses system. Data. oracleclient (. NET for Oracle Data Provider ).
1. How to call functions with return values in Oracle PL/SQL? It can be called by matching the command and parameter objects.
The added parameter is matched as the
In the accident scenario, when I used the database, the power was suddenly cut off. Then the following symptoms appear.
Cause Analysis of Shutdown if SQL is executed after Oracle startup
Troubleshooting steps:
1. An error occurred while searching
Transaction Control
Transaction control includes coordinating multiple synchronous accesses to the same data. When a user changes the data that another user is using, Oracle uses transactions to control who can operate the data.
Transactions
A
I. Permission classification:System permission: The system specifies the user's permission to use the database. (System permissions are for users ).
Object permission: the access permission of a certain user to tables or views of other users. (For
Http://www.dezai.cn/blog/article.asp? Id = 280
I will package the relevant files here so that you don't have to look for them any more. This problem may easily occur when you are new to EBS.
Problem 1: You can use IE browser (IE6 IE7 IE8) to log
I recently encountered a lot of problems with ubuntu10.10. Now I want to sort out some of them as follows. I personally tested them.
Ubuntu version: 10.10
Oracle VM virtualbox version: 4.1.6
Problem: USB 2.0 is currently enabled for this virtual
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