<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Maximum number of transactions in Service Management forum</title>
    <link>https://www.servicenow.com/community/service-management-forum/maximum-number-of-transactions/m-p/390117#M11694</link>
    <description>&lt;P&gt;※Paris version&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I checked the transactions when I executed the following script, I could only execute up to 8 transactions at a time.&lt;/P&gt;
&lt;PRE class="language-javascript"&gt;&lt;CODE&gt;function scripte() {
    //ScheduleJob

    sleepe(12000);

    function sleepe(a) {
        var startMsec = new Date();
        while (new Date() - startMsec &amp;lt; a);
    }
}
var sched = new ScheduleOnce();
sched.script = '(' + scripte + ')();';
sched.schedule();
sched.schedule();
sched.schedule();
sched.schedule();
sched.schedule();
sched.schedule();
sched.schedule();
sched.schedule();
sched.schedule();
sched.schedule();
sched.schedule();
sched.schedule();&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/10539iE84979EF366D8633/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Originally I want 12 transactions to be launched.&lt;BR /&gt;Can this be adjusted from 8 to 12?&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jan 2022 14:12:21 GMT</pubDate>
    <dc:creator>bonsai</dc:creator>
    <dc:date>2022-01-17T14:12:21Z</dc:date>
    <item>
      <title>Maximum number of transactions</title>
      <link>https://www.servicenow.com/community/service-management-forum/maximum-number-of-transactions/m-p/390117#M11694</link>
      <description>&lt;P&gt;※Paris version&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I checked the transactions when I executed the following script, I could only execute up to 8 transactions at a time.&lt;/P&gt;
&lt;PRE class="language-javascript"&gt;&lt;CODE&gt;function scripte() {
    //ScheduleJob

    sleepe(12000);

    function sleepe(a) {
        var startMsec = new Date();
        while (new Date() - startMsec &amp;lt; a);
    }
}
var sched = new ScheduleOnce();
sched.script = '(' + scripte + ')();';
sched.schedule();
sched.schedule();
sched.schedule();
sched.schedule();
sched.schedule();
sched.schedule();
sched.schedule();
sched.schedule();
sched.schedule();
sched.schedule();
sched.schedule();
sched.schedule();&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/10539iE84979EF366D8633/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Originally I want 12 transactions to be launched.&lt;BR /&gt;Can this be adjusted from 8 to 12?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 14:12:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/service-management-forum/maximum-number-of-transactions/m-p/390117#M11694</guid>
      <dc:creator>bonsai</dc:creator>
      <dc:date>2022-01-17T14:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum number of transactions</title>
      <link>https://www.servicenow.com/community/service-management-forum/maximum-number-of-transactions/m-p/390118#M11695</link>
      <description>&lt;P&gt;Hi, I believe the max number of workers (8) per node&amp;nbsp; is hardcoded in background scheduler and could not be changed. But please raise a support case for ServiceNow asking them to confirm the same.&lt;/P&gt;
&lt;P&gt;Hope it helps&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 16:43:13 GMT</pubDate>
      <guid>https://www.servicenow.com/community/service-management-forum/maximum-number-of-transactions/m-p/390118#M11695</guid>
      <dc:creator>Appli</dc:creator>
      <dc:date>2022-01-17T16:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum number of transactions</title>
      <link>https://www.servicenow.com/community/service-management-forum/maximum-number-of-transactions/m-p/390119#M11696</link>
      <description>thank you for your answer.
Is per node a unit to be executed by one script?
Is it possible to execute 8 or more transactions by calling this script recursively?</description>
      <pubDate>Mon, 17 Jan 2022 22:30:27 GMT</pubDate>
      <guid>https://www.servicenow.com/community/service-management-forum/maximum-number-of-transactions/m-p/390119#M11696</guid>
      <dc:creator>bonsai</dc:creator>
      <dc:date>2022-01-17T22:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum number of transactions</title>
      <link>https://www.servicenow.com/community/service-management-forum/maximum-number-of-transactions/m-p/390120#M11697</link>
      <description>&lt;P&gt;Hi, as Appli indicated a node has 8 configured 'workers' and it will also have a 'burst worker' which may activate under specific conditions to handle core functionality.&lt;/P&gt;
