forked from alibaba/druid
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
237 additions
and
12 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
CREATE TABLE druid_datasource ( | ||
id bigint(20) AUTO_INCREMENT NOT NULL, | ||
domain varchar(45) NOT NULL, | ||
app varchar(45) NOT NULL, | ||
cluster varchar(45) NOT NULL, | ||
host varchar(128), | ||
pid int(10) NOT NULL, | ||
collectTime datetime NOT NULL, | ||
name varchar(256), | ||
dbType varchar(256), | ||
driverClassName varchar(256), | ||
url varchar(256), | ||
activeCount int(10), | ||
activePeak int(10), | ||
activePeakTime bigint(20), | ||
poolingCount int(10), | ||
poolingPeak int(10), | ||
poolingPeakTime bigint(20), | ||
connectCount bigint(20), | ||
closeCount bigint(20), | ||
waitThreadCount bigint(20), | ||
notEmptyWaitCount bigint(20), | ||
notEmptyWaitNanos bigint(20), | ||
logicConnectErrorCount bigint(20), | ||
physicalConnectCount bigint(20), | ||
physicalCloseCount bigint(20), | ||
physicalConnectErrorCount bigint(20), | ||
executeCount bigint(20), | ||
errorCount bigint(20), | ||
commitCount bigint(20), | ||
rollbackCount bigint(20), | ||
pstmtCacheHitCount bigint(20), | ||
pstmtCacheMissCount bigint(20), | ||
startTransactionCount bigint(20), | ||
clobOpenCount bigint(20), | ||
blobOpenCount bigint(20), | ||
PRIMARY KEY (id), | ||
KEY(collectTime, domain, app) | ||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
CREATE TABLE druid_springmethod ( | ||
id bigint(20) AUTO_INCREMENT NOT NULL, | ||
domain varchar(45) NOT NULL, | ||
app varchar(45) NOT NULL, | ||
cluster varchar(45) NOT NULL, | ||
host varchar(128), | ||
pid int(10) NOT NULL, | ||
collectTime datetime NOT NULL, | ||
className varchar(256), | ||
signature varchar(256), | ||
runningCount int(10), | ||
concurrentMax int(10), | ||
executeCount bigint(20), | ||
executeErrorCount bigint(20), | ||
executeTimeNano bigint(20), | ||
jdbcFetchRowCount bigint(20), | ||
jdbcUpdateCount bigint(20), | ||
jdbcExecuteCount bigint(20), | ||
jdbcExecuteErrorCount bigint(20), | ||
jdbcExecuteTimeNano bigint(20), | ||
jdbcCommitCount bigint(20), | ||
jdbcRollbackCount bigint(20), | ||
jdbcPoolConnectionOpenCount bigint(20), | ||
jdbcPoolConnectionCloseCount bigint(20), | ||
jdbcResultSetOpenCount bigint(20), | ||
jdbcResultSetCloseCount bigint(20), | ||
lastErrorClass varchar(256), | ||
lastErrorMessage varchar(256), | ||
lastErrorStackTrace varchar(256), | ||
lastErrorTimeMillis bigint(20), | ||
h1 bigint(20), | ||
h10 bigint(20), | ||
h100 bigint(20), | ||
h1000 bigint(20), | ||
h10000 int(10), | ||
h100000 int(10), | ||
h1000000 int(10), | ||
hmore int(10), | ||
PRIMARY KEY (id), | ||
KEY(collectTime, domain, app) | ||
) |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
CREATE TABLE druid_webapp ( | ||
id bigint(20) AUTO_INCREMENT NOT NULL, | ||
domain varchar(45) NOT NULL, | ||
app varchar(45) NOT NULL, | ||
cluster varchar(45) NOT NULL, | ||
host varchar(128), | ||
pid int(10) NOT NULL, | ||
collectTime datetime NOT NULL, | ||
contextPath varchar(256), | ||
runningCount int(10), | ||
concurrentMax int(10), | ||
requestCount bigint(20), | ||
sessionCount bigint(20), | ||
jdbcFetchRowCount bigint(20), | ||
jdbcUpdateCount bigint(20), | ||
jdbcExecuteCount bigint(20), | ||
jdbcExecuteTimeNano bigint(20), | ||
jdbcCommitCount bigint(20), | ||
jdbcRollbackCount bigint(20), | ||
osMacOSXCount bigint(20), | ||
osWindowsCount bigint(20), | ||
osLinuxCount bigint(20), | ||
osSymbianCount bigint(20), | ||
osFreeBSDCount bigint(20), | ||
osOpenBSDCount bigint(20), | ||
osAndroidCount bigint(20), | ||
osWindows98Count bigint(20), | ||
osWindowsXPCount bigint(20), | ||
osWindows2000Count bigint(20), | ||
osWindowsVistaCount bigint(20), | ||
osWindows7Count bigint(20), | ||
osWindows8Count bigint(20), | ||
osAndroid15Count bigint(20), | ||
osAndroid16Count bigint(20), | ||
osAndroid20Count bigint(20), | ||
osAndroid21Count bigint(20), | ||
osAndroid22Count bigint(20), | ||
osAndroid23Count bigint(20), | ||
osAndroid30Count bigint(20), | ||
osAndroid31Count bigint(20), | ||
osAndroid32Count bigint(20), | ||
osAndroid40Count bigint(20), | ||
osAndroid41Count bigint(20), | ||
osAndroid42Count bigint(20), | ||
osAndroid43Count bigint(20), | ||
osLinuxUbuntuCount bigint(20), | ||
browserIECount bigint(20), | ||
browserFirefoxCount bigint(20), | ||
browserChromeCount bigint(20), | ||
browserSafariCount bigint(20), | ||
browserOperaCount bigint(20), | ||
browserIE5Count bigint(20), | ||
browserIE6Count bigint(20), | ||
browserIE7Count bigint(20), | ||
browserIE8Count bigint(20), | ||
browserIE9Count bigint(20), | ||
browserIE10Count bigint(20), | ||
browser360SECount bigint(20), | ||
deviceAndroidCount bigint(20), | ||
deviceIpadCount bigint(20), | ||
deviceIphoneCount bigint(20), | ||
deviceWindowsPhoneCount bigint(20), | ||
botCount bigint(20), | ||
botBaiduCount bigint(20), | ||
botYoudaoCount bigint(20), | ||
botGoogleCount bigint(20), | ||
botMsnCount bigint(20), | ||
botBingCount bigint(20), | ||
botSosoCount bigint(20), | ||
botSogouCount bigint(20), | ||
botYahooCount bigint(20), | ||
PRIMARY KEY (id), | ||
KEY(collectTime, domain, app) | ||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
CREATE TABLE druid_weburi ( | ||
id bigint(20) AUTO_INCREMENT NOT NULL, | ||
domain varchar(45) NOT NULL, | ||
app varchar(45) NOT NULL, | ||
cluster varchar(45) NOT NULL, | ||
host varchar(128), | ||
pid int(10) NOT NULL, | ||
collectTime datetime NOT NULL, | ||
uri varchar(256), | ||
runningCount int(10), | ||
concurrentMax int(10), | ||
requestCount bigint(20), | ||
requestTimeNano bigint(20), | ||
jdbcFetchRowCount bigint(20), | ||
jdbcFetchRowPeak bigint(20), | ||
jdbcUpdateCount bigint(20), | ||
jdbcUpdatePeak bigint(20), | ||
jdbcExecuteCount bigint(20), | ||
jdbcExecuteErrorCount bigint(20), | ||
jdbcExecutePeak bigint(20), | ||
jdbcExecuteTimeNano bigint(20), | ||
jdbcCommitCount bigint(20), | ||
jdbcRollbackCount bigint(20), | ||
jdbcPoolConnectionOpenCount bigint(20), | ||
jdbcPoolConnectionCloseCount bigint(20), | ||
jdbcResultSetOpenCount bigint(20), | ||
jdbcResultSetCloseCount bigint(20), | ||
errorCount bigint(20), | ||
lastAccessTimeMillis bigint(20), | ||
h1 bigint(20), | ||
h10 bigint(20), | ||
h100 bigint(20), | ||
h1000 bigint(20), | ||
h10000 int(10), | ||
h100000 int(10), | ||
h1000000 int(10), | ||
hmore int(10), | ||
PRIMARY KEY (id), | ||
KEY(collectTime, domain, app) | ||
) |
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
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