|
60 | 60 | case "$orcl_release" in |
61 | 61 | 12.1) |
62 | 62 | typeset shared_pool_size="344M" # Strict minimum 256M |
63 | | - typeset pga_aggregate_limit="1256M" |
64 | 63 | ;; |
65 | 64 | 12.2) |
66 | 65 | typeset shared_pool_size="344M" |
67 | | - typeset pga_aggregate_limit="2048M" |
68 | 66 | ;; |
69 | 67 | *) |
70 | 68 | error "Oracle Database '$orcl_release' invalid." |
|
101 | 99 | # 12.1 Quand le grid est utilisé il faut obligatoirement présicer une valeur |
102 | 100 | # minimum de 256M sinon la création échoue, sur un FS mettre 0 est OK |
103 | 101 | add_usage "[-shared_pool_size=$shared_pool_size]" "0 to disable this setting (6)" |
104 | | -# 12.1 sur un RAC fixer une limite est important. |
105 | | -add_usage "[-pga_aggregate_limit=$pga_aggregate_limit" "0 to disable this setting (7)" |
106 | 102 | add_usage "[-cdb=$cdb]" "yes|no (1)" |
107 | 103 | add_usage "[-redoSize=$redoSize]" "Redo size Mb." |
108 | 104 | add_usage "[-data=$data]" |
|
179 | 175 | shift |
180 | 176 | ;; |
181 | 177 |
|
182 | | - -pga_aggregate_limit=*) |
183 | | - pga_aggregate_limit=${1##*=} |
184 | | - shift |
185 | | - ;; |
186 | | - |
187 | 178 | -data=*) |
188 | 179 | data=${1##*=} |
189 | 180 | shift |
@@ -340,15 +331,12 @@ function make_dbca_args |
340 | 331 | typeset initParams="-initParams threaded_execution=true" |
341 | 332 |
|
342 | 333 | if [ $crs_used == no ] |
343 | | - then # sur FS il faut activer les asynch I/O |
| 334 | + then # sur FS il faut activer les asynch I/O & co. |
344 | 335 | initParams="$initParams,filesystemio_options=setall" |
345 | 336 | fi |
346 | 337 |
|
347 | | - if [[ "${db_type:0:3}" == RAC && $pga_aggregate_limit != "0" ]] |
348 | | - then |
349 | | - # set pga_aggregate_limit for test not prod. |
350 | | - initParams="$initParams,pga_aggregate_limit=$pga_aggregate_limit" |
351 | | - fi |
| 338 | + # Je sécurise le truc. |
| 339 | + initParams="$initParams,db_block_checksum=full" |
352 | 340 |
|
353 | 341 | if [ $memoryMaxTarget -ne 0 ] |
354 | 342 | then # Ne doit être définie que pour une base single : bug Oracle. |
|
0 commit comments