These are chat archives for ManageIQ/manageiq/performance

3rd
Dec 2015
Keenan Brock
@kbrock
Dec 03 2015 03:52

@matthewd ideas on changing preloader:

lib/extensions/ar_virtual.rb:353:in `preloaders_on_with_virtual'
lib/miq_preloader.rb:4:in `preload'

Instead of generating:

SELECT "ext_management_systems".*
FROM "ext_management_systems"
WHERE "ext_management_systems"."id" IN (1)

I want it to generate:

SELECT "ext_management_systems".*
FROM "ext_management_systems"
WHERE "ext_management_systems"."id" = 1

ExtManagementSystem.where(:id => [1]) generates the second one.

Keenan Brock
@kbrock
Dec 03 2015 21:27
offhand - anyone know what version of postgres we are using on the appliance? and do we have plans to update?
Jason Frey
@Fryguy
Dec 03 2015 21:27
9.4
which I believe is the latest
Keenan Brock
@kbrock
Dec 03 2015 21:32
ok, I'm going to update my database version locally then