Oracle cloud DBCS에서 Timezone 변경


- DBCS 생성시 Timezone이  기본 UTC 로 한국시간보다 9시간 느리기 때문에 한국사용자의 편의에 맞게 바꿔 타임존을 바꿔 주도록 하자.


- Cloud 상의 DBCS 는 Single instance 이어도 grid 환경 내에 생성되므로 기존 on-premise 와 같이 RAC 환경처럼 timezone 관련한 화일을 수정해 주어야 함. (fast provisioning 이 아닌 grid infrsstructure 로 선택한 경우)


1. 우선 OS Timezone 먼저 변경 후 리부팅


-- linux 7 계열

 

timedatectl

timedatectl set-timezone Asia/Seoul

ll /etc/localtime


-- linux 6 계열


cp /etc/localtime /etc/localtime_bak

ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime


또는


vi /etc/sysconfig/clock

ZONE=""Asia/Seoul" 

UTC=true

ARC=false


Note : /etc/sysconfig/clock 내의 Zone 필드는 /usr/share/zoneinfo 의 내용과 다를수 있음.


2. Grid 환경 Timezone 변경

 

Grid 환경의 경우 해당화일도 변경해 주어야 함.


1) crs 중지

2) OS 의 timezone 변경

3) $GRID_HOME/crs/install/s_crsconfig_<nodename>_env.txt 의 TZ 변경

TZ=Asia/Seoul 

4) crs 재개


s_crsconfig_<nodename>_env.txt 화일은 /usr/share/zoneinfo 화일의 내용을 참조함.

Posted by pat98






상단의 그림과 같이 일반적으로 클라우드에서 얘기하는 임계치를 주고 Autoscale 설정과는 다른 방향이지만 

Python 스크립트와 Tag 를 이용하여 지정된 시간에 Instance 를 Up, down 하거나 CPU Core 를 up,down 하는 방법을

외국 블로거가 포스팅 해서  테스트 해 봤습니다.


내년 상반기 정도에 Oracle Cloud 에서 DBCS 도 온라인 Core 조정이 가능할것 같다는 얘기가 있으니 기대해 볼만 하겠습니다.

아직까진 기능적으로 구현되진 않아서 아래과 같은 방법으로 적용 가능합니다.


스크립트에서 구현된 세부설정 방법은 첨부화일을 보시면 됩니다.


Autoscaling 자동화.pptx



지정된 시간에 Instance Stop, Start /Scale up, down 구현가능하며 현재까지는 OCI bare Metal Autonomous ADW/ATP 만 가능합니다. 


원본의 출처는 아래와 같습니다.

https://www.oc-blog.com/oci-autoscale/





Posted by pat98


ACFS 를 쓰지 않는 환경이지만 패치나 기타 작업시 ACFS 에러로 기동이 되지 않을 때가 있다. 환장할 노릇이다. 난 아무것도

안했는데..

원이이야 다양하지만 그 중 하나의 조치 법으로 여러번 겪어 봤을 때 대부분 이 방법으로 해결됨.


증상 : 

ACFS-9459: ADVM/ACFS is not supported on this OS version: '3.10.0-327.el7.x86_64'

Unable to uninstall ADVM/ACFS

해당 메세지 발생, deconfig 정상수행되지 못함.



solution : 

deconfig 작업을 정상적으로 수행하기 위해 아래와 같이 수정후 진행함.

1. acfs module skip 조치

[root@ucmsdb01 bin]# cd /ORACLE/CRS/11.2.0.4/UMS/bin

[root@ucmsdb01 bin]# mv acfsroot acfsroot.bak

[root@ucmsdb01 bin]# mv acfsdriverstate acfsdriverstate.bak


다시 deconfig 

Successfully deconfigured Oracle clusterware stack on this node


참조문서 : 

How To Install/Reinstall Or Deinstall ACFS Modules/Installation Manually? (문서 ID 1371067.1)

ACFS Support On OS Platforms (Certification Matrix). (문서 ID 1369107.1)

Posted by pat98

Oracle OOW 2019 의 발표자료를 받을 수 있는 URL


좋은 자료가 많습니다. (일부자료는 정책상 공개되지 않은 것도 있습니다.)


https://events.rainfocus.com/widget/oracle/oow19/catalogow19?elq_mid=145059&sh=11267981501352319&cmid=WWMK190204P00041C2032


Posted by pat98

이관 작업 등에서 Tool 을 사용할수 있으면  DDL 문을 쉽게 뽑을 수가 있어서 편한데 그렇지 못한 환경이 많다.

스크립을 편하게 뽑기 위해 아래와 같이 설정해 본다.



SQL>EXECUTE DBMS_METADATA.SET_TRANSFORM_PARAM (DBMS_METADATA.SESSION_TRANSFORM,'STORAGE',false);

->  불필요한 스토리지 생성절을 제외해 준다.