&lt;P&gt;https://community.servicenow.com/community?id=community_article&amp;amp;sys_id=e61d22e5dbd0dbc01dcaf3231f9619fd&lt;/P&gt;
&lt;P&gt;Can you clarify your business requirement\intended objectives?&lt;BR /&gt;Why do you require 12 concurrent transactions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 23:49:59 GMT</pubDate>
      <guid>https://www.servicenow.com/community/service-management-forum/maximum-number-of-transactions/m-p/390120#M11697</guid>
      <dc:creator>Tony Chatfield1</dc:creator>
      <dc:date>2022-01-17T23:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum number of transactions</title>
      <link>https://www.servicenow.com/community/service-management-forum/maximum-number-of-transactions/m-p/390121#M11698</link>
      <description>&lt;P&gt;The following is an example of an "incident" table, but I want to execute transactions for the number of records in a specific table at the same time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="language-javascript"&gt;&lt;CODE&gt;function scripte() {
    //ScheduleJob

    sleepe(12000);

    function sleepe(a) {
        var startMsec = new Date();
        while (new Date() - startMsec &amp;lt; a);
    }
}
var sched = new ScheduleOnce();
sched.script = '(' + scripte + ')();';

var grInc = new GlideRecord('incident');
grInc.query();
while (grInc.next()) {
	sched.schedule();
}&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd like to know more about'burst worker', but the following text on the page you told me adjusts the property numbers. Which table record does this adjust?&lt;BR /&gt;I heard that the "priority" field is missing in the "sys_trigger" table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Configure scheduled jobs to use 'burst' scheduler workers&lt;/H4&gt;
&lt;P&gt;For instances running Dublin or newer releases, you can insulate against "clogged up" scheduler worker queues by setting the 'priority' field on the sys_trigger entry for the scheduled job to be "25". By making this change, you can ensure that core jobs such as event processors, SMTP sender, POP reader and SMS sender get triggered in a timely fashion. Should all the scheduler workers be busy with other jobs, an "important" job which is more than 60 seconds past due will spawn a 'burst scheduler worker' and execute in parallel to the core 8 schedulers on the node. This is taken care of Out Of Box from the Geneva release and onwards. Caution: This is good insulation, but should not be used as an excuse not to address the root causes of the other "long running" or "high volume" scheduled jobs.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 00:11:46 GMT</pubDate>
      <guid>https://www.servicenow.com/community/service-management-forum/maximum-number-of-transactions/m-p/390121#M11698</guid>
      <dc:creator>bonsai</dc:creator>
      <dc:date>2022-01-18T00:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum number of transactions</title>
      <link>https://www.servicenow.com/community/service-management-forum/maximum-number-of-transactions/m-p/390122#M11699</link>
      <description>&lt;P&gt;Hi, I would not recommend any changes to worker\burst functionality unless you have an exceptionally good understanding of the platform, as changes of this nature may impact platform performance\responsiveness and also it's stability.&lt;/P&gt;
