mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-19 02:05:23 +00:00
Add lib/, t/lib/, and sandbox/. All modules are updated and passing on MySQL 5.1.
This commit is contained in:
8
t/lib/samples/pg/pg-log-001.txt
Normal file
8
t/lib/samples/pg/pg-log-001.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
2010-02-08 15:31:48.685 EST c=4b7074b4.985,u=[unknown],D=[unknown] LOG: connection received: host=[local]
|
||||
2010-02-08 15:31:48.687 EST c=4b7074b4.985,u=fred,D=fred LOG: connection authorized: user=fred database=fred
|
||||
2010-02-08 15:31:50.872 EST c=4b7074b4.985,u=fred,D=fred LOG: statement: select 1;
|
||||
2010-02-08 15:31:50.881 EST c=4b7074b4.985,u=fred,D=fred LOG: duration: 10.870 ms
|
||||
2010-02-08 15:31:58.515 EST c=4b7074b4.985,u=fred,D=fred LOG: statement: select
|
||||
1;
|
||||
2010-02-08 15:31:58.529 EST c=4b7074b4.985,u=fred,D=fred LOG: duration: 13.918 ms
|
||||
2010-02-08 15:32:06.988 EST c=4b7074b4.985,u=fred,D=fred LOG: disconnection: session time: 0:00:18.304 user=fred database=fred host=[local]
|
15
t/lib/samples/pg/pg-log-002.txt
Normal file
15
t/lib/samples/pg/pg-log-002.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
SELECT sum(commits) AS commits,sum(adds) AS adds
|
||||
FROM stats_cvs_group
|
||||
WHERE group_id='98'
|
||||
|
||||
2004-05-07 11:58:22 LOG: duration: 0.084312 sec
|
||||
2004-05-07 11:58:22 LOG: query: SELECT groups.group_name,groups.unix_group_name,
|
||||
groups.type_id,users.user_name,users.realname,
|
||||
news_bytes.forum_id,news_bytes.summary,news_bytes.post_date,news_bytes.details
|
||||
FROM users,news_bytes,groups
|
||||
WHERE news_bytes.group_id='98' AND news_bytes.is_approved <> '4'
|
||||
AND users.user_id=news_bytes.submitted_by
|
||||
AND news_bytes.group_id=groups.group_id
|
||||
ORDER BY post_date DESC LIMIT 10 OFFSET 0
|
||||
2004-05-07 11:58:22 LOG: duration: 0.002680 sec
|
||||
2004-05-07 11:58:36 LOG: query: begin; select getdatabaseencoding(); commit
|
10
t/lib/samples/pg/pg-log-003.txt
Normal file
10
t/lib/samples/pg/pg-log-003.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
LOG: duration: 1.565 ms statement: SELECT * FROM users WHERE user_id='692'
|
||||
LOG: duration: 1.640 ms statement: SELECT groups.group_name,groups.unix_group_name,
|
||||
groups.type_id,users.user_name,users.realname,
|
||||
news_bytes.forum_id,news_bytes.summary,news_bytes.post_date,news_bytes.details
|
||||
FROM users,news_bytes,groups
|
||||
WHERE news_bytes.is_approved=1
|
||||
AND users.user_id=news_bytes.submitted_by
|
||||
AND news_bytes.group_id=groups.group_id
|
||||
ORDER BY post_date DESC LIMIT 5 OFFSET 0
|
||||
LOG: duration: 0.529 ms statement: SELECT total FROM forum_group_list_vw WHERE group_forum_id='4606'
|
4
t/lib/samples/pg/pg-log-004.txt
Normal file
4
t/lib/samples/pg/pg-log-004.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
2010-02-10 08:39:56.835 EST c=4b72b72c.b44,u=[unknown],D=[unknown] LOG: connection received: host=[local]
|
||||
2010-02-10 08:39:56.838 EST c=4b72b72c.b44,u=fred,D=fred LOG: connection authorized: user=fred database=fred
|
||||
2010-02-10 08:40:34.681 EST c=4b72b72c.b44,u=fred,D=fred LOG: duration: 1.308 ms statement: select 1;
|
||||
2010-02-10 08:44:31.368 EST c=4b72b72c.b44,u=fred,D=fred LOG: disconnection: session time: 0:04:34.534 user=fred database=fred host=[local]
|
6
t/lib/samples/pg/pg-log-005.txt
Normal file
6
t/lib/samples/pg/pg-log-005.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
2004-05-07 12:00:01 LOG: query: begin; select getdatabaseencoding(); commit
|
||||
2004-05-07 12:00:01 LOG: duration: 0.000801 sec
|
||||
2004-05-07 12:00:01 LOG: query: update users set unix_status = 'A' where user_id in (select
|
||||
distinct u.user_id from users u, user_group ug WHERE
|
||||
u.user_id=ug.user_id and ug.cvs_flags='1' and u.status='A')
|
||||
2004-05-07 12:00:01 LOG: query: SELECT 1 FROM ONLY "public"."supported_languages" x WHERE "language_id" = $1 FOR UPDATE OF x
|
16
t/lib/samples/pg/pg-log-006.txt
Normal file
16
t/lib/samples/pg/pg-log-006.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
2004-05-07 12:01:06 LOG: query: SELECT plugin_id, plugin_name FROM plugins
|
||||
2004-05-07 12:01:06 LOG: duration: 0.002161 sec
|
||||
2004-05-07 12:01:06 LOG: query: SELECT
|
||||
groups.type,
|
||||
news_bytes.details
|
||||
FROM
|
||||
news_bytes,
|
||||
groups
|
||||
WHERE
|
||||
news_bytes.group_id=groups.group_id
|
||||
ORDER BY
|
||||
date
|
||||
DESC LIMIT 30 OFFSET 0
|
||||
2004-05-07 12:01:06 ERROR: No such attribute groups.type
|
||||
2004-05-07 12:01:06 LOG: query: SELECT plugin_id, plugin_name FROM plugins
|
||||
2004-05-07 12:01:06 LOG: duration: 0.002161 sec
|
13
t/lib/samples/pg/pg-log-007.txt
Normal file
13
t/lib/samples/pg/pg-log-007.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
postmaster starting
|
||||
LOG: could not create IPv6 socket: Address family not supported by protocol
|
||||
LOG: database system was shut down at 2005-11-14 17:24:02 EST
|
||||
LOG: checkpoint record is at 0/47730338
|
||||
LOG: redo record is at 0/47730338; undo record is at 0/0; shutdown TRUE
|
||||
LOG: next transaction ID: 2353967; next OID: 4050075
|
||||
LOG: next MultiXactId: 1; next MultiXactOffset: 0
|
||||
LOG: database system is ready
|
||||
LOG: transaction ID wrap limit is 1075718294, limited by database "gforge"
|
||||
LOG: duration: 2.991 ms statement: SELECT plugin_id, plugin_name FROM plugins
|
||||
LOG: received smart shutdown request
|
||||
LOG: shutting down
|
||||
LOG: database system is shut down
|
3
t/lib/samples/pg/pg-log-008.txt
Normal file
3
t/lib/samples/pg/pg-log-008.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
2010-02-08 15:31:48 EST LOG: connection received: host=[local]
|
||||
2010-02-08 15:31:48 EST LOG: connection authorized: user=fred database=fred
|
||||
2010-02-08 15:32:06 EST LOG: disconnection: session time: 0:00:18.304 user=fred database=fred host=[local]
|
2980
t/lib/samples/pg/pg-log-009.txt
Normal file
2980
t/lib/samples/pg/pg-log-009.txt
Normal file
File diff suppressed because it is too large
Load Diff
3693
t/lib/samples/pg/pg-log-010.txt
Normal file
3693
t/lib/samples/pg/pg-log-010.txt
Normal file
File diff suppressed because it is too large
Load Diff
13
t/lib/samples/pg/pg-syslog-001.txt
Normal file
13
t/lib/samples/pg/pg-syslog-001.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [13-1] LOG: duration: 3617.465 ms statement:
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [13-2] select
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [13-3] t.tid,t.title,m.name,gn.name,to_char( t.retail_reldate, 'mm-dd-yy' ) as retail_reldate,coalesce(s0c100r0.units,0) as
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [13-4] w0c100r0units,'NA' as w0c100r0dollars,'NA' as w0c100r0arp,coalesce(s0c1r0.units,0) as w0c1r0units,'NA' as w0c1r0dollars,'NA' as
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [13-5] w0c1r0arp,coalesce(s0c2r0.units,0) as w0c2r0units,coalesce(s0c2r0.dollars,0) as w0c2r0dollars,arp(s0c2r0.dollars, s0c2r0.units)
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [13-6] as w0c2r0arp from title t left outer join sublabel sl on t.sublabel_rel = sl.key left outer join label s on sl.lid = s.id left
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [13-7] outer join label d on s.did = d.id left outer join sale_200601 s0c100r0 on t.tid = s0c100r0.tid and s0c100r0.week = 200601 and
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [13-8] s0c100r0.channel = 100 and s0c100r0.region = 0 left outer join sale_200601 s0c1r0 on t.tid = s0c1r0.tid and s0c1r0.week =
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [13-9] 200601 and s0c1r0.channel = 1 and s0c1r0.region = 0 left outer join sale_200601 s0c2r0 on t.tid = s0c2r0.tid and s0c2r0.week =
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [13-10] 200601 and s0c2r0.channel = 2 and s0c2r0.region = 0 left outer join media m on t.media = m.key left outer join genre_n gn on
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [13-11] t.genre_n = gn.key where ((((upper(t.title) like '%MATRIX%' or upper(t.artist) like '%MATRIX%') ))) and t.blob in ('L', 'M',
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [13-12] 'R') and t.source_dvd != 'IN' order by t.title asc limit 100
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [14-1] LOG: duration: 3.358 ms
|
5
t/lib/samples/pg/pg-syslog-002.txt
Normal file
5
t/lib/samples/pg/pg-syslog-002.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
Feb 8 09:52:41 debian postgres[7622]: [15-1] 2010-02-08 09:52:41.526 EST c=4b701056.1dc6,u=fred,D=fred LOG: statement: select * from pg_stat_bgwriter;
|
||||
Feb 8 09:52:41 debian postgres[7622]: [16-1] 2010-02-08 09:52:41.533 EST c=4b701056.1dc6,u=fred,D=fred LOG: duration: 8.309 ms
|
||||
Feb 8 09:52:57 debian postgres[7622]: [17-1] 2010-02-08 09:52:57.807 EST c=4b701056.1dc6,u=fred,D=fred LOG: statement: create index ix_a on foo (a);
|
||||
Feb 8 09:52:57 debian postgres[7622]: [18-1] 2010-02-08 09:52:57.864 EST c=4b701056.1dc6,u=fred,D=fred ERROR: relation "ix_a" already exists
|
||||
Feb 8 09:52:57 debian postgres[7622]: [18-2] 2010-02-08 09:52:57.864 EST c=4b701056.1dc6,u=fred,D=fred STATEMENT: create index ix_a on foo (a);
|
14
t/lib/samples/pg/pg-syslog-003.txt
Normal file
14
t/lib/samples/pg/pg-syslog-003.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-1] 2010-02-08 09:53:51.724 EST c=4b701056.1dc6,u=fred,D=fred LOG: statement: SELECT n.nspname as "Schema",
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-2] #011 c.relname as "Name",
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-3] #011 CASE c.relkind WHEN 'r' THEN 'table' WHEN 'v' THEN 'view' WHEN 'i' THEN 'index' WHEN 'S' THEN 'sequence' WHEN 's' THEN
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-4] 'special' END as "Type",
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-5] #011 r.rolname as "Owner"
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-6] #011FROM pg_catalog.pg_class c
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-7] #011 JOIN pg_catalog.pg_roles r ON r.oid = c.relowner
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-8] #011 LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-9] #011WHERE c.relkind IN ('r','v','S','')
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-10] #011 AND n.nspname <> 'pg_catalog'
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-11] #011 AND n.nspname !~ '^pg_toast'
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-12] #011 AND pg_catalog.pg_table_is_visible(c.oid)
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-13] #011ORDER BY 1,2;
|
||||
Feb 8 09:53:51 debian postgres[7622]: [22-1] 2010-02-08 09:53:51.867 EST c=4b701056.1dc6,u=fred,D=fred LOG: duration: 150.472 ms
|
8
t/lib/samples/pg/pg-syslog-004.txt
Normal file
8
t/lib/samples/pg/pg-syslog-004.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
Feb 25 04:02:19 rubyforge postgres[4625]: [2835-1] LOG: query: SELECT groups.group_name,groups.unix_group_name,
|
||||
Feb 25 04:02:19 rubyforge postgres[4625]: [2835-2] ^I^Igroups.type,users.user_name,users.realname,
|
||||
Feb 25 04:02:19 rubyforge postgres[4625]: [2835-3] ^I^Inews_bytes.forum_id,news_bytes.summary,news_bytes.date,news_bytes.details
|
||||
Feb 25 04:02:19 rubyforge postgres[4625]: [2835-4] ^I^IFROM users,news_bytes,groups
|
||||
Feb 25 04:02:19 rubyforge postgres[4625]: [2835-5] ^I^IWHERE news_bytes.is_approved=1
|
||||
Feb 25 04:02:19 rubyforge postgres[4625]: [2835-6] ^I^IAND users.user_id=news_bytes.submitted_by
|
||||
Feb 25 04:02:19 rubyforge postgres[4625]: [2835-7] ^I^IAND news_bytes.group_id=groups.group_id
|
||||
Feb 25 04:02:19 rubyforge postgres[4625]: [2835-8] ^I^IORDER BY date DESC LIMIT 10 OFFSET 0
|
5
t/lib/samples/pg/pg-syslog-005.txt
Normal file
5
t/lib/samples/pg/pg-syslog-005.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
Feb 10 09:03:26 debian postgres[3329]: [3-1] 2010-02-10 09:03:26.918 EST c=4b72bcae.d01,u=[unknown],D=[unknown] LOG: connection received: host=[local]
|
||||
Feb 10 09:03:26 debian postgres[3329]: [4-1] 2010-02-10 09:03:26.922 EST c=4b72bcae.d01,u=fred,D=fred LOG: connection authorized: user=fred database=fred
|
||||
Feb 10 09:03:36 debian postgres[3329]: [7-1] 2010-02-10 09:03:36.645 EST c=4b72bcae.d01,u=fred,D=fred LOG: duration: 0.627 ms statement: select 1;
|
||||
Feb 10 09:03:39 debian postgres[3329]: [8-1] 2010-02-10 09:03:39.075 EST c=4b72bcae.d01,u=fred,D=fred LOG: disconnection: session time: 0:00:12.159 user=fred
|
||||
Feb 10 09:03:39 debian postgres[3329]: [8-2] database=fred host=[local]
|
9
t/lib/samples/pg/pg-syslog-006.txt
Normal file
9
t/lib/samples/pg/pg-syslog-006.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Jan 13 20:22:44 www postgres[13014]: [5-1] LOG: duration: 117.042 ms statement:
|
||||
Jan 13 20:22:44 www postgres[13014]: [5-2] ^Iinsert into weblog
|
||||
Jan 13 20:22:44 www postgres[13014]: [5-3] (username,remoteid,generalsitearea,refererhost,refererfull,searchterms,cookie,useragent,query,requesteduri,bot,elapsedtime)
|
||||
Jan 13 20:22:44 www postgres[13014]: [5-4] ^Ivalues
|
||||
Jan 13 20:22:44 www postgres[13014]: [5-5] (upper('asdfg'),upper('127.0.0.1'),upper(NULL),upper('localhost'),upper('<a href="http://localhost/nosymbol-Ameriprise-Financial-Inc-Fun" target="_new">http://localhost/nosymbol-Ameriprise-Financial-Inc-Fun</a>
|
||||
Jan 13 20:22:44 www postgres[13014]: [5-6] d-Buy-Sell-Own-zz-zi125340.html'),upper(NULL),upper('temp-id=s2ByrI6TKLEoDJXG3g3NEBoRWF6Z3t'),upper('Mozilla/4.0 (compatible;
|
||||
Jan 13 20:22:44 www postgres[13014]: [5-7] MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR
|
||||
Jan 13 20:22:44 www postgres[13014]: [5-8] 3.0.04506.30)'),upper(''),upper('/AAON-Aaon-Inc-Stock-Buy-Sell-Own-zz-zs2331501.html'),'f','1')
|
||||
Jan 13 20:22:44 www postgres[13014]: [5-9] ^I
|
11
t/lib/samples/pg/pg-syslog-007.txt
Normal file
11
t/lib/samples/pg/pg-syslog-007.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
Feb 12 06:00:54 debian postgres[2735]: [8-1] 2010-02-12 06:00:54.566 EST s=12345,u=fred,D=fred LOG: duration: 39.219 ms statement: select 'a very long sentence a
|
||||
Feb 12 06:00:54 debian postgres[2735]: [8-2] very long sentence a very long sentence a very long sentence a very long sentence a very long sentence a very long sentence ;
|
||||
Feb 12 06:00:54 debian postgres[2735]: [8-3] #011';
|
||||
Feb 12 06:01:09 debian postgres[2735]: [9-1] 2010-02-12 06:01:09.854 EST s=12345,u=fred,D=fred LOG: duration: 0.589 ms statement: select
|
||||
Feb 12 06:01:09 debian postgres[2735]: [9-2] 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
||||
Feb 12 06:01:09 debian postgres[2735]: [9-3] aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
||||
Feb 12 06:01:09 debian postgres[2735]: [9-4] aaaaaaaaaaaaaaaa';
|
||||
Feb 12 06:01:22 debian postgres[2735]: [10-1] 2010-02-12 06:01:22.860 EST s=12345,u=fred,D=fred LOG: duration: 0.556 ms statement: select '
|
||||
Feb 12 06:01:22 debian postgres[2735]: [10-2] #011hello';
|
||||
Feb 12 06:03:14 debian postgres[2735]: [12-1] 2010-02-12 06:03:14.307 EST s=12345,u=fred,D=fred ERROR: unrecognized configuration parameter "foobar"
|
||||
Feb 12 06:03:14 debian postgres[2735]: [12-2] 2010-02-12 06:03:14.307 EST s=12345,u=fred,D=fred STATEMENT: show foobar;
|
123
t/lib/samples/pg/pg-syslog-008.txt
Normal file
123
t/lib/samples/pg/pg-syslog-008.txt
Normal file
@@ -0,0 +1,123 @@
|
||||
Feb 8 09:52:41 debian postgres[7622]: [15-1] 2010-02-08 09:52:41.526 EST c=4b701056.1dc6,u=fred,D=fred LOG: statement: select * from pg_stat_bgwriter;
|
||||
Feb 8 09:52:41 debian postgres[7622]: [16-1] 2010-02-08 09:52:41.533 EST c=4b701056.1dc6,u=fred,D=fred LOG: duration: 8.309 ms
|
||||
Feb 8 09:52:57 debian postgres[7622]: [17-1] 2010-02-08 09:52:57.807 EST c=4b701056.1dc6,u=fred,D=fred LOG: statement: create index ix_a on foo (a);
|
||||
Feb 8 09:52:57 debian postgres[7622]: [18-1] 2010-02-08 09:52:57.864 EST c=4b701056.1dc6,u=fred,D=fred ERROR: relation "ix_a" already exists
|
||||
Feb 8 09:52:57 debian postgres[7622]: [18-2] 2010-02-08 09:52:57.864 EST c=4b701056.1dc6,u=fred,D=fred STATEMENT: create index ix_a on foo (a);
|
||||
Feb 8 09:53:25 debian postgres[7622]: [19-1] 2010-02-08 09:53:25.236 EST c=4b701056.1dc6,u=fred,D=fred LOG: statement: select * from foo;
|
||||
Feb 8 09:53:25 debian postgres[7622]: [20-1] 2010-02-08 09:53:25.282 EST c=4b701056.1dc6,u=fred,D=fred LOG: duration: 46.352 ms
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-1] 2010-02-08 09:53:51.724 EST c=4b701056.1dc6,u=fred,D=fred LOG: statement: SELECT n.nspname as "Schema",
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-2] #011 c.relname as "Name",
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-3] #011 CASE c.relkind WHEN 'r' THEN 'table' WHEN 'v' THEN 'view' WHEN 'i' THEN 'index' WHEN 'S' THEN 'sequence' WHEN 's' THEN
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-4] 'special' END as "Type",
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-5] #011 r.rolname as "Owner"
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-6] #011FROM pg_catalog.pg_class c
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-7] #011 JOIN pg_catalog.pg_roles r ON r.oid = c.relowner
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-8] #011 LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-9] #011WHERE c.relkind IN ('r','v','S','')
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-10] #011 AND n.nspname <> 'pg_catalog'
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-11] #011 AND n.nspname !~ '^pg_toast'
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-12] #011 AND pg_catalog.pg_table_is_visible(c.oid)
|
||||
Feb 8 09:53:51 debian postgres[7622]: [21-13] #011ORDER BY 1,2;
|
||||
Feb 8 09:53:51 debian postgres[7622]: [22-1] 2010-02-08 09:53:51.867 EST c=4b701056.1dc6,u=fred,D=fred LOG: duration: 150.472 ms
|
||||
Feb 8 09:53:57 debian postgres[7622]: [23-1] 2010-02-08 09:53:57.370 EST c=4b701056.1dc6,u=fred,D=fred LOG: statement: SELECT n.nspname as "Schema",
|
||||
Feb 8 09:53:57 debian postgres[7622]: [23-2] #011 c.relname as "Name",
|
||||
Feb 8 09:53:57 debian postgres[7622]: [23-3] #011 CASE c.relkind WHEN 'r' THEN 'table' WHEN 'v' THEN 'view' WHEN 'i' THEN 'index' WHEN 'S' THEN 'sequence' WHEN 's' THEN
|
||||
Feb 8 09:53:57 debian postgres[7622]: [23-4] 'special' END as "Type",
|
||||
Feb 8 09:53:57 debian postgres[7622]: [23-5] #011 r.rolname as "Owner"
|
||||
Feb 8 09:53:57 debian postgres[7622]: [23-6] #011FROM pg_catalog.pg_class c
|
||||
Feb 8 09:53:57 debian postgres[7622]: [23-7] #011 JOIN pg_catalog.pg_roles r ON r.oid = c.relowner
|
||||
Feb 8 09:53:57 debian postgres[7622]: [23-8] #011 LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
||||
Feb 8 09:53:57 debian postgres[7622]: [23-9] #011WHERE c.relkind IN ('r','')
|
||||
Feb 8 09:53:57 debian postgres[7622]: [23-10] #011 AND n.nspname <> 'pg_catalog'
|
||||
Feb 8 09:53:57 debian postgres[7622]: [23-11] #011 AND n.nspname !~ '^pg_toast'
|
||||
Feb 8 09:53:57 debian postgres[7622]: [23-12] #011 AND pg_catalog.pg_table_is_visible(c.oid)
|
||||
Feb 8 09:53:57 debian postgres[7622]: [23-13] #011ORDER BY 1,2;
|
||||
Feb 8 09:53:57 debian postgres[7622]: [24-1] 2010-02-08 09:53:57.385 EST c=4b701056.1dc6,u=fred,D=fred LOG: duration: 15.592 ms
|
||||
Feb 8 09:54:00 debian postgres[7622]: [25-1] 2010-02-08 09:54:00.594 EST c=4b701056.1dc6,u=fred,D=fred LOG: statement: SELECT n.nspname as "Schema",
|
||||
Feb 8 09:54:00 debian postgres[7622]: [25-2] #011 c.relname as "Name",
|
||||
Feb 8 09:54:00 debian postgres[7622]: [25-3] #011 CASE c.relkind WHEN 'r' THEN 'table' WHEN 'v' THEN 'view' WHEN 'i' THEN 'index' WHEN 'S' THEN 'sequence' WHEN 's' THEN
|
||||
Feb 8 09:54:00 debian postgres[7622]: [25-4] 'special' END as "Type",
|
||||
Feb 8 09:54:00 debian postgres[7622]: [25-5] #011 r.rolname as "Owner"
|
||||
Feb 8 09:54:00 debian postgres[7622]: [25-6] #011FROM pg_catalog.pg_class c
|
||||
Feb 8 09:54:00 debian postgres[7622]: [25-7] #011 JOIN pg_catalog.pg_roles r ON r.oid = c.relowner
|
||||
Feb 8 09:54:00 debian postgres[7622]: [25-8] #011 LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
||||
Feb 8 09:54:00 debian postgres[7622]: [25-9] #011WHERE c.relkind IN ('r','')
|
||||
Feb 8 09:54:00 debian postgres[7622]: [25-10] #011 AND n.nspname <> 'pg_catalog'
|
||||
Feb 8 09:54:00 debian postgres[7622]: [25-11] #011 AND n.nspname !~ '^pg_toast'
|
||||
Feb 8 09:54:00 debian postgres[7622]: [25-12] #011 AND c.relname ~ '^(foo)$'
|
||||
Feb 8 09:54:00 debian postgres[7622]: [25-13] #011 AND pg_catalog.pg_table_is_visible(c.oid)
|
||||
Feb 8 09:54:00 debian postgres[7622]: [25-14] #011ORDER BY 1,2;
|
||||
Feb 8 09:54:00 debian postgres[7622]: [26-1] 2010-02-08 09:54:00.636 EST c=4b701056.1dc6,u=fred,D=fred LOG: duration: 42.600 ms
|
||||
Feb 8 09:54:04 debian postgres[7622]: [27-1] 2010-02-08 09:54:04.117 EST c=4b701056.1dc6,u=fred,D=fred LOG: statement: SELECT n.nspname as "Schema",
|
||||
Feb 8 09:54:04 debian postgres[7622]: [27-2] #011 c.relname as "Name",
|
||||
Feb 8 09:54:04 debian postgres[7622]: [27-3] #011 CASE c.relkind WHEN 'r' THEN 'table' WHEN 'v' THEN 'view' WHEN 'i' THEN 'index' WHEN 'S' THEN 'sequence' WHEN 's' THEN
|
||||
Feb 8 09:54:04 debian postgres[7622]: [27-4] 'special' END as "Type",
|
||||
Feb 8 09:54:04 debian postgres[7622]: [27-5] #011 r.rolname as "Owner",
|
||||
Feb 8 09:54:04 debian postgres[7622]: [27-6] #011 pg_catalog.obj_description(c.oid, 'pg_class') as "Description"
|
||||
Feb 8 09:54:04 debian postgres[7622]: [27-7] #011FROM pg_catalog.pg_class c
|
||||
Feb 8 09:54:04 debian postgres[7622]: [27-8] #011 JOIN pg_catalog.pg_roles r ON r.oid = c.relowner
|
||||
Feb 8 09:54:04 debian postgres[7622]: [27-9] #011 LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
||||
Feb 8 09:54:04 debian postgres[7622]: [27-10] #011WHERE c.relkind IN ('r','')
|
||||
Feb 8 09:54:04 debian postgres[7622]: [27-11] #011 AND n.nspname <> 'pg_catalog'
|
||||
Feb 8 09:54:04 debian postgres[7622]: [27-12] #011 AND n.nspname !~ '^pg_toast'
|
||||
Feb 8 09:54:04 debian postgres[7622]: [27-13] #011 AND c.relname ~ '^(foo)$'
|
||||
Feb 8 09:54:04 debian postgres[7622]: [27-14] #011 AND pg_catalog.pg_table_is_visible(c.oid)
|
||||
Feb 8 09:54:04 debian postgres[7622]: [27-15] #011ORDER BY 1,2;
|
||||
Feb 8 09:54:04 debian postgres[7622]: [28-1] 2010-02-08 09:54:04.187 EST c=4b701056.1dc6,u=fred,D=fred LOG: duration: 70.996 ms
|
||||
Feb 8 09:54:10 debian postgres[7622]: [29-1] 2010-02-08 09:54:10.990 EST c=4b701056.1dc6,u=fred,D=fred LOG: statement: SELECT d.datname as "Name",
|
||||
Feb 8 09:54:10 debian postgres[7622]: [29-2] #011 r.rolname as "Owner",
|
||||
Feb 8 09:54:10 debian postgres[7622]: [29-3] #011 pg_catalog.pg_encoding_to_char(d.encoding) as "Encoding"
|
||||
Feb 8 09:54:10 debian postgres[7622]: [29-4] #011FROM pg_catalog.pg_database d
|
||||
Feb 8 09:54:10 debian postgres[7622]: [29-5] #011 JOIN pg_catalog.pg_roles r ON d.datdba = r.oid
|
||||
Feb 8 09:54:10 debian postgres[7622]: [29-6] #011ORDER BY 1;
|
||||
Feb 8 09:54:11 debian postgres[7622]: [30-1] 2010-02-08 09:54:11.017 EST c=4b701056.1dc6,u=fred,D=fred LOG: duration: 27.806 ms
|
||||
Feb 8 09:54:14 debian postgres[7622]: [31-1] 2010-02-08 09:54:14.827 EST c=4b701056.1dc6,u=fred,D=fred LOG: statement: SELECT n.nspname as "Schema",
|
||||
Feb 8 09:54:14 debian postgres[7622]: [31-2] #011 c.relname as "Name",
|
||||
Feb 8 09:54:14 debian postgres[7622]: [31-3] #011 CASE c.relkind WHEN 'r' THEN 'table' WHEN 'v' THEN 'view' WHEN 'i' THEN 'index' WHEN 'S' THEN 'sequence' WHEN 's' THEN
|
||||
Feb 8 09:54:14 debian postgres[7622]: [31-4] 'special' END as "Type",
|
||||
Feb 8 09:54:14 debian postgres[7622]: [31-5] #011 r.rolname as "Owner"
|
||||
Feb 8 09:54:14 debian postgres[7622]: [31-6] #011FROM pg_catalog.pg_class c
|
||||
Feb 8 09:54:14 debian postgres[7622]: [31-7] #011 JOIN pg_catalog.pg_roles r ON r.oid = c.relowner
|
||||
Feb 8 09:54:14 debian postgres[7622]: [31-8] #011 LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
||||
Feb 8 09:54:14 debian postgres[7622]: [31-9] #011WHERE c.relkind IN ('r','v','S','s','')
|
||||
Feb 8 09:54:14 debian postgres[7622]: [31-10] #011 AND n.nspname = 'pg_catalog'
|
||||
Feb 8 09:54:14 debian postgres[7622]: [31-11] #011 AND pg_catalog.pg_table_is_visible(c.oid)
|
||||
Feb 8 09:54:14 debian postgres[7622]: [31-12] #011ORDER BY 1,2;
|
||||
Feb 8 09:54:14 debian postgres[7622]: [32-1] 2010-02-08 09:54:14.855 EST c=4b701056.1dc6,u=fred,D=fred LOG: duration: 28.255 ms
|
||||
Feb 8 09:55:05 debian postgres[7622]: [33-1] 2010-02-08 09:55:05.155 EST c=4b701056.1dc6,u=fred,D=fred LOG: statement: select 'a very long statement that will surely
|
||||
Feb 8 09:55:05 debian postgres[7622]: [33-2] break a very long statement that will surely break a very long statement that will surely break a very long statement that will
|
||||
Feb 8 09:55:05 debian postgres[7622]: [33-3] surely break a very long statement that will surely break a very long statement that will surely break a very long statement
|
||||
Feb 8 09:55:05 debian postgres[7622]: [33-4] that will surely break a very long statement that will surely break a very long statement that will surely break a very long
|
||||
Feb 8 09:55:05 debian postgres[7622]: [33-5] statement that will surely break a very long statement that will surely break a very long statement that will surely break a
|
||||
Feb 8 09:55:05 debian postgres[7622]: [33-6] very long statement that will surely break a very long statement that will surely break a very long statement that will surely
|
||||
Feb 8 09:55:05 debian postgres[7622]: [33-7] break a very long statement that will surely break a very long statement that will surely break a very long statement that will
|
||||
Feb 8 09:55:05 debian postgres[7622]: [33-8] surely break a very long statement that will surely break a very long statement that will surely break a very long statement
|
||||
Feb 8 09:55:05 debian postgres[7622]: [33-9] that will surely break a very long statement that will surely break a very long statement that will surely break a very long
|
||||
Feb 8 09:55:05 debian postgres[7622]: [33-10] statement that will surely break a very long statement that will surely break a very long statement that will surely break';
|
||||
Feb 8 09:55:05 debian postgres[7622]: [34-1] 2010-02-08 09:55:05.163 EST c=4b701056.1dc6,u=fred,D=fred LOG: duration: 7.922 ms
|
||||
Feb 8 09:55:34 debian postgres[7622]: [35-1] 2010-02-08 09:55:34.302 EST c=4b701056.1dc6,u=fred,D=fred LOG: statement: select 'a statement with a
|
||||
Feb 8 09:55:34 debian postgres[7622]: [35-2] #011embedded newline';
|
||||
Feb 8 09:55:34 debian postgres[7622]: [36-1] 2010-02-08 09:55:34.303 EST c=4b701056.1dc6,u=fred,D=fred LOG: duration: 3.144 ms
|
||||
Feb 8 09:56:09 debian postgres[7622]: [37-1] 2010-02-08 09:56:09.955 EST c=4b701056.1dc6,u=fred,D=fred LOG: statement: select 'a statement#011with an embedded tab';
|
||||
Feb 8 09:56:09 debian postgres[7622]: [38-1] 2010-02-08 09:56:09.958 EST c=4b701056.1dc6,u=fred,D=fred LOG: duration: 3.439 ms
|
||||
Feb 8 09:56:22 debian postgres[7622]: [39-1] 2010-02-08 09:56:22.335 EST c=4b701056.1dc6,u=fred,D=fred LOG: statement: select
|
||||
Feb 8 09:56:22 debian postgres[7622]: [39-2] #0111;
|
||||
Feb 8 09:56:22 debian postgres[7622]: [40-1] 2010-02-08 09:56:22.344 EST c=4b701056.1dc6,u=fred,D=fred LOG: duration: 8.951 ms
|
||||
Feb 8 09:56:35 debian postgres[7622]: [41-1] 2010-02-08 09:56:35.674 EST c=4b701056.1dc6,u=fred,D=fred LOG: disconnection: session time: 1:33:01.690 user=fred
|
||||
Feb 8 09:56:35 debian postgres[7622]: [41-2] database=fred host=[local]
|
||||
Feb 8 09:56:39 debian postgres[9180]: [3-1] 2010-02-08 09:56:39.689 EST c=4b702627.23dc,u=[unknown],D=[unknown] LOG: connection received: host=[local]
|
||||
Feb 8 09:56:39 debian postgres[9180]: [4-1] 2010-02-08 09:56:39.693 EST c=4b702627.23dc,u=fred,D=fred LOG: connection authorized: user=fred database=fred
|
||||
Feb 8 09:56:43 debian postgres[9180]: [5-1] 2010-02-08 09:56:43.111 EST c=4b702627.23dc,u=fred,D=fred LOG: disconnection: session time: 0:00:03.421 user=fred
|
||||
Feb 8 09:56:43 debian postgres[9180]: [5-2] database=fred host=[local]
|
||||
Feb 8 09:57:28 debian postgres[9184]: [3-1] 2010-02-08 09:57:28.332 EST c=4b702658.23e0,u=[unknown],D=[unknown] LOG: connection received: host=[local]
|
||||
Feb 8 09:57:28 debian postgres[9184]: [4-1] 2010-02-08 09:57:28.335 EST c=4b702658.23e0,u=fred,D=fred LOG: connection authorized: user=fred database=fred
|
||||
Feb 8 09:57:31 debian postgres[9186]: [3-1] 2010-02-08 09:57:31.233 EST c=4b70265b.23e2,u=[unknown],D=[unknown] LOG: connection received: host=[local]
|
||||
Feb 8 09:57:31 debian postgres[9186]: [4-1] 2010-02-08 09:57:31.237 EST c=4b70265b.23e2,u=fred,D=fred LOG: connection authorized: user=fred database=fred
|
||||
Feb 8 09:57:44 debian postgres[9186]: [5-1] 2010-02-08 09:57:44.987 EST c=4b70265b.23e2,u=fred,D=fred LOG: statement: select 'something from terminal 1';
|
||||
Feb 8 09:57:44 debian postgres[9186]: [6-1] 2010-02-08 09:57:44.995 EST c=4b70265b.23e2,u=fred,D=fred LOG: duration: 10.931 ms
|
||||
Feb 8 09:57:53 debian postgres[9184]: [5-1] 2010-02-08 09:57:53.160 EST c=4b702658.23e0,u=fred,D=fred LOG: statement: select 'something from terminal 2';
|
||||
Feb 8 09:57:53 debian postgres[9184]: [6-1] 2010-02-08 09:57:53.168 EST c=4b702658.23e0,u=fred,D=fred LOG: duration: 10.253 ms
|
||||
Feb 8 09:57:54 debian postgres[9184]: [7-1] 2010-02-08 09:57:54.352 EST c=4b702658.23e0,u=fred,D=fred LOG: disconnection: session time: 0:00:26.022 user=fred
|
||||
Feb 8 09:57:54 debian postgres[9184]: [7-2] database=fred host=[local]
|
||||
Feb 8 09:58:08 debian postgres[9186]: [7-1] 2010-02-08 09:58:08.414 EST c=4b70265b.23e2,u=fred,D=fred LOG: disconnection: session time: 0:00:37.183 user=fred
|
||||
Feb 8 09:58:08 debian postgres[9186]: [7-2] database=fred host=[local]
|
2437
t/lib/samples/pg/pg-syslog-009.txt
Normal file
2437
t/lib/samples/pg/pg-syslog-009.txt
Normal file
File diff suppressed because it is too large
Load Diff
23
t/lib/samples/pg/pg-syslog-010.txt
Normal file
23
t/lib/samples/pg/pg-syslog-010.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [12-1] LOG: duration: 3617.465 ms
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [13-1] LOG: duration: 3617.465 ms statement: select
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [13-2] t.tid,t.title,m.name,gn.name,to_char( t.retail_reldate, 'mm-dd-yy' ) as retail_reldate,coalesce(s0c100r0.units,0) as
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [13-3] w0c100r0units,'NA' as w0c100r0dollars,'NA' as w0c100r0arp,coalesce(s0c1r0.units,0) as w0c1r0units,'NA' as w0c1r0dollars,'NA' as
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [13-4] w0c1r0arp,coalesce(s0c2r0.units,0) as w0c2r0units,coalesce(s0c2r0.dollars,0) as w0c2r0dollars,arp(s0c2r0.dollars, s0c2r0.units)
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [13-5] as w0c2r0arp from title t left outer join sublabel sl on t.sublabel_rel = sl.key left outer join label s on sl.lid = s.id left
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [13-6] outer join label d on s.did = d.id left outer join sale_200601 s0c100r0 on t.tid = s0c100r0.tid and s0c100r0.week = 200601 and
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [13-7] s0c100r0.channel = 100 and s0c100r0.region = 0 left outer join sale_200601 s0c1r0 on t.tid = s0c1r0.tid and s0c1r0.week =
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [13-8] 200601 and s0c1r0.channel = 1 and s0c1r0.region = 0 left outer join sale_200601 s0c2r0 on t.tid = s0c2r0.tid and s0c2r0.week =
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [13-9] 200601 and s0c2r0.channel = 2 and s0c2r0.region = 0 left outer join media m on t.media = m.key left outer join genre_n gn on
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [13-10] t.genre_n = gn.key where ((((upper(t.title) like '%MATRIX%' or upper(t.artist) like '%MATRIX%') ))) and t.blob in ('L', 'M',
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [13-11] 'R') and t.source_dvd != 'IN' order by t.title asc limit 100
|
||||
2008 Jan 9 16:16:34 hostname postgres[30059]: [14-1] LOG: duration: 3.358 ms
|
||||
2008 Jan 9 16:16:36 hostname postgres[30059]: [15-1] LOG: duration: 1982.460 ms
|
||||
2008 Jan 9 16:16:36 hostname postgres[30059]: [16-1] LOG: duration: 1982.460 ms statement: select sum(coalesce(s0c100r0.units,0)) as
|
||||
2008 Jan 9 16:16:36 hostname postgres[30059]: [16-2] w0c100r0units,'' as w0c100r0dollars,'' as w0c100r0arp,sum(coalesce(s0c1r0.units,0)) as w0c1r0units,'' as w0c1r0dollars,'' as
|
||||
2008 Jan 9 16:16:36 hostname postgres[30059]: [16-3] w0c1r0arp,sum(coalesce(s0c2r0.units,0)) as w0c2r0units,sum(coalesce(s0c2r0.dollars,0)) as w0c2r0dollars,NULL as w0c2r0arp from
|
||||
2008 Jan 9 16:16:36 hostname postgres[30059]: [16-4] title t left outer join sublabel sl on t.sublabel_rel = sl.key left outer join label s on sl.lid = s.id left outer join label d
|
||||
2008 Jan 9 16:16:36 hostname postgres[30059]: [16-5] on s.did = d.id left outer join sale_200601 s0c100r0 on t.tid = s0c100r0.tid and s0c100r0.week = 200601 and s0c100r0.channel =
|
||||
2008 Jan 9 16:16:36 hostname postgres[30059]: [16-6] 100 and s0c100r0.region = 0 left outer join sale_200601 s0c1r0 on t.tid = s0c1r0.tid and s0c1r0.week = 200601 and
|
||||
2008 Jan 9 16:16:36 hostname postgres[30059]: [16-7] s0c1r0.channel = 1 and s0c1r0.region = 0 left outer join sale_200601 s0c2r0 on t.tid = s0c2r0.tid and s0c2r0.week = 200601 and
|
||||
2008 Jan 9 16:16:36 hostname postgres[30059]: [16-8] s0c2r0.channel = 2 and s0c2r0.region = 0 where ((((upper(t.title) like '%MATRIX%' or upper(t.artist) like '%MATRIX%') ))) and
|
||||
2008 Jan 9 16:16:36 hostname postgres[30059]: [16-9] t.blob in ('L', 'M', 'R') and t.source_dvd != 'IN'
|
Reference in New Issue
Block a user