SQL>SET LONG 20000 LONGCHUNKSIZE 20000 PAGESIZE 0 LINESIZE 1000 FEEDBACK OFF VERIFY OFF TRIMSPOOL ON

-> 길이가 잘려서 스크립트가 보이지 않으면 위와 같은 설정으로 셋팅


SQL> select dbms_metadata.get_ddl ('TABLE','TB_BOARD_LIST','GUEST') from dual;


정리하면 한꺼번에 SQL에서 실행


EXECUTE DBMS_METADATA.SET_TRANSFORM_PARAM (DBMS_METADATA.SESSION_TRANSFORM,'STORAGE',false);

SET LONG 20000 LONGCHUNKSIZE 20000 PAGESIZE 0 LINESIZE 1000 FEEDBACK OFF VERIFY OFF TRIMSPOOL ON

select dbms_metadata.get_ddl ('TABLE','TB_BOARD_LIST','GUEST') from dual;


  CREATE TABLE "GUEST"."TB_BOARD_LIST"

   (    "APPLYIDX" VARCHAR2(16) NOT NULL ENABLE,

        "SEQ" NUMBER(5,0) NOT NULL ENABLE,

        "ID" VARCHAR2(1),

        "TYPE" VARCHAR2(200),

        "DEPT" VARCHAR2(100),

        "DATE" VARCHAR2(8));

Posted by pat98

오라클 클라우드의 새로운 정책인 Free Tier 내역입니다.



Posted by pat98


Cloudberry 를 이용한 오라클 Object Storage 이용방법이 있어서 정리해 보았습니다.


원본 출처는 아래와 같습니다.


https://waslleysouza.com.br/2019/01/using-cloudberry-to-access-oci-object-storage/



cloudberry를 이용한 Object Storage 사용법.pptx





Posted by pat98

Oracle Cloud의 ATP(Autonomous Transaction Processing)에서 거의 대부분의 parameter 를 바꾸는것이 허용되지 않고 있다.


아래의 parameter 값만 바꿀수 있음. 


APPROX_FOR_AGGREGATION

APPROX_FOR_COUNT_DISTINCT

APPROX_FOR_PERCENTILE

AWR_PDB_AUTOFLUSH_ENABLED

FIXED_DATE

MAX_IDLE_TIME

NLS_CALENDAR

NLS_COMP

NLS_CURRENCY

NLS_DATE_FORMAT

NLS_DATE_LANGUAGE

NLS_DUAL_CURRENCY

NLS_ISO_CURRENCY

NLS_LANGUAGE

NLS_LENGTH_SEMANTICS

NLS_NCHAR_CONV_EXCP

NLS_NUMERIC_CHARACTERS

NLS_SORT

NLS_TERRITORY

NLS_TIMESTAMP_FORMAT

NLS_TIMESTAMP_TZ_FORMAT

OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES (Allowed only with ALTER SESSION)

OPTIMIZER_IGNORE_HINTS

OPTIMIZER_IGNORE_PARALLEL_HINTS

PLSCOPE_SETTINGS

PLSQL_CCFLAGS

PLSQL_DEBUG

PLSQL_OPTIMIZE_LEVEL

PLSQL_WARNINGS

STATISTICS_LEVEL (Allowed only with ALTER SESSION)

TIME_ZONE: (Allowed only with ALTER SESSION)

 

SQL> show parameter


NAME                                        TYPE        VALUE                                                                                              

------------------------------------------- ----------- -------------------------------------------------------------------------------------------------- 

DBFIPS_140                                  boolean     FALSE                                                                                              

O7_DICTIONARY_ACCESSIBILITY                 boolean     FALSE                                                                                              

active_instance_count                       integer                                                                                                        

adg_account_info_tracking                   string      LOCAL                                                                                              

allow_global_dblinks                        boolean     FALSE                                                                                              

allow_group_access_to_sga                   boolean     FALSE                                                                                              

approx_for_aggregation                      boolean     FALSE                                                                                              

approx_for_count_distinct                   boolean     FALSE                                                                                              

approx_for_percentile                       string      none                                                                                               

aq_tm_processes                             integer     40                                                                                                 

archive_lag_target                          integer     0                                                                                                  

asm_diskstring                              string                                                                                                         

asm_preferred_read_failure_groups           string                                                                                                         

audit_file_dest                             string      /u02/app/oracle/admin/eon1pod/adump                                                                

audit_sys_operations                        boolean     TRUE                                                                                               

audit_syslog_level                          string                                                                                                         

audit_trail                                 string      DB                                                                                                 

autotask_max_active_pdbs                    integer     10                                                                                                 

awr_pdb_autoflush_enabled                   boolean     TRUE                                                                                               

awr_pdb_max_parallel_slaves                 integer     10                                                                                                 

awr_snapshot_time_offset                    integer     0                                                                                                  

background_core_dump                        string      partial                                                                                            

