by Rahul Anand | May 11, 2023 | SHORT NOTES
This is the Immediate Shutdown mode. The server will send SIGQUIT to all child processes and wait for them to terminate. If any do not terminate within 5 seconds, they will be sent SIGKILL. The master server process exits as soon as all child processes have exited,...
by Rahul Anand | May 11, 2023 | SHORT NOTES
This is the Fast Shutdown mode. The server disallows new connections and sends all existing server processes SIGTERM, which will cause them to abort their current transactions and exit promptly. It then waits for all server processes to exit and finally shuts down. If...
by Rahul Anand | May 11, 2023 | SHORT NOTES
This is the Smart Shutdown mode. After receiving SIGTERM, the server disallows new connections but lets existing sessions end their work normally. It shuts down only after all of the sessions terminate. If the server is in online backup mode, it additionally waits...
by Rahul Anand | May 11, 2023 | RELATIONS & FUNCTIONS
The cartesian product of two sets A and B is defined as a set formed by all the possible ordered pairs of elements from A and B, such that the first element comes from set A and the second element comes from set B. The cartesian product is denoted as A × B. Let a and...
by Rahul Anand | May 11, 2023 | RELATIONS & FUNCTIONS
An ordered pair is a 2-tuple formed by taking two elements (generally numbers but can be alphabets, characters, words or symbols). The general form of representation is (a, b) where a and b represent two distinct objects. The important thing with ordered pairs is that...