Administrare Oracle 9i Suport de curs

Slides:



Advertisements
Similar presentations
CHAPTER 4 Tablespaces and Datafiles. Introduction After installing the binaries, creating a database, and configuring your environment, the next logical.
Advertisements

Rollback Segments Nilendu Misra (MAR99)
11 Copyright © Oracle Corporation, All rights reserved. Managing Tables.
Module 2: Database Architecture
School of Computing and Management Sciences © Sheffield Hallam University The slowest task in any record retrieval is reading from disk (It can be 500.
Page Footer Keed Education Oracle Database Administration Basic Copyright 2009 Keed Education BV Version Concept.
Primer on Structure& Storage Analysis Primer on Structure & Storage Analysis This presentation is supposed to give a simple and brief overview for storage.
Basic Storage Concepts and Settings
System Administration Accounts privileges, users and roles
Oracle Architectural Components
Harvard University Oracle Database Administration Session 5 Data Storage.
Advanced Databases Basic Database Administration Guide to Oracle 10g 1.
INTRODUCTION TO ORACLE
Oracle Database Administration Database files Logical database structures.
IT Database Administration Section 03. Tablespaces and the DBA  Important for DBAs – logical units of database storage Made up of physical operating-system.
9/11/2015ISYS366 - Week051 ISYS366 – Week 5-6 Database Tuning - User and Rollback Data Spaces, Recovery, Backup.
Database Administration TableSpace & Data File Management
CHAPTER 2 Implementing a Database. Introduction to Creating Databases After you’ve installed the Oracle software, the next logical step is to create a.
7202ICT Database Administration Lecture 7 Managing Database Storage Part 2 Orale Concept Manuel Chapter 3 & 4.
Extents, segments and blocks in detail. Database structure Database Table spaces Segment Extent Oracle block O/S block Data file logical physical.
16 Copyright © Oracle Corporation, All rights reserved. Managing Privileges.
9 Storage Structure and Relationships. 9-2 Objectives Listing the different segment types and their uses Controlling the use of extents by segments Stating.
7 Copyright © 2004, Oracle. All rights reserved. Recovering from Noncritical Losses.
Database structure and space Management. Database Structure An ORACLE database has both a physical and logical structure. By separating physical and logical.
Introduction to Oracle. Oracle History 1979 Oracle Release client/server relational database 1989 Oracle Oracle 8 (object relational) 1999.
Week 3 Lecture 2 Basic Storage Concepts and Settings.
Week 4 Lecture 2 Advanced Table Management. Learning Objectives  Create tables with large object (LOB) columns and tables that are index-organized 
Database Storage Structures
Locally Managed Tablespaces in Oracle8i Raghav Vinjamuri
Oracle 10g Database Administrator: Implementation and Administration Chapter 5 Basic Storage Concepts and Settings.
Creating an Oracle Database. Considerations before creating a DB Planning for Database Creation –Select the standard database block size. –Use an undo.
Managing Tablespaces and Data Files
G Copyright © 2006, Oracle. All rights reserved. Miscellaneous Topics.
IST 318 Database Administration Lecture 9 Database Security.
Database structure and space Management. Database Structure An ORACLE database has both a physical and logical structure. By separating physical and logical.
19 Managing Privileges Objectives Identifying system and object privileges Granting and revoking privileges Controlling operating system or password.
8 Copyright © Oracle Corporation, All rights reserved. Managing Tablespaces and Data files.
15 Copyright © Oracle Corporation, All rights reserved. Managing Users.
1 Chapters 19 and 20  Ch. 19: By What Authority? Users Roles Grant and revoke Synonyms  Ch. 20: Changing the Oracle Surroundings Indexes Clusters Sequences.
Table spaces.
Managing Privileges.
Database structure and space Management
Database Tuning - User and Rollback Data Spaces, Recovery, Backup
Oracle 10g Database Administrator: Implementation and Administration
管理表空间和数据文件.
Februarie 2018 ASE Bucuresti
Funcţii Excel definite de utilizator (FDU) în VBA
Instrumente CASE Curs nr. 7.
Căutarea şi regăsirea informaţiei.
Dispozitive de stocare
CREATE, DROP,ALTER INSERT, UPDATE, DELETE
Căutarea şi regăsirea informaţiei.
Database structure and space Management
Software product management
SUBNETAREA.
Modificarea structurii unei tabele
Curs 6: Introducere în programarea SAS
UPB ETTI IISC Web Interactiv Floroiu Andrei.
Forms (Formulare).
A great way to create a channel of communication
Programarea in limbajul Java 2004 Lecturer: Gavrila Cristian
Componenta Managementul Investitiilor
Harti de imagini, Cadre, Stiluri
Tabele WEB.
Administrare Oracle 9i Suport de curs
Managing Tables.
Managing Privileges.
Managing Tablespaces and Data Files
ISYS366, Oracle Disk Internals
Oracle 12c Multitenant Database
Presentation transcript:

Administrare Oracle 9i Suport de curs January 11, 2019

Administrare Oracle II Ziua 4 Administrare Oracle II January 11, 2019

Administrare Oracle 9i Administrare Tablespaceuri Tipuri Tablespace: Date - Permanente Temporare – Folosite pentru sortari si alte obiecte temporare UNDO – pentru managementul spatiului undo sau rollback - Un tablespace contine mai multe obiecte din baza de date si poate fi compus din mai multe fisiere pe disk. January 11, 2019

Administrare Oracle 9i Administrare Tablespaceuri January 11, 2019

Administrare Oracle 9i Administrare Tablespaceuri Tipuri Tablespace: Managementul Extenturilor prin Dictionar. (Metadata). Managementul Extenturilor Local – folosind mape de biti in fisierele de date. LOCAL Autoallocate LOCAL Uniform size 128K – aloca extenturi de marimi egale. January 11, 2019

Administrare Oracle 9i Administrare Tablespaceuri Creare Tablespace: Create tablespace curs Datafile ‘E:\..\curs01.dbf’ size 100M Autoextend on next 20M maxsize 1024M Extent management local autoalocate Logging/Nologging January 11, 2019

Administrare Oracle 9i Administrare Tablespaceuri Stergere Tablespace Drop tablespace curs [cascade constraints] [include contents] Observatie: nu se pot sterge (drop) fisiere dintr-un tablespace, ci doar intregul tablespace. January 11, 2019

Administrare Oracle 9i Administrare Tablespaceuri Adaugare Fisier de date la un Tablespace Alter tablespace curs add datafile ‘E:\..\curs02.dbf’ size 200M; Modificare marime fisier de date. Alter tablespace curs datafile ‘E:\..\curs02.dbf’ resize 200M; January 11, 2019

Administrare Oracle 9i Administrare Tablespaceuri Creare Tablespace Temporar Create temporary tablespace temp2 tempfile ‘E:\..\temp02.dbf’ size 200M extent management uniform 256K; Default Temporary Tablespace: este oblicatoriu sa existe intr-o baza de date. January 11, 2019

Administrare Oracle 9i Administrare Tablespaceuri Creare Tablespace UNDO Init.ora/spfile.ora UNDO_MANAGEMENT =AUTO|MANUAL MANUAL – folosind segment de rollback UNDO_TABLESPACE = UNDO Create UNDO tablespace UNDO2 datafile ‘E:\..\undo02.dbf’ size 1000M; Alter system set UNDO_MANAGEMENT = UNDO2 UNDO_RETENTION = 900 January 11, 2019

Administrare Oracle 9i Administrare Tablespaceuri Un Tablespace poate fi facut Offline sau ReadOnly Observatie: Tablespace SYSTEM, UNDO si Default temporary NU pot fi facute Offline sau ReadOnly. Alter tablespace curs offline normal|immediate; Alter tablespace curs read only; January 11, 2019

Administrare Oracle 9i Administrare Tablespaceuri Creare si Mutare obiecte. Create table test(a1 number, c1 char(20)) tablespace curs; Create index idx01 on test(a1) tablespace curs; Alter table test move tablespace users; January 11, 2019

Administrare Oracle 9i Administrare Storage Structura Logica Block de Date Extent Segment = obiect in baza de date January 11, 2019

Administrare Oracle 9i Administrare Storage Structura Block Oracle Header Date PCT FREE PCT USED ROWID January 11, 2019

Administrare Oracle 9i Administrare Storage Structura Storage Obiect Create table test(col1 val1, col2 val2,…) Storage(initial 128K next 256K pctincrease 50 maxextents 200;) INITIAL – initial Extent NEXT – next Extent PCTINCREASE – procent de crestere. MAXEXTENTS – numarul maxim de extenturi January 11, 2019

Administrare Oracle 9i Administrare Utilizatori Create user user1 identified by user1 Default tablespace users temporary tablespace temp Alter user user1 identified by secret; Grant connect to user1 Grant resource to user1 January 11, 2019

Administrare Oracle 9i Administrare Utilizatori Privilegii Privilegii System – “select all tables”, “create any table” Grant create any table to user1 [with admin option] Revoke create any table from user1 Privilegii Obiect – select table Grant select on test to user1 Revoke… Privilegii speciale: sysdba si sysoper January 11, 2019

Administrare Oracle 9i Administrare Utilizatori Roluri Un rol grupeaza mai multe privilegii Un rol poate contine alte roluri Roluri predefinite: DBA – administrare, Import/Export – importul si exportul datelor Rolurile pot contine parola Create role cursrole identified by curs; Grant connect to cursrole; January 11, 2019