Jira (PDB-5043) Collect common PDB queries used in PE console pages

19 views
Skip to first unread message

Zachary Kent (Jira)

unread,
Feb 22, 2021, 4:59:02 PM2/22/21
to puppe...@googlegroups.com
Zachary Kent created an issue
 
PuppetDB / Task PDB-5043
Collect common PDB queries used in PE console pages
Issue Type: Task Task
Assignee: Unassigned
Created: 2021/02/22 1:58 PM
Priority: Normal Normal
Reporter: Zachary Kent

We want to collect a list of commonly issued queries against PDB to provide a list for a performance testing baseline and to help identify which queries we may be able to help optimize.

For this ticket you'll need to get a PE install running using Frankenbuilder. Note that setting up a Platform 9 instance and running Frankenbuilder there will greatly reduce the time it takes to spin up a PE install due to the PE tarball needing to be copied back and forth from Portland and your local machine. We can help troubleshoot this setup in the pdb-sync room if there are any issues.

Below is an example of a Frankenbuilder command I've used in the past for reference:

./frankenbuilder master --workdir=/Users/zachary.kent/frankenbuilder/franken-workdir --vmpooler --install --preserve-hosts=always --keyfile=~/.ssh/id_rsa-acceptance

Once you have a running PE instance you'll need to enable log-queries in the PuppetDB config and restart the service. Once the logging is enabled clicking through the PE console should start logging the AST PDB is generating in the logs.

The list of queries we generate doesn't have to be exhaustive for the first pass. Clicking through the main pages and the side navs of the console should generate a reasonable list. We should capture this list in a gist and link it to this ticket.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Zachary Kent (Jira)

unread,
Feb 22, 2021, 5:01:03 PM2/22/21
to puppe...@googlegroups.com
Zachary Kent updated an issue
Change By: Zachary Kent
Acceptance Criteria: * Generate a list of common AST queries issued against PDB from the PE console and attach it to this ticket

Zachary Kent (Jira)

unread,
Feb 22, 2021, 5:32:03 PM2/22/21
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Feb 23, 2021, 8:09:03 AM2/23/21
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Feb 24, 2021, 10:18:00 AM2/24/21
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Mar 10, 2021, 9:55:03 AM3/10/21
to puppe...@googlegroups.com

Florin Dragos (Jira)

unread,
Mar 23, 2021, 5:15:04 AM3/23/21
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Mar 24, 2021, 10:09:03 AM3/24/21
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost-24.03.2021 , ready for triage 3

Florin Dragos (Jira)

unread,
Mar 25, 2021, 10:39:03 AM3/25/21
to puppe...@googlegroups.com

Margaret Lee (Jira)

unread,
Mar 25, 2021, 1:29:03 PM3/25/21
to puppe...@googlegroups.com
Margaret Lee commented on Task PDB-5043

Customers that have hit issues with console queries for tracking:
Duke Energy
Huntington Bank
SCB
Progressive
JPMC
Cognizant
CSIRO
PwC
Abu Dhabi

cc Mihai Buzgau

Mihai Buzgau (Jira)

unread,
Mar 31, 2021, 10:17:03 AM3/31/21
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
 
Change By: Mihai Buzgau
Labels: 2021-o1-kr2 c3 c4 tsr-pdb-backlog

Mihai Buzgau (Jira)

unread,
Apr 1, 2021, 10:04:06 AM4/1/21
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Labels: 2021-o1-kr2 c1 c3 c4 tsr-pdb-backlog

Margaret Lee (Jira)

unread,
May 5, 2021, 2:25:03 PM5/5/21
to puppe...@googlegroups.com
Margaret Lee updated an issue
Change By: Margaret Lee
Epic Link: PE-31891
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages