Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt

This calculation shows the total number of database connections required for a single Master Controller central database.

HTML
<iframe id="result" style="width: 100%; height: 350px;border:none;" scrolling="no"></iframe>
<script>
$(document).ready(function() {
	$.ajax({
		method: 'GET',
		url: 'https://publicwiki.deltares.nl/download/attachments/194806703/databaseConnectionCountCalculator.html?api=v2',
		dataType: 'text',
		success: function(data) {
			var iframe = document.getElementById('result');
			iframe = iframe.contentWindow || ( iframe.contentDocument.document || iframe.contentDocument);
			iframe.document.open();
			iframe.document.write(data);
			iframe.document.close();
 		}
	});
});
</script>


Info
  1. Fixed number as used by the TooManyOCsProtector in the Operator Client. When the number of database connections available for Operator Clients is exceeded, no new Operator Clients can be started up until 4 enought free database connections are available.
  2. When multiple Master Controllers are sharing the same database server, the other database connections need only be counted once. Suppose the calculation for a Master Controller yields 400 connections, and there are two additional Master Controllers with identical capability for two other regions placed within the same database, then the formula for that database server is 3 x 400 - 2 x 100 = 1000.


...