-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #403 from ministryofjustice/oasys/RCU_update
updated RCU code to run from DB server
- Loading branch information
Showing
6 changed files
with
49 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 0 additions & 9 deletions
9
ansible/roles/oasys-bip/templates/add_hidden_parameter.sql.j2
This file was deleted.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
ansible/roles/oasys-bip/templates/bip_db_parameters.sql.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
set echo on | ||
spool {{ stage }}/add_hidden_parameter.log | ||
|
||
ALTER SYSTEM SET "_allow_insert_with_update_check"=TRUE scope=spfile; | ||
ALTER SYSTEM SET shared_pool_size=150M SCOPE=SPFILE; | ||
ALTER SYSTEM SET session_cached_cursors=100 SCOPE=SPFILE; | ||
ALTER SYSTEM SET processes=500 SCOPE=SPFILE; | ||
ALTER SYSTEM SET open_cursors=800 SCOPE=SPFILE; | ||
ALTER SYSTEM SET db_files=600 SCOPE=SPFILE; | ||
alter system set log_archive_dest_1='location=use_db_recovery_file_dest valid_for=(all_logfiles,all_roles) db_unique_name={{ bip_db_name }}'; | ||
shutdown immediate | ||
startup | ||
|
||
spool off | ||
exit |