Reset the root password in MySQL 5

This article uses seven simple steps to set the root password of the MySQL 5.0 database.Operating System: DEBIAN LinuxMySQL database version: 5.0.27(1) log on with the root permission of the system;(2) stop the MySQL server: MySQL. server stop;(3)

Use ASM to create an Oracle database

Environment: OS: Red Hat Linux As 5DB: Oracle 10.2.0.4 10 Gb later, Oracle launched the Storage method managed by Using ASM (Auto Storage Management). As the Oralce version keeps changing, the ASM storage management method is becoming more and more

Example of calling Oracle stored procedure with a cursor in plus

In the previous post, I answered some questions from some netizens about how to wear a stored procedure that returns a set of records. I think many netizens already understand this. I will not talk about it more here. How to call a stored procedure

Insert Date data into Oracle database

If the current system time of Oracle is inserted, SYSDATE can be used. Insert into floor values (SYSDATE );Insert Date data to Oracle Database (to_date usage) Today, I encountered the need to insert date data into the Oracle database. I want to

Slow data deletion in DB2

Db2 has two tables, master table a B is from the table, and the foreign key of B is the primary key of.Both tables of table A and table B have more than one million data records,When A record in Table A is deleted and the primary key is used as the

Usage of the merge table storage engine in MySQL

In Mysql databases, Merge tables are somewhat similar to views. Mysql's merge engine type allows you to merge many tables with the same structure into one table. Then, you can execute the query. The results returned from multiple tables are the same

Oracle client installation method without graphical interface & amp; additional upgrade _ uninstallation _ deletion method

Operating System: SUSE Linux Enterprise Server 11 (i586)Database Version: Oracle 10.2.0.1Database Client Version: oracle10.2.0.1Introduction: in the company's recent phase II project construction, the newly purchased PC server needs to be deployed

Global Enqueue Services Deadlock causes node restart

The error message in the log is as follows:Sun Sep 02 01:29:47 2012Global Enqueue Services Deadlock detected. More info in file/U01/app/11.1.0/diag/rdbms/zzbrac2/zzbrac21/trace/zzbrac21_lmd0_11802.trc.Sun Sep 02 01:30:30 2012Thread 1 advanced to log

PostgreSQL Execution Plan Analysis

Someone recently proposed to view the Postgresql execution plan. The following describes how the cost and other related values in the PG execution plan are calculated:PG version 9.1.21. Use the terminal tool PGADMIN to press F7 to execute the

Considerations for MySQL multi-IDC deployment

Currently, no database product is dedicated to cross-IDC optimization. Theoretically, the best solution adopted by the industry is based on the Paxos protocol (currently only implemented by google, google f1), today we only discuss considerations

Storage of over 253 internal data columns in Oracle

Table creation statementDeclareV_ SQL varchar2 (32767 );BeginV_ SQL: = 'create table test (';For I in 1 .. 500 loopV_ SQL: = v_ SQL | 'name' | I | 'varchar2 (2000 ),';End loop;V_ SQL: = substr (v_ SQL, 1, length (v_ SQL)-1 );V_ SQL: = v_ SQL |

Oracle Database Audit usage example

This section is translated from Oracle metalink doc: 167293.1. An example is provided to illustrate ORACLE audit usage. ORACLE audits can be performed at the statement, object, and permission levels. Similarly, SYSDBA and SYSOPER user behavior can

Rman backup script set

Backup is a top priority for DBAs. No matter how powerful your technology is and there is no backup, you are still helpless when something goes wrong. Here is just the BACKUP command summarized in the work. The scripts collected in the future will

Use Swingbench for Oracle Database stress testing

How can we evaluate the performance of the database to be launched soon? swingbench is the best choice except Benchmark Factory for Databases, which can be described as short and concise and completely free of charge, you don't need to get your

MySQL console integer time and IP address query function call

In the past two days, a QA asked, "it is difficult to check the Database console because the database storage time is BigInt. I really don't know what it is! There is related function conversion in the impression, as follows: The storage time of the

Difference between variable binding in SQL and PL/SQL

In Oracle, there are two optional parsing processes for a submitted SQL statement: Hard parsing and soft parsing. A hard parsing requires parsing, creating execution paths, optimizing access plans, and many other steps. hard explanation not only

Differences between AS and IS in Oracle and their usage

The differences between AS and IS in Oracle and their usage are basically the same. As and is are synonyms set by ORACLE for convenience. When to use 1. When creating a stored PROCEDURE (PROCEDURE)/FUNCTION (FUNCTION) and a custom type (TPYE) and

[Backup and recovery] recover data files in noarchivelog Mode

Cause: The data file in noarchivelog mode is corrupted. Solution: Method 1 (non-RMAN backup ): Because there are no archived log files, the restoration operation cannot be performed in noarchivelog mode and can only be completed. Because no log

Oracle 11g Release 1 (11.1) Data Pump export Mode

Content Data Pump provides different export modes to detach different parts of the database. Specify the mode by entering appropriate parameters in the command line. The following are available export modes: Full Export Mode Schema mode Table

Oracle decode Functions

The DECODE function is one of the powerful functions of Oracle PL/SQL. Currently, only oracle SQL provides this function, and other database vendors do not yet implement this function. What is the purpose of DECODE? First, let's construct an example.

Total Pages: 1013 1 .... 282 283 284 285 286 .... 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.