SELECT S.ID, S.NAME#0#0#0 FROM rhnServer S,#0#0#0 rhnServerConfigChannel SCC,#0 #0 rhnUserServerPerms USP#0#0#0 WHERE rhn_config_channel.get_user_chan_access(0, 0) = 0#0#0#0 AND SCC.config_channel_id = 0#0#0#0 AND S.id = SCC.server_id#0 #0#0 AND USP.server_id = S.id#0#0#0 AND USP.user_id = 0#0#0#0 ORDER BY S.NAME;
43.64s | SELECT S.ID, S.NAME#011#011#011 FROM rhnServer S,#011#011#011 rhnServerConfigChannel SCC,#011 #011 rhnUserServerPerms USP#011#011#011 WHERE rhn_config_channel.get_user_chan_access(1, 3) = 1#011#011#011 AND SCC.config_channel_id = 1#011#011#011 AND S.id = SCC.server_id#011 #011#011 AND USP.server_id = S.id#011#011#011 AND USP.user_id = 3#011#011#011 ORDER BY S.NAME;
41.06s | SELECT S.ID, S.NAME#011#011#011 FROM rhnServer S,#011#011#011 rhnServerConfigChannel SCC,#011 #011 rhnUserServerPerms USP#011#011#011 WHERE rhn_config_channel.get_user_chan_access(1, 3) = 1#011#011#011 AND SCC.config_channel_id = 1#011#011#011 AND S.id = SCC.server_id#011 #011#011 AND USP.server_id = S.id#011#011#011 AND USP.user_id = 3#011#011#011 ORDER BY S.NAME;
2
77ms
214
Day
Time
Count
Av. Duration
Apr 15
9am
214
0.36
0.36
COMMIT;
3
49ms
32
Day
Time
Count
Av. Duration
Apr 15
9am
32
1.54
1.54
#0 select a.id, sa.server_id, pc.jabber_id,#0 date_diff_in_days(current_timestamp, earliest_action) * 0 delta#0 from#0 rhnServerAction sa,#0 rhnAction a,#0 rhnPushClient pc#0 where pc.server_id = sa.server_id#0 and sa.action_id = a.id#0 and sa.status in (...) -- Queued or picked up#0 and not exists (#0 -- This is like saying 'this action has no#0 -- prerequisite or has a prerequisite that has completed#0 -- (status = 0)#0 select 0#0 from rhnServerAction sap#0 where sap.server_id = sa.server_id#0 and sap.action_id = a.prerequisite#0 and sap.status != 0#0 )#0 order by earliest_action#0;
2.05s | #011 select a.id, sa.server_id, pc.jabber_id,#011 date_diff_in_days(current_timestamp, earliest_action) * 86400 delta#011 from#011 rhnServerAction sa,#011 rhnAction a,#011 rhnPushClient pc#011 where pc.server_id = sa.server_id#011 and sa.action_id = a.id#011 and sa.status in (0, 1) -- Queued or picked up#011 and not exists (#011 -- This is like saying 'this action has no#011 -- prerequisite or has a prerequisite that has completed#011 -- (status = 2)#011 select 1#011 from rhnServerAction sap#011 where sap.server_id = sa.server_id#011 and sap.action_id = a.prerequisite#011 and sap.status != 2#011 )#011 order by earliest_action#011;
2.02s | #011 select a.id, sa.server_id, pc.jabber_id,#011 date_diff_in_days(current_timestamp, earliest_action) * 86400 delta#011 from#011 rhnServerAction sa,#011 rhnAction a,#011 rhnPushClient pc#011 where pc.server_id = sa.server_id#011 and sa.action_id = a.id#011 and sa.status in (0, 1) -- Queued or picked up#011 and not exists (#011 -- This is like saying 'this action has no#011 -- prerequisite or has a prerequisite that has completed#011 -- (status = 2)#011 select 1#011 from rhnServerAction sap#011 where sap.server_id = sa.server_id#011 and sap.action_id = a.prerequisite#011 and sap.status != 2#011 )#011 order by earliest_action#011;
2.00s | #011 select a.id, sa.server_id, pc.jabber_id,#011 date_diff_in_days(current_timestamp, earliest_action) * 86400 delta#011 from#011 rhnServerAction sa,#011 rhnAction a,#011 rhnPushClient pc#011 where pc.server_id = sa.server_id#011 and sa.action_id = a.id#011 and sa.status in (0, 1) -- Queued or picked up#011 and not exists (#011 -- This is like saying 'this action has no#011 -- prerequisite or has a prerequisite that has completed#011 -- (status = 2)#011 select 1#011 from rhnServerAction sap#011 where sap.server_id = sa.server_id#011 and sap.action_id = a.prerequisite#011 and sap.status != 2#011 )#011 order by earliest_action#011;
4
12ms
1
Day
Time
Count
Av. Duration
Apr 15
9am
1
11.67
11.67
SELECT S.ID, S.NAME#011#011#011 FROM rhnServer S,#011#011#011#011 rhnSet ST,#011#011#011 rhnServerConfigChannel SCC,#011 #011 rhnUserServerPerms USP#011#011#011 WHERE rhn_config_channel.get_user_chan_access(1, 3) = 1#011#011#011 AND SCC.config_channel_id = 1#011#011#011 AND S.id = SCC.server_id#011#011#011 AND ST.user_id = 3#011 #011#011 AND ST.label = 'config_channel_deploy_systems'#011#011#011 AND ST.element = S.id#011 #011#011 AND USP.server_id = S.id#011#011#011 AND USP.user_id = 3#011#011 ORDER BY S.NAME;
#0 update rhnPushClient#0 set state_id = 0#0 where state_id = 0#0 and last_ping_time is not null#0 and current_timestamp > next_action_time#0;
0.29s | #011 update rhnPushClient#011 set state_id = 2#011 where state_id = 1#011 and last_ping_time is not null#011 and current_timestamp > next_action_time#011;
0.28s | #011 update rhnPushClient#011 set state_id = 2#011 where state_id = 1#011 and last_ping_time is not null#011 and current_timestamp > next_action_time#011;
0.27s | #011 update rhnPushClient#011 set state_id = 2#011 where state_id = 1#011 and last_ping_time is not null#011 and current_timestamp > next_action_time#011;
8
7ms
2
Day
Time
Count
Av. Duration
Apr 15
9am
2
3.29
3.29
SELECT CF.id,#0#0 CF.latest_config_revision_id,#0 CFN.path,#0 CR.revision AS latest_config_revision,#0 coalesce(CCon.modified, CR.modified) as modified,#0#0 CFT.label as type#0 FROM rhnConfigFileName CFN,#0 rhnConfigFile CF,#0 rhnConfigRevision CR LEFT OUTER JOIN rhnConfigContent CCon#0 ON CR.config_content_id = CCon.id,#0#0 rhnSet ST,#0#0 rhnConfigFileType CFT#0 WHERE rhn_config_channel.get_user_chan_access(0, 0) = 0#0 AND ST.user_id = 0#0 AND ST.label = ''#0 AND ST.element = CF.id#0 AND CF.config_channel_id = 0#0 AND CFN.id = CF.config_file_name_id#0 AND CR.config_file_id = CF.id#0 AND CF.latest_config_revision_id = CR.id#0 AND CFT.id = CR.config_file_type_id#0ORDER BY CFN.path;
3.34s | SELECT CF.id,#011#011 CF.latest_config_revision_id,#011 CFN.path,#011 CR.revision AS latest_config_revision,#011 coalesce(CCon.modified, CR.modified) as modified,#011#011 CFT.label as type#011 FROM rhnConfigFileName CFN,#011 rhnConfigFile CF,#011 rhnConfigRevision CR LEFT OUTER JOIN rhnConfigContent CCon#011 ON CR.config_content_id = CCon.id,#011#011 rhnSet ST,#011#011 rhnConfigFileType CFT#011 WHERE rhn_config_channel.get_user_chan_access(1, 3) = 1#011 AND ST.user_id = 3#011 AND ST.label = 'config_channel_deploy_revisions'#011 AND ST.element = CF.id#011 AND CF.config_channel_id = 1#011 AND CFN.id = CF.config_file_name_id#011 AND CR.config_file_id = CF.id#011 AND CF.latest_config_revision_id = CR.id#011 AND CFT.id = CR.config_file_type_id#011ORDER BY CFN.path;
3.24s | SELECT CF.id,#011#011 CF.latest_config_revision_id,#011 CFN.path,#011 CR.revision AS latest_config_revision,#011 coalesce(CCon.modified, CR.modified) as modified,#011#011 CFT.label as type#011 FROM rhnConfigFileName CFN,#011 rhnConfigFile CF,#011 rhnConfigRevision CR LEFT OUTER JOIN rhnConfigContent CCon#011 ON CR.config_content_id = CCon.id,#011#011 rhnSet ST,#011#011 rhnConfigFileType CFT#011 WHERE rhn_config_channel.get_user_chan_access(1, 3) = 1#011 AND ST.user_id = 3#011 AND ST.label = 'config_channel_deploy_revisions'#011 AND ST.element = CF.id#011 AND CF.config_channel_id = 1#011 AND CFN.id = CF.config_file_name_id#011 AND CR.config_file_id = CF.id#011 AND CF.latest_config_revision_id = CR.id#011 AND CFT.id = CR.config_file_type_id#011ORDER BY CFN.path;
9
6ms
1
Day
Time
Count
Av. Duration
Apr 15
9am
1
5.78
5.78
SELECT S.ID,#011 COALESCE((#011#011#011#011#011SELECT COUNT(DISTINCT CFN2.id)#011#011#011#011#011FROM rhnConfigChannel CC2, rhnConfigChannelType CCT2, rhnServerConfigChannel SCC2,#011#011#011#011#011#011 rhnConfigFile cf2, rhnConfigFileName cfn2,#011#011#011#011#011#011 rhnConfigChannel CC, rhnServerConfigChannel SCC,#011#011#011#011#011#011 rhnConfigFile cf, rhnConfigFileName cfn#011#011#011#011#011WHERE SCC2.server_id = S.ID#011#011#011#011#011 AND scc.server_id = S.ID#011#011#011#011#011 AND cc.id = $1#011#011#011#011#011 AND cf.config_channel_id = cc.id#011#011#011#011#011 AND cfn.id = cf.config_file_name_id#011#011#011#011#011 AND CC2.id = SCC2.config_channel_id#011#011#011#011#011 AND CC2.confchan_type_id = CCT2.id#011#011#011#011#011 AND CCT2.label = 'local_override'#011#011#011#011#011 AND CF2.config_channel_Id = CC2.id#011#011#011#011#011 AND CFN2.id = CF2.config_file_name_id#011#011#011#011#011 AND cfn.id = cfn2.id#011#011#011#011 ), 0) overridden_count,#011#011#011#011COALESCE((#011#011#011#011#011SELECT COUNT(DISTINCT CFN.id)#011#011#011#011#011 FROM rhnConfigChannel CC,#011#011#011#011#011#011 rhnConfigFile cf,#011#011#011#011 #011#011 rhnConfigFileName cfn,#011 rhnServerConfigChannel SCC,#011#011#011#011#011#011 rhnConfigChannel CC2,#011 rhnServerConfigChannel SCC2,;
SELECT#011 s.id as id,#011 s.name as name,#011 s.description as description,#011 s.info as info,#011 s.created as registered,#011 s.running_kernel as runningKernel,#011 sl.machine as machine,#011 sl.rack as rack,#011 sl.room as room,#011 sl.building as building,#011 sl.address1 as address1,#011 sl.address2 as address2,#011 sl.city as city,#011 sl.state as state,#011 sl.country as country,#011 rsn.hostname as hostname,#011 rsn.ipaddr as ipaddr,#011 rsn.ip6addr as ip6addr,#011 dmi.vendor as dmiVendor,#011 dmi.system as dmiSystem,#011 dmi.product as dmiProduct,#011 dmi.bios_vendor as dmiBiosVendor,#011 dmi.bios_version as dmiBiosVersion,#011 dmi.bios_release as dmiBiosRelease,#011 dmi.asset as dmiAsset,#011 dmi.board as dmiBoard,#011 cpu.bogomips as cpuBogoMIPS,#011 cpu.cache as cpuCache,#011 cpu.family as cpuFamily,#011 cpu.mhz as cpuMHz,#011 cpu.stepping as cpuStepping,#011 cpu.flags as cpuFlags,#011 cpu.model as cpuModel,#011 cpu.version as cpuVersion,#011 cpu.vendor as cpuVendor,#011 cpu.nrcpu as cpuNumberOfCpus,#011 cpu.acpiversion as cpuAcpiVersion,#011 cpu.apic as cpuApic,#011 cpu.apmversion as cpuApmVersion,#011 cpu.chipset as cpuChipset,#011 si.checkin as checkin,#011 rr.ram as ram,#011 rr.swap as swap,#011 vi.uuid as uuid#011 FROM rhnServer s#011 LEFT OUTER JOIN rhnServerNetwork rsn ON s.id = rsn.server_id#011 LEFT OUTER JOIN rhnServerInfo si on s.id = si.server_id#011 LEFT OUTER JOIN rhnRam rr on s.id = rr.server_id#011 LEFT OUTER JOIN rhnServerLocation sl ON s.id = sl.server_id#011 LEFT OUTER JOIN rhnServerDmi dmi ON s.id = dmi.server_id#011 LEFT OUTER JOIN rhnCPU cpu on s.id = cpu.server_id#011 LEFT OUTER JOIN rhnVirtualInstance vi on s.id = vi.virtual_system_id#011 WHERE s.modified >= '2014-04-10 17:04:11.848+02'#011 or rsn.modified >= '2014-04-10 17:04:11.848+02'#011 or si.checkin >= '2014-04-10 17:04:11.848+02'#011 or rr.modified >= '2014-04-10 17:04:11.848+02'#011 or sl.modified >= '2014-04-10 17:04:11.848+02'#011 or dmi.modified >= '2014-04-10 17:04:11.848+02'#011 or cpu.modified >= '2014-04-10 17:04:11.848+02'#011 or s.id > 1000010433#011 ORDER by s.id ASC;
#0 select id, name, shared_key, jabber_id#0 from rhnPushClient#0 where state_id = 0#0 and last_ping_time is not null#0 and next_action_time is null#0 and jabber_id is not null#0;
0.14s | #011 select id, name, shared_key, jabber_id#011 from rhnPushClient#011 where state_id = 1#011 and last_ping_time is not null#011 and next_action_time is null#011 and jabber_id is not null#011;
0.13s | #011 select id, name, shared_key, jabber_id#011 from rhnPushClient#011 where state_id = 1#011 and last_ping_time is not null#011 and next_action_time is null#011 and jabber_id is not null#011;
0.13s | #011 select id, name, shared_key, jabber_id#011 from rhnPushClient#011 where state_id = 1#011 and last_ping_time is not null#011 and next_action_time is null#011 and jabber_id is not null#011;
SELECT S.ID, S.NAME#011#011#011 FROM rhnServer S,#011#011#011 rhnServerConfigChannel SCC,#011 #011 rhnUserServerPerms USP#011#011#011 WHERE rhn_config_channel.get_user_chan_access(1, 3) = 1#011#011#011 AND SCC.config_channel_id = 1#011#011#011 AND S.id = SCC.server_id#011 #011#011 AND USP.server_id = S.id#011#011#011 AND USP.user_id = 3#011#011#011 ORDER BY S.NAME;
2
41.06
SELECT S.ID, S.NAME#011#011#011 FROM rhnServer S,#011#011#011 rhnServerConfigChannel SCC,#011 #011 rhnUserServerPerms USP#011#011#011 WHERE rhn_config_channel.get_user_chan_access(1, 3) = 1#011#011#011 AND SCC.config_channel_id = 1#011#011#011 AND S.id = SCC.server_id#011 #011#011 AND USP.server_id = S.id#011#011#011 AND USP.user_id = 3#011#011#011 ORDER BY S.NAME;
3
11.67
SELECT S.ID, S.NAME#011#011#011 FROM rhnServer S,#011#011#011#011 rhnSet ST,#011#011#011 rhnServerConfigChannel SCC,#011 #011 rhnUserServerPerms USP#011#011#011 WHERE rhn_config_channel.get_user_chan_access(1, 3) = 1#011#011#011 AND SCC.config_channel_id = 1#011#011#011 AND S.id = SCC.server_id#011#011#011 AND ST.user_id = 3#011 #011#011 AND ST.label = 'config_channel_deploy_systems'#011#011#011 AND ST.element = S.id#011 #011#011 AND USP.server_id = S.id#011#011#011 AND USP.user_id = 3#011#011 ORDER BY S.NAME;
4
8.79
SELECT id from rhnDevice;
5
5.78
SELECT S.ID,#011 COALESCE((#011#011#011#011#011SELECT COUNT(DISTINCT CFN2.id)#011#011#011#011#011FROM rhnConfigChannel CC2, rhnConfigChannelType CCT2, rhnServerConfigChannel SCC2,#011#011#011#011#011#011 rhnConfigFile cf2, rhnConfigFileName cfn2,#011#011#011#011#011#011 rhnConfigChannel CC, rhnServerConfigChannel SCC,#011#011#011#011#011#011 rhnConfigFile cf, rhnConfigFileName cfn#011#011#011#011#011WHERE SCC2.server_id = S.ID#011#011#011#011#011 AND scc.server_id = S.ID#011#011#011#011#011 AND cc.id = $1#011#011#011#011#011 AND cf.config_channel_id = cc.id#011#011#011#011#011 AND cfn.id = cf.config_file_name_id#011#011#011#011#011 AND CC2.id = SCC2.config_channel_id#011#011#011#011#011 AND CC2.confchan_type_id = CCT2.id#011#011#011#011#011 AND CCT2.label = 'local_override'#011#011#011#011#011 AND CF2.config_channel_Id = CC2.id#011#011#011#011#011 AND CFN2.id = CF2.config_file_name_id#011#011#011#011#011 AND cfn.id = cfn2.id#011#011#011#011 ), 0) overridden_count,#011#011#011#011COALESCE((#011#011#011#011#011SELECT COUNT(DISTINCT CFN.id)#011#011#011#011#011 FROM rhnConfigChannel CC,#011#011#011#011#011#011 rhnConfigFile cf,#011#011#011#011 #011#011 rhnConfigFileName cfn,#011 rhnServerConfigChannel SCC,#011#011#011#011#011#011 rhnConfigChannel CC2,#011 rhnServerConfigChannel SCC2,;
SELECT#011 s.id as id,#011 s.name as name,#011 s.description as description,#011 s.info as info,#011 s.created as registered,#011 s.running_kernel as runningKernel,#011 sl.machine as machine,#011 sl.rack as rack,#011 sl.room as room,#011 sl.building as building,#011 sl.address1 as address1,#011 sl.address2 as address2,#011 sl.city as city,#011 sl.state as state,#011 sl.country as country,#011 rsn.hostname as hostname,#011 rsn.ipaddr as ipaddr,#011 rsn.ip6addr as ip6addr,#011 dmi.vendor as dmiVendor,#011 dmi.system as dmiSystem,#011 dmi.product as dmiProduct,#011 dmi.bios_vendor as dmiBiosVendor,#011 dmi.bios_version as dmiBiosVersion,#011 dmi.bios_release as dmiBiosRelease,#011 dmi.asset as dmiAsset,#011 dmi.board as dmiBoard,#011 cpu.bogomips as cpuBogoMIPS,#011 cpu.cache as cpuCache,#011 cpu.family as cpuFamily,#011 cpu.mhz as cpuMHz,#011 cpu.stepping as cpuStepping,#011 cpu.flags as cpuFlags,#011 cpu.model as cpuModel,#011 cpu.version as cpuVersion,#011 cpu.vendor as cpuVendor,#011 cpu.nrcpu as cpuNumberOfCpus,#011 cpu.acpiversion as cpuAcpiVersion,#011 cpu.apic as cpuApic,#011 cpu.apmversion as cpuApmVersion,#011 cpu.chipset as cpuChipset,#011 si.checkin as checkin,#011 rr.ram as ram,#011 rr.swap as swap,#011 vi.uuid as uuid#011 FROM rhnServer s#011 LEFT OUTER JOIN rhnServerNetwork rsn ON s.id = rsn.server_id#011 LEFT OUTER JOIN rhnServerInfo si on s.id = si.server_id#011 LEFT OUTER JOIN rhnRam rr on s.id = rr.server_id#011 LEFT OUTER JOIN rhnServerLocation sl ON s.id = sl.server_id#011 LEFT OUTER JOIN rhnServerDmi dmi ON s.id = dmi.server_id#011 LEFT OUTER JOIN rhnCPU cpu on s.id = cpu.server_id#011 LEFT OUTER JOIN rhnVirtualInstance vi on s.id = vi.virtual_system_id#011 WHERE s.modified >= '2014-04-10 17:04:11.848+02'#011 or rsn.modified >= '2014-04-10 17:04:11.848+02'#011 or si.checkin >= '2014-04-10 17:04:11.848+02'#011 or rr.modified >= '2014-04-10 17:04:11.848+02'#011 or sl.modified >= '2014-04-10 17:04:11.848+02'#011 or dmi.modified >= '2014-04-10 17:04:11.848+02'#011 or cpu.modified >= '2014-04-10 17:04:11.848+02'#011 or s.id > 1000010433#011 ORDER by s.id ASC;
11
3.48
COMMIT;
12
3.34
SELECT CF.id,#011#011 CF.latest_config_revision_id,#011 CFN.path,#011 CR.revision AS latest_config_revision,#011 coalesce(CCon.modified, CR.modified) as modified,#011#011 CFT.label as type#011 FROM rhnConfigFileName CFN,#011 rhnConfigFile CF,#011 rhnConfigRevision CR LEFT OUTER JOIN rhnConfigContent CCon#011 ON CR.config_content_id = CCon.id,#011#011 rhnSet ST,#011#011 rhnConfigFileType CFT#011 WHERE rhn_config_channel.get_user_chan_access(1, 3) = 1#011 AND ST.user_id = 3#011 AND ST.label = 'config_channel_deploy_revisions'#011 AND ST.element = CF.id#011 AND CF.config_channel_id = 1#011 AND CFN.id = CF.config_file_name_id#011 AND CR.config_file_id = CF.id#011 AND CF.latest_config_revision_id = CR.id#011 AND CFT.id = CR.config_file_type_id#011ORDER BY CFN.path;
SELECT CF.id,#011#011 CF.latest_config_revision_id,#011 CFN.path,#011 CR.revision AS latest_config_revision,#011 coalesce(CCon.modified, CR.modified) as modified,#011#011 CFT.label as type#011 FROM rhnConfigFileName CFN,#011 rhnConfigFile CF,#011 rhnConfigRevision CR LEFT OUTER JOIN rhnConfigContent CCon#011 ON CR.config_content_id = CCon.id,#011#011 rhnSet ST,#011#011 rhnConfigFileType CFT#011 WHERE rhn_config_channel.get_user_chan_access(1, 3) = 1#011 AND ST.user_id = 3#011 AND ST.label = 'config_channel_deploy_revisions'#011 AND ST.element = CF.id#011 AND CF.config_channel_id = 1#011 AND CFN.id = CF.config_file_name_id#011 AND CR.config_file_id = CF.id#011 AND CF.latest_config_revision_id = CR.id#011 AND CFT.id = CR.config_file_type_id#011ORDER BY CFN.path;
15
2.68
COMMIT;
16
2.34
COMMIT;
17
2.23
COMMIT;
18
2.17
SELECT CF.id,#011#011 CF.latest_config_revision_id,#011 CFN.path,#011#011 CR.revision AS latest_config_revision,#011 coalesce(CCon.modified, CR.modified) as modified,#011 CFT.label as type#011 FROM rhnConfigFileName CFN,#011 rhnConfigFile CF,#011 rhnConfigRevision CR LEFT OUTER JOIN rhnConfigContent CCon#011 ON CR.config_content_id = CCon.id,#011 rhnConfigFileType CFT#011 WHERE rhn_config_channel.get_user_chan_access(1, 3) = 1#011 AND CF.config_channel_id = 1#011 AND CFN.id = CF.config_file_name_id#011 AND CR.config_file_id = CF.id#011 AND CF.latest_config_revision_id = CR.id#011 AND CR.config_file_type_id = CFT.id#011ORDER BY CFN.path;
19
2.13
COMMIT;
20
2.05
#011 select a.id, sa.server_id, pc.jabber_id,#011 date_diff_in_days(current_timestamp, earliest_action) * 86400 delta#011 from#011 rhnServerAction sa,#011 rhnAction a,#011 rhnPushClient pc#011 where pc.server_id = sa.server_id#011 and sa.action_id = a.id#011 and sa.status in (0, 1) -- Queued or picked up#011 and not exists (#011 -- This is like saying 'this action has no#011 -- prerequisite or has a prerequisite that has completed#011 -- (status = 2)#011 select 1#011 from rhnServerAction sap#011 where sap.server_id = sa.server_id#011 and sap.action_id = a.prerequisite#011 and sap.status != 2#011 )#011 order by earliest_action#011;
DELETEFROM QRTZ_FIRED_TRIGGERS WHERE ENTRY_ID ='';
0.13s | DELETEFROM QRTZ_FIRED_TRIGGERS WHERE ENTRY_ID ='NON_CLUSTERED1397542197472';
0.10s | DELETEFROM QRTZ_FIRED_TRIGGERS WHERE ENTRY_ID ='NON_CLUSTERED1397542197458';
0.06s | DELETEFROM QRTZ_FIRED_TRIGGERS WHERE ENTRY_ID ='NON_CLUSTERED1397542197457';
5
32
Day
Time
Count
Av. Duration
Apr 15
9am
32
1.54
49ms
1.54
#0 select a.id, sa.server_id, pc.jabber_id,#0 date_diff_in_days(current_timestamp, earliest_action) * 0 delta#0 from#0 rhnServerAction sa,#0 rhnAction a,#0 rhnPushClient pc#0 where pc.server_id = sa.server_id#0 and sa.action_id = a.id#0 and sa.status in (...) -- Queued or picked up#0 and not exists (#0 -- This is like saying 'this action has no#0 -- prerequisite or has a prerequisite that has completed#0 -- (status = 0)#0 select 0#0 from rhnServerAction sap#0 where sap.server_id = sa.server_id#0 and sap.action_id = a.prerequisite#0 and sap.status != 0#0 )#0 order by earliest_action#0;
2.05s | #011 select a.id, sa.server_id, pc.jabber_id,#011 date_diff_in_days(current_timestamp, earliest_action) * 86400 delta#011 from#011 rhnServerAction sa,#011 rhnAction a,#011 rhnPushClient pc#011 where pc.server_id = sa.server_id#011 and sa.action_id = a.id#011 and sa.status in (0, 1) -- Queued or picked up#011 and not exists (#011 -- This is like saying 'this action has no#011 -- prerequisite or has a prerequisite that has completed#011 -- (status = 2)#011 select 1#011 from rhnServerAction sap#011 where sap.server_id = sa.server_id#011 and sap.action_id = a.prerequisite#011 and sap.status != 2#011 )#011 order by earliest_action#011;
2.02s | #011 select a.id, sa.server_id, pc.jabber_id,#011 date_diff_in_days(current_timestamp, earliest_action) * 86400 delta#011 from#011 rhnServerAction sa,#011 rhnAction a,#011 rhnPushClient pc#011 where pc.server_id = sa.server_id#011 and sa.action_id = a.id#011 and sa.status in (0, 1) -- Queued or picked up#011 and not exists (#011 -- This is like saying 'this action has no#011 -- prerequisite or has a prerequisite that has completed#011 -- (status = 2)#011 select 1#011 from rhnServerAction sap#011 where sap.server_id = sa.server_id#011 and sap.action_id = a.prerequisite#011 and sap.status != 2#011 )#011 order by earliest_action#011;
2.00s | #011 select a.id, sa.server_id, pc.jabber_id,#011 date_diff_in_days(current_timestamp, earliest_action) * 86400 delta#011 from#011 rhnServerAction sa,#011 rhnAction a,#011 rhnPushClient pc#011 where pc.server_id = sa.server_id#011 and sa.action_id = a.id#011 and sa.status in (0, 1) -- Queued or picked up#011 and not exists (#011 -- This is like saying 'this action has no#011 -- prerequisite or has a prerequisite that has completed#011 -- (status = 2)#011 select 1#011 from rhnServerAction sap#011 where sap.server_id = sa.server_id#011 and sap.action_id = a.prerequisite#011 and sap.status != 2#011 )#011 order by earliest_action#011;
6
32
Day
Time
Count
Av. Duration
Apr 15
9am
32
0.23
8ms
0.23
#0 update rhnPushClient#0 set state_id = 0#0 where state_id = 0#0 and last_ping_time is not null#0 and current_timestamp > next_action_time#0;
0.29s | #011 update rhnPushClient#011 set state_id = 2#011 where state_id = 1#011 and last_ping_time is not null#011 and current_timestamp > next_action_time#011;
0.28s | #011 update rhnPushClient#011 set state_id = 2#011 where state_id = 1#011 and last_ping_time is not null#011 and current_timestamp > next_action_time#011;
0.27s | #011 update rhnPushClient#011 set state_id = 2#011 where state_id = 1#011 and last_ping_time is not null#011 and current_timestamp > next_action_time#011;
7
32
Day
Time
Count
Av. Duration
Apr 15
9am
32
0.11
4ms
0.11
#0 select id, name, shared_key, jabber_id#0 from rhnPushClient#0 where state_id = 0#0 and last_ping_time is not null#0 and next_action_time is null#0 and jabber_id is not null#0;
0.14s | #011 select id, name, shared_key, jabber_id#011 from rhnPushClient#011 where state_id = 1#011 and last_ping_time is not null#011 and next_action_time is null#011 and jabber_id is not null#011;
0.13s | #011 select id, name, shared_key, jabber_id#011 from rhnPushClient#011 where state_id = 1#011 and last_ping_time is not null#011 and next_action_time is null#011 and jabber_id is not null#011;
0.13s | #011 select id, name, shared_key, jabber_id#011 from rhnPushClient#011 where state_id = 1#011 and last_ping_time is not null#011 and next_action_time is null#011 and jabber_id is not null#011;
8
26
Day
Time
Count
Av. Duration
Apr 15
9am
26
0.06
1ms
0.06
SELECT TRIGGER_NAME, TRIGGER_GROUP, NEXT_FIRE_TIME, PRIORITY FROM QRTZ_TRIGGERS WHERE TRIGGER_STATE =''AND NEXT_FIRE_TIME <0AND(NEXT_FIRE_TIME >=0)ORDERBY NEXT_FIRE_TIME ASC, PRIORITY DESC;
0.12s | SELECT TRIGGER_NAME, TRIGGER_GROUP, NEXT_FIRE_TIME, PRIORITY FROM QRTZ_TRIGGERS WHERE TRIGGER_STATE ='WAITING'AND NEXT_FIRE_TIME <1397545770016AND(NEXT_FIRE_TIME >=1397545680016)ORDERBY NEXT_FIRE_TIME ASC, PRIORITY DESC;
0.08s | SELECT TRIGGER_NAME, TRIGGER_GROUP, NEXT_FIRE_TIME, PRIORITY FROM QRTZ_TRIGGERS WHERE TRIGGER_STATE ='WAITING'AND NEXT_FIRE_TIME <1397545760875AND(NEXT_FIRE_TIME >=1397545670876)ORDERBY NEXT_FIRE_TIME ASC, PRIORITY DESC;
0.08s | SELECT TRIGGER_NAME, TRIGGER_GROUP, NEXT_FIRE_TIME, PRIORITY FROM QRTZ_TRIGGERS WHERE TRIGGER_STATE ='WAITING'AND NEXT_FIRE_TIME <1397545830009AND(NEXT_FIRE_TIME >=1397545740009)ORDERBY NEXT_FIRE_TIME ASC, PRIORITY DESC;
select taskosched0_.id as id2_, taskosched0_.job_label as job2_2_, taskosched0_.bunch_id as bunch3_2_, taskosched0_.org_id as org4_2_, taskosched0_.active_from as active5_2_, taskosched0_.active_till as active6_2_, taskosched0_.cron_expr as cron7_2_, taskosched0_.dataas data2_, taskosched0_.created as created2_, taskosched0_.modified as modified2_ from rhnTaskoSchedule taskosched0_ where taskosched0_.id=0;
0.33s | select taskosched0_.id as id2_, taskosched0_.job_label as job2_2_, taskosched0_.bunch_id as bunch3_2_, taskosched0_.org_id as org4_2_, taskosched0_.active_from as active5_2_, taskosched0_.active_till as active6_2_, taskosched0_.cron_expr as cron7_2_, taskosched0_.dataas data2_, taskosched0_.created as created2_, taskosched0_.modified as modified2_ from rhnTaskoSchedule taskosched0_ where taskosched0_.id=7;
0.08s | select taskosched0_.id as id2_, taskosched0_.job_label as job2_2_, taskosched0_.bunch_id as bunch3_2_, taskosched0_.org_id as org4_2_, taskosched0_.active_from as active5_2_, taskosched0_.active_till as active6_2_, taskosched0_.cron_expr as cron7_2_, taskosched0_.dataas data2_, taskosched0_.created as created2_, taskosched0_.modified as modified2_ from rhnTaskoSchedule taskosched0_ where taskosched0_.id=2;
0.08s | select taskosched0_.id as id2_, taskosched0_.job_label as job2_2_, taskosched0_.bunch_id as bunch3_2_, taskosched0_.org_id as org4_2_, taskosched0_.active_from as active5_2_, taskosched0_.active_till as active6_2_, taskosched0_.cron_expr as cron7_2_, taskosched0_.dataas data2_, taskosched0_.created as created2_, taskosched0_.modified as modified2_ from rhnTaskoSchedule taskosched0_ where taskosched0_.id=1;
12
20
Day
Time
Count
Av. Duration
Apr 15
9am
20
0.04
1ms
0.04
select taskotask0_.id as id3_0_, taskotask0_.name as name3_0_, taskotask0_.class as class3_0_, taskotask0_.created as created3_0_, taskotask0_.modified as modified3_0_ from rhnTaskoTask taskotask0_ where taskotask0_.id=0;
0.10s | select taskotask0_.id as id3_0_, taskotask0_.name as name3_0_, taskotask0_.class as class3_0_, taskotask0_.created as created3_0_, taskotask0_.modified as modified3_0_ from rhnTaskoTask taskotask0_ where taskotask0_.id=3;
0.06s | select taskotask0_.id as id3_0_, taskotask0_.name as name3_0_, taskotask0_.class as class3_0_, taskotask0_.created as created3_0_, taskotask0_.modified as modified3_0_ from rhnTaskoTask taskotask0_ where taskotask0_.id=7;
0.05s | select taskotask0_.id as id3_0_, taskotask0_.name as name3_0_, taskotask0_.class as class3_0_, taskotask0_.created as created3_0_, taskotask0_.modified as modified3_0_ from rhnTaskoTask taskotask0_ where taskotask0_.id=6;
13
20
Day
Time
Count
Av. Duration
Apr 15
9am
20
0.03
1ms
0.03
SELECT TRIGGER_STATE FROM QRTZ_TRIGGERS WHERE TRIGGER_NAME =''AND TRIGGER_GROUP ='';
0.06s | SELECT TRIGGER_STATE FROM QRTZ_TRIGGERS WHERE TRIGGER_NAME ='channel-repodata-default'AND TRIGGER_GROUP ='DEFAULT';
0.05s | SELECT TRIGGER_STATE FROM QRTZ_TRIGGERS WHERE TRIGGER_NAME ='cobbler-sync-default'AND TRIGGER_GROUP ='DEFAULT';
0.04s | SELECT TRIGGER_STATE FROM QRTZ_TRIGGERS WHERE TRIGGER_NAME ='package-cleanup-default'AND TRIGGER_GROUP ='DEFAULT';
14
20
Day
Time
Count
Av. Duration
Apr 15
9am
20
0.03
1ms
0.03
selectnextval('');
0.08s | selectnextval('RHN_TASKO_RUN_ID_SEQ');
0.08s | selectnextval('RHN_TASKO_RUN_ID_SEQ');
0.07s | selectnextval('RHN_TASKO_RUN_ID_SEQ');
15
20
Day
Time
Count
Av. Duration
Apr 15
9am
20
0.02
0ms
0.02
SELECT*FROM QRTZ_JOB_DETAILS WHERE JOB_NAME =''AND JOB_GROUP ='';
0.04s | SELECT*FROM QRTZ_JOB_DETAILS WHERE JOB_NAME ='channel-repodata-default'AND JOB_GROUP ='DEFAULT';
0.04s | SELECT*FROM QRTZ_JOB_DETAILS WHERE JOB_NAME ='errata-queue-default'AND JOB_GROUP ='DEFAULT';
0.03s | SELECT*FROM QRTZ_JOB_DETAILS WHERE JOB_NAME ='sync-probe-default'AND JOB_GROUP ='DEFAULT';
SELECT S.ID, S.NAME#0#0#0 FROM rhnServer S,#0#0#0 rhnServerConfigChannel SCC,#0 #0 rhnUserServerPerms USP#0#0#0 WHERE rhn_config_channel.get_user_chan_access(0, 0) = 0#0#0#0 AND SCC.config_channel_id = 0#0#0#0 AND S.id = SCC.server_id#0 #0#0 AND USP.server_id = S.id#0#0#0 AND USP.user_id = 0#0#0#0 ORDER BY S.NAME;
43.64s | SELECT S.ID, S.NAME#011#011#011 FROM rhnServer S,#011#011#011 rhnServerConfigChannel SCC,#011 #011 rhnUserServerPerms USP#011#011#011 WHERE rhn_config_channel.get_user_chan_access(1, 3) = 1#011#011#011 AND SCC.config_channel_id = 1#011#011#011 AND S.id = SCC.server_id#011 #011#011 AND USP.server_id = S.id#011#011#011 AND USP.user_id = 3#011#011#011 ORDER BY S.NAME;
41.06s | SELECT S.ID, S.NAME#011#011#011 FROM rhnServer S,#011#011#011 rhnServerConfigChannel SCC,#011 #011 rhnUserServerPerms USP#011#011#011 WHERE rhn_config_channel.get_user_chan_access(1, 3) = 1#011#011#011 AND SCC.config_channel_id = 1#011#011#011 AND S.id = SCC.server_id#011 #011#011 AND USP.server_id = S.id#011#011#011 AND USP.user_id = 3#011#011#011 ORDER BY S.NAME;
2
11.67
1
Day
Time
Count
Av. Duration
Apr 15
9am
1
11.67
12ms
SELECT S.ID, S.NAME#011#011#011 FROM rhnServer S,#011#011#011#011 rhnSet ST,#011#011#011 rhnServerConfigChannel SCC,#011 #011 rhnUserServerPerms USP#011#011#011 WHERE rhn_config_channel.get_user_chan_access(1, 3) = 1#011#011#011 AND SCC.config_channel_id = 1#011#011#011 AND S.id = SCC.server_id#011#011#011 AND ST.user_id = 3#011 #011#011 AND ST.label = 'config_channel_deploy_systems'#011#011#011 AND ST.element = S.id#011 #011#011 AND USP.server_id = S.id#011#011#011 AND USP.user_id = 3#011#011 ORDER BY S.NAME;
3
8.79
1
Day
Time
Count
Av. Duration
Apr 15
9am
1
8.79
9ms
SELECT id from rhnDevice;
4
5.78
1
Day
Time
Count
Av. Duration
Apr 15
9am
1
5.78
6ms
SELECT S.ID,#011 COALESCE((#011#011#011#011#011SELECT COUNT(DISTINCT CFN2.id)#011#011#011#011#011FROM rhnConfigChannel CC2, rhnConfigChannelType CCT2, rhnServerConfigChannel SCC2,#011#011#011#011#011#011 rhnConfigFile cf2, rhnConfigFileName cfn2,#011#011#011#011#011#011 rhnConfigChannel CC, rhnServerConfigChannel SCC,#011#011#011#011#011#011 rhnConfigFile cf, rhnConfigFileName cfn#011#011#011#011#011WHERE SCC2.server_id = S.ID#011#011#011#011#011 AND scc.server_id = S.ID#011#011#011#011#011 AND cc.id = $1#011#011#011#011#011 AND cf.config_channel_id = cc.id#011#011#011#011#011 AND cfn.id = cf.config_file_name_id#011#011#011#011#011 AND CC2.id = SCC2.config_channel_id#011#011#011#011#011 AND CC2.confchan_type_id = CCT2.id#011#011#011#011#011 AND CCT2.label = 'local_override'#011#011#011#011#011 AND CF2.config_channel_Id = CC2.id#011#011#011#011#011 AND CFN2.id = CF2.config_file_name_id#011#011#011#011#011 AND cfn.id = cfn2.id#011#011#011#011 ), 0) overridden_count,#011#011#011#011COALESCE((#011#011#011#011#011SELECT COUNT(DISTINCT CFN.id)#011#011#011#011#011 FROM rhnConfigChannel CC,#011#011#011#011#011#011 rhnConfigFile cf,#011#011#011#011 #011#011 rhnConfigFileName cfn,#011 rhnServerConfigChannel SCC,#011#011#011#011#011#011 rhnConfigChannel CC2,#011 rhnServerConfigChannel SCC2,;
5
3.85
1
Day
Time
Count
Av. Duration
Apr 15
9am
1
3.85
4ms
SELECT#011 s.id as id,#011 s.name as name,#011 s.description as description,#011 s.info as info,#011 s.created as registered,#011 s.running_kernel as runningKernel,#011 sl.machine as machine,#011 sl.rack as rack,#011 sl.room as room,#011 sl.building as building,#011 sl.address1 as address1,#011 sl.address2 as address2,#011 sl.city as city,#011 sl.state as state,#011 sl.country as country,#011 rsn.hostname as hostname,#011 rsn.ipaddr as ipaddr,#011 rsn.ip6addr as ip6addr,#011 dmi.vendor as dmiVendor,#011 dmi.system as dmiSystem,#011 dmi.product as dmiProduct,#011 dmi.bios_vendor as dmiBiosVendor,#011 dmi.bios_version as dmiBiosVersion,#011 dmi.bios_release as dmiBiosRelease,#011 dmi.asset as dmiAsset,#011 dmi.board as dmiBoard,#011 cpu.bogomips as cpuBogoMIPS,#011 cpu.cache as cpuCache,#011 cpu.family as cpuFamily,#011 cpu.mhz as cpuMHz,#011 cpu.stepping as cpuStepping,#011 cpu.flags as cpuFlags,#011 cpu.model as cpuModel,#011 cpu.version as cpuVersion,#011 cpu.vendor as cpuVendor,#011 cpu.nrcpu as cpuNumberOfCpus,#011 cpu.acpiversion as cpuAcpiVersion,#011 cpu.apic as cpuApic,#011 cpu.apmversion as cpuApmVersion,#011 cpu.chipset as cpuChipset,#011 si.checkin as checkin,#011 rr.ram as ram,#011 rr.swap as swap,#011 vi.uuid as uuid#011 FROM rhnServer s#011 LEFT OUTER JOIN rhnServerNetwork rsn ON s.id = rsn.server_id#011 LEFT OUTER JOIN rhnServerInfo si on s.id = si.server_id#011 LEFT OUTER JOIN rhnRam rr on s.id = rr.server_id#011 LEFT OUTER JOIN rhnServerLocation sl ON s.id = sl.server_id#011 LEFT OUTER JOIN rhnServerDmi dmi ON s.id = dmi.server_id#011 LEFT OUTER JOIN rhnCPU cpu on s.id = cpu.server_id#011 LEFT OUTER JOIN rhnVirtualInstance vi on s.id = vi.virtual_system_id#011 WHERE s.modified >= '2014-04-10 17:04:11.848+02'#011 or rsn.modified >= '2014-04-10 17:04:11.848+02'#011 or si.checkin >= '2014-04-10 17:04:11.848+02'#011 or rr.modified >= '2014-04-10 17:04:11.848+02'#011 or sl.modified >= '2014-04-10 17:04:11.848+02'#011 or dmi.modified >= '2014-04-10 17:04:11.848+02'#011 or cpu.modified >= '2014-04-10 17:04:11.848+02'#011 or s.id > 1000010433#011 ORDER by s.id ASC;
6
3.29
2
Day
Time
Count
Av. Duration
Apr 15
9am
2
3.29
7ms
SELECT CF.id,#0#0 CF.latest_config_revision_id,#0 CFN.path,#0 CR.revision AS latest_config_revision,#0 coalesce(CCon.modified, CR.modified) as modified,#0#0 CFT.label as type#0 FROM rhnConfigFileName CFN,#0 rhnConfigFile CF,#0 rhnConfigRevision CR LEFT OUTER JOIN rhnConfigContent CCon#0 ON CR.config_content_id = CCon.id,#0#0 rhnSet ST,#0#0 rhnConfigFileType CFT#0 WHERE rhn_config_channel.get_user_chan_access(0, 0) = 0#0 AND ST.user_id = 0#0 AND ST.label = ''#0 AND ST.element = CF.id#0 AND CF.config_channel_id = 0#0 AND CFN.id = CF.config_file_name_id#0 AND CR.config_file_id = CF.id#0 AND CF.latest_config_revision_id = CR.id#0 AND CFT.id = CR.config_file_type_id#0ORDER BY CFN.path;
3.34s | SELECT CF.id,#011#011 CF.latest_config_revision_id,#011 CFN.path,#011 CR.revision AS latest_config_revision,#011 coalesce(CCon.modified, CR.modified) as modified,#011#011 CFT.label as type#011 FROM rhnConfigFileName CFN,#011 rhnConfigFile CF,#011 rhnConfigRevision CR LEFT OUTER JOIN rhnConfigContent CCon#011 ON CR.config_content_id = CCon.id,#011#011 rhnSet ST,#011#011 rhnConfigFileType CFT#011 WHERE rhn_config_channel.get_user_chan_access(1, 3) = 1#011 AND ST.user_id = 3#011 AND ST.label = 'config_channel_deploy_revisions'#011 AND ST.element = CF.id#011 AND CF.config_channel_id = 1#011 AND CFN.id = CF.config_file_name_id#011 AND CR.config_file_id = CF.id#011 AND CF.latest_config_revision_id = CR.id#011 AND CFT.id = CR.config_file_type_id#011ORDER BY CFN.path;
3.24s | SELECT CF.id,#011#011 CF.latest_config_revision_id,#011 CFN.path,#011 CR.revision AS latest_config_revision,#011 coalesce(CCon.modified, CR.modified) as modified,#011#011 CFT.label as type#011 FROM rhnConfigFileName CFN,#011 rhnConfigFile CF,#011 rhnConfigRevision CR LEFT OUTER JOIN rhnConfigContent CCon#011 ON CR.config_content_id = CCon.id,#011#011 rhnSet ST,#011#011 rhnConfigFileType CFT#011 WHERE rhn_config_channel.get_user_chan_access(1, 3) = 1#011 AND ST.user_id = 3#011 AND ST.label = 'config_channel_deploy_revisions'#011 AND ST.element = CF.id#011 AND CF.config_channel_id = 1#011 AND CFN.id = CF.config_file_name_id#011 AND CR.config_file_id = CF.id#011 AND CF.latest_config_revision_id = CR.id#011 AND CFT.id = CR.config_file_type_id#011ORDER BY CFN.path;
7
2.17
1
Day
Time
Count
Av. Duration
Apr 15
9am
1
2.17
2ms
SELECT CF.id,#011#011 CF.latest_config_revision_id,#011 CFN.path,#011#011 CR.revision AS latest_config_revision,#011 coalesce(CCon.modified, CR.modified) as modified,#011 CFT.label as type#011 FROM rhnConfigFileName CFN,#011 rhnConfigFile CF,#011 rhnConfigRevision CR LEFT OUTER JOIN rhnConfigContent CCon#011 ON CR.config_content_id = CCon.id,#011 rhnConfigFileType CFT#011 WHERE rhn_config_channel.get_user_chan_access(1, 3) = 1#011 AND CF.config_channel_id = 1#011 AND CFN.id = CF.config_file_name_id#011 AND CR.config_file_id = CF.id#011 AND CF.latest_config_revision_id = CR.id#011 AND CR.config_file_type_id = CFT.id#011ORDER BY CFN.path;
8
1.54
32
Day
Time
Count
Av. Duration
Apr 15
9am
32
1.54
49ms
#0 select a.id, sa.server_id, pc.jabber_id,#0 date_diff_in_days(current_timestamp, earliest_action) * 0 delta#0 from#0 rhnServerAction sa,#0 rhnAction a,#0 rhnPushClient pc#0 where pc.server_id = sa.server_id#0 and sa.action_id = a.id#0 and sa.status in (...) -- Queued or picked up#0 and not exists (#0 -- This is like saying 'this action has no#0 -- prerequisite or has a prerequisite that has completed#0 -- (status = 0)#0 select 0#0 from rhnServerAction sap#0 where sap.server_id = sa.server_id#0 and sap.action_id = a.prerequisite#0 and sap.status != 0#0 )#0 order by earliest_action#0;
2.05s | #011 select a.id, sa.server_id, pc.jabber_id,#011 date_diff_in_days(current_timestamp, earliest_action) * 86400 delta#011 from#011 rhnServerAction sa,#011 rhnAction a,#011 rhnPushClient pc#011 where pc.server_id = sa.server_id#011 and sa.action_id = a.id#011 and sa.status in (0, 1) -- Queued or picked up#011 and not exists (#011 -- This is like saying 'this action has no#011 -- prerequisite or has a prerequisite that has completed#011 -- (status = 2)#011 select 1#011 from rhnServerAction sap#011 where sap.server_id = sa.server_id#011 and sap.action_id = a.prerequisite#011 and sap.status != 2#011 )#011 order by earliest_action#011;
2.02s | #011 select a.id, sa.server_id, pc.jabber_id,#011 date_diff_in_days(current_timestamp, earliest_action) * 86400 delta#011 from#011 rhnServerAction sa,#011 rhnAction a,#011 rhnPushClient pc#011 where pc.server_id = sa.server_id#011 and sa.action_id = a.id#011 and sa.status in (0, 1) -- Queued or picked up#011 and not exists (#011 -- This is like saying 'this action has no#011 -- prerequisite or has a prerequisite that has completed#011 -- (status = 2)#011 select 1#011 from rhnServerAction sap#011 where sap.server_id = sa.server_id#011 and sap.action_id = a.prerequisite#011 and sap.status != 2#011 )#011 order by earliest_action#011;
2.00s | #011 select a.id, sa.server_id, pc.jabber_id,#011 date_diff_in_days(current_timestamp, earliest_action) * 86400 delta#011 from#011 rhnServerAction sa,#011 rhnAction a,#011 rhnPushClient pc#011 where pc.server_id = sa.server_id#011 and sa.action_id = a.id#011 and sa.status in (0, 1) -- Queued or picked up#011 and not exists (#011 -- This is like saying 'this action has no#011 -- prerequisite or has a prerequisite that has completed#011 -- (status = 2)#011 select 1#011 from rhnServerAction sap#011 where sap.server_id = sa.server_id#011 and sap.action_id = a.prerequisite#011 and sap.status != 2#011 )#011 order by earliest_action#011;
#0 update rhnPushClient#0 set state_id = 0#0 where state_id = 0#0 and last_ping_time is not null#0 and current_timestamp > next_action_time#0;
0.29s | #011 update rhnPushClient#011 set state_id = 2#011 where state_id = 1#011 and last_ping_time is not null#011 and current_timestamp > next_action_time#011;
0.28s | #011 update rhnPushClient#011 set state_id = 2#011 where state_id = 1#011 and last_ping_time is not null#011 and current_timestamp > next_action_time#011;
0.27s | #011 update rhnPushClient#011 set state_id = 2#011 where state_id = 1#011 and last_ping_time is not null#011 and current_timestamp > next_action_time#011;
select userimpl0_.id as id20_5_, userimpl0_.login as login20_5_, userimpl0_.login_uc as login3_20_5_, userimpl0_.password as password20_5_, userimpl0_.created as created20_5_, userimpl0_.modified as modified20_5_, userimpl0_.org_id as org7_20_5_, personalin1_.web_user_id as web1_20_0_, personalin1_.prefix as prefix20_0_, personalin1_.first_names as first3_20_0_, personalin1_.last_name as last4_20_0_, personalin1_.company as company20_0_, personalin1_.title as title20_0_, personalin1_.phone as phone20_0_, personalin1_.fax as fax20_0_, personalin1_.email as email20_0_, personalin1_.created as created20_0_, personalin1_.modified as modified20_0_, org2_.id as id10_1_, org2_.name as name10_1_, org2_.created as created10_1_, org2_.modified as modified10_1_, org2_1_.reg_token_id as reg2_10_1_, orgconfig3_.org_id as org1_10_2_, orgconfig3_.staging_content_enabled as staging2_10_2_, orgconfig3_.crash_reporting_enabled as crash3_10_2_, orgconfig3_.crashfile_upload_enabled as crashfile4_10_2_, orgconfig3_.crash_file_sizelimit as crash5_10_2_, orgconfig3_.scapfile_upload_enabled as scapfile6_10_2_, orgconfig3_.scap_file_sizelimit as scap7_10_2_, orgconfig3_.scap_retention_period_days as scap8_10_2_, entitlemen4_.org_id as org1_7_, orgentitle5_.id as entitlem2_7_, orgentitle5_.id as id10_3_, orgentitle5_.label as label10_3_, orgentitle5_.name as name10_3_, orgentitle5_.created as created10_3_, orgentitle5_.modified as modified10_3_, trustedorg6_.org_id as org1_8_, org7_.id as org2_8_, org7_.id as id10_4_, org7_.name as name10_4_, org7_.created as created10_4_, org7_.modified as modified10_4_, org7_1_.reg_token_id as reg2_10_4_ from WEB_CONTACT userimpl0_ innerjoin WEB_USER_PERSONAL_INFO personalin1_ on userimpl0_.id=personalin1_.web_user_id innerjoin WEB_CUSTOMER org2_ on userimpl0_.org_id=org2_.id leftouterjoin rhnRegTokenOrgDefault org2_1_ on org2_.id=org2_1_.org_id leftouterjoin rhnOrgConfiguration orgconfig3_ on org2_.id=orgconfig3_.org_id leftouterjoin rhnOrgEntitlements entitlemen4_ on org2_.id=entitlemen4_.org_id leftouterjoin RHNORGENTITLEMENTTYPE orgentitle5_ on entitlemen4_.entitlement_id=orgentitle5_.id leftouterjoin rhnTrustedOrgs trustedorg6_ on org2_.id=trustedorg6_.org_id leftouterjoin WEB_CUSTOMER org7_ on trustedorg6_.org_trust_id=org7_.id leftouterjoin rhnRegTokenOrgDefault org7_1_ on org7_.id=org7_1_.org_id where userimpl0_.id=0;
0.28s | select userimpl0_.id as id269_5_, userimpl0_.login as login269_5_, userimpl0_.login_uc as login3_269_5_, userimpl0_.password as password269_5_, userimpl0_.created as created269_5_, userimpl0_.modified as modified269_5_, userimpl0_.org_id as org7_269_5_, personalin1_.web_user_id as web1_267_0_, personalin1_.prefix as prefix267_0_, personalin1_.first_names as first3_267_0_, personalin1_.last_name as last4_267_0_, personalin1_.company as company267_0_, personalin1_.title as title267_0_, personalin1_.phone as phone267_0_, personalin1_.fax as fax267_0_, personalin1_.email as email267_0_, personalin1_.created as created267_0_, personalin1_.modified as modified267_0_, org2_.id as id159_1_, org2_.name as name159_1_, org2_.created as created159_1_, org2_.modified as modified159_1_, org2_1_.reg_token_id as reg2_162_1_, orgconfig3_.org_id as org1_163_2_, orgconfig3_.staging_content_enabled as staging2_163_2_, orgconfig3_.crash_reporting_enabled as crash3_163_2_, orgconfig3_.crashfile_upload_enabled as crashfile4_163_2_, orgconfig3_.crash_file_sizelimit as crash5_163_2_, orgconfig3_.scapfile_upload_enabled as scapfile6_163_2_, orgconfig3_.scap_file_sizelimit as scap7_163_2_, orgconfig3_.scap_retention_period_days as scap8_163_2_, entitlemen4_.org_id as org1_7_, orgentitle5_.id as entitlem2_7_, orgentitle5_.id as id164_3_, orgentitle5_.label as label164_3_, orgentitle5_.name as name164_3_, orgentitle5_.created as created164_3_, orgentitle5_.modified as modified164_3_, trustedorg6_.org_id as org1_8_, org7_.id as org2_8_, org7_.id as id159_4_, org7_.name as name159_4_, org7_.created as created159_4_, org7_.modified as modified159_4_, org7_1_.reg_token_id as reg2_162_4_ from WEB_CONTACT userimpl0_ innerjoin WEB_USER_PERSONAL_INFO personalin1_ on userimpl0_.id=personalin1_.web_user_id innerjoin WEB_CUSTOMER org2_ on userimpl0_.org_id=org2_.id leftouterjoin rhnRegTokenOrgDefault org2_1_ on org2_.id=org2_1_.org_id leftouterjoin rhnOrgConfiguration orgconfig3_ on org2_.id=orgconfig3_.org_id leftouterjoin rhnOrgEntitlements entitlemen4_ on org2_.id=entitlemen4_.org_id leftouterjoin RHNORGENTITLEMENTTYPE orgentitle5_ on entitlemen4_.entitlement_id=orgentitle5_.id leftouterjoin rhnTrustedOrgs trustedorg6_ on org2_.id=trustedorg6_.org_id leftouterjoin WEB_CUSTOMER org7_ on trustedorg6_.org_trust_id=org7_.id leftouterjoin rhnRegTokenOrgDefault org7_1_ on org7_.id=org7_1_.org_id where userimpl0_.id=3;
0.25s | select userimpl0_.id as id269_5_, userimpl0_.login as login269_5_, userimpl0_.login_uc as login3_269_5_, userimpl0_.password as password269_5_, userimpl0_.created as created269_5_, userimpl0_.modified as modified269_5_, userimpl0_.org_id as org7_269_5_, personalin1_.web_user_id as web1_267_0_, personalin1_.prefix as prefix267_0_, personalin1_.first_names as first3_267_0_, personalin1_.last_name as last4_267_0_, personalin1_.company as company267_0_, personalin1_.title as title267_0_, personalin1_.phone as phone267_0_, personalin1_.fax as fax267_0_, personalin1_.email as email267_0_, personalin1_.created as created267_0_, personalin1_.modified as modified267_0_, org2_.id as id159_1_, org2_.name as name159_1_, org2_.created as created159_1_, org2_.modified as modified159_1_, org2_1_.reg_token_id as reg2_162_1_, orgconfig3_.org_id as org1_163_2_, orgconfig3_.staging_content_enabled as staging2_163_2_, orgconfig3_.crash_reporting_enabled as crash3_163_2_, orgconfig3_.crashfile_upload_enabled as crashfile4_163_2_, orgconfig3_.crash_file_sizelimit as crash5_163_2_, orgconfig3_.scapfile_upload_enabled as scapfile6_163_2_, orgconfig3_.scap_file_sizelimit as scap7_163_2_, orgconfig3_.scap_retention_period_days as scap8_163_2_, entitlemen4_.org_id as org1_7_, orgentitle5_.id as entitlem2_7_, orgentitle5_.id as id164_3_, orgentitle5_.label as label164_3_, orgentitle5_.name as name164_3_, orgentitle5_.created as created164_3_, orgentitle5_.modified as modified164_3_, trustedorg6_.org_id as org1_8_, org7_.id as org2_8_, org7_.id as id159_4_, org7_.name as name159_4_, org7_.created as created159_4_, org7_.modified as modified159_4_, org7_1_.reg_token_id as reg2_162_4_ from WEB_CONTACT userimpl0_ innerjoin WEB_USER_PERSONAL_INFO personalin1_ on userimpl0_.id=personalin1_.web_user_id innerjoin WEB_CUSTOMER org2_ on userimpl0_.org_id=org2_.id leftouterjoin rhnRegTokenOrgDefault org2_1_ on org2_.id=org2_1_.org_id leftouterjoin rhnOrgConfiguration orgconfig3_ on org2_.id=orgconfig3_.org_id leftouterjoin rhnOrgEntitlements entitlemen4_ on org2_.id=entitlemen4_.org_id leftouterjoin RHNORGENTITLEMENTTYPE orgentitle5_ on entitlemen4_.entitlement_id=orgentitle5_.id leftouterjoin rhnTrustedOrgs trustedorg6_ on org2_.id=trustedorg6_.org_id leftouterjoin WEB_CUSTOMER org7_ on trustedorg6_.org_trust_id=org7_.id leftouterjoin rhnRegTokenOrgDefault org7_1_ on org7_.id=org7_1_.org_id where userimpl0_.id=3;
0.24s | select userimpl0_.id as id269_5_, userimpl0_.login as login269_5_, userimpl0_.login_uc as login3_269_5_, userimpl0_.password as password269_5_, userimpl0_.created as created269_5_, userimpl0_.modified as modified269_5_, userimpl0_.org_id as org7_269_5_, personalin1_.web_user_id as web1_267_0_, personalin1_.prefix as prefix267_0_, personalin1_.first_names as first3_267_0_, personalin1_.last_name as last4_267_0_, personalin1_.company as company267_0_, personalin1_.title as title267_0_, personalin1_.phone as phone267_0_, personalin1_.fax as fax267_0_, personalin1_.email as email267_0_, personalin1_.created as created267_0_, personalin1_.modified as modified267_0_, org2_.id as id159_1_, org2_.name as name159_1_, org2_.created as created159_1_, org2_.modified as modified159_1_, org2_1_.reg_token_id as reg2_162_1_, orgconfig3_.org_id as org1_163_2_, orgconfig3_.staging_content_enabled as staging2_163_2_, orgconfig3_.crash_reporting_enabled as crash3_163_2_, orgconfig3_.crashfile_upload_enabled as crashfile4_163_2_, orgconfig3_.crash_file_sizelimit as crash5_163_2_, orgconfig3_.scapfile_upload_enabled as scapfile6_163_2_, orgconfig3_.scap_file_sizelimit as scap7_163_2_, orgconfig3_.scap_retention_period_days as scap8_163_2_, entitlemen4_.org_id as org1_7_, orgentitle5_.id as entitlem2_7_, orgentitle5_.id as id164_3_, orgentitle5_.label as label164_3_, orgentitle5_.name as name164_3_, orgentitle5_.created as created164_3_, orgentitle5_.modified as modified164_3_, trustedorg6_.org_id as org1_8_, org7_.id as org2_8_, org7_.id as id159_4_, org7_.name as name159_4_, org7_.created as created159_4_, org7_.modified as modified159_4_, org7_1_.reg_token_id as reg2_162_4_ from WEB_CONTACT userimpl0_ innerjoin WEB_USER_PERSONAL_INFO personalin1_ on userimpl0_.id=personalin1_.web_user_id innerjoin WEB_CUSTOMER org2_ on userimpl0_.org_id=org2_.id leftouterjoin rhnRegTokenOrgDefault org2_1_ on org2_.id=org2_1_.org_id leftouterjoin rhnOrgConfiguration orgconfig3_ on org2_.id=orgconfig3_.org_id leftouterjoin rhnOrgEntitlements entitlemen4_ on org2_.id=entitlemen4_.org_id leftouterjoin RHNORGENTITLEMENTTYPE orgentitle5_ on entitlemen4_.entitlement_id=orgentitle5_.id leftouterjoin rhnTrustedOrgs trustedorg6_ on org2_.id=trustedorg6_.org_id leftouterjoin WEB_CUSTOMER org7_ on trustedorg6_.org_trust_id=org7_.id leftouterjoin rhnRegTokenOrgDefault org7_1_ on org7_.id=org7_1_.org_id where userimpl0_.id=3;