&lt;P&gt;I have not seen documentation that covers off how an instance allocates individual jobs between nodes and their workers, but based on observations I think you may find that there is some attempt by the instance to allocate similar jobs to a node\worker, so that they are processed sequentially (and perhaps this is more efficient use of resource).&lt;/P&gt;
&lt;P&gt;Perhaps you could explain why you need to execute multiple jobs on 1 table concurrently?&lt;BR /&gt;Even if these jobs started processing concurrently, the outcome IE updates to other tables, generation of other jobs, sysevents, notifications etc etc, would eventually end up in a sequential\queue somewhere...within the instance or externally.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 00:32:00 GMT</pubDate>
      <guid>https://www.servicenow.com/community/service-management-forum/maximum-number-of-transactions/m-p/390122#M11699</guid>
      <dc:creator>Tony Chatfield1</dc:creator>
      <dc:date>2022-01-18T00:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum number of transactions</title>
      <link>https://www.servicenow.com/community/service-management-forum/maximum-number-of-transactions/m-p/390123#M11700</link>
      <description>&lt;P&gt;By the way, is the maximum number of concurrent executions 8 times for paid instances instead of free development instances?&lt;BR /&gt;Is there a difference such as an increase in the number of nodes that can be executed simultaneously in the case of a fee?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 03:15:06 GMT</pubDate>
      <guid>https://www.servicenow.com/community/service-management-forum/maximum-number-of-transactions/m-p/390123#M11700</guid>
      <dc:creator>bonsai</dc:creator>
      <dc:date>2022-01-18T03:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum number of transactions</title>
      <link>https://www.servicenow.com/community/service-management-forum/maximum-number-of-transactions/m-p/390124#M11701</link>
      <description>&lt;P&gt;If performance is an issue and money isn't a problem, may be switch to using Oracle. The default is MySQL/MariaDB.&lt;/P&gt;
&lt;P&gt;I've read several times about ServiceNow supporting Oracle database but I can't find the page right now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jan 2022 14:00:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/service-management-forum/maximum-number-of-transactions/m-p/390124#M11701</guid>
      <dc:creator>Hitoshi Ozawa</dc:creator>
      <dc:date>2022-01-23T14:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum number of transactions</title>
      <link>https://www.servicenow.com/community/service-management-forum/maximum-number-of-transactions/m-p/390125#M11702</link>
      <description>&lt;P&gt;Following thread provides information on the standard ServiceNow instance. Anything beside the standard default should be discussed with ServiceNow sales reps instead of here.&amp;nbsp; I think it's all going to depend on money.&lt;/P&gt;
&lt;P&gt;8 background schedules is the standard for ServiceNow paid production instance.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.servicenow.com/community?id=community_question&amp;amp;sys_id=bb8c8fa5db9cdbc01dcaf3231f9619a8"&gt;https://community.servicenow.com/community?id=community_question&amp;amp;sys_id=bb8c8fa5db9cdbc01dcaf3231f9619a8&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jan 2022 14:11:14 GMT</pubDate>
      <guid>https://www.servicenow.com/community/service-management-forum/maximum-number-of-transactions/m-p/390125#M11702</guid>
      <dc:creator>Hitoshi Ozawa</dc:creator>
      <dc:date>2022-01-23T14:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum number of transactions</title>
      <link>https://www.servicenow.com/community/service-management-forum/maximum-number-of-transactions/m-p/390126#M11703</link>
      <description>&lt;P&gt;The default is 8 background jobs per node. Customers can buy more nodes to increase number of concurrent background jobs.&lt;/P&gt;
&lt;P&gt;Also, it's the total of 8 concurrent background jobs. Background jobs are not just jobs created by scheduler but other jobs such as Discovery, email processing, and workflow. That is, if some other such as those are running, there would be less than 8 user scheduled background jobs times number of nodes.&lt;/P&gt;
&lt;P&gt;It's also "background" jobs. End users are still able to click on "Order"/"Submit" button and have the form processed while these background jobs are running.&lt;/P&gt;
&lt;P&gt;Furthermore, 8 background jobs are the number set by ServiceNow. It's not the limitation set by Java container such as Tomcat.&lt;/P&gt;
&lt;P&gt;Finally, if running database operations in a background job, there's also number of database connections.&lt;/P&gt;
&lt;P&gt;There's a need to balance between foreground , background, and database to obtain a maximum throughput from an instance.&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jan 2022 16:29:36 GMT</pubDate>
      <guid>https://www.servicenow.com/community/service-management-forum/maximum-number-of-transactions/m-p/390126#M11703</guid>
      <dc:creator>Hitoshi Ozawa</dc:creator>
      <dc:date>2022-01-23T16:29:36Z</dc:date>
    </item>
  </channel>
</rss>

