Comments (1)
SELECT "hosts"."id" AS t0_r0, "hosts"."name" AS t0_r1, "hosts"."last_compile" AS t0_r2, "hosts"."last_report" AS t0_r3, "hosts"."updated_at" AS t0_r4, "hosts"."created_at" AS t0_r5, "hosts"."root_pass" AS t0_r6, "hosts"."architecture_id" AS t0_r7, "hosts"."operatingsystem_id" AS t0_r8, "hosts"."environment_id" AS t0_r9, "hosts"."ptable_id" AS t0_r10, "hosts"."medium_id" AS t0_r11, "hosts"."build" AS t0_r12, "hosts"."comment" AS t0_r13, "hosts"."disk" AS t0_r14, "hosts"."installed_at" AS t0_r15, "hosts"."model_id" AS t0_r16, "hosts"."hostgroup_id" AS t0_r17, "hosts"."owner_id" AS t0_r18, "hosts"."owner_type" AS t0_r19, "hosts"."enabled" AS t0_r20, "hosts"."puppet_ca_proxy_id" AS t0_r21, "hosts"."managed" AS t0_r22, "hosts"."use_image" AS t0_r23, "hosts"."image_file" AS t0_r24, "hosts"."uuid" AS t0_r25, "hosts"."compute_resource_id" AS t0_r26, "hosts"."puppet_proxy_id" AS t0_r27, "hosts"."certname" AS t0_r28, "hosts"."image_id" AS t0_r29, "hosts"."organization_id" AS t0_r30, "hosts"."location_id" AS t0_r31, "hosts"."type" AS t0_r32, "hosts"."otp" AS t0_r33, "hosts"."realm_id" AS t0_r34, "hosts"."compute_profile_id" AS t0_r35, "hosts"."provision_method" AS t0_r36, "hosts"."grub_pass" AS t0_r37, "hosts"."discovery_rule_id" AS t0_r38, "hosts"."expired_on" AS t0_r39, "hosts"."global_status" AS t0_r40, "hosts"."lookup_value_matcher" AS t0_r41, "hosts"."pxe_loader" AS t0_r42, "hosts"."monitoring_proxy_id" AS t0_r43, "hosts"."rescue_mode" AS t0_r44, "hosts"."spacewalk_proxy_id" AS t0_r45, "hosts"."initiated_at" AS t0_r46, "hosts"."build_errors" AS t0_r47, "host_status"."id" AS t1_r0, "host_status"."type" AS t1_r1, "host_status"."status" AS t1_r2, "host_status"."host_id" AS t1_r3, "host_status"."reported_at" AS t1_r4, "vmware_facets"."id" AS t2_r0, "vmware_facets"."host_id" AS t2_r1, "vmware_facets"."vmware_cluster_id" AS t2_r2, "vmware_facets"."cpus" AS t2_r3, "vmware_facets"."corespersocket" AS t2_r4, "vmware_facets"."memory_mb" AS t2_r5, "vmware_facets"."guest_id" AS t2_r6, "vmware_facets"."tools_state" AS t2_r7, "vmware_facets"."cpu_hot_add" AS t2_r8, "vmware_facets"."created_at" AS t2_r9, "vmware_facets"."updated_at" AS t2_r10, "vmware_facets"."cpu_features" AS t2_r11, "vmware_facets"."hardware_version" AS t2_r12, "vmware_facets"."power_state" AS t2_r13, "environments"."id" AS t3_r0, "environments"."name" AS t3_r1, "environments"."created_at" AS t3_r2, "environments"."updated_at" AS t3_r3, "environments"."katello_id" AS t3_r4 FROM "hosts" INNER JOIN "host_status" ON "host_status"."host_id" = "hosts"."id" AND "host_status"."type" IN ('ForemanWreckingball::ToolsStatus') LEFT OUTER JOIN "vmware_facets" ON "vmware_facets"."host_id" = "hosts"."id" LEFT OUTER JOIN "environments" ON "environments"."id" = "hosts"."environment_id" AND (environments.id IN (1,2,6,11,82,106,107,109,110,120,431,434,567,594,621,1529,1530,759,1682,867,1790,900,963,972,975,978,1891,1041,1536,1089,1111,1538,1741,1171,1578,1268,1307,1337,1355,1445,1364,1365,1906,1370,1371,1918,1713,1387,1459,1919,1461,1767,1821,1860,1828,1476,1415,1620,1622,1423,1673,1882,1937,1978,1979,1981,1983,1985,1986,1987)) WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."organization_id" = 3 ORDER BY "hosts"."name" ASC;
https://explain.depesz.com/s/JTCk
SELECT "hosts"."id" AS t0_r0, "hosts"."name" AS t0_r1, "hosts"."last_compile" AS t0_r2, "hosts"."last_report" AS t0_r3, "hosts"."updated_at" AS t0_r4, "hosts"."created_at" AS t0_r5, "hosts"."root_pass" AS t0_r6, "hosts"."architecture_id" AS t0_r7, "hosts"."operatingsystem_id" AS t0_r8, "hosts"."environment_id" AS t0_r9, "hosts"."ptable_id" AS t0_r10, "hosts"."medium_id" AS t0_r11, "hosts"."build" AS t0_r12, "hosts"."comment" AS t0_r13, "hosts"."disk" AS t0_r14, "hosts"."installed_at" AS t0_r15, "hosts"."model_id" AS t0_r16, "hosts"."hostgroup_id" AS t0_r17, "hosts"."owner_id" AS t0_r18, "hosts"."owner_type" AS t0_r19, "hosts"."enabled" AS t0_r20, "hosts"."puppet_ca_proxy_id" AS t0_r21, "hosts"."managed" AS t0_r22, "hosts"."use_image" AS t0_r23, "hosts"."image_file" AS t0_r24, "hosts"."uuid" AS t0_r25, "hosts"."compute_resource_id" AS t0_r26, "hosts"."puppet_proxy_id" AS t0_r27, "hosts"."certname" AS t0_r28, "hosts"."image_id" AS t0_r29, "hosts"."organization_id" AS t0_r30, "hosts"."location_id" AS t0_r31, "hosts"."type" AS t0_r32, "hosts"."otp" AS t0_r33, "hosts"."realm_id" AS t0_r34, "hosts"."compute_profile_id" AS t0_r35, "hosts"."provision_method" AS t0_r36, "hosts"."grub_pass" AS t0_r37, "hosts"."discovery_rule_id" AS t0_r38, "hosts"."expired_on" AS t0_r39, "hosts"."global_status" AS t0_r40, "hosts"."lookup_value_matcher" AS t0_r41, "hosts"."pxe_loader" AS t0_r42, "hosts"."monitoring_proxy_id" AS t0_r43, "hosts"."rescue_mode" AS t0_r44, "hosts"."spacewalk_proxy_id" AS t0_r45, "hosts"."initiated_at" AS t0_r46, "hosts"."build_errors" AS t0_r47, "host_status"."id" AS t1_r0, "host_status"."type" AS t1_r1, "host_status"."status" AS t1_r2, "host_status"."host_id" AS t1_r3, "host_status"."reported_at" AS t1_r4, "vmware_facets"."id" AS t2_r0, "vmware_facets"."host_id" AS t2_r1, "vmware_facets"."vmware_cluster_id" AS t2_r2, "vmware_facets"."cpus" AS t2_r3, "vmware_facets"."corespersocket" AS t2_r4, "vmware_facets"."memory_mb" AS t2_r5, "vmware_facets"."guest_id" AS t2_r6, "vmware_facets"."tools_state" AS t2_r7, "vmware_facets"."cpu_hot_add" AS t2_r8, "vmware_facets"."created_at" AS t2_r9, "vmware_facets"."updated_at" AS t2_r10, "vmware_facets"."cpu_features" AS t2_r11, "vmware_facets"."hardware_version" AS t2_r12, "vmware_facets"."power_state" AS t2_r13, "environments"."id" AS t3_r0, "environments"."name" AS t3_r1, "environments"."created_at" AS t3_r2, "environments"."updated_at" AS t3_r3, "environments"."katello_id" AS t3_r4 FROM "hosts" INNER JOIN "host_status" ON "host_status"."host_id" = "hosts"."id" AND "host_status"."type" IN ('ForemanWreckingball::OperatingsystemStatus') LEFT OUTER JOIN "vmware_facets" ON "vmware_facets"."host_id" = "hosts"."id" LEFT OUTER JOIN "environments" ON "environments"."id" = "hosts"."environment_id" AND (environments.id IN (1,2,6,11,82,106,107,109,110,120,431,434,567,594,621,1529,1530,759,1682,867,1790,900,963,972,975,978,1891,1041,1536,1089,1111,1538,1741,1171,1578,1268,1307,1337,1355,1445,1364,1365,1906,1370,1371,1918,1713,1387,1459,1919,1461,1767,1821,1860,1828,1476,1415,1620,1622,1423,1673,1882,1937,1978,1979,1981,1983,1985,1986,1987)) WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."organization_id" = 3 ORDER BY "hosts"."name" ASC;
https://explain.depesz.com/s/glpoD
from foreman_wreckingball.
Related Issues (20)
- CPU feature ids with current Foreman 2.3 and vSphere 7.x are lowercase
- provide a remediate action to update vm hardware version
- Add global_status column to the wreckingball statuses
- Improve adding new status HOT 1
- 3.1.0 assets do not compile in production
- show meaningful flash message when import task is already running
- app does not start on production as Uglifier gem is not available
- Cluster importer fails to delete stale clusters HOT 1
- count on overview pages are wrong
- Expand stops functioning for owned hosts
- show hypervisor subscription status HOT 1
- add a dashboard page to provide an overview of the subscription
- start remediate actions via API call
- start remediate action for hosts via bulk action
- show hosts that are not properly associated to a compute ressource HOT 1
- add scoped search definitions for hosts
- improve UI for compute resource overview page HOT 2
- Add buttons to fix the association
- update guest os identifiers for vsphere 6.7
- operatingsystem status does not detect "Other OS" mismatch
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from foreman_wreckingball.