<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Query taking too much resourses on the database]]></title><description><![CDATA[<p dir="auto">Hi All,</p>
<p dir="auto">The Query "INSERT INTO tdata_122 (item_id,tdata_timestamp,record_id) VALUES (:1,:2,:3)" is very expensive, it causes all sorts of problems with the Database including the creation of deadlocks and waits. Isn't there a way we can optimize it so as to make is less expensive on resources.</p>
]]></description><link>https://forum.netxms.org/topic/5740/query-taking-too-much-resourses-on-the-database</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 07:30:07 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5740.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 19 Nov 2018 14:00:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Query taking too much resourses on the database on Wed, 21 Nov 2018 07:04:35 GMT]]></title><description><![CDATA[<p dir="auto">HI,</p>
<p dir="auto">we need much more detailed problem description to attempt to fix that. This query is one of the most common (save collected DCI data). What database you are using? How big is your database and this table? Could you provide execution plan for it? Is problem only with idata_122 table or with other idata_ tables as well? Do you have active reads from that table (it could be charts refreshed very often or some scripts reading collected data)?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/25052</link><guid isPermaLink="true">https://forum.netxms.org/post/25052</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 21 Nov 2018 07:04:35 GMT</pubDate></item></channel></rss>