- 1. Check the status of each node to ensure that no node is down
select * from nodes;
- 2. Set the maximum number of sessions
=> SELECT CURRENT_VALUE FROM CONFIGURATION_PARAMETERS WHERE parameter_name='MaxClientSessions';
CURRENT_VALUE
---------------
50
(1 row)
ALTER DATABASE mydb SET MaxClientSessions = 0;
- 3. Close all sessions
select * from sessions;
SELECT CLOSE_ALL_SESSIONS();
- 4. Open admintools and stop the library
- 5. The maximum number of conversations to reply after the operation is completed
ALTER DATABASE CSAP SET MaxClientSessions = 50;
<script type="text/javascript"> $(function () { $('pre.prettyprint code').each(function () { var lines = $(this).text().split('\n').length; var $numbering = $('<ul/>').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i <= lines; i++) { $numbering.append($('<li/>').text(i)); }; $numbering.fadeIn(1700); }); }); </script>