Linux – vi, less, vim, view shortcuts
Command Mode gg – beginning of file shift-g (G) – end of file Insert Mode Last Line Mode
Command Mode gg – beginning of file shift-g (G) – end of file Insert Mode Last Line Mode
To allow access to phpMyAdmin on a server from a remote browser, edit the file: /etc/httpd/conf.d/phpMyAdmin.conf and add lines as follows (example allow remote access from 192.168.1.107) # phpMyAdmin – Web based MySQL browser written…
Oracle RAC Links Oracle FAQ – RAC Interconnect Grid Infrastructure Installation Guide Configuring Networks for Oracle Grid Infrastructure and Oracle RAC Oracle RAC and Clusterware Interconnect Virtual Local Area Networks (VLANs)
lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 12 On-line CPU(s) list: 0-11 Thread(s) per core: 2 Core(s) per socket: 6 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family:…
expdp “\/ as sysdba\” SCHEMAS=xyz,abc ….. FLASHBACK_TIME=systimestamp SQL> select current_scn from v$database; expdp “\/ as sysdba\” SCHEMAS=xyz,abc ….. FLASHBACK_SCN=nnnnnnnnnn where nnnnnnnnnn = current_scn from the previous query
Server Licensing Example
Must be done from an installed runInstaller (not from distribution) oracle@server1: ./runInstaller -silent -detachHome -invPtrLoc /etc/oraInst.loc ORACLE_HOME=”/oracle/product/112_64/ORCL” Starting Oracle Universal Installer… Checking swap space: must be greater than 500 MB. Actual 10111 MB Passed The…
Solaris: /var/opt/oracle/oraInst.loc Linux: /etc/oraInst.loc Windows: registry key: \\HKEY_LOCAL_MACHINE\\Software\Oracle\inst_loc
Not exhaustive select * from v$sga_target_advice select * from v$pga_target_advice select * from v$shared_pool_advice — Dictionary Cache Hit Ratio SELECT (1 – (Sum(getmisses)/(Sum(gets) + Sum(getmisses)))) * 100 FROM v$rowcache; — ———————– — Library Cache Hit…
On Linux, to delete files older than 10 days find /from/path -name ‘*.txt’ -type f -mtime +10 -exec rm {} \;