<?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>topic Re: Unexpected SKU Names in Usage Table for Job Cost Calculation in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/unexpected-sku-names-in-usage-table-for-job-cost-calculation/m-p/116257#M45279</link>
    <description>&lt;P&gt;This could happen if there was at least one run of the job when a task was set to serverless.&amp;nbsp; Alas, the toggle to enable serverless is no more.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Apr 2025 23:46:11 GMT</pubDate>
    <dc:creator>mnorland</dc:creator>
    <dc:date>2025-04-22T23:46:11Z</dc:date>
    <item>
      <title>Unexpected SKU Names in Usage Table for Job Cost Calculation</title>
      <link>https://community.databricks.com/t5/data-engineering/unexpected-sku-names-in-usage-table-for-job-cost-calculation/m-p/116206#M45268</link>
      <description>&lt;P&gt;I'm trying to calculate the cost of a job using the usage and list_prices system tables, but I'm encountering some unexpected behavior that I can't explain.&lt;/P&gt;&lt;P&gt;When I run a job using a shared cluster, the sku_name in the usage table is PREMIUM_JOBS_SERVERLESS_COMPUTE_EU_WEST for the specific job_id and job_run_id found in the usage_metadata column. I was expecting to see PREMIUM_ALL_PURPOSE_COMPUTE, or possibly NULL, since both usage_metadata.job_id and usage_metadata.job_run_id are NULL.&lt;/P&gt;&lt;P&gt;Additionally, when I run the job on a Job Compute cluster, I see both the expected PREMIUM_JOBS_COMPUTE SKU and the PREMIUM_JOBS_SERVERLESS_COMPUTE_EU_WEST SKU in the usage records.&lt;/P&gt;&lt;P&gt;Could you please help me understand why the PREMIUM_JOBS_SERVERLESS_COMPUTE_EU_WEST SKU appears in each of these scenarios?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 14:51:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unexpected-sku-names-in-usage-table-for-job-cost-calculation/m-p/116206#M45268</guid>
      <dc:creator>vziog</dc:creator>
      <dc:date>2025-04-22T14:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected SKU Names in Usage Table for Job Cost Calculation</title>
      <link>https://community.databricks.com/t5/data-engineering/unexpected-sku-names-in-usage-table-for-job-cost-calculation/m-p/116213#M45270</link>
      <description>&lt;P&gt;Just for confirmation there is no task on this job that has been selected to run with Serverless right?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 15:38:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unexpected-sku-names-in-usage-table-for-job-cost-calculation/m-p/116213#M45270</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2025-04-22T15:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected SKU Names in Usage Table for Job Cost Calculation</title>
      <link>https://community.databricks.com/t5/data-engineering/unexpected-sku-names-in-usage-table-for-job-cost-calculation/m-p/116257#M45279</link>
      <description>&lt;P&gt;This could happen if there was at least one run of the job when a task was set to serverless.&amp;nbsp; Alas, the toggle to enable serverless is no more.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 23:46:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unexpected-sku-names-in-usage-table-for-job-cost-calculation/m-p/116257#M45279</guid>
      <dc:creator>mnorland</dc:creator>
      <dc:date>2025-04-22T23:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected SKU Names in Usage Table for Job Cost Calculation</title>
      <link>https://community.databricks.com/t5/data-engineering/unexpected-sku-names-in-usage-table-for-job-cost-calculation/m-p/116262#M45281</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/159878"&gt;@vziog&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you run a job on a shared cluster, you're seeing PREMIUM_JOBS_SERVERLESS_COMPUTE_EU_WEST in the usage table because the system is tracking the serverless resources used to manage and coordinate your job, even when the actual compute happens on a shared cluster. This behavior occurs because:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;All Databricks jobs have an orchestration layer that runs on serverless compute&lt;/LI&gt;&lt;LI&gt;This orchestration layer exists even when your job executes on a shared all-purpose cluster&lt;/LI&gt;&lt;LI&gt;The job orchestration costs are tracked separately from the actual compute costs&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;For your second scenario, when running on Job Compute clusters, you see both SKUs because:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;PREMIUM_JOBS_COMPUTE represents the actual cluster compute resources&lt;/LI&gt;&lt;LI&gt;PREMIUM_JOBS_SERVERLESS_COMPUTE_EU_WEST represents the orchestration layer&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The NULL values for job_id and job_run_id in some records likely happen because those costs aren't directly tied to a specific job execution but rather to the overall orchestration system.&lt;/P&gt;&lt;P&gt;This dual-charging model ensures that both the orchestration overhead and the actual compute resources are properly accounted for. The serverless component is typically small compared to the cluster compute costs but is still necessary for job coordination.&lt;/P&gt;&lt;P&gt;To accurately calculate job costs, you should include both SKU types for a complete picture of the resources used.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 04:06:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unexpected-sku-names-in-usage-table-for-job-cost-calculation/m-p/116262#M45281</guid>
      <dc:creator>lingareddy_Alva</dc:creator>
      <dc:date>2025-04-23T04:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected SKU Names in Usage Table for Job Cost Calculation</title>
      <link>https://community.databricks.com/t5/data-engineering/unexpected-sku-names-in-usage-table-for-job-cost-calculation/m-p/116308#M45285</link>
      <description>&lt;P&gt;Thank you all for your replies.&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/24053"&gt;@lingareddy_Alva&lt;/a&gt;&amp;nbsp;what about&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/88823"&gt;@Walter_C&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/2371"&gt;@mnorland&lt;/a&gt;&amp;nbsp;mentioned about&lt;SPAN&gt;&amp;nbsp;enabling serverless tasks. Is this possible and how?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 10:27:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unexpected-sku-names-in-usage-table-for-job-cost-calculation/m-p/116308#M45285</guid>
      <dc:creator>vziog</dc:creator>
      <dc:date>2025-04-23T10:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected SKU Names in Usage Table for Job Cost Calculation</title>
      <link>https://community.databricks.com/t5/data-engineering/unexpected-sku-names-in-usage-table-for-job-cost-calculation/m-p/116334#M45289</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/159878"&gt;@vziog&lt;/a&gt;&lt;/P&gt;&lt;P&gt;They're correct to be concerned about potential serverless task configuration.&lt;BR /&gt;The toggle to enable serverless is no more. Databricks has been transitioning away from the explicit serverless toggle in the UI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 13:41:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unexpected-sku-names-in-usage-table-for-job-cost-calculation/m-p/116334#M45289</guid>
      <dc:creator>lingareddy_Alva</dc:creator>
      <dc:date>2025-04-23T13:41:43Z</dc:date>
    </item>
  </channel>
</rss>