background_dump_dest                        string      /u02/app/oracle/product/18.1.0.0/dbhome_1/rdbms/log                                                

backup_tape_io_slaves                       boolean     FALSE                                                                                              

bitmap_merge_area_size                      integer     1048576                                                                                            

blank_trimming                              boolean     FALSE                                                                                              

buffer_pool_keep                            string                                                                                                         

buffer_pool_recycle                         string                                                                                                         

cdb_cluster                                 boolean     FALSE                                                                                              

cdb_cluster_name                            string                                                                                                         

cell_offload_compaction                     string      ADAPTIVE                                                                                           

cell_offload_decryption                     boolean     TRUE                                                                                               

cell_offload_parameters                     string                                                                                                         

cell_offload_plan_display                   string      AUTO                                                                                               

cell_offload_processing                     boolean     TRUE                                                                                               

cell_offloadgroup_name                      string                                                                                                         

circuits                                    integer                                                                                                        

client_result_cache_lag                     big integer 3000                                                                                               

client_result_cache_size                    big integer 0                                                                                                  

clonedb                                     boolean     FALSE                                                                                              

clonedb_dir                                 string                                                                                                         

cluster_database                            boolean     TRUE                                                                                               

cluster_database_instances                  integer     8                                                                                                  

cluster_interconnects                       string                                                                                                         

commit_logging                              string                                                                                                         

commit_point_strength                       integer     1                                                                                                  

commit_wait                                 string                                                                                                         

commit_write                                string                                                                                                         

common_user_prefix                          string                                                                                                         

compatible                                  string      18.0.0                                                                                             

connection_brokers                          string      ((TYPE=DEDICATED)(BROKERS=1)), ((TYPE=EMON)(BROKERS=1))                                            

containers_parallel_degree                  integer     65535                                                                                              

control_file_record_keep_time               integer     7                                                                                                  

control_files                               string      +DATA/EON1POD/CONTROLFILE/current.273.1006903229, +RECO/EON1POD/CONTROLFILE/current.256.1006903229 

control_management_pack_access              string      DIAGNOSTIC+TUNING                                                                                  

core_dump_dest                              string      /u02/app/oracle/diag/rdbms/eon1pod/eon1pod1/cdump                                                  

cpu_count                                   integer     2                                                                                                  

cpu_min                                     integer     0                                                                                                  

cpu_target                                  integer     0                                                                                                  

create_bitmap_area_size                     integer     8388608                                                                                            

create_stored_outlines                      string                                                                                                         

cursor_bind_capture_destination             string      memory+disk                                                                                        

cursor_invalidation                         string      IMMEDIATE                                                                                          

cursor_sharing                              string      EXACT                                                                                              

cursor_space_for_time                       boolean     FALSE                                                                                              

data_guard_sync_latency                     integer     0                                                                                                  

data_transfer_cache_size                    big integer 0                                                                                                  

db_16k_cache_size                           big integer 0                                                                                                  

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                                                                                                  

db_big_table_cache_percent_target           string      0                                                                                                  

db_block_buffers                            integer     0                                                                                                  

db_block_checking                           string      MEDIUM                                                                                             

db_block_checksum                           string      TYPICAL                                                                                            

db_block_size                               integer     8192                                                                                               

db_cache_advice                             string      ON                                                                                                 

db_cache_size                               big integer 0                                                                                                  

db_create_file_dest                         string      +DATA                                                                                              

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     128                                                                                                

db_file_name_convert                        string                                                                                                         

db_files                                    integer     25                                                                                                 

db_flash_cache_file                         string                                                                                                         

db_flash_cache_size                         big integer 0                                                                                                  

db_flashback_retention_target               integer     480                                                                                                

db_index_compression_inheritance            string      NONE                                                                                               

db_keep_cache_size                          big integer 0                                                                                                  

db_lost_write_protect                       string      TYPICAL                                                                                            

db_name                                     string      eon1pod                                                                                            

db_performance_profile                      string                                                                                                         

db_recovery_file_dest                       string      +RECO                                                                                              

db_recovery_file_dest_size                  big integer 133543968M                                                                                         

db_recycle_cache_size                       big integer 0                                                                                                  

db_securefile                               string      ALWAYS                                                                                             

db_ultra_safe                               string      OFF                                                                                                

db_unique_name                              string      eon1pod                                                                                            

db_unrecoverable_scn_tracking               boolean     TRUE                                                                                               

db_writer_processes                         integer     10                                                                                                 

dbwr_io_slaves                              integer     0                                                                                                  

ddl_lock_timeout                            integer     0                                                                                                  

default_sharing                             string      METADATA                                                                                           

deferred_segment_creation                   boolean     TRUE                                                                                               

dg_broker_config_file1                      string      /u02/app/oracle/product/18.1.0.0/dbhome_1/dbs/dr1eon1pod.dat                                       

