Update with latest; changed target location

This commit is contained in:
Jorg Tretter
2021-05-06 09:24:29 -05:00
parent 488a5e39d6
commit cc62eb3511
4 changed files with 16 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
select 'Merging Stage into requests';
insert into requests select * from stage where not exists (select 1 from requests where requests.id=stage.id);
drop table stage;
select 'Vacuuming the DB';
vacuum;
select 'Merging Stage into requests';
insert into requests select * from stage where not exists (select 1 from requests where requests.id=stage.id);
drop table stage;
select 'Vacuuming the DB';
vacuum;

View File

@@ -1,5 +1,5 @@
select 'Preparing Stage';
drop table if exists stage;
create table stage (id text, timestamp datetime, name text, success boolean, resultcode int, duration double, performancebucket string, userid string);
create table if not exists requests (id text, timestamp datetime, name text, success boolean, resultcode int, duration double, performancebucket string, userid string);
select 'Preparing Stage';
drop table if exists stage;
create table stage (id text, timestamp datetime, name text, success boolean, resultcode int, duration double, performancebucket string, userid string);
create table if not exists requests (id text, timestamp datetime, name text, success boolean, resultcode int, duration double, performancebucket string, userid string);
select 'Filling Stage';

View File

@@ -1,3 +1,4 @@
curl -s -d "" -X POST "https://deadswitch.kawomi.com/api/v1?topic=kcc.process.recordAppInsights&secs=7200&email=joe.tretter@kcc.com,joerg.tretter@gmail.com"
curl -s -k -d "" -X POST "https://deadswitch.kawomi.com/api/v1?topic=kcc.process.recordAppInsights&secs=7200&email=joe.tretter@kcc.com,joerg.tretter@gmail.com"
C:\cygwin64\bin\sh.exe -li ~/RecordAppInsights/recordAppInsights.sh
copy /y db.sqlite3 \\ustca239\JoesHop\TipsPerfDB\
mkdir "\\kcfiles\share\Corporate\ITS\Application Solutions\Shared\TIPS\UsageReport"
copy /y db.sqlite3 "\\kcfiles\share\Corporate\ITS\Application Solutions\Shared\TIPS\UsageReport\"

View File

@@ -1,2 +1,2 @@
select 'stage', count(*) from stage;
select 'requests ', count(*) from requests;
select 'stage', count(*) from stage;
select 'requests ', count(*) from requests;