can filter out the maximum number of records must be written at the end of the WHERE clause.
(3) Avoid the use of ' * ' in the SELECT clause: Oracle converts ' * ' to all column names in the parsing process, which is done by querying the data dictionary, which means more time is spent
(4) Reduce the number of visits to get= ' _blank ' > Databases: Oracle performs a lot of work internally: Parsing SQL statements, estimating index utilization, binding variables, reading chunks, etc.
(5) in
$ logmnr_logs.
The real analysis result is put in V $ logmnr_contents. There is a lot of information here, and we can track the information we are interested in as needed. I will list the common tracing scenarios separately later.
6. After the entire process is completed, we can execute the dbms_logmnr.end_logmnr process to exit the logminer analysis process. You can also directly exit SQL * Plus, which will automatically terminate.
4. How to Use logminer to analyze oracle8 log files
Although
Java database connection pool configuration methods (take MySQL database as an example), database connection mysqlSeveral configuration methods for Java Database Connection Pool (taking MySQL database as an example)
1. Tomcat configuration data source:
Prerequisites: You nee
A server uses php to connect to the database, but the database address uses an external ip address, resulting in occasional access to the database connection handle requires 2 seconds. the Last Post is from u011822059 to 2013-09-0311: 29: 58 Editing example: on the server, php connects to the mysql database on the serv
Tags: Session rev Redo Ade RDBMS Rdb fixed here appDirectory
Boot to Nomount State
Set Trace
Start the database to mount State and open
Check Trace
Another way to look up the trace V$diag_info view
The demo is as follows:Boot to Nomount State[emailprotected]> startup nomount;ORACLE instance started.Total System Global Area 1720328192 bytesFixed Size 2253944 bytesVariab
Can I convert a mysql database into a desktop database when PHP is used as a website using a mysql database? I developed a PHP-language Enterprise website using the mysql database and uploaded it to some space. it costs more to use the mysql database, how can I directly conv
Acid principles for relational database compliance
(1) A Atomic nature:
All operations in a transaction, either done or done, the success of the transaction is the success of all operations in the transaction, as long as one operation fails, the entire transaction fails and needs to be rolled back.
(2) C Consistency:
The database should always be in a consistent state, and the operation of the transaction w
Triggers look at me a smattering of, see a trigger blog of a brother is particularly good, after reading, I feel that the boring gourd finally enlightened. First share this sharp good article, and then My personal supplement and mind map.
Share:
Introduction to Triggers :
Triggers (trigger) is a special kind of stored procedure, its execution is not by the program call, also does not need manual operation, it is by the event to trigger, the event everybody should be very familiar with, for insta
Problem description: After a SQL Server database backup is restored, the word "restricted access" appears after the database nameProblem two description: When restoring to a SQL Server database, Tip: System.Data.SqlClient.SqlError: Because the database is in use, you cannot gain exclusive access to the
are about a fictitious book sales company installed PUBS2 or PUBS3 database, allowing users to practice Transact-SQL commands in a secure and predictable environment 4, application database application database, is user-defined created for the development and production environment. ASE is a multi-library server that can create multiple databases. ==============
database. Under the/rdbms/admin of the Oracle Database installation home directory, there is a script file named Utlchain.sql. This is a script file that is brought from the Oracle database. We can use tools such as a text editor to open this script file and see that the script file is used primarily to create a table
backup mode will generate additional redo data, resulting in additional load on the system. If you do not manually back up data files, there is no reason to keep any data files in backup mode.
Specific operations:
Back up data files:SQL> select file_name, tablespace_name from dba_data_files;-- View all data file locations and tablespaces
SQL> ALTER TABLESPACE users BEGIN BACKUP;-- Place the tablespace in backup mode
$ Cp $ ORACLE_HOME/oradata/orcl/users *. dbf/u02/backup/datafile-- Copy the dat
In the LAN, the main store summarizes the branch sales and other information by establishing a backup database for the Branch database in the general store database, and then collecting the required information in the database of the branch to be counted.
This tells us that the dat
I have two master databases, A and B.
For historical reasons, database a only allows synchronization of database AA and database BB, that is, database A creates a new database, and database B does not synchronize data.
OK. Start
Label:
Database Paradigm
when designing the relational database, we should design a reasonable relational database to conform to different specifications, and the different norm requirements are called different paradigms, and the higher paradigm database redundancy is lower.
There
Tags: awr awrextr.sql awrload.sqlWe can migrate (import) the AWR metadata to a different database, import the lower version to a higher version, generate an AWR report with a higher version of the database, and use some new features such asSQL ordered by physical Reads (unoptimized)SQL ordered by User I/O Wait timeExport :Testnode:/home/oracle$export oracle_sid=wy1Testnode:/home/oracle$sqlplus/as SYSDBASql>
Tags: OracleObjective:Morning to work, development to inform the database connection is not, say is reported memory overflow, check memory free space is really insufficient, then will high memory process end, but after the end is not connected, restart the database, tragedy occurred, the database actually Kai not come, because the day before changed the next Dast
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.