{"id":13386,"date":"2020-02-08T22:25:42","date_gmt":"2020-02-08T21:25:42","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/running-sql-server-on-the-oracle-free-tier\/"},"modified":"2020-02-08T22:25:42","modified_gmt":"2020-02-08T21:25:42","slug":"running-sql-server-on-the-oracle-free-tier","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/running-sql-server-on-the-oracle-free-tier\/","title":{"rendered":"Running SQL Server on the Oracle Free\u00a0tier"},"content":{"rendered":"<h2>By Franck Pachot<\/h2>\n<p>The Oracle Cloud is not only for Oracle Database. You can create a VM running Oracle Linux with full root access to it, even in the free tier: a free VM that will be always up, never expires, with full ssh connectivity to a sudoer user, where you are able to tunnel any port. Of course, there are some limits that I&#8217;ve detailed in a <a href=\"https:\/\/medium.com\/@FranckPachot\/the-oracle-cloud-free-tier-37c27f3b1e19?source=friends_link&amp;sk=2233caa140b1f1501ad8874f18fd2197\" target=\"_blank\" rel=\"noopener noreferrer\">previous post<\/a>. But that is sufficient to run a database, given that you configure a low memory usage. For Oracle Database XE, <a href=\"https:\/\/blog.ora-600.pl\/2019\/09\/27\/how-to-install-oracle-xe-18c-in-oracle-cloud-free-tier\/\" target=\"_blank\" rel=\"noopener noreferrer\">Kamil Stawiarski<\/a> mentions that you can just hack the memory test in the RPM shell script.<br \/>\nBut for Microsoft SQL Server, that&#8217;s a bit more complex because this test is hardcoded in the sqlservr binary and the solution I propose here is to intercept the call to the sysinfo() system call.<\/p>\n<p>Creating a VM in the Oracle Cloud is very easy, here are the steps in one picture:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-37075\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/oraclefreetierforsqlserver001.png\" alt=\"\" width=\"1024\" height=\"683\" \/><\/p>\n<p>I&#8217;m connecting to the public IP Address with ssh (the public key is uploaded when creating the VM) and I&#8217;ll will run everything as root:<\/p>\n<pre><code>ssh opc@129.213.138.34\nsudo su -\ncat \/etc\/oracle-release<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-37066\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/Annotation-2020-02-08-172455.jpg\" alt=\"\" width=\"1024\" height=\"135\" \/><\/p>\n<p>I install docker engine (version 19.3 there)<\/p>\n<pre><code>yum install -y docker-engine<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-37065\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/Annotation-2020-02-08-172733.jpg\" alt=\"\" width=\"1024\" height=\"483\" \/><\/p>\n<p>I start docker<\/p>\n<pre><code>\nsystemctl start docker\ndocker info<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-37064\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/Annotation-2020-02-08-172947.jpg\" alt=\"\" width=\"1024\" height=\"697\" \/><br \/>\nI&#8217;ll use the latest SQL Server 2019 image built on RHEL<\/p>\n<pre><code>docker pull mcr.microsoft.com\/mssql\/rhel\/server:2019-latest\ndocker images<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-37063\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/Annotation-2020-02-08-173411.jpg\" alt=\"\" width=\"1024\" height=\"256\" \/><\/p>\n<p>5 minutes to download a 1.5GB image. Now trying to start it.<br \/>\nThe nice thing (when I compare to Oracle) is that we don&#8217;t have to manually accept the license terms with a click-through process. I just mention that I have read and accepted them with: ACCEPT_EULA=Y<\/p>\n<p>I try to run it:<\/p>\n<pre><code>docker run \\\n -e \"ACCEPT_EULA=Y\" \\\n -e 'MSSQL_PID=Express' \\\n -p 1433:1433 \\\n -e 'SA_PASSWORD=**P455w0rd**' \\\n --name mssql \\\n mcr.microsoft.com\/mssql\/rhel\/server:2019-latest<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-37062\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/Annotation-2020-02-08-173451.jpg\" alt=\"\" width=\"1024\" height=\"228\" \/><\/p>\n<p>There&#8217;s a hardcoded prerequisite verification to check that the system has at least 2000 MB of RAM. And I have less than one GB here in this free tier:<\/p>\n<pre><code>\nawk '\/^Mem\/{print $0,$2\/1024\" MB\"}' \/proc\/meminfo\n<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-37071\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/Annotation-2020-02-08-174805.jpg\" alt=\"\" width=\"1024\" height=\"137\" \/><\/p>\n<p>Fortunately, there&#8217;s always a nice geek on the internet with an awesome solution: hack the sysinfo() system call with a LD_PRELOAD&#8217;ed wrapper : <a href=\"https:\/\/github.com\/justin2004\/mssql_server_tiny\" target=\"_blank\" rel=\"noopener noreferrer\">A Slightly Liberated Microsoft SQL Server Docker image<\/a><\/p>\n<p>Let&#8217;s get it:<\/p>\n<pre><code>git clone https:\/\/github.com\/justin2004\/mssql_server_tiny.git\ncd mssql_server_tiny<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-37061\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/Annotation-2020-02-08-173735.jpg\" alt=\"\" width=\"1024\" height=\"769\" \/><\/p>\n<p>I changed the FROM to build from the 2019 RHEL image and I preferred to use \/etc\/ld.so.preload rather than overriding the CMD command with LD_LIBRARY:<\/p>\n<pre><code>\nFROM oraclelinux:7-slim AS build0\nWORKDIR \/root\nRUN yum update -y &amp;&amp; yum install -y binutils gcc\nADD wrapper.c \/root\/\nRUN gcc -shared  -ldl -fPIC -o wrapper.so wrapper.c\nFROM mcr.microsoft.com\/mssql\/rhel\/server:2019-latest\nCOPY --from=build0 \/root\/wrapper.so \/root\/\nADD wrapper.c \/root\/\nUSER root\nRUN echo \"\/root\/wrapper.so\" &gt; \/etc\/ld.so.preload\nUSER mssql\n<\/code><\/pre>\n<p>I didn&#8217;t change the wrapper for the sysinfo function:<\/p>\n<pre><code>#define _GNU_SOURCE\n#include \n#include \n#include\nint sysinfo(struct sysinfo *info){\n    \/\/ clear it\n    \/\/dlerror();\n    void *pt=NULL;\n    typedef int (*real_sysinfo)(struct sysinfo *info);\n    \/\/ we need the real sysinfo function address\n    pt = dlsym(RTLD_NEXT,\"sysinfo\");\n    \/\/printf(\"pt: %x\\n\", *(char *)pt);\n    \/\/ call the real sysinfo system call\n    int real_return_val=((real_sysinfo)pt)(info);\n    \/\/ but then modify its returned totalram field if necessary\n    \/\/ because sqlserver needs to believe it has \"2000 megabytes\"\n    \/\/ physical memory\n    if( info-&gt;totalram totalram = 1000l * 1000l * 1000l * 2l ;\n    }\n    return real_return_val;\n}\n<\/code><\/pre>\n<p>I build the image from there:<\/p>\n<pre><code>docker build -t mssql .<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-37070\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/Annotation-2020-02-08-175629.jpg\" alt=\"\" width=\"1024\" height=\"523\" \/><br \/>\nI run it:<\/p>\n<pre><code>docker run -d \\\n -e \"ACCEPT_EULA=Y\" \\\n -e 'MSSQL_PID=Express' \\\n -p 1433:1433 \\\n -e 'SA_PASSWORD=**P455w0rd**' \\\n --name mssql \\\n mssql<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-37069\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/Annotation-2020-02-08-180121-scaled.jpg\" alt=\"\" width=\"1024\" height=\"558\" \/><\/p>\n<p>I wait until it is ready:<\/p>\n<pre><code>until docker logs mssql  | grep -C10 \"Recovery is complete.\" ; do sleep 1 ; done<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-37068\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/Annotation-2020-02-08-180219.jpg\" alt=\"\" width=\"1024\" height=\"236\" \/><\/p>\n<p>All is ok and I connect and check the version:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-37067\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/Annotation-2020-02-08-180605-scaled.jpg\" alt=\"\" width=\"1024\" height=\"493\" \/><\/p>\n<p>Well&#8230; as you can see my first attempt failed. I am running with very low memory here, and then many memory allocation problems can be expected. If you look at the logs after a while, many automatic system tasks fail. But that&#8217;s sufficient for a minimal lab and you can tweak some Linux and SQL Server parameters if you need it. Comments are welcome here for feedback and ideas&#8230;<\/p>\n<p>The port 1433 is exposed here locally and it can be tunneled through ssh. This is a free lab environment always accessible from everywhere to do small tests in MS SQL, running on the Oracle free tier. Here is how I connect with <a href=\"https:\/\/dbeaver.io\/download\/\" target=\"_blank\" rel=\"noopener noreferrer\">DBeaver<\/a> from my laptop, just mentioning the public IP address, private ssh key and connection information:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-37088\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/oraclefreetierforsqlserver002-1.png\" alt=\"\" width=\"1024\" height=\"683\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>By Franck Pachot The Oracle Cloud is not only for Oracle Database. You can create a VM running Oracle Linux with full root access to it, even in the free tier: a free VM that will be always up, never expires, with full ssh connectivity to a sudoer user, where you are able to tunnel&hellip;&nbsp;<\/p>\n","protected":false},"author":27,"featured_media":13400,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","neve_meta_reading_time":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[955,59,99],"tags":[],"class_list":["post-13386","post","type-post","status-publish","format-standard","has-post-thumbnail","category-cloud","category-oracle","category-sql-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.9 (Yoast SEO v28.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Running SQL Server on the Oracle Free\u00a0tier - dbi services Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/running-sql-server-on-the-oracle-free-tier\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Running SQL Server on the Oracle Free\u00a0tier\" \/>\n<meta property=\"og:description\" content=\"By Franck Pachot The Oracle Cloud is not only for Oracle Database. You can create a VM running Oracle Linux with full root access to it, even in the free tier: a free VM that will be always up, never expires, with full ssh connectivity to a sudoer user, where you are able to tunnel&hellip;&nbsp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/running-sql-server-on-the-oracle-free-tier\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi services Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dbiservices\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-08T21:25:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/oraclefreetierforsqlserver.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2048\" \/>\n\t<meta property=\"og:image:height\" content=\"1366\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Oracle Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:site\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Oracle Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/running-sql-server-on-the-oracle-free-tier\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/running-sql-server-on-the-oracle-free-tier\\\/\"},\"author\":{\"name\":\"Oracle Team\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/bf7c7eb0bec165183207237c9d0ee1d5\"},\"headline\":\"Running SQL Server on the Oracle Free\u00a0tier\",\"datePublished\":\"2020-02-08T21:25:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/running-sql-server-on-the-oracle-free-tier\\\/\"},\"wordCount\":526,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/running-sql-server-on-the-oracle-free-tier\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/oraclefreetierforsqlserver.png\",\"articleSection\":[\"Cloud\",\"Oracle\",\"SQL Server\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/running-sql-server-on-the-oracle-free-tier\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/running-sql-server-on-the-oracle-free-tier\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/running-sql-server-on-the-oracle-free-tier\\\/\",\"name\":\"Running SQL Server on the Oracle Free\u00a0tier - dbi services Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/running-sql-server-on-the-oracle-free-tier\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/running-sql-server-on-the-oracle-free-tier\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/oraclefreetierforsqlserver.png\",\"datePublished\":\"2020-02-08T21:25:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/running-sql-server-on-the-oracle-free-tier\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/running-sql-server-on-the-oracle-free-tier\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/running-sql-server-on-the-oracle-free-tier\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/oraclefreetierforsqlserver.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/oraclefreetierforsqlserver.png\",\"width\":2048,\"height\":1366},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/running-sql-server-on-the-oracle-free-tier\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Running SQL Server on the Oracle Free\u00a0tier\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi services Blog\",\"description\":\"#BeSharing\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\",\"name\":\"dbi services\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"width\":512,\"height\":512,\"caption\":\"dbi services\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/dbiservices\\\/\",\"https:\\\/\\\/x.com\\\/dbiservices\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/dbi-services\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/dbiservices\"],\"description\":\"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.\",\"email\":\"info@dbi-services.com\",\"telephone\":\"+41 32 422 96 00\",\"legalName\":\"dbi services SA\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/bf7c7eb0bec165183207237c9d0ee1d5\",\"name\":\"Oracle Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/oracle-square.png\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/oracle-square.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/oracle-square.png\",\"caption\":\"Oracle Team\"},\"description\":\"Posts published under the Oracle Team account are collective contributions by the dbi services Oracle consultants. The practice covers the full Oracle Database lifecycle: architecture, migration and upgrade, high availability with RAC and Data Guard, backup and recovery, performance tuning, and engineered systems such as Oracle Database Appliance and Exadata. The team holds Oracle certifications up to Certified Master level and operates customer platforms under service level agreements.\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/oracle-team\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Running SQL Server on the Oracle Free\u00a0tier - dbi services Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/running-sql-server-on-the-oracle-free-tier\/","og_locale":"en_US","og_type":"article","og_title":"Running SQL Server on the Oracle Free\u00a0tier","og_description":"By Franck Pachot The Oracle Cloud is not only for Oracle Database. You can create a VM running Oracle Linux with full root access to it, even in the free tier: a free VM that will be always up, never expires, with full ssh connectivity to a sudoer user, where you are able to tunnel&hellip;&nbsp;","og_url":"https:\/\/www.dbi-services.com\/blog\/running-sql-server-on-the-oracle-free-tier\/","og_site_name":"dbi services Blog","article_publisher":"https:\/\/www.facebook.com\/dbiservices\/","article_published_time":"2020-02-08T21:25:42+00:00","og_image":[{"width":2048,"height":1366,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/oraclefreetierforsqlserver.png","type":"image\/png"}],"author":"Oracle Team","twitter_card":"summary_large_image","twitter_creator":"@dbiservices","twitter_site":"@dbiservices","twitter_misc":{"Written by":"Oracle Team","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/running-sql-server-on-the-oracle-free-tier\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/running-sql-server-on-the-oracle-free-tier\/"},"author":{"name":"Oracle Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/bf7c7eb0bec165183207237c9d0ee1d5"},"headline":"Running SQL Server on the Oracle Free\u00a0tier","datePublished":"2020-02-08T21:25:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/running-sql-server-on-the-oracle-free-tier\/"},"wordCount":526,"commentCount":0,"publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/running-sql-server-on-the-oracle-free-tier\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/oraclefreetierforsqlserver.png","articleSection":["Cloud","Oracle","SQL Server"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/running-sql-server-on-the-oracle-free-tier\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/running-sql-server-on-the-oracle-free-tier\/","url":"https:\/\/www.dbi-services.com\/blog\/running-sql-server-on-the-oracle-free-tier\/","name":"Running SQL Server on the Oracle Free\u00a0tier - dbi services Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/running-sql-server-on-the-oracle-free-tier\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/running-sql-server-on-the-oracle-free-tier\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/oraclefreetierforsqlserver.png","datePublished":"2020-02-08T21:25:42+00:00","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/running-sql-server-on-the-oracle-free-tier\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/running-sql-server-on-the-oracle-free-tier\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/running-sql-server-on-the-oracle-free-tier\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/oraclefreetierforsqlserver.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/oraclefreetierforsqlserver.png","width":2048,"height":1366},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/running-sql-server-on-the-oracle-free-tier\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Running SQL Server on the Oracle Free\u00a0tier"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi services Blog","description":"#BeSharing","publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dbi-services.com\/#organization","name":"dbi services","url":"https:\/\/www.dbi-services.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","width":512,"height":512,"caption":"dbi services"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dbiservices\/","https:\/\/x.com\/dbiservices","https:\/\/www.linkedin.com\/company\/dbi-services\/","https:\/\/www.youtube.com\/user\/dbiservices"],"description":"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.","email":"info@dbi-services.com","telephone":"+41 32 422 96 00","legalName":"dbi services SA"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/bf7c7eb0bec165183207237c9d0ee1d5","name":"Oracle Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/12\/oracle-square.png","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/12\/oracle-square.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/12\/oracle-square.png","caption":"Oracle Team"},"description":"Posts published under the Oracle Team account are collective contributions by the dbi services Oracle consultants. The practice covers the full Oracle Database lifecycle: architecture, migration and upgrade, high availability with RAC and Data Guard, backup and recovery, performance tuning, and engineered systems such as Oracle Database Appliance and Exadata. The team holds Oracle certifications up to Certified Master level and operates customer platforms under service level agreements.","url":"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/13386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=13386"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/13386\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media\/13400"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=13386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=13386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=13386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}