dg_broker_config_file2                      string      /u02/app/oracle/product/18.1.0.0/dbhome_1/dbs/dr2eon1pod.dat                                       

dg_broker_start                             boolean     FALSE                                                                                              

diagnostic_dest                             string      /u02/app/oracle                                                                                    

disable_pdb_feature                         big integer 0                                                                                                  

disk_asynch_io                              boolean     TRUE                                                                                               

dispatchers                                 string      (PROTOCOL=TCP) (SERVICE=eon1podXDB)                                                                

distributed_lock_timeout                    integer     360                                                                                                

dml_locks                                   integer     66384                                                                                              

dnfs_batch_size                             integer     4096                                                                                               

dst_upgrade_insert_conv                     boolean     TRUE                                                                                               

enable_automatic_maintenance_pdb            boolean     TRUE                                                                                               

enable_ddl_logging                          boolean     FALSE                                                                                              

enable_dnfs_dispatcher                      boolean     FALSE                                                                                              

enable_goldengate_replication               boolean     TRUE                                                                                               

enable_pluggable_database                   boolean     TRUE                                                                                               

enabled_PDBs_on_standby                     string      *                                                                                                  

encrypt_new_tablespaces                     string      CLOUD_ONLY                                                                                         

event                                       string                                                                                                         

exafusion_enabled                           integer     1                                                                                                  

external_keystore_credential_location       string      +DATA/encrypt_wallet/tde_seps                                                                      

fal_client                                  string                                                                                                         

fal_server                                  string                                                                                                         

fast_start_io_target                        integer     0                                                                                                  

fast_start_mttr_target                      integer     0                                                                                                  

fast_start_parallel_rollback                string      LOW                                                                                                

file_mapping                                boolean     FALSE                                                                                              

fileio_network_adapters                     string                                                                                                         

filesystemio_options                        string      none                                                                                               

fixed_date                                  string                                                                                                         

gcs_server_processes                        integer     8                                                                                                  

global_names                                boolean     FALSE                                                                                              

global_txn_processes                        integer     2                                                                                                  

hash_area_size                              integer     131072                                                                                             

heat_map                                    string      OFF                                                                                                

hi_shared_memory_address                    integer     0                                                                                                  

hs_autoregister                             boolean     TRUE                                                                                               

ifile                                       file                                                                                                           

inmemory_adg_enabled                        boolean     TRUE                                                                                               

inmemory_automatic_level                    string      OFF                                                                                                

inmemory_clause_default                     string                                                                                                         

inmemory_expressions_usage                  string      ENABLE                                                                                             

inmemory_force                              string      DEFAULT                                                                                            

inmemory_max_populate_servers               integer     0                                                                                                  

inmemory_optimized_arithmetic               string      DISABLE                                                                                            

inmemory_prefer_xmem_memcompress            string                                                                                                         

inmemory_prefer_xmem_priority               string                                                                                                         

inmemory_query                              string      ENABLE                                                                                             

inmemory_size                               big integer 0                                                                                                  

inmemory_trickle_repopulate_servers_percent integer     1                                                                                                  

inmemory_virtual_columns                    string      MANUAL                                                                                             

inmemory_xmem_size                          big integer 0                                                                                                  

instance_abort_delay_time                   integer     0                                                                                                  

instance_groups                             string                                                                                                         

instance_mode                               string      READ-WRITE                                                                                         

instance_name                               string      eon1pod1                                                                                           

instance_number                             integer     1                                                                                                  

instance_type                               string      RDBMS                                                                                              

instant_restore                             boolean     FALSE                                                                                              

java_jit_enabled                            boolean     TRUE                                                                                               

java_max_sessionspace_size                  integer     0                                                                                                  

java_pool_size                              big integer 0                                                                                                  

java_restrict                               string      none                                                                                               

java_soft_sessionspace_limit                integer     0                                                                                                  

job_queue_processes                         integer     4000                                                                                               

large_pool_size                             big integer 0                                                                                                  

ldap_directory_access                       string      NONE                                                                                               

ldap_directory_sysauth                      string      no                                                                                                 

license_max_sessions                        integer     0                                                                                                  

license_max_users                           integer     0                                                                                                  

license_sessions_warning                    integer     0                                                                                                  

lock_name_space                             string                                                                                                         

lock_sga                                    boolean     FALSE                                                                                              

log_archive_config                          string                                                                                                         

log_archive_dest                            string                                                                                                         

log_archive_dest_1                          string                                                                                                         

log_archive_dest_10                         string                                                                                                         

log_archive_dest_11                         string                                                                                                         

log_archive_dest_12                         string                                                                                                         

log_archive_dest_13                         string                                                                                                         

log_archive_dest_14                         string                                                                                                         

log_archive_dest_15                         string                                                                                                         

log_archive_dest_16                         string                                                                                                         

log_archive_dest_17                         string                                                                                                         

