IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Oracle Discussion :

afficher les informatios relatives à une BDD oracle


Sujet :

Oracle

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre confirmé
    Inscrit en
    Février 2010
    Messages
    105
    Détails du profil
    Informations forums :
    Inscription : Février 2010
    Messages : 105
    Par défaut afficher les informatios relatives à une BDD oracle
    bjour , je cherche un script PL/SQL ou une resquete qui permet de d'afficher tout les informations sur la BDD oracle ( details) (nom , version ...ect..) . merci d'avance

  2. #2
    Membre éprouvé
    Inscrit en
    Mai 2010
    Messages
    107
    Détails du profil
    Informations forums :
    Inscription : Mai 2010
    Messages : 107
    Par défaut
    Bonjour,

    La commande SQLPlus show ne te suffit pas ?

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    show parameter nls_language
    ou bien (je n'ai pas d'Oracle sous la main pour tester)

    ou encore


    Pour avoir un script, il te faut déjà une idée précise de ce que tu veux en sortie. Je n'ai absolument aucune idée de ce que peuvent signifier les points de suspension

    Bien à toi,

  3. #3
    Membre confirmé
    Inscrit en
    Février 2010
    Messages
    105
    Détails du profil
    Informations forums :
    Inscription : Février 2010
    Messages : 105
    Par défaut
    bjour et merci pour la reponse , moi je veux tout ce qui peut etre uen information pour la BDD oracle ( nom, version,...etc ). merci d'avance.

  4. #4
    Membre éprouvé
    Inscrit en
    Mai 2010
    Messages
    107
    Détails du profil
    Informations forums :
    Inscription : Mai 2010
    Messages : 107
    Par défaut
    As-tu essayé
    ?

  5. #5
    Membre confirmé
    Inscrit en
    Février 2010
    Messages
    105
    Détails du profil
    Informations forums :
    Inscription : Février 2010
    Messages : 105
    Par défaut
    oui merci pour votre reponse mai les parametres je les connais pas. merci d'avance.

  6. #6
    Membre éprouvé
    Inscrit en
    Mai 2010
    Messages
    107
    Détails du profil
    Informations forums :
    Inscription : Mai 2010
    Messages : 107
    Par défaut
    Hello menoran,

    As-tu pris le temps de lire les réponses?
    Si tu connais le nom du paramètre, tu peux utiliser la commande
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    show parameter NOM_DU_PARAMETRE_
    Si tu ne connais pas le nom du paramètre, tu peux utiliser la commande Le mot parametre est au singulier dans le premier exemple et au pluriel dans le second...

    Je teste et je reçois ceci moi

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
     
     
    SQL*Plus: Release 10.2.0.1.0 - Production on Mar. Mai 25 19:09:24 2010
     
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
     
     
    Connecté à :
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
     
    SQL> show parameters;
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    active_instance_count                integer                                    
    aq_tm_processes                      integer     0                              
    archive_lag_target                   integer     0                              
    asm_diskgroups                       string                                     
    asm_diskstring                       string                                     
    asm_power_limit                      integer     1                              
    audit_file_dest                      string      C:\ORACLE\PRODUCT\10.2.0\ADMIN 
                                                     \PANDORA\ADUMP                 
    audit_sys_operations                 boolean     FALSE                          
    audit_trail                          string      NONE                           
    background_core_dump                 string      partial                        
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    background_dump_dest                 string      C:\ORACLE\PRODUCT\10.2.0\ADMIN 
                                                     \PANDORA\BDUMP                 
    backup_tape_io_slaves                boolean     FALSE                          
    bitmap_merge_area_size               integer     1048576                        
    blank_trimming                       boolean     FALSE                          
    buffer_pool_keep                     string                                     
    buffer_pool_recycle                  string                                     
    circuits                             integer                                    
    cluster_database                     boolean     FALSE                          
    cluster_database_instances           integer     1                              
    cluster_interconnects                string                                     
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    commit_point_strength                integer     1                              
    commit_write                         string                                     
    compatible                           string      10.2.0.1.0                     
    control_file_record_keep_time        integer     7                              
    control_files                        string      C:\ORACLE\PRODUCT\10.2.0\ORADA 
                                                     TA\PANDORA\CONTROL01.CTL, C:\O 
                                                     RACLE\PRODUCT\10.2.0\ORADATA\P 
                                                     ANDORA\CONTROL02.CTL, C:\ORACL 
                                                     E\PRODUCT\10.2.0\ORADATA\PANDO 
                                                     RA\CONTROL03.CTL               
    core_dump_dest                       string      C:\ORACLE\PRODUCT\10.2.0\ADMIN 
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
                                                     \PANDORA\CDUMP                 
    cpu_count                            integer     1                              
    create_bitmap_area_size              integer     8388608                        
    create_stored_outlines               string                                     
    cursor_sharing                       string      EXACT                          
    cursor_space_for_time                boolean     FALSE                          
    db_block_buffers                     integer     0                              
    db_block_checking                    string      FALSE                          
    db_block_checksum                    string      TRUE                           
    db_block_size                        integer     8192                           
    db_cache_advice                      string      ON                             
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    db_cache_size                        big integer 0                              
    db_create_file_dest                  string                                     
    db_create_online_log_dest_1          string                                     
    db_create_online_log_dest_2          string                                     
    db_create_online_log_dest_3          string                                     
    db_create_online_log_dest_4          string                                     
    db_create_online_log_dest_5          string                                     
    db_domain                            string                                     
    db_file_multiblock_read_count        integer     16                             
    db_file_name_convert                 string                                     
    db_files                             integer     200                            
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    db_flashback_retention_target        integer     1440                           
    db_keep_cache_size                   big integer 0                              
    db_name                              string      pandora                        
    db_recovery_file_dest                string      C:\oracle\product\10.2.0/flash 
                                                     _recovery_area                 
    db_recovery_file_dest_size           big integer 2G                             
    db_recycle_cache_size                big integer 0                              
    db_unique_name                       string      pandora                        
    dbwr_io_slaves                       integer     0                              
    db_writer_processes                  integer     1                              
    db_16k_cache_size                    big integer 0                              
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    db_2k_cache_size                     big integer 0                              
    db_32k_cache_size                    big integer 0                              
    db_4k_cache_size                     big integer 0                              
    db_8k_cache_size                     big integer 0                              
    ddl_wait_for_locks                   boolean     FALSE                          
    dg_broker_config_file1               string      C:\ORACLE\PRODUCT\10.2.0\DB_1\ 
                                                     DATABASE\DR1PANDORA.DAT        
    dg_broker_config_file2               string      C:\ORACLE\PRODUCT\10.2.0\DB_1\ 
                                                     DATABASE\DR2PANDORA.DAT        
    dg_broker_start                      boolean     FALSE                          
    disk_asynch_io                       boolean     TRUE                           
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    dispatchers                          string      (PROTOCOL=TCP) (SERVICE=pandor 
                                                     aXDB)                          
    distributed_lock_timeout             integer     60                             
    dml_locks                            integer     748                            
    drs_start                            boolean     FALSE                          
    event                                string                                     
    fal_client                           string                                     
    fal_server                           string                                     
    fast_start_io_target                 integer     0                              
    fast_start_mttr_target               integer     0                              
    fast_start_parallel_rollback         string      LOW                            
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    fileio_network_adapters              string                                     
    file_mapping                         boolean     FALSE                          
    filesystemio_options                 string                                     
    fixed_date                           string                                     
    gc_files_to_locks                    string                                     
    gcs_server_processes                 integer     0                              
    global_context_pool_size             string                                     
    global_names                         boolean     FALSE                          
    hash_area_size                       integer     131072                         
    hi_shared_memory_address             integer     0                              
    hs_autoregister                      boolean     TRUE                           
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    ifile                                file                                       
    instance_groups                      string                                     
    instance_name                        string      pandora                        
    instance_number                      integer     0                              
    instance_type                        string      RDBMS                          
    java_max_sessionspace_size           integer     0                              
    java_pool_size                       big integer 0                              
    java_soft_sessionspace_limit         integer     0                              
    job_queue_processes                  integer     10                             
    large_pool_size                      big integer 0                              
    ldap_directory_access                string      NONE                           
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    license_max_sessions                 integer     0                              
    license_max_users                    integer     0                              
    license_sessions_warning             integer     0                              
    local_listener                       string                                     
    lock_name_space                      string                                     
    lock_sga                             boolean     FALSE                          
    log_archive_config                   string                                     
    log_archive_dest                     string                                     
    log_archive_dest_state_1             string      enable                         
    log_archive_dest_state_10            string      enable                         
    log_archive_dest_state_2             string      enable                         
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    log_archive_dest_state_3             string      enable                         
    log_archive_dest_state_4             string      enable                         
    log_archive_dest_state_5             string      enable                         
    log_archive_dest_state_6             string      enable                         
    log_archive_dest_state_7             string      enable                         
    log_archive_dest_state_8             string      enable                         
    log_archive_dest_state_9             string      enable                         
    log_archive_dest_1                   string                                     
    log_archive_dest_10                  string                                     
    log_archive_dest_2                   string                                     
    log_archive_dest_3                   string                                     
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    log_archive_dest_4                   string                                     
    log_archive_dest_5                   string                                     
    log_archive_dest_6                   string                                     
    log_archive_dest_7                   string                                     
    log_archive_dest_8                   string                                     
    log_archive_dest_9                   string                                     
    log_archive_duplex_dest              string                                     
    log_archive_format                   string      ARC%S_%R.%T                    
    log_archive_local_first              boolean     TRUE                           
    log_archive_max_processes            integer     2                              
    log_archive_min_succeed_dest         integer     1                              
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    log_archive_start                    boolean     FALSE                          
    log_archive_trace                    integer     0                              
    log_buffer                           integer     2899456                        
    log_checkpoint_interval              integer     0                              
    log_checkpoints_to_alert             boolean     FALSE                          
    log_checkpoint_timeout               integer     1800                           
    log_file_name_convert                string                                     
    logmnr_max_persistent_sessions       integer     1                              
    max_commit_propagation_delay         integer     0                              
    max_dispatchers                      integer                                    
    max_dump_file_size                   string      UNLIMITED                      
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    max_enabled_roles                    integer     150                            
    max_shared_servers                   integer                                    
    nls_calendar                         string                                     
    nls_comp                             string                                     
    nls_currency                         string                                     
    nls_date_format                      string                                     
    nls_date_language                    string                                     
    nls_dual_currency                    string                                     
    nls_iso_currency                     string                                     
    nls_language                         string      AMERICAN                       
    nls_length_semantics                 string      BYTE                           
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    nls_nchar_conv_excp                  string      FALSE                          
    nls_numeric_characters               string                                     
    nls_sort                             string                                     
    nls_territory                        string      AMERICA                        
    nls_time_format                      string                                     
    nls_timestamp_format                 string                                     
    nls_timestamp_tz_format              string                                     
    nls_time_tz_format                   string                                     
    object_cache_max_size_percent        integer     10                             
    object_cache_optimal_size            integer     102400                         
    olap_page_pool_size                  big integer 0                              
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    open_cursors                         integer     300                            
    open_links                           integer     4                              
    open_links_per_instance              integer     4                              
    optimizer_dynamic_sampling           integer     2                              
    optimizer_features_enable            string      10.2.0.1                       
    optimizer_index_caching              integer     0                              
    optimizer_index_cost_adj             integer     100                            
    optimizer_mode                       string      ALL_ROWS                       
    optimizer_secure_view_merging        boolean     TRUE                           
    os_authent_prefix                    string      OPS$                           
    os_roles                             boolean     FALSE                          
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    O7_DICTIONARY_ACCESSIBILITY          boolean     FALSE                          
    parallel_adaptive_multi_user         boolean     TRUE                           
    parallel_automatic_tuning            boolean     FALSE                          
    parallel_execution_message_size      integer     2148                           
    parallel_instance_group              string                                     
    parallel_max_servers                 integer     20                             
    parallel_min_percent                 integer     0                              
    parallel_min_servers                 integer     0                              
    parallel_server                      boolean     FALSE                          
    parallel_server_instances            integer     1                              
    parallel_threads_per_cpu             integer     2                              
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    pga_aggregate_target                 big integer 16M                            
    plsql_ccflags                        string                                     
    plsql_code_type                      string      INTERPRETED                    
    plsql_compiler_flags                 string      INTERPRETED, NON_DEBUG         
    plsql_debug                          boolean     FALSE                          
    plsql_native_library_dir             string                                     
    plsql_native_library_subdir_count    integer     0                              
    plsql_optimize_level                 integer     2                              
    plsql_v2_compatibility               boolean     FALSE                          
    plsql_warnings                       string      DISABLE:ALL                    
    pre_page_sga                         boolean     FALSE                          
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    processes                            integer     150                            
    query_rewrite_enabled                string      TRUE                           
    query_rewrite_integrity              string      enforced                       
    rdbms_server_dn                      string                                     
    read_only_open_delayed               boolean     FALSE                          
    recovery_parallelism                 integer     0                              
    recyclebin                           string      on                             
    remote_archive_enable                string      true                           
    remote_dependencies_mode             string      TIMESTAMP                      
    remote_listener                      string                                     
    remote_login_passwordfile            string      EXCLUSIVE                      
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    remote_os_authent                    boolean     FALSE                          
    remote_os_roles                      boolean     FALSE                          
    replication_dependency_tracking      boolean     TRUE                           
    resource_limit                       boolean     FALSE                          
    resource_manager_plan                string                                     
    resumable_timeout                    integer     0                              
    rollback_segments                    string                                     
    serial_reuse                         string      disable                        
    service_names                        string      pandora                        
    session_cached_cursors               integer     20                             
    session_max_open_files               integer     10                             
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    sessions                             integer     170                            
    sga_max_size                         big integer 160M                           
    sga_target                           big integer 160M                           
    shadow_core_dump                     string      partial                        
    shared_memory_address                integer     0                              
    shared_pool_reserved_size            big integer 3984588                        
    shared_pool_size                     big integer 0                              
    shared_servers                       integer     1                              
    shared_server_sessions               integer                                    
    skip_unusable_indexes                boolean     TRUE                           
    smtp_out_server                      string                                     
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    sort_area_retained_size              integer     0                              
    sort_area_size                       integer     65536                          
    spfile                               string      C:\ORACLE\PRODUCT\10.2.0\DB_1\ 
                                                     DBS\SPFILEPANDORA.ORA          
    sql_trace                            boolean     FALSE                          
    sqltune_category                     string      DEFAULT                        
    sql_version                          string      NATIVE                         
    sql92_security                       boolean     FALSE                          
    standby_archive_dest                 string      %ORACLE_HOME%\RDBMS            
    standby_file_management              string      MANUAL                         
    star_transformation_enabled          string      FALSE                          
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    statistics_level                     string      TYPICAL                        
    streams_pool_size                    big integer 0                              
    tape_asynch_io                       boolean     TRUE                           
    thread                               integer     0                              
    timed_os_statistics                  integer     0                              
    timed_statistics                     boolean     TRUE                           
    trace_enabled                        boolean     TRUE                           
    tracefile_identifier                 string                                     
    transactions                         integer     187                            
    transactions_per_rollback_segment    integer     5                              
    undo_management                      string      AUTO                           
     
    NAME                                 TYPE        VALUE                          
    ------------------------------------ ----------- ------------------------------ 
    undo_retention                       integer     900                            
    undo_tablespace                      string      UNDOTBS1                       
    use_indirect_data_buffers            boolean     FALSE                          
    user_dump_dest                       string      C:\ORACLE\PRODUCT\10.2.0\ADMIN 
                                                     \PANDORA\UDUMP                 
    utl_file_dir                         string                                     
    workarea_size_policy                 string      AUTO                           
    SQL>
    .

    Cela te convient-il ??
    Au passage, si tu préfères des SELECT, tu peux passer par la vue v$parameter.

    Bien à toi,

Discussions similaires

  1. EXT-GWT: afficher les données d'une bdd dans une grid
    Par baya1 dans le forum GWT et Vaadin
    Réponses: 9
    Dernier message: 20/11/2011, 00h14
  2. Calendrier affichant les dates d'une BDD
    Par caolsoll77 dans le forum EDI, CMS, Outils, Scripts et API
    Réponses: 0
    Dernier message: 09/06/2010, 11h48
  3. [AC-2003] Code pour afficher les utilisateurs connectés à une BDD
    Par LionelDM dans le forum IHM
    Réponses: 2
    Dernier message: 07/01/2010, 17h04
  4. Réponses: 9
    Dernier message: 31/05/2009, 03h59
  5. afficher les tables d'une BDD
    Par Samanta dans le forum Décisions SGBD
    Réponses: 2
    Dernier message: 04/07/2005, 18h09

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo