oracle dba fundamentals

Read about oracle dba fundamentals, The latest news, videos, and discussion topics about oracle dba fundamentals from alibabacloud.com

Before hardware engineers move storage, Oracle DBA preparation and review work

Label:This article is original article, reprint please indicate source: http://blog.csdn.net/msdnchina/article/details/42425491Hardware engineers move storage (new plus storage, do other things for storage), and before they do, Oracle DBA is ready to work:1.VG information hpux:vgdisplay,pvdisplay, Vgdisplay-v vg_data Aix is: Lsvg-o, lsvg,lsvg datavg,lsvg-l datavg, LSPV 2.OCR + VD information (if RAC)

Oracle Table Space Fundamentals (1)

management tools that can support dynamically expanding logical volumes, or support striping (data across disk distribution) or RAID. You should avoid using large file table spaces on systems that do not support striping, as this will not benefit parallel execution and Rman parallel backups When the disk group that the tablespace is using may not have enough space, and the only way to extend the tablespace is to avoid using large file table spaces when adding data files to another disk

Oracle Stored Procedure Fundamentals

Declare isOK Integer; V_EVENT_ID number (10); V_isagain number (2); V_rate number (2); V_sender Char (one): = ' 13800138000 '; Cursor Cursorvar (p_sender varchar2) is a select event_id, Isagain, rate from call_event where sender = P_senDer --Declaring cursors Begin Open Cursorvar (V_sender);--Open the cursor and pass the argument in parentheses. Loop fetch Cursorvar into v_event_id, V_isagain, v_rate; --Take value Exi

Command Highlights for Oracle DBA (recommended)

resource_limit=true;The Nineth chapter: User Management1.create a user:database authenticationSql> create user Juncky identified by Oracle default Tablespace usersSql> Temporary tablespace temp quota 10m on data password expiresql> [Account Lock|unlock] [profile Profilename|default];2.change User quota on Tablespacesql> ALTER user juncky quota 0 on users;3.drop a usersql> drop User Juncky [cascade];4. Monitor UserView:dba_users, Dba_ts_quotasTenth ch

Oracle Database Fundamentals 1

t_users MODIFY uname NOT NULL means that the uname field in the T_users table is set to non-empty.2. PRIMARY KEY constraintsTo ensure uniqueness of the data in a table, there can be only one primary key in a table, but the primary key may consist of multiple fields (federated primary key, composite primary key), but this is not recommended.You can set the key in the key option when you are building a table: primary key; For example, setting the name as the primary key can be written like this:

Oracle Note II, Common DBA command line

see the exported file Expdat.dmp 9. Import role Data A. First enter the DOS console B, enter the exported data directory, such as: CD C:/userdir C, Input command, IMP D, enter user name, password, import this data to the user E, followed by the return, enter key can be F, prompt to enter the user name, password, this is the data from which user to export, is that user's 10. Sqlplus Common Commands A, set Linesize 120 can set the Sqlplus display buffer size; B, set pageSize 20 to set the displ

Oracle Table Space Fundamentals (5)

... including contents and datafiles//The operation will generate a record in the database alarm log fileSecond, Management Sysaux table spaceWhen the database is created, the Sysaux table space is installed, and the Sysaux table space acts as a secondary table hole space for the system. Some database components that previously used separate table spaces are now uniformly stored in the Sysaux table space. If the Sysaux tablespace is not available, the core functionality of the database is not a

Oracle DBA reflects virtual machines in ODA unable to allocate memory

The final reason for the investigation is due to an issue with the Oracle database itself parameter settings.1. How to adjust the memory and CPU for the virtual machine:OAKCLI Configure VM Uat-ihub-oracle-db-prefnode 1-maxvcpu 8–vcpu 8-maxmemory 16g-memory 16G2. Add a disk:OAKCLI Create Vdisk uatdb_vdisk-repo sharedrepo-size 50g-type gkfxOAKCLI Modify VM Uat-ihub-oracle

Oracle Note II, Common DBA command line

. Import role DataA. First enter the DOS consoleB, enter the exported data directory, such as: CD C:/userdirC, Input command, IMPD, enter user name, password, import this data to the userE, followed by the return, enter key can beF, prompt to enter the user name, password, this is the data from which user to export, is that user's10. Sqlplus Common CommandsA, set Linesize 120 can set the Sqlplus display buffer size;B, set pageSize 20 to set the display size per pageC, edit the current SQL statem

Oracle DBA Responsibility, and personal need to master content

Tags: style color data SP AMP c work AD managementORACLE DBA responsibility is basically equivalent to daily work.0. Database design1. Creation and management of schema Objects (table, index, etc.)2. Management of things, such as concurrency3. SQL Tuning4. User management, Rights Management5. Real-time operational monitoring (with Toad, Statspack), for SQL-related content, tuning------------------------------------------------------------------------

Chapter One Oracle Database Fundamentals

