Prepare MySQL-related operation commands

Test environment: MySQL 5.0.45 [Note: You can use MySQL> select version (); in mysql to view the database VERSION] 1. Connect to MySQL. Format: mysql-h host address-u user name-p User Password 1. Connect to MySQL on the local machine. First open the

Linux 64-bit, MySQL, Swap and Memory

The VM for Linux prefers system cache over application memory. What does this mean? The best way I can explain is by example. Imagine you have 32 GB of RAM MySQL is set to take 20 GB of RAM for a process based buffer and up to 6 M for the varous

Comparison Between Common DB2 functions and Oracle Functions

1. type conversion functions: decimal, double, Integer, smallint, real, Hex (arg ), Date, time, timestamp, char, varchar Common examples: -- Convert to string type Oracle: select to_char (15.5000) from dual; DB2: select char (15.5000) from sysibm.

How to Upgrade Oracle 9i to 10g

You can choose from two solutions: 1. Use the database upgrade assistant (dbua) upgrade utility provided by oracle to directly upgrade 9i database to 10 Gb. 2. Create a 10 Gb database and use the import/export (imp/exp) utility of oracle to migrate

Methods for changing the MySQL user name and password

Method 1:Under/usr/local/mysql/bin:./Mysqladmin-u root password 'new _ password'This method is usually used for installation. Method 2:In mysql:Mysql> UPDATE user SET password = PASSWORD ('new _ password') WHERE user = 'root ';Mysql> flush

Introduction to CentOS MySQL installation and compilation

CentOS mysql has been widely used but is constantly updated. Here we will introduce how to install and use CentOS mysql to help you install and update CentOS mysql. Install CentOS mysql; 1] Extract[Root @ localhost root] #

Application Study Notes for MongoDB in PHP

1. Connection The default mongodb port is 27017. Therefore, we can connect to mongodb: $ mongodb = new Mongo ('localhost') or specify the IP address and port $ mongodb = new Mongo ('192. 168.127.1: 27017 ') the port can be changed. If mongodb

MySQL DNS query is disabled

-- According to friends, the performance improvement is obvious after DNS is turned off.-- The mysql. cnf file is in/ect/init. d/mysql. cnf.Recently, I found that two MySQL servers suddenly went viral at noon (suddenly) and kept failing. Restarting

MySQL sorts IP addresses

Use the built-in functions of mysql: INET_ATON (expr)Given the dotted-quad representation of a network address as a string, returns an integer that represents the numeric value of the address. Addresses may be 4-or 8-byte addresses.Mysql> SELECT

Setting initialization parameters for Oracle scope takes effect immediately

I. background of testing requirements1. Have you asked me if the initialization parameter can take effect immediately after modification? I did a test immediately and concluded that yes. 2. in linux, Oracle data blocks are 8 KB by default and

ORA-02097, ORA-00837 (a small problem encountered when modifying memory_target)

Today I saw a little questions about ocp, I did a small experiment, encountered two errors of ORA-02097 and ORA-00837; Question: Q484. You set the following parameters in the parameter fileand restarted the database: MEMORY_MAX_TARGET =

Oracle DG modify logical Standby data

Compared with physical Standby, logical Standby management is a little more complicated. This is the difference between one half database management and two databases (assuming that the Data Guard environment is one master and one slave). After all,

TNS-12547 and TNS-12555 troubleshooting

Resolving Oracle listener startup errors 1, TNS-12547: TNS-12547: TNS: lost contactTNS-12560: TNS: protocol adapter errorTNS-00517: Lost contactLinux Error: 104: Connection reset by peer No 127.0.0.1 localhost is found in/etc/hosts. Modify/etc/hosts

Simple query of multiple Oracle tables

1. Oracle multi-Table query Multi-Table query refers to queries based on two or more tables or views. Question: Display employee name, employee salary, and department name [Cartesian set ]? Select t. ename, t. sal, t1.dnamefrom emp t, dept t1where t.

Oracle expdp filtering and Parallelism

Preface: We know there are three ways to call the Data Pump. Here, I will never use the command line but the first script method. The reasons for dropping the command line are as follows: ① Operating system restrictions on the number of CLI

Role and permission granting in Oracle

Oracle provides three standard roles (role) for compatibility with earlier versions: connect, resource, and dba. 1. connect role (connection role) Temporary users, especially those who do not need to create tables, usually only connect them. Connect

MySQL binlog log analysis tool written in Python

Because the addition, deletion, and modification of the MySQL database suddenly increase, the operations on the tables that need to be queried are very frequent. I wrote a small tool to analyze the bin-log and find the tables for addition, deletion,

ORA-00119, ORA-00130 appears at Oracle startup

Start Oracle of the VM and execute startup. the following error code is displayed, SQL> startup ORA-00119: invalid specification for system parameter LOCAL_LISTENERORA-00130: invalid listener address '(ADDRESS = (PROTOCOL = TCP) (HOST = orapy) (PORT

Hash join Principle

These three table join methods are the most basic connection methods for Oracle:Principle of nested loop joinPrinciple of sortmerge join Hashjoin) Number of visits: both the driver table and the driver table can only be accessed 0 times or

Rename an Oracle Database Server

In the case of network transformation, You need to modify the name or IP address of the database server. This will affect the normal operation of the Oracle database, because the listener and many database tools need the correct machine name or IP

Total Pages: 1013 1 .... 914 915 916 917 918 .... 1013 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.