I learned a few commands when I got in touch with Oracle and changed the password of the system user. After a few days, I forgot + _ + ..
The following describes how to unlock the system user and restore the password.
1. First, use the sys user to
1. Install the configuration
Install Mysql on both servers in the/usr/local/mysql directory (the installation steps are omitted. Refer to the relevant documentation ), the IP addresses of the two servers are 192.168.0.1 and 192.168.0.2. We use 192.16
Oracle:
Syntax:
Substr (string, a, B ):
A: Starting from the nth digit, the first digit a = 1,Last Third digit (right in sqlserver) a =-3
B: Several Characters[SQL]
Substr ('This is a Test', 6, 2) wowouldReturn 'Is'
Substr ('This is a Test', 6)
When checking the disk space used by the database files, we found that the undo tablespace used as much as 4 GB this weekend. Up to 24 GB!
According to the normal volume of things, it will not grow so fast. Now there are a few GB of memory left on
1. Create ASM FRA DGSelect PATH, MOUNT_STATUS, HEADER_STATUS, MODE_STATUS, STATE from V $ ASM_DISK;Create diskgroup fra external redundancy disk '/dev/mapper/mpath50p1 ';If you use asmlib to manage disks, use ORCL: FRADATA02
Create diskgroup fra2
The latest mysql versions require cmake compilation and installation. It is estimated that this method will be used in future versions. Therefore, we will record the installation steps and procedures for your reference.Note: This installation is the
To use Linux and MySQL, you must be familiar with Common commands. The following are some common commands collected:
1. commands for starting mysql in linux:Mysqladmin start/Ect/init. d/mysql start (the installation path of mysql is earlier)2.
Oracle10g Profile FAILED_LOGIN_ATTEMPTSOracle Database 10 Gb has a small improvement in the default user management, that is, the failure attempts to FAILED_LOGIN_ATTEMPTS passwords have become 10 times. This setting is indeed a bit problematic. If
The ANSI/ISO SQL92 standard defines the isolation levels for some database operations:
1. uncommitted read (read uncommitted)
2. read committed)
3. repeatable read)
4. serializable)
Lock Mechanism:
Shared lock: other transactions can be read but
The MySQL database was used today. The visual management tool initially used is the MySQL GUI Tools officially recommended. It will be easier to change to phpMyAdmin if it is not easy to use, but it is not convenient to set the foreign key, if you
The ORA-12154: TNS: failed to parse the specified connection identifier at plsql login.
The above situation may be caused by a problem with plsql preferences.
In plsql (Simplified Chinese Version)Tools → preferences → connection → Oracle main
If the 625 error occurs, the index memory is insufficient. You only need to increase the index memory.However, this issue is a bit special. This issue occurs during data recovery. The specific statement is as follows:Processing data in table:
Unlike table scanning, index scanning only supports full table scans. Index scanning can be divided into the following types based on the actual situation:
Unique index scan ). this scan occurs on the primary key or unique index. You can uniquely
Mysql has a large number of character sets, from the client to the result set, from the server to the database to the table to the column, you can set character sets, flexible and powerful, but it is very prone to problems, if you do not understand
The partition table function of MySQL is only supported since 5.1. If MySQL of CentOS is 5.0, You Need To uninstall MySQL and install MySQL 5.1.
The following are records of operations, errors, and solutions:
1. Disable the current mysql
When I tried to perform an exp test in my notebook today, I suddenly reported an error:
ORA-03505:TNS:The specified connection identifier cannot be resolved.
Use tnspingBelow:C: \> tnsping wwl;
TNS Ping Utilityfor 64-bit Windows: Version 10.2.0.4.0
I. pg_class:
The system table records metadata of data tables, indexes (still need to see pg_index), sequences, views, composite types, and some special link types. Note: not all fields make sense for all object types.
Name
Type
An error occurred after Oracle 10201 was upgraded to 10204.
SQL> startup
ERROR at line 1:ORA-01092: ORACLE instance terminated. Disconnection forced
Alert
Errors in file/oracle/admin/mydb2/udump/mydb2_ora_5811.trc:ORA-00704: bootstrap process
Oracle External combined command:The most important thing to understand (+) is that (+) is always placed on the side where information is scarce, and records on this side are displayed as null values.
Example:
First, preview the two tables that we
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