Error Code: 1418. This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* wan...
分类:
数据库 时间:
2015-05-21 14:08:35
阅读次数:
128
common.go ``` // copy code from github.com/shirou/gopsutil package sys import ( "bufio" "os" "strings" ) // ReadLines reads contents from file and splits them by new line. // A convenience wrapper ...
分类:
其他好文 时间:
2015-05-21 09:19:30
阅读次数:
280
之前看过很多数据库报告,直到最近出现过两次严重的性能问题,非常有代表性,所以记录下来。
一次是报Oracle进程把数据库服务器的CPU弄到100%
SQL ordered by Gets 是在内存中取数据,单位是次,是消耗CPU的主要源头,在调试SQL的时候,大部分时候都是通过它来衡量性能。下面是实际的AWR报告,相当骇人啊:
SQL ordered by Gets
...
分类:
数据库 时间:
2015-05-13 12:51:23
阅读次数:
558
题目A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99.Find the larges...
分类:
其他好文 时间:
2015-05-13 00:51:35
阅读次数:
228
错误信息: [Err] 1418 - This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_funct...
分类:
其他好文 时间:
2015-05-08 16:43:07
阅读次数:
129
uva 11151 Longest PalindromeA palindrome is a string that reads the same from the left as it does from the right. For example, I, GAG and MADAM are palindromes, but ADAM is not. Here, we consider also...
分类:
其他好文 时间:
2015-05-06 17:56:58
阅读次数:
116
http://www.yunqa.de/delphi/doku.php/products/sqlitespy/indexSQLiteSpy is a fast and compactGUIdatabase manager for SQLite. It reads SQLite3 files and ...
分类:
数据库 时间:
2015-04-22 13:29:06
阅读次数:
193
通过以下语句查看到发生物理读较大的SQL语句selectexecutions,
disk_reads,
buffer_gets,
round((buffer_gets-disk_reads)/buffer_gets,2)Hit_radio,
round(disk_reads/executions,2)reads_per_run,
sql_text,
sql_id,
last_load_time
Fromv$sqlarea
Whereexecutions>0
andb..
分类:
数据库 时间:
2015-04-20 19:01:49
阅读次数:
237
The API:int read4(char *buf)reads 4 characters at a time from a file.The return value is the actual number of characters read. For example, it returns...
分类:
其他好文 时间:
2015-04-17 08:26:13
阅读次数:
150
1.使用sql动态视图如下:select top 10 b.text,a.total_worker_time,a.total_logical_reads,a.total_elapsed_time,execution_countfrom sys.dm_exec_query_stats aCROSS A...
分类:
数据库 时间:
2015-04-16 23:31:10
阅读次数:
209