Tec&Cult
Vous souhaitez réagir à ce message ? Créez un compte en quelques clics ou connectez-vous pour continuer.
Tec&Cult

Technologie et Culture
 
AccueilAccueil  PortailPortail  GalerieGalerie  Dernières imagesDernières images  RechercherRechercher  S'enregistrerS'enregistrer  Connexion  
Sujets similaires
Rechercher
 
 

Résultats par :
 
Rechercher Recherche avancée
Derniers sujets
» Que faire à Paris le week-end du 15 août ?
Data Dictionary Tutorial EmptyJeu 11 Aoû - 11:20 par Admin

» T-shirt Mec de Paname
Data Dictionary Tutorial EmptyMer 3 Aoû - 17:04 par Admin

» dating web site uk dating free parent single
Data Dictionary Tutorial EmptyMer 3 Aoû - 10:56 par Invité

» rsvp dating website seeking bisexual
Data Dictionary Tutorial EmptyLun 1 Aoû - 2:08 par Invité

» dating french woman gay bottom seeking tops
Data Dictionary Tutorial EmptyDim 31 Juil - 21:59 par Invité

» dating philippine woman man seeking wealthy woman
Data Dictionary Tutorial EmptyVen 29 Juil - 12:51 par Invité

» dating lesbian n r cacee cobb dating lachey nick
Data Dictionary Tutorial EmptyVen 29 Juil - 3:17 par Invité

» single dating chat room relationship dating advice
Data Dictionary Tutorial EmptyJeu 28 Juil - 0:21 par Invité

» скачать порно тетя скачать порнофото семейное
Data Dictionary Tutorial EmptyJeu 21 Juil - 14:34 par Invité

Navigation
 Portail
 Index
 Membres
 Profil
 FAQ
 Rechercher
Forum
Partenaires
Forum gratuit


Tchat Blablaland
-17%
Le deal à ne pas rater :
-17% Apple MacBook Air M2 13” 512 Go (2022)
1179 € 1429 €
Voir le deal

Partagez | 
 

 Data Dictionary Tutorial

Voir le sujet précédent Voir le sujet suivant Aller en bas 
AuteurMessage
Admin
Admin


Messages : 156
Date d'inscription : 20/05/2010

Data Dictionary Tutorial _
MessageSujet: Data Dictionary Tutorial   Data Dictionary Tutorial EmptyVen 5 Nov - 12:57

http://toptech.geekaddict.net/
ata dictionary — metadata — system & object privileges — dictionary structure — ``user'' tables - ``all'' tables — ``dba'' tables — ``v$'' tables — frequently used tables — usage examples — exercises — using the dictionary in PL/SQL programs — optional exercise.
Introduction

This document presents Oracle's data dictionary, also called the system catalogue. The data dictionary is the repository of all the meta-data relevant to the objects stored in the database—and also of information concerning the DBMS itself.
Dictionary Content

Defining metadata.

The term metadata is often defined as data about data. That is, data that provides information about the tables, views, constraints, stored procedures, etc. stored within the database. If we take a table as an example, the dictionary will store information such as:
its name
when it was created and when it was last accessed
the names and data types of its attributes (i.e. structural information)
its owner, who may read and write to it (i.e. security information)
where the data is stored (i.e. physical information)
Security in Oracle.

Oracle defines two categories of privileges: object privileges and system privileges. Both categories are granted and revoked using the GRANT and REVOKE SQL constructs: GRANT <object_privilege> ON <object> TO <user> and GRANT <system_privilege> TO <user>. You have already used the former (see Introduction to Oracle.)
System privileges mainly specify the types of objects a user is allowed to manipulate (tables,...) and what (s)he can do with them. Object privileges define the access rights at the objects level (and even at the attribute level for tables).
Dictionary Structure

The data dictionary is implemented in Oracle as a set of read-only tables and views.
Figure 1: Hierachical structure of the data dictionary.

Figure 1 presents the two-level structure of the dictionary. At the root of the tree is the dictionary table, that features two attributes: table_name and comments. The comment field presents an informal description of the corresponding dictionary table.
For instance, we can request information about the dictionary table:

SQL> SELECT comments
2 FROM dictionary WHERE table_name='DICTIONARY'
3 /
and get:
Description of data dictionary tables and views
As an exercise, write a query to find out how many tables make up the data dictionary.
The second level of the dictionary is divided into four categories of tables. ``User'' tables describe the objects you own. They are only accessible to you. ``All'' tables describe the objects of all the users, and are accessible to all the users. ``DBA'' tables contain information only relevant and accessible to database administrators. And last, ``V$'' tables reflect the internal state of the DBMS and are mainly useful to DBAs for performance audit and optimisation.
You should refer to Figure 1 for a list of commonly-used dictionary tables. Also, remember that you can obtain the schema of any table with the desc command1 (see Introduction to Oracle)
Revenir en haut Aller en bas
http://toptech.geekaddict.net
 

Data Dictionary Tutorial

Voir le sujet précédent Voir le sujet suivant Revenir en haut 
Page 1 sur 1

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
Tec&Cult :: Informatique :: Oracle :: Oracle PL SQL-
Sauter vers: