[Oracle @ bi11g bin] $./sqlplus/nolog
SQL * Plus: Release 11.2.0.1.0 Production on Fri Dec 1618: 39: 36 2011
Copyright (c) 1982,200 9, Oracle. All rights reserved.
SQL> conn/as sysdba
Connected.
SQL> show parameter memory
NAME TYPE VALUE
------
Basic Information
Database Version: Oracle 10.2.0.4
Number of nodes: 2
1. Stop all processes related to oracle, including databases, asm, node application, and crs.1.1 close all processes,
Crs_stop-all
2.2 shut down the crs background process and
Flashback version query is not a new feature of Oracle, but the 10g and 11g functions are enhanced on the basis of 9i, which may be used in some occasions. The following example shows his concept;
ConnectedToOracleDatabase11g
The mongo official website has provided a detailed introduction to mongoDB installation and configuration. Here we only list some scripts for mongoDB configuration, for your reference only.
-- Enter the bin directoryMongod-dbpath "d: \ mongodb"
--
1. Create a STRUCT type.
Create or replace type STRUCT_TEST as object (NAME VARCHAR2 (50), TITLE VARCHAR2 (30), num number (2 ));
2. Create a STRUCT table and insert STRUCT data.
Create table REF_TABLE OF STRUCT_TEST;
Insert into REF_TABLE
If the not null restriction is added when VARRAY is defined, the element of this VARRAY cannot be NULL.
Definition:
Create or replace type integer_varrayAs varray (5) of integer not null;/
Then there is a PLSQL block as follows:
DECLARE
-- Declare
Brief Analysis of Oracle data instance recovery
When the database crashes suddenly, such as a sudden power failure or hardware failure, the dirty data blocks in the buffer cache are not written into the data file, and the instance crashes, the
The following is my summary and my understanding about Oracle backup:
1. The data block size in Oracle is usually an integer multiple of the OS block size. The database is always available when the data file is directly copied to the backup media
Steps 1-7 below are for the root user
1. hardware environment requirementsCheck content minimum value check command referencePhysical memory 512 M # grep MemTotal/proc/meminfoSwap space 1.0 GB or 2 times memory size # grep SwapTotal/proc/meminfo/Tmp
Select grouping (vsaltype) as sq,
Vsaltype | 'subtotal 'vsaltype,
Sum (amount) as amount,
''Vvin,
''Vpropertywh,
''Vpropertywhdesc
FromSPTW90_INVENTORY_NCS_TMP
Group by rollup (vsaltype)
The result is as follows:
:
Analysis conclusion:
Grouping:
If
Percona provides the query_response_time_stats parameter to observe the database Response Time on the server side.Root @ test 02:29:35> show variables like 'query _ response_time_stats ';
+ --------------------------- + ------- +
| Variable_name |
1. Currently, there is only one control file. We plan to add three to ensure security.
SQL> select name from v $ controlfile;
NAME
--------------------------------------------------------------------------------
+ DATA/tyolap/controlfile/current.256
The generated environment is different from the actual environment execution plan, so the real environment does not go through the index. The test environment takes several seconds and the real environment lasts for more than two minutes.
Plan
OracleAs a well-known database product in the industry, it has been widely used in enterprises. The first step to use the software is to successfully install the software. In this exampleOracleInLinuxThe installed version isOracle 10g.
My colleague called and told me that the CPU usage of the database is too high and swap is frequently exchanged. I 'd like to take a look at it now. Here, I will record the entire process for your reference and let you provide some comments.
$ Topas
Structured Query LanguageThere are four types of statements:Data Query Language DQL-Data Query Language SELECTData Manipulation Language DML-Data Manipulation Language INSERT, UPDATE, DELETEData Definition Language DDL-Data Definition Language
[Old system] When the data volume of a table in Oracle9i database exceeds 0.1 billion, the web page remains blank for a long time when the table is queried recently. Therefore, optimize the table. The optimization plan is as follows:
1. Create a
Requirement Description
In reports with specific requirements, some layout objects may be displayed or hidden under certain conditions. There are two methods for developers to develop reports in Oracle reports builder.
Use Format Trigger for
The following describes how to install the MySQL database:
1. The master and slave servers perform the following operations respectively::1.1 consistent version1.2 initialize the table and start mysql in the background1.3 modify the root password2.
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