Skip to content

Commit 3f1a892

Browse files
author
KB Crawler
committed
KB crawler nightly commit
1 parent 330fa3f commit 3f1a892

File tree

50 files changed

+380
-342
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+380
-342
lines changed

archive/+changes/index.html

Lines changed: 255 additions & 262 deletions
Large diffs are not rendered by default.

archive/en/analyze-table/+comments/feed/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>MariaDB Knowledge Base Comments for: ANALYZE TABLE</title><link>https://mariadb.com/kb/en/analyze-table/+comments/feed/</link><description></description><atom:link href="https://mariadb.com/kb/en/analyze-table/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Thu, 20 Feb 2025 01:02:57 +0000</lastBuildDate><item><title>Re: ANALYZE TABLE</title><link>https://mariadb.com/kb/en/analyze-table/+comments/7026</link><description>&lt;p&gt;Since 10.6.16 there is no blocking or locking with ANALYZE TABLE for any running DML's.&lt;/p&gt;
2+
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>MariaDB Knowledge Base Comments for: ANALYZE TABLE</title><link>https://mariadb.com/kb/en/analyze-table/+comments/feed/</link><description></description><atom:link href="https://mariadb.com/kb/en/analyze-table/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Fri, 21 Feb 2025 01:03:17 +0000</lastBuildDate><item><title>Re: ANALYZE TABLE</title><link>https://mariadb.com/kb/en/analyze-table/+comments/7026</link><description>&lt;p&gt;Since 10.6.16 there is no blocking or locking with ANALYZE TABLE for any running DML's.&lt;/p&gt;
33
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Widenius</dc:creator><guid>https://mariadb.com/kb/en/analyze-table/+comments/7026</guid></item><item><title>Re: ANALYZE TABLE</title><link>https://mariadb.com/kb/en/analyze-table/+comments/7025</link><description>&lt;p&gt;This should have been fixed in 10.6.16 and newer versions.
44
There should not be any locking or blocking issues after this version.&lt;/p&gt;
55
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Widenius</dc:creator><guid>https://mariadb.com/kb/en/analyze-table/+comments/7025</guid></item><item><title>Re: ANALYZE TABLE</title><link>https://mariadb.com/kb/en/analyze-table/+comments/6443</link><description>&lt;p&gt;In &lt;a href="/kb/en/what-is-mariadb-104/"&gt;Mariadb 10.4&lt;/a&gt; EE it caused severe locking issues.

archive/en/analyze-table/+comments/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ <h1>
267267
<div class="info">
268268

269269

270-
<span class="datetime" title="2023-10-23 13:55">1 year, 3 months ago</span>
270+
<span class="datetime" title="2023-10-23 13:55">1 year, 4 months ago</span>
271271

272272
<span class="user" id="user-7627">
273273
<a href="/kb/user/id/7627" title="Alain Bourgeois">Alain Bourgeois</a>
@@ -305,7 +305,7 @@ <h1>
305305
<div class="info">
306306

307307

308-
<span class="datetime" title="2025-02-19 08:32">16 hours, 29 minutes ago</span>
308+
<span class="datetime" title="2025-02-19 08:32">1 day, 16 hours ago</span>
309309

310310
<span class="user" id="user-7">
311311
<a href="/kb/user/id/7" title="Michael Widenius">Michael Widenius</a>
@@ -388,7 +388,7 @@ <h1>
388388
<div class="info">
389389

390390

391-
<span class="datetime" title="2025-02-19 08:33">16 hours, 29 minutes ago</span>
391+
<span class="datetime" title="2025-02-19 08:33">1 day, 16 hours ago</span>
392392

393393
<span class="user" id="user-7">
394394
<a href="/kb/user/id/7" title="Michael Widenius">Michael Widenius</a>

