Recent Entries 5
- pattern minor 112d agoHow does the SYS user get the SYSDBA privilege?I am using Oracle 12c on Linux. Using the enterprise manager database express, I am looking at the list of privileges and roles for the SYS user but I haven’t found the SYSDBA privilege assigned there. Is the SYS user a member of an Oracle role or Linux group with sysdba privilege? If so, which role or group?
- gotcha major 112d agoWhat is the difference between sys and system accounts in Oracle databases?There are two ways to connect to Oracle as an administrator using SQL Plus: - `sqlplus sys as sysdba` - `sqlplus system/manager` These accounts should be used for different purposes, I suppose. Which tasks are these two schemas meant for? When should I use one over the other?
- snippet critical 112d agoWhat is the maximum recursion depth, and how to increase it?I have this tail recursive function here: ``` def recursive_function(n, sum): if n < 1: return sum else: return recursive_function(n-1, sum+n) c = 998 print(recursive_function(c, 0)) ``` It works up to `n=997`, then it just breaks and spits out a `RecursionError: maximum recursion depth exceeded in comparison`. Is this just a stack overflow? Is there a way to get around it?
- snippet critical 112d agoWhat is the maximum recursion depth, and how to increase it?I have this tail recursive function here: ``` def recursive_function(n, sum): if n < 1: return sum else: return recursive_function(n-1, sum+n) c = 998 print(recursive_function(c, 0)) ``` It works up to `n=997`, then it just breaks and spits out a `RecursionError: maximum recursion depth exceeded in comparison`. Is this just a stack overflow? Is there a way to get around it?
- pattern moderate 124d ago/proc and /sys: Reading Kernel State at RuntimeNeed to inspect or tune kernel parameters at runtime without rebooting, or diagnose hardware and process state without specialized tools.