Oracle query execution time

One can issue the SQL*Plus command SET TIMING ON to get wall-clock times, but one can’t take, for example, fetch time out of that trivially. The AUTOTRACE setting, when used as SET AUTOTRACE TRACEONLY will suppress output, but still perform all of the work to satisfy the query and send the results back to SQL*Plus, … Read more

How does Asynchronous Javascript Execution happen? and when not to use return statement?

First of all, passing a function as a parameter is telling the function that you’re calling that you would like it to call this function some time in the future. When exactly in the future it will get called depends upon the nature of what the function is doing. If the function is doing some … Read more

C# -Four Patterns in Asynchronous execution

What you have there is the Polling pattern. In this pattern you continually ask “Are we there yet?” The while loop is doing the blocking. The Thread.Sleep prevents the process from eating up CPU cycles. Wait for Completion is the “I’ll call you” approach. IAsyncResult ar = data.BeginInvoke(null, null); //wait until processing is done with … Read more

What happens when you run a program?

This is just at a very high and abstract level of course! Executable – No Shared Libary: Client request to run application ->Shell informs kernel to run binary ->Kernel allocates memory from the pool to fit the binary image into ->Kernel loads binary into memory ->Kernel jumps to specific memory address ->Kernel starts processing the … Read more

tech