archive/en/analyze-table/+source/index.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ <h1>ANALYZE TABLE - Source</h1>
319319
<div class="revision_info">
320320
<dl class="table">
321321
<dt>Revision</dt>
322-
<dd><a href="/kb/en/analyze-table/+r/147733/">147733</a></dd>
322+
<dd><a href="/kb/en/analyze-table/+r/147786/">147786</a></dd>
323323
<dt>User</dt>
324324
<dd>
325325
<span class="user" id="user-7">
@@ -328,7 +328,7 @@ <h1>ANALYZE TABLE - Source</h1>
328328
<dt>Date</dt>
329329
<dd>
330330

331-
<span class="datetime" title="2025-02-19 13:47">2025-02-19 13:47</span></dd>
331+
<span class="datetime" title="2025-02-20 17:12">2025-02-20 17:12</span></dd>
332332
</dl>
333333
</div>
334334

@@ -393,6 +393,10 @@ <h1>ANALYZE TABLE - Source</h1>
393393

394394
##ANALYZE TABLE## supports [[engine-independent-table-statistics|engine-independent statistics]]. See [[engine-independent-table-statistics/#collecting-statistics-with-the-analyze-table-statement|Engine-Independent Table Statistics: Collecting Statistics with the ANALYZE TABLE Statement]] for more information.
395395

