Use Oracle analysis functions to randomly extract N records
Simulate a song table with a song ID and Author ID, and initialize some data
Create table music ( Music_id int primary key,
Userid int
);
Insert into music (music_id)
Select rownum rn
Check Oracle ASM disk groups
In Oracle 11gR2, a new command is added to check the normally mounted disk groups. This facilitates the maintenance of the database in the asm mode. Applicable in the following scenarios: 1: The host server is routinely
Oracle 11g Set User Password case sensitivity
Oracle 11g uses a parameter to set the password's case sensitivity. The following is an experiment: C: \ Documents and Settings \ guogang> sqlplus gg_test/gg_test@10.10.15.25 _ ggSQL * Plus: Release 10.2.
Simple configuration of ASM
Environment DescriptionSystem: Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Database Version: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 add Disk
Add three hard disks for the ASM disk group:
It is
[Oracle] v $ process
First, check which columns exist in v $ process
SYS @ ORCL> desc v $ process
Name Null? Type
-----------------------------------------------------------------------------
Addr raw (4)
PID NUMBER
SPID VARCHAR2 (12)
USERNAME
Oracle automatic backup solution in Linux
As a DBA, every full-Database Backup can be performed only when others do not use the database (I know there are other methods, this article only considers export ), with the following two parts, you can
Install MySQL 5.5 in Linux source code
This article describes how to install mysql5.5 in the source code. The system used is CentOS6.5.
1. Install the corresponding development environmentYum install-y ncurses-develYum install-y libaioYum install-y
Two solutions to SWAP insufficiency when installing Oracle in Linux
The current disk partition and SWAP partition are as follows:
[Root @ bys3 ~] # Fdisk-lDisk/dev/sda: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units =
Sqlite study notes 5: insert data, query data and delete data, sqlite Study Notes
Zeng Wen: All programming is data-centric, which makes sense.
The so-called database has no data. Next we will look at how to insert data into the table.
1. Insert
Having has some differences in Oracle and mysql, havingoraclemysql
In Oracle, having must be used in combination with group by, but in mysql, the situation is different and can be used separately.
C: \ Documents ents and Settings \ guogang> sqlplus
Query the size of a table with a lob field in the Oracle database.Note: Because the lob field has an independent lob segment for storage, for a table with a lob field, you cannot only query dba_segments.The following scripts are from:How to Compute
How to create and delete tablespaces in Oracle cainiao
1. When creating a temporary tablespace and creating a tablespace, dbf Files are generally stored in the directory where the datafile file is stored (typically under the folder named by instance
Oracle tablespace and sqlplus, oraclesqlplus1. Concept of tablespace
I have never heard of the table space term in databases that I have used before. When I saw the Oracle database some time ago, I found that the table space is everywhere. Therefore,
For different database versions of session_cached_cursorsFor the session_cached_cursors value, different db versions have different default values:9i is 010.1 010.2 is 2011.1 is 5011.2 is 5012.1 is 50It is worth noting that this parameter is a
Overview of database systems-[04] index and database system overview 04
1. Index Overview
Index creation is an effective way to speed up the query. You can create one or more indexes on the basic table based on the needs of the application
In Linux, Oracle11G RAC reports an error: file not found in the case of oracle software installation, oracle11grac
In Linux, Oracle11G RAC reports an error: file notfound is reported when oracle software is installed.1. symptom
Everything has been
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