Simple oracle Learning

1. Obtain the current date and time Select sysdate from dual; 2. Get the date and time of the Current System Select to_char (sysdate, 'yyyy-MM-dd hh: mm: ss') from dual; 3. MONTHS_BETWEENdate1, date2): returns the number of months between date1

Oracle cold backup

-- ==================================== -- Oracle cold backup -- ==================================== I. Cold backup When the database is closed, all physical system files are copied, which is also called offline backup. Suitable for non-archive

Select query Principle

If we use the Select statement to query data from the database, how does the Oracle database work? What can we learn from this? Next, we will combine a simple select statement to look at the operating mechanism of the Oracle database background.

Key _buffer_size table_cache, an important parameter for mysql Optimization

MySQL server has many parameters, but for most beginners, many parameters often make us feel overwhelmed. But which parameters need to be adjusted and which have the greatest impact on server performance? For Myisam storage engine, there are two

Modify page size for Innodb Optimization

When MySQL uses the innodb engine, the page size defaults to 16 KB, which is too large for many applications, many applications that run well in ORACLE, for example, migrate data to innodb, find that the IO pressure is too high. MySQL does not

Master-slave synchronization of MySQL

MySQL master-slave synchronization is a mature architecture: advantages:① The query can be performed on the slave server (that is, the READ function we often call) to reduce the pressure on the master server.② Back up data from the master server to

MSSQL Server knowledge

To save system resources, we usually stop some services and start them the next time we need them. However, we often forget. For example, the MSSQL database that I connect to my local machine cannot be connected. 650) this. width = 650; "style ="

Introduction to MySQL learning and thinking

This blog post aims to read and understand your own books and use this picture to explain. If there are any mistakes, I hope you can correct them and share them with us for the purpose of mutual discussion.First, let's introduce the source of the

[Original] MySQL's improvement in reading abnormal and Error Buffer (MySQL5.6)

What is an error buffer?In MySQL, the Error Buffer only records the last error. If a new error is generated, the old one will be overwritten. If you want to know what errors are generated, you must follow "show warnings" or "show errors" after each

Mysql5.5.19/20 synchronization BUG

MySQL version 5.5.19master) Mysql5.1.59slave) During replication from a lower version to a higher version, MYSQL restarts repeatedly and a BUG message appears in the error log. 650) this. width = 650; "border =" 0 "alt =" "src ="

MySQL master-slave replication Solution

  This is the configuration of the master database for master-slave replication in mysql:  server-id       = 1   log-bin=/mysql_log/binlog/bin-log   slave-skip-errors=1062,1205   max_binlog_size = 500M   binlog_cache_size = 128K  

[Original] Simple implementation of several ORACLE functions in MYSQL

We do not need to migrate data from ORACLE to MYSQL. Below I have written three simple MYSQL functions. For your reference.Is it time? DELIMITER $$    USE `ytt`$$    DROP FUNCTION IF EXISTS `is_date`$$   

Introduction and entry to MongoDB Note 1 [first edit: typographical layout]

Liquor-making tea: a large number of sequents and examples are referenced in the book. The notes made by tea after the experiment are uploaded to the blog. Anyone with copyright rights can directly remove the article. Thank you for your

Modifying the oracle Instance name in the middle of the night

I just came back from Huilongguan, and now it's am. The miserable itrip man started to work.A two-node oracle 11g rac with the host names rac1 and rac2 respectively. The instance names are db4qg_1 and db4qg_2. The effect required is that the rac1

[Original] use of TIPS for temporary tables in replication

We know that temporary tables have the following features:1. At the SESSION level, a SESSION is automatically dropped once it is disconnected. 2. It depends on the default engine. If the default engine is INNODB, And you are crazy about using

Keepalive-mysql automatic failover script

MySQL architecture is master-slave), master failure is automatically switched to slave. You can also set it to a dual master, but there is a drawback: when the pressure on the master is very high, the latency from the top is very large, such as 2000

[Translation] SQL Server Index advanced: Level 1, index Introduction

Original article address: Stairway to SQL Server Indexes: Level 1, Introduction to Indexes This article is part of the SQL Server Index advanced series Stairway to SQL Server Indexes. Indexing is the basis of database design and shows developers the

12306 brute force SQL Injection Vulnerability ?! This is a great deal.

On oschina just now, I saw a message about the SQL injection vulnerability on the 12306 website of the Ministry of Railways, which is an absolute high-risk level. I looked at it and it was speechless. This kind of mistake is too low-level and should

Difference between SQL Server pre-read and physical read

I saw some people discussing the difference between pre-read and physical read on the internet today. I personally think that both physical read and pre-read operations require reading data from the disk to the memory, the reading time is different,

ORA-15124: ASM file name & #39; *** & #39; contains an I

The company's oracle11gRAC (2-node) database uses the storage of ASM, the operating system is RHELThere is only one control file. Yesterday I added a control file. In sqlplus, alter system set control_files = '+ DATA/kabiz/controlfile/current.260.797

Total Pages: 1013 1 .... 840 841 842 843 844 .... 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.