1. Are you familiar with databases SQL2005 and Oracle?
SQL2005 is a database product of Microsoft. It is an RDBMS database, which is generally used in some medium-sized databases and cannot be used across platforms.
ORACLE is a data product of
1. Classification of constraints.
Constraints are divided into five categories: 1. not null, 2. primary key, 3. check, 4. unique, 5. foreign key.
1.1 not null Constraint
By default, the values of all columns can contain null values. When the not
Use the Oracle database cluster management tool on the rac1 node to stop the rac1 instance and use the crs cluster tool to stop the CRS cluster service:
Stop Note: Stop the instance before stopping the CRS service.
Start Note: Start CRS first. to
I analyzed the ORA-00600 error and found that there was a slight change in the Oracle 11g and Oracle 10g syntax, I hope to help everyone!
Oracle 10 Gb execution results
$ Sqlplus/as sysdba
SQL * Plus: Release 10.2.0.1.0-Production on Thu Nov 1
Summary by year, statistics:
Select sum (mymoney) as totalmoney, count (*) as sheets from mytable group by date_format (col, '% y ');
Monthly summary, statistics:
Select sum (mymoney) as totalmoney, count (*) as sheets from mytable group by
When writing code, if you need to understand the transfer relationship between Oracle's role, that is, if role A exists, you can grant A to B through grant B to C. then I want to know which role has the permission in all role.
I found a recursive
In the Oracle RAC cluster, the management of various resources also has the owner and permission issues. Crs_getperm and crs_setperm are a pair of commands used to view and modify the owner, group, and permissions of resources in the cluster. The
Recently, the company's MySQL architecture has been upgraded, from the original one-master-many slave to the DRBD + Heartbeat dual-master-many slave, and a new e-commerce website project is coming soon, DRBD + Heartbeat dual master and one slave are
DRBD: distributed replication block DeviceDRBD --- Distributed Replicated Block Device is a Linux-based software component composed of kernel modules and related programs. It facilitates replacement of shared storage systems through network images.
The following is my first complicated MySQL stored procedure, which is hereby recorded:
-- Delete a stored procedure
Drop procedure if exists proc_update_term_group;
-- Create a stored procedure
DELIMITER //
Create procedure
Record PCM lock information in GRD
It is located in the SGA of each instance
However, each instance only contains part of GRD, And the GRD of all instances is a complete GRD.
PCM lock has three main attributes: Mode, Role, and PI.
① Mode
-- S
-- X
--
During the Oracle storage test, it is found that the values of many columns in the product table may be null, resulting in not exists results inconsistent withThe test is as follows:-- Construct two tables with the same table structureSQL> desc
On the Red Hat Enterprise Linux platform, the MySQL master-slave synchronization principle is used to achieve two-way MySQL synchronization.MySQL version: 5.5.28Operating System: RHEL 5.8 32bitServer1: 192.168.1.1Configuration: my. cnf
Server-id =
Introduction to Partition
Partitioning refers to splitting a very large table or index into smaller and manageable logical segments-partitions based on the value of a column. Partitioning a table or index does not affect SQL statements and DML
In the last week, I reviewed index-related things. In addition to reviewing concept, I also saw a good document on MOS. Share with you.
Document No.: [ID 30405.1]
This article is only concerned with B * tree indexes which are currently the most
Recently, after reading the concept, I suddenly felt empty. Not much gossip.
I used PLSQL to write a calendar printing function.
Create or replace package display_date isProcedure display_spec_mon (year number, month number );End;
Create or
The current environment is a dual-node RAC with the version of Oracle 10.2.0.5. The hostname is racnode1, and racnode2 needs to add a new node racnode3.
The OS version is Oracle Linux 5.7 x86_64
Ensure normal operation of RAC
Configure public IP,
Install Oracle 10gR2 on Solaris 10.
1. Create a user, group, and oracle directory Log on as the root user and create a directory: Mkdir-p/opt/app/oracle Mkdir-p/opt/app/oracle/product/10.2.0/db Create an oracle group and user and assign users and
Oracle Database Management Experiment1. Transfer tablespace2. Create a partition table and a partition Index3fga fine-grained AuditIv. Monitoring Index usage5. Create a table with special fields6. Flashback flash back Technology1. migrate the
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