396+
Engine-independent statistics can be controlled (enabled and disabled) using the [[server-system-variables/#use_stat_tables|use_stat_tables variable]] and the [[server-system-variables/#optimizer_use_condition_selectivity|optimizer_use_condition_selectivity variable]]. InnoDB-persistent statistics are controlled with the [[innodb-system-variables/#innodb_stats_persistent|innodb_stats_persistent variable]]. Combining both kinds of statistics is possible.
397+
398+
The server relies on InnoDB statistics by default. That way, it can use some statistics even if ##ANALYZE TABLE## is never run (or not often enough). This gives good enough results for the majority of queries. Some queries, however, need more statistical data so the optimizer can create a good plan. Slow queries indicate there aren&#39;t enough statistical data. Those queries can be accelerated by running ##ANALYZE TABLE tbl PERSISTENT FOR ...##, where ##tbl## indicates a table used by a slow query. You can also run ##ANALYZE TABLE ... PERSISTENT FOR ALL##, but that has a significant performance impact.
399+
396400
== Useful Variables
397401
The following overview indicates when a particular variable was introduced. When multiple versions are given, it means variable options (like the default value) changed between the indicated versions.
398402
&lt;&lt;style class=&#34;darkheader-nospace-borders centered&#34;&gt;&gt;

archive/en/analyze-table/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@
283283
<dt>Modified</dt>
284284
<dd>
285285

286-
<span class="datetime" title="2025-02-19 13:47">11 hours, 15 minutes ago</span></dd>
286+
<span class="datetime" title="2025-02-20 17:12">7 hours, 50 minutes ago</span></dd>
287287

288288
<dt>Type</dt>
289289
<dd>article</dd>
@@ -501,6 +501,8 @@ <h2 class="anchored_heading" id="performance-impact">Performance Impact</h2>
501501
<p>ANALYZE isn’t useful for table columns of type UNIQUE, PRIMARY KEY, TIME, or CURRENT_TIME. In ANALYZE queries, you should omit columns of those types.</p>
502502
<h2 class="anchored_heading" id="engine-independent-statistics-persistent-for">Engine-Independent Statistics / PERSISTENT FOR</h2>
503503
<p><code>ANALYZE TABLE</code> supports <a href="/kb/en/engine-independent-table-statistics/">engine-independent statistics</a>. See <a href="/kb/en/engine-independent-table-statistics/#collecting-statistics-with-the-analyze-table-statement">Engine-Independent Table Statistics: Collecting Statistics with the ANALYZE TABLE Statement</a> for more information.</p>
504+
<p>Engine-independent statistics can be controlled (enabled and disabled) using the <a href="/kb/en/server-system-variables/#use_stat_tables">use_stat_tables variable</a> and the <a href="/kb/en/server-system-variables/#optimizer_use_condition_selectivity">optimizer_use_condition_selectivity variable</a>. InnoDB-persistent statistics are controlled with the <a href="/kb/en/innodb-system-variables/#innodb_stats_persistent">innodb_stats_persistent variable</a>. Combining both kinds of statistics is possible.</p>
505+
<p>The server relies on InnoDB statistics by default. That way, it can use some statistics even if <code>ANALYZE TABLE</code> is never run (or not often enough). This gives good enough results for the majority of queries. Some queries, however, need more statistical data so the optimizer can create a good plan. Slow queries indicate there aren't enough statistical data. Those queries can be accelerated by running <code>ANALYZE TABLE tbl PERSISTENT FOR ...</code>, where <code>tbl</code> indicates a table used by a slow query. You can also run <code>ANALYZE TABLE ... PERSISTENT FOR ALL</code>, but that has a significant performance impact.</p>
504506
<h2 class="anchored_heading" id="useful-variables">Useful Variables</h2>
505507
<p>The following overview indicates when a particular variable was introduced. When multiple versions are given, it means variable options (like the default value) changed between the indicated versions.</p>
506508
<div class="cstm-style darkheader-nospace-borders centered"><table><tr><th>Variable</th><th>Introduced in MariaDB version</th><th>Description</th></tr>

archive/en/changes-improvements-in-mariadb-11-6/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@
271271
<dt>Modified</dt>
272272
<dd>
273273

274-
<span class="datetime" title="2025-02-19 10:06">14 hours, 56 minutes ago</span></dd>
274+
<span class="datetime" title="2025-02-19 10:06">1 day, 14 hours ago</span></dd>
275275

276276
<dt>Type</dt>
277277
<dd>article</dd>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>MariaDB Knowledge Base Comments for: Download Latest Releases</title><link>https://mariadb.com/kb/en/latest-releases/+comments/feed/</link><description></description><atom:link href="https://mariadb.com/kb/en/download-latest-releases-from-mariadb-corporation/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Thu, 20 Feb 2025 01:03:07 +0000</lastBuildDate></channel></rss>
2+
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>MariaDB Knowledge Base Comments for: Download Latest Releases</title><link>https://mariadb.com/kb/en/latest-releases/+comments/feed/</link><description></description><atom:link href="https://mariadb.com/kb/en/download-latest-releases-from-mariadb-corporation/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Fri, 21 Feb 2025 01:03:31 +0000</lastBuildDate></channel></rss>

archive/en/from_unixtime/+comments/feed/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>MariaDB Knowledge Base Comments for: FROM_UNIXTIME</title><link>https://mariadb.com/kb/en/from_unixtime/+comments/feed/</link><description></description><atom:link href="https://mariadb.com/kb/en/from_unixtime/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Mon, 17 Feb 2025 03:36:51 +0000</lastBuildDate><item><title>Re: FROM_UNIXTIME</title><link>https://mariadb.com/kb/en/from_unixtime/+comments/5546</link><description>&lt;p&gt;Seems like the documentation has an error:&lt;/p&gt;
2+
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>MariaDB Knowledge Base Comments for: FROM_UNIXTIME</title><link>https://mariadb.com/kb/en/from_unixtime/+comments/feed/</link><description></description><atom:link href="https://mariadb.com/kb/en/from_unixtime/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Fri, 21 Feb 2025 01:05:08 +0000</lastBuildDate><item><title>Re: FROM_UNIXTIME</title><link>https://mariadb.com/kb/en/from_unixtime/+comments/5546</link><description>&lt;p&gt;Seems like the documentation has an error:&lt;/p&gt;
33
&lt;p&gt;%w =&amp;gt; 0 is Sunday, 6 is Saturday&lt;/p&gt;
44
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bernhard Finkbeiner</dc:creator><guid>https://mariadb.com/kb/en/from_unixtime/+comments/5546</guid></item><item><title>Re: FROM_UNIXTIME</title><link>https://mariadb.com/kb/en/from_unixtime/+comments/4610</link><description>&lt;p&gt;It's unlikely - see the note in the article about about using &lt;a href="/kb/en/datetime/"&gt;DATETIME&lt;/a&gt; instead.&lt;/p&gt;
55
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ian Gilfillan</dc:creator><guid>https://mariadb.com/kb/en/from_unixtime/+comments/4610</guid></item><item><title>Re: FROM_UNIXTIME</title><link>https://mariadb.com/kb/en/from_unixtime/+comments/4608</link><description>&lt;p&gt;do exists a possibility that FROM_UNIXTIME will become 64bit?

archive/en/from_unixtime/+comments/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
Comments - FROM_UNIXTIME
3232
" />
3333
<meta property="og:type" content="article" />
34-
<meta property="og:url" content="https://mariadb.com/kb/en/from_unixtime/+comments" />
34+
<meta property="og:url" content="https://mariadb.com/kb/en/from_unixtime/+comments/" />
3535
<meta property="og:image" content="http://mariadb.comaskmonty-logo.png" />
3636
<meta property="og:site_name" content="MariaDB KnowledgeBase" />
3737
<meta property="fb:admins" content="514852603" />
@@ -76,7 +76,7 @@
7676
</li>
7777

7878
<li>
79-
<a href="/kb/user/login?next=/kb/en/from_unixtime/+comments"> Login</a>
79+
<a href="/kb/user/login?next=/kb/en/from_unixtime/+comments/"> Login</a>
8080
</li>
8181

8282
</ul>
@@ -121,7 +121,7 @@
121121

122122

123123
<li>
124-
<a href="/kb/user/login?next=/kb/en/from_unixtime/+comments" rel="nofollow">Login</a>
124+
<a href="/kb/user/login?next=/kb/en/from_unixtime/+comments/" rel="nofollow">Login</a>
125125
</li>
126126

127127

archive/en/from_unixtime/+source/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ <h1>FROM_UNIXTIME - Source</h1>
323323
<div class="revision_info">
324324
<dl class="table">
325325
<dt>Revision</dt>
326-
<dd><a href="/kb/en/from_unixtime/+r/143469/">143469</a></dd>
326+
<dd><a href="/kb/en/from_unixtime/+r/147784/">147784</a></dd>
327327
<dt>User</dt>
328328
<dd>
329329
<span class="user" id="user-2">
@@ -332,7 +332,7 @@ <h1>FROM_UNIXTIME - Source</h1>
332332
<dt>Date</dt>
333333
<dd>
334334

335-
<span class="datetime" title="2024-09-23 07:33">2024-09-23 07:33</span></dd>
335+
<span class="datetime" title="2025-02-20 12:21">2025-02-20 12:21</span></dd>
336336
</dl>
337337
</div>
338338

@@ -361,7 +361,7 @@ <h1>FROM_UNIXTIME - Source</h1>
361361
[[date_format|DATE_FORMAT()]] function.
362362

363363
&lt;&lt;style class=&#34;greenbox&#34;&gt;&gt;
364-
Timestamps in MariaDB have a maximum value of 2147483647, equivalent to 2038-01-19 05:14:07. This is due to the underlying 32-bit limitation. Using the function on a timestamp beyond this will result in NULL being returned. Use [[datetime|DATETIME]] as a storage type if you require dates beyond this.
364+
Timestamps in MariaDB have a maximum value of 4294967295 (2147483647 before 11.5), equivalent to 2106-02-07 06:28:15 (2038-01-19 05:14:07 before 11.5). This is due to the underlying 32-bit limitation. Using the function on a timestamp beyond this will result in NULL being returned. Use [[datetime|DATETIME]] as a storage type if you require dates beyond this.
365365
&lt;&lt;/style&gt;&gt;
366366

367367
The options that can be used by FROM_UNIXTIME(), as well as [[date_format|DATE_FORMAT()]] and [[str_to_date|STR_TO_DATE()]], are:

0 commit comments

Comments
 (0)