log_archive_dest_18                         string                                                                                                         

log_archive_dest_19                         string                                                                                                         

log_archive_dest_2                          string                                                                                                         

log_archive_dest_20                         string                                                                                                         

log_archive_dest_21                         string                                                                                                         

log_archive_dest_22                         string                                                                                                         

log_archive_dest_23                         string                                                                                                         

log_archive_dest_24                         string                                                                                                         

log_archive_dest_25                         string                                                                                                         

log_archive_dest_26                         string                                                                                                         

log_archive_dest_27                         string                                                                                                         

log_archive_dest_28                         string                                                                                                         

log_archive_dest_29                         string                                                                                                         

log_archive_dest_3                          string                                                                                                         

log_archive_dest_30                         string                                                                                                         

log_archive_dest_31                         string                                                                                                         

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_dest_state_1                    string      enable                                                                                             

log_archive_dest_state_10                   string      enable                                                                                             

log_archive_dest_state_11                   string      enable                                                                                             

log_archive_dest_state_12                   string      enable                                                                                             

log_archive_dest_state_13                   string      enable                                                                                             

log_archive_dest_state_14                   string      enable                                                                                             

log_archive_dest_state_15                   string      enable                                                                                             

log_archive_dest_state_16                   string      enable                                                                                             

log_archive_dest_state_17                   string      enable                                                                                             

log_archive_dest_state_18                   string      enable                                                                                             

log_archive_dest_state_19                   string      enable                                                                                             

log_archive_dest_state_2                    string      enable                                                                                             

log_archive_dest_state_20                   string      enable                                                                                             

log_archive_dest_state_21                   string      enable                                                                                             

log_archive_dest_state_22                   string      enable                                                                                             

log_archive_dest_state_23                   string      enable                                                                                             

log_archive_dest_state_24                   string      enable                                                                                             

log_archive_dest_state_25                   string      enable                                                                                             

log_archive_dest_state_26                   string      enable                                                                                             

log_archive_dest_state_27                   string      enable                                                                                             

log_archive_dest_state_28                   string      enable                                                                                             

log_archive_dest_state_29                   string      enable                                                                                             

log_archive_dest_state_3                    string      enable                                                                                             

log_archive_dest_state_30                   string      enable                                                                                             

log_archive_dest_state_31                   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_duplex_dest                     string                                                                                                         

log_archive_format                          string      %t_%s_%r.dbf                                                                                       

log_archive_max_processes                   integer     4                                                                                                  

log_archive_min_succeed_dest                integer     1                                                                                                  

log_archive_start                           boolean     FALSE                                                                                              

log_archive_trace                           integer     0                                                                                                  

log_buffer                                  big integer 184M                                                                                               

log_checkpoint_interval                     integer     0                                                                                                  

log_checkpoint_timeout                      integer     1800                                                                                               

log_checkpoints_to_alert                    boolean     FALSE                                                                                              

log_file_name_convert                       string                                                                                                         

long_module_action                          boolean     TRUE                                                                                               

max_datapump_jobs_per_pdb                   integer     100                                                                                                

max_dispatchers                             integer                                                                                                        

max_dump_file_size                          string      1G                                                                                                 

max_idle_blocker_time                       integer     5                                                                                                  

max_idle_time                               integer     0                                                                                                  

max_iops                                    integer     0                                                                                                  

max_mbps                                    integer     0                                                                                                  

max_pdbs                                    integer     4098                                                                                               

max_shared_servers                          integer                                                                                                        

max_string_size                             string      EXTENDED                                                                                           

memoptimize_pool_size                       big integer 0                                                                                                  

memory_max_target                           big integer 0                                                                                                  

memory_target                               big integer 0                                                                                                  

multishard_query_data_consistency           string      strong                                                                                             

multishard_query_partial_results            string      not allowed                                                                                        

nls_calendar                                string                                                                                                         

nls_comp                                    string      BINARY                                                                                             

nls_currency                                string                                                                                                         

nls_date_format                             string      RR/MM/DD HH24:MI:SS                                                                                

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                                                                                                         

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                                                                                                         

noncdb_compatible                           boolean     FALSE                                                                                              

object_cache_max_size_percent               integer     10                                                                                                 

object_cache_optimal_size                   integer     10240000                                                                                           

ofs_threads                                 integer     40                                                                                                 

olap_page_pool_size                         big integer 0                                                                                                  

one_step_plugin_for_pdb_with_tde            boolean     FALSE                                                                                              

open_cursors                                integer     1000                                                                                               

open_links                                  integer     4                                                                                                  

open_links_per_instance                     integer     4                                                                                                  

optimizer_adaptive_plans                    boolean     TRUE                                                                                               

optimizer_adaptive_reporting_only           boolean     FALSE                                                                                              

optimizer_adaptive_statistics               boolean     FALSE                                                                                              

