1. First download the source file of the Berkeley db database from the Oracle official website.
Http://download.oracle.com/otn/berkeley-db/db-5.3.15.tar.gz
2. The downloaded file is a packaged file and needs to be decompressed using tar in the
Show variables like '% character %' After logging on to mysql by default in Linux
Mysql> show variables like '% character % ';
------------------------------------------------------| Variable_name | Value |
Modify/etc/mysql/my. cnf
Add
Report Content: TOP wait event, top SQL, top SQL command type, TOP Session content.
Specific implementation methods:SQL> @ $ Oracle_HOME/rdbms/admin/ashrpt. SQL
Current Instance~~~~~~~~~~~~~~~~
DB Id DB Name Inst Num Instance-------------------------
Oracle uses ROUND and EXTRACT for date operations:
SQL>SelectTo_char (sysdate,'Yyyy/mm/dd hh24: mi: ss')FromDual;
TO_CHAR (SYSDATE, 'yyyy/MM/DDHH2
------------------------------
18:13:20
ROUND (d, [fmt]): returns a rounding date value in the
If the directory on the master and backup is different, add the files in the pfile file on both ends. If the directory is the same, add the following files:*. Log_file_name_convert = '/u01/oradata/orcl/', '/u02/oradata/orcl /'
*.
1. Workspace Manager introduces Oracle Workspace Manager's architecture of creating different versions for different tables. Version Management (Workspace manager) is a new feature of Oracle 11g. It is embedded in the oracle database and allows
1. query the user's connection statusSelect username, sid, serial # from v $ session where username = 'maximo ';
Username sid serial #--------------------------------------------------MAXOMO 22 1MAXIMO 142 1
2. delete one by oneAlter system kill
Oracle provides a sequence object that is provided by the system for auto-incrementing serial numbers. It is usually used to generate auto-incrementing primary keys or serial numbers for database data records.
The following describes common
(1) Requirements for installing mysql5.5
The compilation and installation of mysql5.5 is a little different from that of 5.1, because mysql uses cmake as the compilation Engineering tool.
This is the biggest difference from mysql5.1, so the Toolkit
Delete diskgroup on an Oracle 11g ASM instance.
An error occurred while deleting the ORA-15027: active use of diskgroup precludes its dismount, as shown below:
SQL> drop diskgroup webdg including contents;
Drop diskgroup webdg including
1. application scenarios:Environment:Host Name ip vip sid DiskGroupDb1 1.1.1.1 1.1.1.11 bkjia DATA1Db2 1.1.1.2 1.1.1.12 bkjiadb DATA2 Expected results:Db1 and db2 can be backed up to each other. Here db1 is used as the master database, and db2 is
1: List the names, department names, and salaries of all employees.
Select a1.ename, a1.sal, a2.dname from emp a1, dept a2 where a1.deptno = a2.deptno;
2: List detailed information about all departments and number of departments
Select a2.deptno, a2.
Install MySQL in Ubuntu
To install MySQL, run the following command at a terminal prompt:
Sudo apt-get install mysql-server mysql-client # midway will let you enter a root user password sudo apt-get install php5-mysql # installation php5-mysql is to
Quick View of the database connected by the Oracle service name:
The specific operation command and result information are as follows:
------------------------------------------------------------------
C: \ Documents ents and Settings \
Show status like 'handler _ read % ';
Handler_read_first indicates the number of times the index header is read. If the value is very high, it indicates that there are many full index scans.
Handler_read_key indicates the number of times an
I. Oracle cluster architecture
Oracle RAC is the Real Application Cluster of Oracle. It is a parallel Cluster system provided by oracle. The entire Cluster system is composed of Oracle Clusterware (Cluster ready software) and Real Application
MySQL innodb supports storing tables and indexes on bare devices. The storage I/O wait problem has always been the key to affecting database performance, bare devices do not need to be processed by the file system I/O. Therefore, the performance has
Migrate a user from an Oracle database to another database. The migrated data volume is about 120 GB. If you use expdp to export data, it will take a long time. In addition, the exported DMP file copy and impdp import time cannot meet the
In Oracle databases, the tools used to execute scheduled tasks are generally DBMS_JOB packages. This package is easy to use and has a long history and is still widely used. Frankly speaking, this package's functionality satisfies the scheduling task
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