Restore db_recovery_file_dest_size. The default value is "0 ".

The db_recovery_file_dest_size parameter is used to limit the total size of files that can be stored in the Flash recovery area. Once the db_recovery_file_dest_size parameter is set to a non-zero value, it is "difficult" to restore to the default

Flash cache in Oralce

Usage conditions:For Linux or Solaris machines, we recommend doule buffer cache in AWR, and db file sequential read is the top wait event. Size:2-10 times the buffer cache. It cannot be less than 2 times. If ASMM is used, 2-10 times the

MySQL database Alter database processing logic

The Alter database processing process is not as scary as alter table, and the processing logic is clear. Sort the information as follows: 1. Check whether the database name is valid Call check_db_name () (table. cc: 2876) to check whether the

Oracle simple data migration script

#! /Bin/bash# Function:# Backup user_data# History:# Copyright @ 2011 zhaohaihuaExport extfile = 'date' + % Y % m % d % H % m''Export bak_dir =/home/Oracle/data_bakSu-oracle-c "exp user01/user01 file = $ bak_dir/user01. $ extfile. dmp compress = y

MySQL import/export and Performance Testing

The following prompt message is displayed in the mysql Log file, which is related to the federated engine. This option is added during compilation but is not enabled in the configuration file, for more information about the federated engine, see the

Continuous Oracle statistics based on the same data

Continuous Oracle statistics based on the same data Create table test (Id number (20 ),Val NUMBER (20))Insert into test values (1, 5 );Insert into test values (2, 10 );Insert into test values (3, 10 );Insert into test values (4, 10 );Insert into

Oracle 11g Automatic Analysis

I haven't written any logs for a long time! I have summarized some knowledge points in my work recently. Here I will record them: This article is about the automatic analysis of Oracle 11g. In 11g, automatic analysis is significantly different

Oracle dynamic SQL

Dynamic SQL syntax Only when running can Oracle check whether its format is correct The INTO and USING clauses are optional. If the SQL statement is a query statement, we can use the INTO clause. The INTO statement is used to receive the record

Replace MySQL index optimization and in or with union all

An article library contains two tables: category and article. There are 10 classified data entries in category. There are 0.2 million articles in articles. There is a "article_category" field in article that corresponds to the "category_id" field in

Oracle automatic primary key function

Oracle does not have auto-incrementing primary keys like Mysql and SQLSERVERHowever, you can use other methods to replace the automatic primary key method, including sequence creation and trigger creation.Here we will focus on sequence

SQL LIKE wildcard

Wildcard description _ Match with any single character % Matches a string that contains one or more characters. [] Matches any single character in a specific range (for example, [a-f]) or a specific set (for example, [abcdef. [^] Matches any

Oracle Database bug, table or attempt does not exist, table name contains space

I1. Start: the fields in the SQL code exported through powderDesiger are all in lower case and then directly imported to Oracle. 2. bug: The table structure cannot be modified (in PL/SQL Developer) --- including adding deletion and modification... 3.

Restore with the old control file

Backup Control File Alter database backup controlfileto '/bk/ctl. bk ';  SQL>Alter system switch logfile; Alter system switch logfile * ERROR at line 1: ORA-03113: end-of-file on communication channel  SQL> conn/as sysdba Connected to an idle

Use of stored procedures in Oracle

1. Basic Application of Stored Procedures 1. Create a stored procedure (SQL window) Create or replace procedure update_staffAsBeginUpdate staff set name = 'xy ';Commit;End update_staff; The stored procedure is suitable for updating operations,

Oracle Database Query session and deadlock Solution

-- View the number of sessionsSelect count (*) from v $ session;-- View the number of processesSelect count (*) from v $ process;-- View the number of concurrent connections of the databaseSelect * from v $ session where status = 'active ';-- View

SQL multi-condition query join in Condition Method

The front-end can select multiple different conditions under the same field, which involves the problem of SQL statement concatenation. The following is a method for processing query conditions using regular expressions. It is the simplest method I

After a shared disk is added to a VM, the ASM instance of Node 2 cannot be loaded

It is easier to add a disk image to ASM using DBCA on node 1. Two new directories are created: ARCHLOG and BACKUP. Node 2 cannot be loaded! [Oracle @ node2bdump] $ export ORACLE_SID = + ASM2 [Oracle @ node2bdump] $ asmcmd ASMCMD> ll Commands: -------

MySQL query is case sensitive.

Usually, data storage needs to specify the case sensitivity of string fields. MySQL Default queries are not case sensitive. However, as user information, once the user name is repeated, it will waste a lot of resources. In addition, it is difficult

View the usage of Oracle tablespace

1. view the size of all tablespaces SQL> select tablespace_name, sum (bytes)/1024/1024 from dba_data_files2 group by tablespace_name; 2. view the idle tablespace sizeSQL> select tablespace_name, sum (bytes)/1024/1024 from dba_free_space2 group by

An ERROR occurred while adding the foreign key in MySQL. ERROR 1452

I encountered a problem when I learned how to add Foreign keys to the database today. I first created two tables, orders and order_items. The storage engine is InnoDB and all of them have the orderid attribute (the same type), but I use the command

Total Pages: 1013 1 .... 969 970 971 972 973 .... 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.