optimizer_capture_sql_plan_baselines        boolean     FALSE                                                                                              

optimizer_dynamic_sampling                  integer     2                                                                                                  

optimizer_features_enable                   string      18.1.0                                                                                             

optimizer_ignore_hints                      boolean     FALSE                                                                                              

optimizer_ignore_parallel_hints             boolean     FALSE                                                                                              

optimizer_index_caching                     integer     0                                                                                                  

optimizer_index_cost_adj                    integer     100                                                                                                

optimizer_inmemory_aware                    boolean     TRUE                                                                                               

optimizer_mode                              string      ALL_ROWS                                                                                           

optimizer_secure_view_merging               boolean     TRUE                                                                                               

optimizer_use_invisible_indexes             boolean     FALSE                                                                                              

optimizer_use_pending_statistics            boolean     FALSE                                                                                              

optimizer_use_sql_plan_baselines            boolean     TRUE                                                                                               

os_authent_prefix                           string      ops$                                                                                               

os_roles                                    boolean     FALSE                                                                                              

outbound_dblink_protocols                   string      ALL                                                                                                

parallel_adaptive_multi_user                boolean     FALSE                                                                                              

parallel_degree_limit                       string      CPU                                                                                                

parallel_degree_policy                      string      MANUAL                                                                                             

parallel_execution_message_size             integer     32768                                                                                              

parallel_force_local                        boolean     FALSE                                                                                              

parallel_instance_group                     string                                                                                                         

parallel_max_servers                        integer     12                                                                                                 

parallel_min_degree                         string      1                                                                                                  

parallel_min_percent                        integer     0                                                                                                  

parallel_min_servers                        integer     704                                                                                                

parallel_min_time_threshold                 string      AUTO                                                                                               

parallel_servers_target                     integer     12                                                                                                 

parallel_threads_per_cpu                    integer     1                                                                                                  

pdb_file_name_convert                       string                                                                                                         

pdb_lockdown                                string      OLTP                                                                                               

pdb_os_credential                           string                                                                                                         

pdb_template                                string                                                                                                         

permit_92_wrap_format                       boolean     TRUE                                                                                               

pga_aggregate_limit                         big integer 6000M                                                                                              

pga_aggregate_target                        big integer 3000M                                                                                              

plscope_settings                            string      IDENTIFIERS:NONE                                                                                   

plsql_ccflags                               string                                                                                                         

plsql_code_type                             string      INTERPRETED                                                                                        

plsql_debug                                 boolean     FALSE                                                                                              

plsql_optimize_level                        integer     2                                                                                                  

plsql_v2_compatibility                      boolean     FALSE                                                                                              

plsql_warnings                              string      DISABLE:ALL                                                                                        

pre_page_sga                                boolean     TRUE                                                                                               

private_temp_table_prefix                   string      ORA$PTT_                                                                                           

processes                                   integer     10000                                                                                              

processor_group_name                        string                                                                                                         

query_rewrite_enabled                       string      TRUE                                                                                               

query_rewrite_integrity                     string      TRUSTED                                                                                            

rdbms_server_dn                             string                                                                                                         

read_only_open_delayed                      boolean     FALSE                                                                                              

recovery_parallelism                        integer     0                                                                                                  

recyclebin                                  string      on                                                                                                 

redo_transport_user                         string                                                                                                         

remote_dependencies_mode                    string      TIMESTAMP                                                                                          

remote_login_passwordfile                   string      EXCLUSIVE                                                                                          

remote_os_authent                           boolean     FALSE                                                                                              

remote_os_roles                             boolean     FALSE                                                                                              

remote_recovery_file_dest                   string                                                                                                         

replication_dependency_tracking             boolean     TRUE                                                                                               

resource_limit                              boolean     TRUE                                                                                               

resource_manage_goldengate                  boolean     FALSE                                                                                              

resource_manager_cpu_allocation             integer     92                                                                                                 

resource_manager_plan                       string      FORCE:OLTP_PLAN                                                                                    

result_cache_max_result                     integer     5                                                                                                  

result_cache_max_size                       big integer 10M                                                                                                

result_cache_mode                           string      MANUAL                                                                                             

result_cache_remote_expiration              integer     0                                                                                                  

resumable_timeout                           integer     0                                                                                                  

rollback_segments                           string                                                                                                         

scheduler_follow_pdbtz                      boolean     FALSE                                                                                              

sec_case_sensitive_logon                    boolean     TRUE                                                                                               

sec_max_failed_login_attempts               integer     3                                                                                                  

sec_protocol_error_further_action           string      (DROP,3)                                                                                           

sec_protocol_error_trace_action             string      ALERT                                                                                              

sec_return_server_release_banner            boolean     FALSE                                                                                              

serial_reuse                                string      disable                                                                                            

service_names                               string      eon1pod                                                                                            

session_cached_cursors                      integer     50                                                                                                 

