<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Null on FromDual GmbH</title><link>https://www.fromdual.com/tags/null/</link><description>Recent content in Null on FromDual GmbH</description><generator>Hugo</generator><language>en-GB</language><managingEditor>oli.sennhauser@fromdual.com (Oli Sennhauser)</managingEditor><webMaster>oli.sennhauser@fromdual.com (Oli Sennhauser)</webMaster><copyright>© FromDual GmbH</copyright><lastBuildDate>Sun, 08 Feb 2026 16:15:00 +0100</lastBuildDate><atom:link href="https://www.fromdual.com/tags/null/index.xml" rel="self" type="application/rss+xml"/><item><title>To NULL, or not to NULL, that is the question!</title><link>https://www.fromdual.com/blog/to-null-or-not-to-null-that-is-the-question/</link><pubDate>Fri, 14 Dec 2018 08:33:25 +0000</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/to-null-or-not-to-null-that-is-the-question/</guid><description>&lt;p&gt;As we already stated in earlier articles in this blog &lt;br&gt;[&lt;a href="https://www.fromdual.com/using-null-as-default-values" title="Using NULL as default values"&gt;1&lt;/a&gt; and &lt;a href="https://www.fromdual.com/mariadb-indexing-of-null-values" title="MariaDB indexing of NULL values"&gt;2&lt;/a&gt;&lt;br&gt;] it is a good idea to use &lt;code&gt;NULL&lt;/code&gt; values properly in MariaDB and MySQL.&lt;/p&gt;</description></item><item><title>MariaDB indexing of NULL values</title><link>https://www.fromdual.com/blog/mariadb-indexing-of-null-values/</link><pubDate>Thu, 29 Nov 2018 20:10:55 +0000</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/mariadb-indexing-of-null-values/</guid><description>&lt;p&gt;In the recent &lt;a href="https://www.fromdual.com/advanced-mysql-mariadb-training" title="Advanced MySQL and MariaDB training"&gt;MariaDB DBA advanced training&lt;/a&gt; class the question came up if MariaDB can make use of an index when searching for &lt;code&gt;NULL&lt;/code&gt; values&amp;hellip; And to be honest I was not sure any more. So instead of reading boring documentation I did some little tests:&lt;/p&gt;</description></item><item><title>Using NULL as default values</title><link>https://www.fromdual.com/blog/using-null-as-default-values/</link><pubDate>Thu, 21 Jul 2011 18:35:34 +0000</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/using-null-as-default-values/</guid><description>&lt;h2 id="abstract"&gt;Abstract:&lt;/h2&gt;
&lt;p&gt;It is common practice in MySQL table design that fields are declared as &lt;code&gt;NOT NULL&lt;/code&gt; but some non-sense &lt;code&gt;DEFAULT&lt;/code&gt; values are specified for unknown field contents. In this article we show why this behavior is non optimal an why you should better declare a field to allow &lt;code&gt;NULL&lt;/code&gt; values and use &lt;code&gt;NULL&lt;/code&gt; values instead of some dummy values.&lt;/p&gt;</description></item><item><title>How much space does NULL need?</title><link>https://www.fromdual.com/blog/how-much-space-does-null-need/</link><pubDate>Sun, 08 Feb 2026 16:15:00 +0100</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/how-much-space-does-null-need/</guid><description>&lt;p&gt;The last time I consulted a customer, he came up to me beaming with joy and said that he had taken my advice and changed all the primary key columns from &lt;code&gt;BIGINT&lt;/code&gt; (8 bytes) to &lt;code&gt;INT&lt;/code&gt; (4 bytes) and that had made a big difference! His MySQL 8.4 database is now 750 Gbyte smaller (from 5.5 Tbyte). Nice!&lt;/p&gt;</description></item></channel></rss>