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)
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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