Chinaunix首页 | 论坛 | 博客
  • 博客访问: 387544
  • 博文数量: 120
  • 博客积分: 5051
  • 博客等级: 大校
  • 技术积分: 1255
  • 用 户 组: 普通用户
  • 注册时间: 2007-07-03 01:25
文章分类

全部博文(120)

文章存档

2011年(2)

2010年(11)

2009年(28)

2008年(26)

2007年(53)

我的朋友

分类: Oracle

2008-07-13 16:39:22

1)查看SGA
  show SGA;
2)查看初始参数
  show parameters   ---查看所有参数
  show parameters option_name  查看某个具体参数
3)有三种参数在数据库创建后不可修改
   character set
   db_block_size
   na_name
 
4)查看语言设置
SQL> show parameter NLS;
NAME                                 TYPE        VALUE
------------------------------------ ----------- ---------------------
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
nls_nchar_conv_excp                  string      FALSE
nls_numeric_characters               string
NAME                                 TYPE        VALUE
------------------------------------ ----------- ---------------------
nls_sort                             string
nls_territory                        string      AMERICA
nls_time_format                      string
nls_time_tz_format                   string
nls_timestamp_format                 string
nls_timestamp_tz_format              string
SQL> show parameter instance;
 
SQL> select userenv('language') from dual;
USERENV('LANGUAGE')
----------------------------------------------------
SIMPLIFIED CHINESE_CHINA.ZHS16GBK
 
SQL> select * from nls_database_parameters; 或者
SQL> select * from V$nls_parameters;
 
PARAMETER                                VALUE
---------------------------------------- ----------------------------
NLS_LANGUAGE                             AMERICAN
NLS_TERRITORY                            AMERICA
NLS_CURRENCY                             $
NLS_ISO_CURRENCY                         AMERICA
NLS_NUMERIC_CHARACTERS                   .,
NLS_CHARACTERSET                         ZHS16GBK
NLS_CALENDAR                             GREGORIAN
NLS_DATE_FORMAT                          DD-MON-RR
NLS_DATE_LANGUAGE                        AMERICAN
NLS_SORT                                 BINARY
NLS_TIME_FORMAT                          HH.MI.SSXFF AM
PARAMETER                                VALUE
---------------------------------------- ----------------------------
NLS_TIMESTAMP_FORMAT                     DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT                       HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT                  DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY                        $
NLS_COMP                                 BINARY
NLS_LENGTH_SEMANTICS                     BYTE
NLS_NCHAR_CONV_EXCP                      FALSE
NLS_NCHAR_CHARACTERSET                   AL16UTF16
NLS_RDBMS_VERSION                        10.2.0.1.0
 
Dai xu.
阅读(889) | 评论(0) | 转发(0) |
0

上一篇:OLTP 名词解释

下一篇:Oracle DUAL表详解

给主人留下些什么吧!~~