session_max_open_files                      integer     10                                                                                                 

sessions                                    integer     100                                                                                                

sga_max_size                                big integer 301G                                                                                               

sga_min_size                                big integer 0                                                                                                  

sga_target                                  big integer 8000M                                                                                              

shadow_core_dump                            string      partial                                                                                            

shared_memory_address                       integer     0                                                                                                  

shared_pool_reserved_size                   big integer 2688M                                                                                              

shared_pool_size                            big integer 0                                                                                                  

shared_server_sessions                      integer                                                                                                        

shared_servers                              integer     1                                                                                                  

shrd_dupl_table_refresh_rate                integer     60                                                                                                 

skip_unusable_indexes                       boolean     TRUE                                                                                               

smtp_out_server                             string                                                                                                         

sort_area_retained_size                     integer     0                                                                                                  

sort_area_size                              integer     65536                                                                                              

spatial_vector_acceleration                 boolean     FALSE                                                                                              

spfile                                      string      +DATA/EON1POD/PARAMETERFILE/spfile.303.1006903717                                                  

sql92_security                              boolean     TRUE                                                                                               

sql_trace                                   boolean     FALSE                                                                                              

sqltune_category                            string      DEFAULT                                                                                            

standby_db_preserve_states                  string      NONE                                                                                               

standby_file_management                     string      MANUAL                                                                                             

standby_pdb_source_file_dblink              string                                                                                                         

standby_pdb_source_file_directory           string                                                                                                         

star_transformation_enabled                 string      FALSE                                                                                              

statistics_level                            string      TYPICAL                                                                                            

streams_pool_size                           big integer 0                                                                                                  

tape_asynch_io                              boolean     TRUE                                                                                               

target_pdbs                                 integer     601                                                                                                

tde_configuration                           string                                                                                                         

temp_undo_enabled                           boolean     FALSE                                                                                              

thread                                      integer     1                                                                                                  

threaded_execution                          boolean     FALSE                                                                                              

timed_os_statistics                         integer     0                                                                                                  

timed_statistics                            boolean     TRUE                                                                                               

trace_enabled                               boolean     TRUE                                                                                               

tracefile_identifier                        string                                                                                                         

transactions                                integer     16596                                                                                              

transactions_per_rollback_segment           integer     5                                                                                                  

undo_management                             string      AUTO                                                                                               

undo_retention                              integer     1800                                                                                               

undo_tablespace                             string      UNDO_8                                                                                             

unified_audit_sga_queue_size                integer     1048576                                                                                            

unified_audit_systemlog                     string                                                                                                         

uniform_log_timestamp_format                boolean     TRUE                                                                                               

use_dedicated_broker                        boolean     FALSE                                                                                              

use_large_pages                             string      TRUE                                                                                               

user_dump_dest                              string      /u02/app/oracle/product/18.1.0.0/dbhome_1/rdbms/log                                                

wallet_root                                 string                                                                                                         

workarea_size_policy                        string      AUTO                                                                                               

xml_db_events                               string      enable

Posted by pat98

Oracle RAC 12.2 설치시 MGMTDB(GIMR) 의 설치여부를 선택할수 있게 바뀌었다. (시간없어서 테스트는 못해 봄)


특정 패치를 적용해야 하며 Patch # 는 28627255 (Make GIMR Optional During a Standalone Cluster Installation) 이다.


현재시점 기준 개별 패치로는 존재하지 않는다. 해당 RU 및 RUR 부터 포함이 되어 있는듯 하다.


12.2.0.1.DBJAN2019RUR: 190416

18.5.0.0.DBRU:190115



적용은 해당 PSU 를 사전적용함 으로써 가능. 

 

gridSetup.sh -applyPSU ./29314339



Posted by pat98

dbca -silent -createDatabase help

