<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Herman Santoso  on Medium]]></title>
        <description><![CDATA[Stories by Herman Santoso  on Medium]]></description>
        <link>https://medium.com/@herman.santoso.2000?source=rss-63a174764d74------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Herman Santoso  on Medium</title>
            <link>https://medium.com/@herman.santoso.2000?source=rss-63a174764d74------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 06:41:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@herman.santoso.2000/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Crafting Winning Pitches with Snowflake Cortex Multimodal]]></title>
            <link>https://medium.com/@herman.santoso.2000/crafting-winning-pitches-with-snowflake-cortex-multimodal-d9dc22bced06?source=rss-63a174764d74------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9dc22bced06</guid>
            <category><![CDATA[snowflake-cortex-ai]]></category>
            <dc:creator><![CDATA[Herman Santoso ]]></dc:creator>
            <pubDate>Sat, 10 May 2025 12:24:41 GMT</pubDate>
            <atom:updated>2025-05-10T12:24:41.854Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently, I faced the challenge of delivering a compelling presentation and wanted to leverage the power of AI to streamline the process. Instead of spending hours crafting the perfect pitch manually, I turned to Snowflake Cortex Complete Multimodal , an advance Gen-AI feature which is capable of performing wide range text and vision processing task.</p><p>By feeding my slide deck into Snowflake Cortex, the Snowflake platform was able to generate a coherent pitch script that aligned perfectly. This innovative approach really saved me time especially as non-native english speaker.</p><p>As Snowflake Cortex Complete Multimodal processes images in format like .jpg, .jpeg, .png, .webp or .gif then the first step is to convert each slide of my presentation into image file.</p><p>After preparing image files, I just need to upload them to a Snowflake stage — a secure storage location optimized for handling image data with directory tables and encryption.</p><pre>CREATE OR REPLACE STAGE PPT<br>    DIRECTORY = ( ENABLE = true )<br>    ENCRYPTION = ( TYPE = &#39;SNOWFLAKE_SSE&#39; );</pre><p>Once the image files uploaded into PPT stage — “you can use upload button from Snowsight UI” — then the next step is using a simple SQL command to call Cortex Complete Multimodal function to analyze each slide image alongside any textual prompts that you provided. For example</p><pre>SELECT SNOWFLAKE.CORTEX.COMPLETE(&#39;claude-3-5-sonnet&#39;,<br>    &#39;analyze the slide and create 1 short paragraph talking about the slide, make it such a way to present infront of interviewer&#39;,<br>    TO_FILE(&#39;@PPT&#39;, &#39;data_ai.jpg&#39;));</pre><p>This function leverages vision AI models to generate insightful coherent narrative content that matches the image, which enabling you to automatically produce a tailored pitch script directly within Snowflake.</p><p>Here is sample of the 1 slide “data_ai.jpg”</p><figure><img alt="This slide illustrates the evolutionary journey of modern business transformation, showcasing the progression from a data-driven approach to becoming AI-driven. The process begins with data as the foundation, represented by a database icon, which then evolves through the integration of artificial intelligence, symbolized by a sparkling star icon, and ultimately leads to complete business transformation, depicted by a diamond icon. This three-stage progression demonstrates how organizations are m" src="https://cdn-images-1.medium.com/max/1024/1*85Yw4IuZ7Qaseqyqyx7thw.png" /><figcaption>data_ai.jpg</figcaption></figure><p>And the output of Snowflake Cortex Complete multimodal as below:</p><pre><strong><em>OUTPUT:</em></strong><br><br>This slide illustrates the evolutionary journey of modern business transformation, <br>showcasing the progression from a data-driven approach to becoming AI-driven. <br>The process begins with data as the foundation, represented by a database icon, <br>which then evolves through the integration of artificial intelligence, <br>symbolized by a sparkling star icon, and ultimately leads to complete <br>business transformation, depicted by a diamond icon. <br>This three-stage progression demonstrates how organizations are moving <br>beyond merely being data-driven to leveraging AI capabilities <br>for achieving transformative business outcomes, marking a significant <br>shift in how companies operate and compete in today&#39;s digital landscape.</pre><p>Another sample slide “enterprise_data.jpg”, running this cortex command with simple SQL statement</p><pre>SELECT SNOWFLAKE.CORTEX.COMPLETE(&#39;claude-3-5-sonnet&#39;,<br>    &#39;analyze the slide and create 1 short paragraph talking about the slide, make it such a way to present infront of interviewer&#39;,<br>    TO_FILE(&#39;@PPT&#39;, &#39;enterprise_data.jpg&#39;));</pre><figure><img alt="This slide illustrates the modern evolution of enterprise data architectures through a comprehensive end-to-end flow. The architecture begins with diverse data sources including SaaS applications, traditional databases, and IoT devices, which are then processed through a Stream Extract Load pipeline. The processing layer implements a sophisticated medal system — Bronze, Silver, and Gold — representing increasing levels of data refinement and quality. Finally, the consumption layer enables variou" src="https://cdn-images-1.medium.com/max/1024/1*45NMlyKxpfajg4mmQstTVA.png" /><figcaption>enterprise_data.jpg</figcaption></figure><p>Here is the output of Snowflake Cortex command above</p><pre><strong><em>OUTPUT:</em><br></strong><br>This slide illustrates the modern evolution of enterprise data architectures <br>through a comprehensive end-to-end flow. The architecture begins with diverse <br>data sources including SaaS applications, traditional databases, and IoT devices, <br>which are then processed through a Stream Extract Load pipeline. <br>The processing layer implements a sophisticated medal system - <br>Bronze, Silver, and Gold - representing increasing levels of data <br>refinement and quality. Finally, the consumption layer enables various <br>business applications through API shares, supporting everything <br>from Business Intelligence and Data Science to applications and <br>data sharing capabilities. This modern architecture demonstrates <br>how enterprises are adapting to handle complex data requirements <br>while maintaining scalability and flexibility.</pre><p>You can improve the outcome by refining your prompt parameter in the SQL command, by making your prompt more specific and clear you guide the system to better understand your intent and resulting in more accurate and relevant response.</p><pre>SELECT SNOWFLAKE.CORTEX.COMPLETE(&#39;claude-3-5-sonnet&#39;,<br>    <strong><em>&#39;&lt;&lt;refine your prompt to be more specific and clear guidance&gt;&gt;&#39;</em></strong>,<br>    TO_FILE(&#39;@PPT&#39;, &#39;enterprise_data.jpg&#39;));</pre><p>In closing, that demonstrate how easy and efficient to use Snowflake Cortex Complete Multimodal to generate pitch wording with just simple SQL statement. All you need is to provide input slide images and receive a tailored, insightful text completions that capture the key messages and enhance your pitch narrative.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9dc22bced06" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Enrich Your Data With GeoLocation Information Using Snowflake Cortex LLM]]></title>
            <link>https://medium.com/@herman.santoso.2000/enrich-your-data-with-geolocation-information-using-snowflake-cortex-llm-be45e39aebc7?source=rss-63a174764d74------2</link>
            <guid isPermaLink="false">https://medium.com/p/be45e39aebc7</guid>
            <dc:creator><![CDATA[Herman Santoso ]]></dc:creator>
            <pubDate>Wed, 18 Sep 2024 13:31:26 GMT</pubDate>
            <atom:updated>2024-09-18T13:31:26.456Z</atom:updated>
            <content:encoded><![CDATA[<p>In today’s data-driven world, accurate and complete datasets are essential for making informed decisions. However, many organizations face the challenge of incomplete data, particularly when it comes to address information.</p><p>Addresses alone often lack the precision needed for advanced analytics, such as spatial analysis or location-based insights, because they are missing critical geolocation details like longitude and latitude. This gap can limit the value of your data, restricting its potential for deeper insights. By leveraging the power of Generative AI (GenAI), businesses can now augment their address data with precise geolocation information, enabling richer and more actionable insights.</p><p>In this article, we will explore how to use Snowflake’s Cortex LLM (Large Language Model) to automatically generate longitude and latitude coordinates from free-text address data.</p><p>Traditionally, adding geolocation information to addresses was a time-consuming process. You might have needed to create complex mapping rules or, in some cases, manually look up coordinates for each address. This was not only tedious but also prone to errors.</p><p>With Cortex LLM, the process is now simplified and automated. By leveraging its powerful natural language capabilities, we can convert free-text address formats into geolocation data in a fraction of the time, without the need for manual intervention or predefined mappings.</p><p>Let’s see Cortex LLM in action, in this sample data that we used</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8QwUks3jIQ15wLKjoE71Qw.png" /></figure><p>As seen in the data sample above, the addresses are presented in a free-text format, which can vary greatly in structure and completeness. To convert these addresses into usable geolocation data, we leverage prompt engineering with Snowflake’s Cortex LLM. By carefully crafting prompts, we can instruct the model on how to interpret the free-text address and generate accurate longitude and latitude coordinates.</p><blockquote>prompt = “””You are an agent that helps to generate the correct latitude and longitude based on address column for all location in Jakarta Indonesia.</blockquote><blockquote>You must generate the latitude and follow by longitude and separate the value by comma. <br>return only the latitude and longitude combination in the right order. Do not add explanation. Do not add context.<br>“””</blockquote><p>After crafting the appropriate prompt, we can now utilize Snowflake’s Cortex Complete function to generate the desired longitude and latitude coordinates. In this example, we’re using the <strong>LLaMA 3.1–405B model</strong>, which is well-suited for processing complex language inputs like free-text addresses. By feeding the prompt into the LLM, the model interprets the address data and returns geolocation information</p><blockquote>large_llm_response_sql = f””” select TOP 100 poscode, posname, posaddress, poscode2, posaddress || ‘ ‘ || poscode2 AS response,<br>trim(snowflake.cortex.complete(‘llama3.1–405b’,concat(‘{prompt}’,response)),’\n’) as large_llm_response<br>from pos”””</blockquote><blockquote>df_large_llm_response = session.sql(large_llm_response_sql)<br>df_large_llm_response</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bnQ3S6beT13-CZPO4EXxaQ.png" /></figure><p>Once the Cortex LLM generates the longitude and latitude coordinates, we can easily validate the results by pasting them into Google Maps. We can visualize the exact location on the map. In this sample, the coordinates point to a location around <strong>Pasar Tanah Abang</strong>, a well-known area in Jakarta.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fCEXyR2hj7QNgOQA5NSdoA.png" /></figure><p>The accuracy of the geolocation points generated by the LLM largely depends on the quality and completeness of the address data provided. While high-quality, well-formatted addresses will yield precise coordinates, incomplete or ambiguous addresses may result in less accurate locations.</p><p>However, as demonstrated in this article, even with varying data quality, the process of generating longitude and latitude can now be automated with just a few lines of code. By leveraging Snowflake’s Cortex LLM, businesses can simplify and accelerate the once-manual task of geolocation mapping, turning it into a streamlined, scalable solution.</p><p>This not only saves time but also opens up new possibilities for data enrichment and analysis.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be45e39aebc7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[National ID Data Extraction in a Single SQL Line with Snowflake DocumentAI]]></title>
            <link>https://medium.com/@herman.santoso.2000/national-id-data-extraction-in-a-single-sql-line-with-snowflake-documentai-2f80264886c3?source=rss-63a174764d74------2</link>
            <guid isPermaLink="false">https://medium.com/p/2f80264886c3</guid>
            <dc:creator><![CDATA[Herman Santoso ]]></dc:creator>
            <pubDate>Fri, 17 Nov 2023 03:01:56 GMT</pubDate>
            <atom:updated>2023-11-17T03:01:56.087Z</atom:updated>
            <content:encoded><![CDATA[<p>In the past, the process of extracting crucial information from a national identity card was complex and required many technology stacks such as OCR (Optical Character Recognition), advance Machine Learning. Using Snowflake DocumentAI to streamline this process, making the extraction a seamless and efficient experience within a single SQL line code.</p><p>Snowflake Document AI is a new large language model (LLM)-based interface launched by Snowflake that allows enterprises to quickly extract value from their unstructured documents. This will enables users to upload digital national ID and have AI extract useful data in a natural-language interface using SQL language.</p><p>Here is some demo for extracting Indonesia National ID information such as: name, address, DOB, etc.</p><ol><li>Upload your digital national ID into a stage in Snowflake. For this demo, I use format JPG</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QRUAZ2VSJwwgiL6v2jZnDQ.jpeg" /><figcaption>sample Indonesia National ID</figcaption></figure><p>and then from Snowsight UI , upload into DOCUMENT_INT stage within TEST_DB.TEST_SCHEMA</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MTr816_EWcUXy-B5ZwvXdQ.png" /><figcaption>upload digital ID into a stage</figcaption></figure><p>2. use DocumentAI , asking question using natural language (Indonesian Language) to ask question about the name, marital status, religion, etc.</p><pre>select snowflake.cognitive_services.document_extract_features(<br>    get_presigned_url(https://medium.com/@DOCUMENTS_INT,&#39;ktp_indonesia.jpg&#39;),<br>    object_construct(<br>        &#39;nik&#39;, &#39;apa isi dari NIK?&#39;,<br>        &#39;nama&#39;,&#39;apa isi dari NAMA?&#39;,<br>        &#39;tempat&#39;,&#39;apa isi dari TEMPAT LAHIR?&#39;,<br>        &#39;alamat&#39;,&#39;apa isi dari ALAMAT?&#39; ,<br>        &#39;kelamin&#39;,&#39;apa isi dari JENIS KELAMIN?&#39; ,<br>        &#39;kecamatan&#39;,&#39;apa isi dari KECAMATAN?&#39; ,<br>        &#39;agama&#39;,&#39;apa isi dari AGAMA?&#39;,<br>        &#39;pekerjaan&#39;,&#39;apa isi dari PEKERJAAN?&#39; ,<br>        &#39;warga&#39;,&#39;apa isi dari KEWARGANEGARAAN?&#39; ,<br>        &#39;berlaku&#39;,&#39;apa isi dari BERLAKU HINGGA?&#39; <br>    )<br>) AS output;</pre><p>The outcome is in the json format</p><pre>{<br>  &quot;__documentMetadata&quot;: {<br>    &quot;ocrScore&quot;: 0.473<br>  },<br>  &quot;agama&quot;: [<br>    {<br>      &quot;children&quot;: {},<br>      &quot;index&quot;: 0,<br>      &quot;score&quot;: 0.817,<br>      &quot;value&quot;: &quot;ISLAM&quot;<br>    }<br>  ],<br>  &quot;alamat&quot;: [<br>    {<br>      &quot;children&quot;: {},<br>      &quot;index&quot;: 0,<br>      &quot;score&quot;: 0.808,<br>      &quot;value&quot;: &quot;JL DIMANA NO 100&quot;<br>    }<br>  ],<br>  &quot;berlaku&quot;: [<br>    {<br>      &quot;children&quot;: {},<br>      &quot;index&quot;: 0,<br>      &quot;score&quot;: 0.885,<br>      &quot;value&quot;: &quot;SEUMUR HIDUP&quot;<br>    }<br>  ],<br>  &quot;kecamatan&quot;: [<br>    {<br>      &quot;children&quot;: {},<br>      &quot;index&quot;: 0,<br>      &quot;score&quot;: 0.834,<br>      &quot;value&quot;: &quot;DUREN SAWIT&quot;<br>    }<br>  ],<br>  &quot;kelamin&quot;: [<br>    {<br>      &quot;children&quot;: {},<br>      &quot;index&quot;: 0,<br>      &quot;score&quot;: 0.771,<br>      &quot;value&quot;: &quot;LAKI-LAKI&quot;<br>    }<br>  ],<br>  &quot;nama&quot;: [<br>    {<br>      &quot;children&quot;: {},<br>      &quot;index&quot;: 0,<br>      &quot;score&quot;: 0.787,<br>      &quot;value&quot;: &quot;BILLY BUMBLEBEE SIFULAN&quot;<br>    }<br>  ],<br>  &quot;nik&quot;: [<br>    {<br>      &quot;children&quot;: {},<br>      &quot;index&quot;: 0,<br>      &quot;score&quot;: 0.886,<br>      &quot;value&quot;: &quot;3175070101909999&quot;<br>    }<br>  ],<br>  &quot;pekerjaan&quot;: [<br>    {<br>      &quot;children&quot;: {},<br>      &quot;index&quot;: 0,<br>      &quot;score&quot;: 0.883,<br>      &quot;value&quot;: &quot;KARYAWAN SWASTA&quot;<br>    }<br>  ],<br>  &quot;tempat&quot;: [<br>    {<br>      &quot;children&quot;: {},<br>      &quot;index&quot;: 0,<br>      &quot;score&quot;: 0.769,<br>      &quot;value&quot;: &quot;SURABAYA, 01-01-1990&quot;<br>    }<br>  ],<br>  &quot;warga&quot;: [<br>    {<br>      &quot;children&quot;: {},<br>      &quot;index&quot;: 0,<br>      &quot;score&quot;: 0.807,<br>      &quot;value&quot;: &quot;WNI&quot;<br>    }<br>  ]<br>}</pre><p>3. You can use dot notation in order to extract &amp; transpose the attribute information as a table format</p><pre>set lq = (select last_query_id());<br>-- Use Snowflake&#39;s native support semi-structured data to transform the data into an easily readable format<br><br>Select<br>    output:nik[0]:value::VARCHAR as nik,<br>    output:nama[0]:value::VARCHAR as nama,<br>    output:tempat[0]:value::VARCHAR as tempat_lahir,<br>    output:alamat[0]:value::VARCHAR as alamat,<br>    output:kelamin[0]:value::VARCHAR as jenis_kelamin,<br>    output:kecamatan[0]:value::VARCHAR as kecamatan,<br>    output:agama[0]:value::VARCHAR as agama,<br>    output:pekerjaan[0]:value::VARCHAR as pekerjaan,<br>    output:warga[0]:value::VARCHAR as warga_negara,<br>    output:berlaku[0]:value::VARCHAR as berlaku_hingga<br>from table(result_scan($lq));</pre><p>with the outcome:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4qWIhttnkh1x2HhJYEfGrQ.png" /></figure><blockquote>In conclusion, this demonstration highlights the remarkable ease with which data extraction from Indonesia’s national ID cards can be accomplished through a single line of SQL code, showcasing the power and simplicity of Snowflake DocumentAI.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2f80264886c3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Concurrency Testing with JMeter: A Step-by-Step Guide for Snowflake Integration]]></title>
            <link>https://medium.com/@herman.santoso.2000/concurrency-testing-with-jmeter-a-step-by-step-guide-for-snowflake-integration-cdc8211eac71?source=rss-63a174764d74------2</link>
            <guid isPermaLink="false">https://medium.com/p/cdc8211eac71</guid>
            <dc:creator><![CDATA[Herman Santoso ]]></dc:creator>
            <pubDate>Wed, 15 Nov 2023 05:00:27 GMT</pubDate>
            <atom:updated>2023-11-15T05:00:27.974Z</atom:updated>
            <content:encoded><![CDATA[<p>In the dynamic landscape of today’s data-driven world, ensuring the robustness and scalability of your systems is paramount. When it comes to measuring performance under load, Apache JMeter stands out as a powerful and versatile tool. In this comprehensive guide, we will delve into the intricacies of concurrency testing using JMeter, focusing specifically on integrating with Snowflake, a cloud-based data platform. Join us on a journey to harness the true potential of JMeter for ensuring Snowflake stability and responsiveness under concurrent loads.</p><blockquote>What is Apache Jmeter?</blockquote><p>Apache JMeter, an open-source tool revered in the realms of performance testing, is a versatile gem that has become a cornerstone for developers, testers, and performance engineers worldwide. Born out of the Apache Software Foundation, JMeter is designed to assess and analyze the performance of a variety of applications, web services, and databases.</p><blockquote>How to download &amp; install Apache Jmeter?</blockquote><ol><li>download JMeter from Apache JMeter website : <a href="https://jmeter.apache.org/download_jmeter.cgi">https://jmeter.apache.org/download_jmeter.cgi</a> ; do note on the requirement “Apache JMeter 5.6.2 (Requires Java 8+)”</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SEAxc0Aa4ywtA-q8gduF2w.png" /><figcaption>apache jmeter download URL</figcaption></figure><p>2. unzipped the downloaded file into your preferred folder</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WCkDEdlsWKtRLO6IwMOBQQ.png" /><figcaption>extract to your preferred folder</figcaption></figure><p>3. download snowflake JDBC jar file and copy into the “jmeter/lib” folder. Get it from: Snowflake help section → Downloads → JDBC Driver and click on Maven repository (<a href="https://repo1.maven.org/maven2/net/snowflake/snowflake-jdbc">https://repo1.maven.org/maven2/net/snowflake/snowflake-jdbc</a>)</p><p>4. run jmeter by executing jmeter.sh from your “jmeter/bin” folder</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-FzXDzZ4GCS10SX8SnOhhA.png" /><figcaption>execute jmeter.sh</figcaption></figure><blockquote>How to configure Jmeter for Snowflake concurrency testing?</blockquote><ol><li>create test plan , you can give any name — in my case: “Snowflake Concurrency Test”</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r_tikCYBNtKK0oSrReUawQ.png" /><figcaption>create test plan</figcaption></figure><p>2. add test group ; right click on test plan (“Snowflake Concurrency Test”) → add → Thread (Users) → Thread Group</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V_Pq8AkmPpiuvyP_tm57jA.png" /><figcaption>adding test group into your test plan</figcaption></figure><p>3. configure your Thread Group</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7lcSSRQdfXdIxEnecU22GA.png" /><figcaption>configure your thread group</figcaption></figure><ul><li>The Number of Threads (users) specifies how many threads will be used in this load test.</li><li>Ramp-Up Period (in seconds) specifies how long the total number of threads will be activated. For example, if we set the Number of Threads to 10 and Ramp-Up Period to 30. In this case, the thread number will increase as one for every 3 seconds, and at the end of the 30 seconds, ten threads will be active</li><li>Loop Count specifies the number of times the test will be executed. If we click the Infinite option, the test will run until we stop it explicitly.</li></ul><p>4. add jdbc connection ; right click on thread group → add → config element → JDBC Connection configuration</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ADjznmMpjzJlp9IXzejGyg.png" /><figcaption>adding JDBC connection configuration</figcaption></figure><p>Give any name , in my case “Snowflake_JDBC_Conn” , and provide following information:</p><ul><li>Database URL : jdbc:snowflake://xxxxxx.snowflakecomputing.com/</li><li>JDBC Driver class :net.snowflake.client.jdbc.SnowflakeDriver</li><li>UserName: Database user name</li><li>Password: User password</li><li>Variable Name for created pool: Snowflake_JDBC_Conn (<em>*we will use this variable in the next config</em>)</li><li>Add additional connection properties parameters: warehouse=&lt;warehouse name&gt; &amp;db=&lt;database&gt;&amp;schema=&lt;schema&gt;&amp;role=&lt;role&gt;</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3grEwOPHIXKxxvsALbanWg.png" /></figure><p>5. add JDBC request ; right click on thread group → add → sampler → JDBC request</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Aoyg4Zh5MuFuaLaVyZWmYQ.png" /><figcaption>add JDBC request</figcaption></figure><p>you can give any name; in my case “Snowflake JDBC Request” , and provide following information</p><ul><li>Query Statement</li><li>Variable name of pool declared in JDBC connection configuration: Snowflake_JDBC_Conn</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bJgyIhLfHiRENCH6t8M11A.png" /><figcaption>configure JDBC request</figcaption></figure><p>6. add view tree result and optionally view result in table ; right click on thread group → add → listener → View Result Tree</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CWj8z5VvC1mgLvbV9t2zCQ.png" /><figcaption>adding listener view tree result</figcaption></figure><p>7. now you are ready to run your concurrency test , and monitor the result either from the tree result or the tree table. To run , just click on the start button (green arrow icon) on top</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o9eL3s5ZIe-600r0-chz6A.png" /><figcaption>monitor result of your test</figcaption></figure><blockquote>Conclusion</blockquote><p>Setting up the test is remarkably straightforward, thanks to JMeter’s user-friendly interface and robust protocol support. With a few simple configurations, testers can effortlessly orchestrate complex concurrency tests, ensuring that their applications can gracefully handle varying levels of user activity. This harmonious collaboration between JMeter and Snowflake not only simplifies the testing process but also empowers teams to uncover valuable insights into the performance and scalability of their systems.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cdc8211eac71" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>