This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func joinLines(lines []string, suffix, separator string) string { | |
var result string | |
for i, line := range lines { | |
result += fmt.Sprintf("%s%s", suffix, line) | |
if i < len(lines)-1 { | |
result += separator | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WITH | |
sess_time AS ( | |
SELECT sid, ROUND(SUM(value) / 1000, 0) AS milliseconds | |
FROM gv$sess_time_model | |
GROUP BY sid), | |
sess_io AS ( | |
SELECT sid, block_gets + consistent_gets + physical_reads + block_changes + consistent_changes + optimized_physical_reads AS io# | |
FROM gv$sess_io io) | |
SELECT | |
p.spid, -- The system process identifier |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ridcoo.ridc.util; | |
import java.util.Iterator; | |
import java.util.Map; | |
import oracle.stellent.ridc.model.DataBinder; | |
import oracle.stellent.ridc.model.DataObject; | |
/** | |
* This is a utility class for Remote Intradoc (RIDC). |