Last active
April 23, 2016 00:29
-
-
Save githoov/f114ea61eebee66b89e6e730252ecab5 to your computer and use it in GitHub Desktop.
Pinger Benchmarks: Queries
This file contains hidden or 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
\timing on | |
\o /dev/null | |
select count(*) from pinger.event_tmp1; | |
select count(*) from pinger.event_tmp1; | |
select count(*) from pinger.event_tmp1; | |
select count(*) from pinger.event_tmp1; | |
select count(*) from pinger.event_tmp1; | |
select looker_instance_slug, count(*) from pinger.event_tmp1 group by 1; | |
select looker_instance_slug, count(*) from pinger.event_tmp1 group by 1; | |
select looker_instance_slug, count(*) from pinger.event_tmp1 group by 1; | |
select looker_instance_slug, count(*) from pinger.event_tmp1 group by 1; | |
select looker_instance_slug, count(*) from pinger.event_tmp1 group by 1; | |
select count(*) from pinger.event_tmp1 where created_at >= current_date - interval '90 day'; | |
select count(*) from pinger.event_tmp1 where created_at >= current_date - interval '90 day'; | |
select count(*) from pinger.event_tmp1 where created_at >= current_date - interval '90 day'; | |
select count(*) from pinger.event_tmp1 where created_at >= current_date - interval '90 day'; | |
select count(*) from pinger.event_tmp1 where created_at >= current_date - interval '90 day'; | |
select count(*) from pinger.event_tmp1 left join license.looker_instance on event_tmp1.looker_instance_slug = looker_instance.slug; | |
select count(*) from pinger.event_tmp1 left join license.looker_instance on event_tmp1.looker_instance_slug = looker_instance.slug; | |
select count(*) from pinger.event_tmp1 left join license.looker_instance on event_tmp1.looker_instance_slug = looker_instance.slug; | |
select count(*) from pinger.event_tmp1 left join license.looker_instance on event_tmp1.looker_instance_slug = looker_instance.slug; | |
select count(*) from pinger.event_tmp1 left join license.looker_instance on event_tmp1.looker_instance_slug = looker_instance.slug; | |
select count(*) from pinger.event_tmp1 left join license.license on event_tmp1.license_slug = license.slug; | |
select count(*) from pinger.event_tmp1 left join license.license on event_tmp1.license_slug = license.slug; | |
select count(*) from pinger.event_tmp1 left join license.license on event_tmp1.license_slug = license.slug; | |
select count(*) from pinger.event_tmp1 left join license.license on event_tmp1.license_slug = license.slug; | |
select count(*) from pinger.event_tmp1 left join license.license on event_tmp1.license_slug = license.slug; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment