The real story is as follows:
When you test yourProgramOracle performs very well, and the CPU is only 20%. But when you officially run the program, you find that its CPU suddenly soars to 100%. At this time, the bosses and many users are watching,
1. User Logon
Conn system/Manager
Conn Scott/Tiger
Ii. Change the password
Enter passw and press enter to modify the settings as prompted.
3. Switch the Login User
Conn username/password
4. display the currently logged-on user
Show
After completing the training, Master Zhou immediately ran to another brother organization to solve the problem. I really admire Master Zhou.
Brother organizations have encountered two difficult problems. A primary key repetition error is reported
[1. transaction isolation]
① Changes made by an uncommitted firm cannot be viewed by other firms. Only when the transaction is committed successfully can other transactions executed after the transaction be able to see the changes made
Stop Service:
Choose Start> Run, And Enter cmd to open the command prompt.TypeSqlplus/nologConnect sys/password as sysdbaShutdown immediate Shut down the databaseThen start->Program-> Management tools-> servicesDisable the services used in Oracle
1. Install Oracle client 9 and modify the tnsnames. ora file under c: \ oracle \ ora90 \ Network \ admin:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
# Tnsnames. ora network configuration file:
Most of them are looking for information, but the problem is finally solved.
Http://topic.csdn.net/u/20090322/10/798CAD3D-FF19-4B0E-9335-DC2CCB40E40E.html
1, emca-repos drop2, emca-config dbcontrol DB-repos create
Note that the listener
When the data volume in the table increases, the data query speed slows down and the Application Program In this case, we should consider partition the table. After the table is partitioned, the logical table is still a complete table, but the data
Original article 《Compatibility Matrix for Export & Import between different Oracle versionsFrom Oracle Metalink.When you deploy a new environment, importing, exporting, and transforming the Oracle database often takes a lot of time. If you
In Oracle, if an update is performed across two tables, the SQL statement is written as follows:
Update table a set a. ID = table2.id where a. Name = table2.name
Oracle won't pass. After checking the information, you must write the SQL statement
Method 1
Step 1: log on to SQL/plus to execute the command (no sequence is available)
Set Time on; (Note: Enable time display)Set autotrace on; (Description: Enable Automatic Analysis Statistics and display the running results of SQL
■ ListenerProgram # LSNRCTL start ---> Start# LSNRCTL Stop ---> stop# LSNRCTL status ---> Status# LSNRCTL help ---> help ■ One routine can only access one database, and one database can be accessed by multiple routines at the same time.A routine
Cluster permission
ReferenceCreate ClusterCreate, change, and delete clusters in your own solutionCreate any clusterCreate a group set in any solutionAlter any clusterChange a cluster in any solutionDrop any clusterDelete a cluster in any solution
When you start an Oracle database, a database instance is created and the database startup status can be selected. Generally, you can start an instance by loading and opening the database, so that any valid user can link to the instance and perform
I. Overview Four data types are defined in oracle8: Scalar, composite, reference, and lob. The following describes their features. Ii. scalar) The valid scalar type is the same as the type used by the database columns. In addition, it has some
If you encounter a requirement in the project, you need to merge multiple rows into one row.
The table structure is as follows:
Name null type
--------------------------------------
N_sec_code not null char (6)
C_researcher_code not null varchar2 (20
Transaction processing is a key issue for all large database products. database vendors have spent a lot of energy in this aspect, different transaction processing methods may cause huge differences in database performance and functions.Transaction
I. Operator Optimization
1. In Operator
SQL statements written in are easy to write and understand, which is suitable for modern software development. However, SQL statements using in always have low performance. The following differences exist
The ID truncation method is generally used, and the layer-3 nested method is also used.
One paging method:Int I = 1;Int numpages = 14;String pages = request. getparameter ("page ");Int currentpage = 1;Currentpage = (pages = NULL )? (1): {INTEGER.
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