help

   -createDatabase - Command to Create a database.

        -responseFile | (-gdbName,-templateName)

        -responseFile - <Fully qualified path for a response file>

        -gdbName <Global database name>

        -templateName <Name of an existing template in default location or the complete template path>

        [-characterSet <Character set for the database>]

        [-createAsContainerDatabase <true | false>]

                [-numberOfPDBs <Number of pluggable databases to be created, default is 0>]

                [-pdbAdminPassword <PDB Administrator user Password, required only while creating new PDB>]

                [-pdbName <Pluggable database name>]

                [-pdbOptions <A comma separated list of name:value pairs with database options to enable/disable. For example JSERVER:true,DV:false>]

                [-pdbStorageMAXSizeInMB <value>]

                [-pdbStorageMAXTempSizeInMB <value>]

                [-useLocalUndoForPDBs <true | false>  Specify false to disable local undo tablespace for PDBs.]

        [-createListener <Create a new listener to register your database. Specify in format, LISTENER_NAME:PORT>]

        [-customScripts <A comma separated list of SQL scripts which needs to be run post db creation.The scripts are run in order they are listed>]

        [-databaseConfigType <SINGLE | RAC | RACONENODE>]

                [-RACOneNodeServiceName <Service name for the service to be created for RAC One Node database. This option is mandatory when the databaseConfigType is RACONENODE>]

        [-databaseType <MULTIPURPOSE | DATA_WAREHOUSING | OLTP>]

        [-datafileDestination <Destination directory for all database files>]

        [-datafileJarLocation <Directory to place the datafiles in compressed format>]

        [-dbOptions <A comma separated list of name:value pairs with database options to enable/disable. For example JSERVER:true,DV:false>]

        [-dvConfiguration <true | false> Specify true to configure and enable database vault.]

                -dvUserName <Specify database vault owner user name>

                -dvUserPassword <Specify database vault owner password>

                [-dvAccountManagerName <Specify separate database vault account manager>]

                [-dvAccountManagerPassword <Specify database vault account manager password>]

        [-emConfiguration <DBEXPRESS | CENTRAL | BOTH | NONE>]

                [-dbsnmpPassword <DBSNMP user password>]

                [-emExpressPort <EM database express port number. Generally used during createDatabase>]

                [-emPassword <EM Admin user password>]

                [-emUser <EM Admin username to add or modify targets>]

                [-omsHost <EM management server host name>]

                [-omsPort <EM management server port number>]

        [-enableArchive <true | false> Specify true to enable archive>]

                [-archiveLogDest <Specify archive log destinations separated by comma. If archive log destination is not specified, fast recovery area location will be used for archive log files.>]

                [-archiveLogMode <AUTO|MANUAL , the default is Automatic archiving>]

        [-initParams <Comma separated list of name=value pairs>]

                [-initParamsEscapeChar <Specify escape character for comma when a specific initParam has multiple values.If the escape character is not specified backslash is the default escape character>]

        [-listeners <A comma separated list of listeners that the database can be configured with>]

        [-memoryMgmtType <AUTO|AUTO_SGA|CUSTOM_SGA>]

        [-memoryPercentage | -totalMemory]

        [-memoryPercentage <Percentage of physical memory for oracle database>]

        [-totalMemory <Memory allocated for Oracle in MB>]

        [-nationalCharacterSet <National character set for the database>]

        [-nodelist <Node names separated by comma for the database>]

        [-olsConfiguration <true | false> Specify true to configure and enable Oracle Label Security.]

                [-configureWithOID This flag configures Oracle Label Security with OID.]

        [-oracleHomeUserName <Specify Oracle Home User Name>]

        [-oracleHomeUserPassword <Specify Oracle Home User Password>]

        [-policyManaged | -adminManaged]

        [-policyManaged <Policy managed database, default option is Admin managed database>]

                -serverPoolName <Specify the single server pool name in case of create server pool or comma separated list in case of existing server pools>

                [-createServerPool <Create a new server pool, which will be used by the database>]

                        [-cardinality <Specify the cardinality of the new server pool that is to be created, default is the number of qualified nodes>]

                        [-force <To create server pool by force when adequate free servers are not available. This may affect the database which is already in running mode>]

                        [-pqCardinality <value>]

                        [-pqPoolName <value>]

                [-pqPoolName <value>]

        [-adminManaged <Admin managed database, this is default option>]

        [-recoveryAreaDestination <Destination directory for all recovery files. Specify "NONE" for disabling Fast Recovery Area>]

                [-recoveryAreaSize <Fast Recovery Area Size in MB>]

        [-redoLogFileSize <Size of each redo log file in MB>]

        [-registerWithDirService <true | false>]

                -dirServiceUserName <User name for directory service>

                [-databaseCN <Database common name>]

                [-dirServicePassword <Password for directory service>]

                [-walletPassword <Password for database wallet>]

        [-runCVUChecks <Specify "true" in order to run Cluster Verification Utility checks periodically for RAC databases.>]

        [-sampleSchema <true | false>]

        [-sid <Database system identifier>]

        [-storageType < FS | ASM >]

                -datafileDestination <Destination directory for all database files>

                [-asmsnmpPassword <ASMSNMP password for ASM monitoring>]

        [-sysPassword <SYS user password>]

        [-systemPassword <SYSTEM user password>]

        [-useOMF <true | false> Specify true to use Oracle-Managed Files.]

        [-useWalletForDBCredentials <true | false> Specify true to load database credentials from wallet]

                -dbCredentialsWalletLocation <Path of the directory containing the wallet files>

                [-dbCredentialsWalletPassword <Password to open wallet with auto login disabled>]

        [-variables <Comma separated list of name=value pairs>]

        [-variablesFile <File name of the variable-value pair for variables in the template>]



Posted by pat98

02-21 03:51
Flag Counter
Yesterday
Today
Total

글 보관함

최근에 올라온 글

달력

 « |  » 2025.2
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

최근에 달린 댓글