function, aggregate function, analytic function)6.1 Single-line function6.1.1 character functions6.1.2 Date functionSysdate-System Current dateExample: select Sysdate from dual;--->dual: Virtual table6.1.3 Numeric functions6.1.4 conversion function6.1.1.1 To_char ()Convert to String typeExample: SELECT to_char (sysdate, ' YYYY ' year "fmmm" month "FMDD" Day "HH24:MI:SS") from dual;--Output system Current date6.1.1.2 to_date ()Convert to date typeExample: SELECT to_date (' 2012-01-12 ', ' YYYY-M

Oracle remote connection does not reach DBA user

link is not# Sqlnet.ora Network Configuration File:d:\app\user\product\11.2.0\dbhome_3\network\admin\sqlnet.ora# Generated by Oracle configuration tools.# This file was actually generated by NETCA. But if customers choose to# install ' Software only ', this file wont exist and without the native# Authentication, they'll is not being able to connect to the database on NT.Sqlnet. Authentication_services= (NTS)NAMES. Directory_path= (TNSNames, Ezconnect

Oracle Table Space Fundamentals (4)

blocking the completion of the statement and inform the owner of the transaction, if necessary, to break the transaction.Sql> Select Sql_text,saddr from V$sqlarea,v$session 2 where v$sqlarea.address=v$session.sql_address 3 and Sql_text Like ' Alter tablespace% '; Sql_text saddr----------------------------------------------------------------- -alter tablespace test_tbs01 Read Only 0000000070f6fe40-in//This is the session address where the table space is set as a read-only statement sql> select S

Some useful DBA statements from Oracle

statistics, calculate */select count (*) from ScheMa.tablename; --Statistics out the total number of rows in the table select DISTINCT (ind_row) from Schema.tablename; --the distinct value of the column in which the index is counted--is then calculated purely by hand?/* Query waits for events */select event, sum (Decode (wait_time, 0, 1, 0)) "Current Wait", Sum (Decode (wai T_time, 0, 0, 1)) "Not currently waiting", COUNT (*) "Total" from v$session_wait GROUP by event ORDER by Count (*) desc;

Oracle Fundamentals-Sequence

ORACLE11GR2) (7) Nocycle: Indicates stop generation of next value after maximum value is reached (8) Cycle: Indicates that the loop continues to generate an ordinal from n after the maximum value has been reached (9) Conditions that must be met: n>=n4,n Three, the effect demonstration 1. Create a sequence name seq_1 the start value is 1, the maximum value is 5, and then increment the 1 nocycle,sql statement as follows: 1 CREATE with 1 by 1 5 1 ten;   As shown in 1-1, the sequence seq_1 is cre

(3) Oracle Fundamentals-Table

secondsDate representation range: January 1, 4712 A.D.-December 31, 9999 CE②timestampAccurate to fractional seconds①blobMaximum storage size 4GB, stored in binary form②clobMaximum storage size 2GB, stored as a string· Manage tables Basic syntax: CREATE TABLE table_name(column_name data_type, ...);Example: CREATE TABLE userinfo(ID Number (6,0) primary key,Username VARCHAR2 (20),Password VARCHAR2 (20),RegDate Date);  ① Adding fieldsSyntax: ALTER TABLE table_name ADD column_name data_type;    

Oracle Fundamentals 2

TABLE Table name" Column,column. "As subquery, such as: Modify Table Structure 1. Add fields ALTER TABLE name add field name data type [default defaults] 2. Modify fields (data type and default values) ALTER TABLE name modify field name data type [default value] 3. Modify the field name ALTER TABLE name rename column name to new column name 4. Delete a field ALTER TABLE table name drop column name Modify Table Name Rename old table name to new table name Delete a table DROP table Name Add no

Oracle 11g SQL Fundamentals 03--Type conversion function

There are two types of data type conversions for Oracle: Implicit conversions and explicit conversions. Try to use explicit conversions when you use them.Implicit conversions are typically Varchar2 or char conversions to number and date, or vice versa. Example,hir_date> ' 1-jan-2014 ' string is implicitly converted to the date type, and select ' 53.5 ' +23 from dual is implicitly converted to the number type for the string.An explicit conversion:An ex

Oracle 11g DRCP Connection Method-Fundamentals

Learning Oracle is a complex and tedious process. In the face of a vast array of Oracle official materials, new features, MOS materials and a variety of internal knowledge, we always feel overwhelmed. However, this is often the fun we keep, accumulate and pursue.In Oracle 11g, a third connection method that breaks traditional private/shared connections is present

Fundamentals of the Oracle buffer cache

. V.X$BH and buffer header each buffer has a record in the X$BH. There is an important field in the X$bh TCH ,TCH is the acronym for Touch, indicating the number of accesses to a buffer, the more times thebuffer is accessed, the more sought That is, there may be a problem with hot spot block competition queries the current database for the busiest buffer Select *From (select Addr,ts#,file#,dbarfil,dbablk,tchFrom x$bhOrder by tch Desc)Where rownumIn conjunction with the information in dba

Total Pages: 7 1 .... 3 4 5 6 7 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.