<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Swap on FromDual GmbH</title><link>https://www.fromdual.com/tags/swap/</link><description>Recent content in Swap 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>Sat, 18 Jul 2026 10:47:00 +0200</lastBuildDate><atom:link href="https://www.fromdual.com/tags/swap/index.xml" rel="self" type="application/rss+xml"/><item><title>VSZ behaviour with MariaDB MEMORY tables</title><link>https://www.fromdual.com/blog/vsz-behaviour-with-mariadb-memory-tables/</link><pubDate>Tue, 05 Jan 2021 17:08:57 +0000</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/vsz-behaviour-with-mariadb-memory-tables/</guid><description>&lt;p&gt;We recently had the situation that a customer complained about the Oom killer terminating the MariaDB database instance from time to time. The MariaDB database configuration was sized quit OK (about 50% of RAM was used for the database) but they did not have swap configured.&lt;/p&gt;</description></item><item><title>Do not underestimate performance impacts of swapping on NUMA database systems</title><link>https://www.fromdual.com/blog/do-not-underestimate-performance-impacts-of-swapping-on-numa-database-systems/</link><pubDate>Fri, 21 Jun 2019 09:26:59 +0200</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/do-not-underestimate-performance-impacts-of-swapping-on-numa-database-systems/</guid><description>&lt;p&gt;If your MariaDB or MySQL database system is swapping it can have a significant impact on your database query performance! Further it can also slow down your database shutdown and thus influence the whole reboot of your machine. This is especially painful if you have only short maintenance windows or if you do not want to spend the whole night with operation tasks.&lt;/p&gt;</description></item><item><title>MariaDB and MySQL swap analysis</title><link>https://www.fromdual.com/blog/mariadb-and-mysql-swap-analysis/</link><pubDate>Tue, 14 Aug 2018 17:51:32 +0000</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/mariadb-and-mysql-swap-analysis/</guid><description>&lt;pre&gt;&lt;code&gt;# free&#10; total used free shared buff/cache available&#10;Mem: 16106332 3914228 367072 296508 11825032 11441608&#10;Swap: 31250428 182924 31067504&#10;&#10;# cat /proc/meminfo | grep ^Swap&#10;SwapCached: 10056 kB&#10;SwapTotal: 31250428 kB&#10;SwapFree: 31067504 kB&#10;&#10;# for file in /proc/*/status ; do&#10; awk '/VmSwap|Name/{&#10; if ( $2 != &amp;quot;0&amp;quot; )&#10; printf $2 &amp;quot; &amp;quot; $3&#10; }END{ print &amp;quot;&amp;quot;}' $file&#10;done | grep kB | sort -k 2 -n -r&#10;&#10;mysqld 29988 kB&#10;plasmashell 19096 kB&#10;kwin_x11 13444 kB&#10;Xorg 13328 kB&#10;krunner 11200 kB&#10;knotes 5768 kB&#10;kded5 5016 kB&#10;korgac 4760 kB&#10;kglobalaccel5 3288 kB&#10;kwalletd 3148 kB&#10;kaccess 3148 kB&#10;polkit-kde-auth 2704 kB&#10;xembedsniproxy 2660 kB&#10;akonadi_control 2652 kB&#10;kwalletd5 2616 kB&#10;python 2572 kB&#10;kactivitymanage 2508 kB&#10;klauncher 2352 kB&#10;kdeinit5 2324 kB&#10;ksmserver 2256 kB&#10;python 1480 kB&#10;pulseaudio 1312 kB&#10;sddm-helper 1172 kB&#10;baloo_file 1172 kB&#10;kscreen_backend 1132 kB&#10;mission-control 1104 kB&#10;python 992 kB&#10;TeamDrive.bin 772 kB&#10;sddm 772 kB&#10;akonadiserver 616 kB&#10;systemd 504 kB&#10;at-spi2-registr 488 kB&#10;systemd 472 kB&#10;kwrapper5 468 kB&#10;dbus-launch 400 kB&#10;dbus-launch 396 kB&#10;(sd-pam) 364 kB&#10;dbus-daemon 328 kB&#10;(sd-pam) 300 kB&#10;at-spi-bus-laun 264 kB&#10;obexd 260 kB&#10;ssh-agent 252 kB&#10;dbus-daemon 216 kB&#10;gnome-keyring-d 212 kB&#10;dbus-daemon 200 kB&#10;gpg-agent 104 kB&#10;startkde 100 kB&#10;skypeforlinux 64 kB&#10;start_kdeinit 60 kB&#10;apache2 32 kB&#10;apache2 32 kB&#10;apache2 32 kB&#10;apache2 32 kB&#10;apache2 32 kB&#10;apache2 32 kB&#10;&#10;# sudo smem --totals --sort=swap&#10; PID User Command Swap USS PSS RSS&#10;...&#10; 1500 root /usr/sbin/apache2 -k start 32 5616 9534 23740 &#10;10469 www-data /usr/sbin/apache2 -k start 32 136 1421 9848 &#10;10470 www-data /usr/sbin/apache2 -k start 32 132 1418 9848 &#10;10471 www-data /usr/sbin/apache2 -k start 32 132 1418 9848 &#10;10472 www-data /usr/sbin/apache2 -k start 32 132 1418 9848 &#10;10473 www-data /usr/sbin/apache2 -k start 32 132 1418 9848 &#10; 2111 oli /usr/lib/x86_64-linux-gnu/l 60 40 43 548 &#10; 2291 oli /usr/share/skypeforlinux/sk 60 73920 80765 106312 &#10; 1957 oli /bin/sh /usr/bin/startkde 100 8 54 1576 &#10; 2050 oli /usr/bin/gpg-agent --daemon 104 256 278 1924 &#10; 2056 oli /usr/bin/dbus-daemon --fork 200 1740 1820 4480 &#10; 1951 oli /usr/bin/gnome-keyring-daem 212 704 887 5768 &#10; 2132 oli /usr/bin/dbus-daemon --conf 216 712 806 3924 &#10; 2052 oli /usr/bin/ssh-agent /usr/bin 252 204 209 908 &#10; 2315 oli /usr/lib/bluetooth/obexd 260 1084 1345 7936 &#10; 2127 oli /usr/lib/at-spi2-core/at-sp 264 536 625 5700 &#10; 1228 sddm (sd-pam) 300 1412 1728 3036 &#10; 1476 sddm /usr/bin/dbus-daemon --fork 328 56 143 2748 &#10; 1946 oli (sd-pam) 364 1216 1615 3132 &#10; 1475 sddm dbus-launch --autolaunch 61 396 8 28 2252 &#10; 2055 oli /usr/bin/dbus-launch --exit 400 8 24 2160 &#10; 1223 sddm /lib/systemd/systemd --user 444 432 995 4376 &#10; 1937 oli /lib/systemd/systemd --user 448 404 971 4400 &#10; 2144 oli kwrapper5 /usr/bin/ksmserve 468 4 102 6356 &#10; 2134 oli /usr/lib/at-spi2-core/at-sp 488 268 343 5776 &#10; 2223 oli akonadiserver 616 11196 11401 21988 &#10; 1129 root /usr/bin/sddm 724 716 963 11848 &#10; 2277 oli ./TeamDrive.bin autostart 772 352656 353309 365768 &#10; 2298 oli python /usr/bin/hp-systray 992 4904 7157 15340 &#10; 2162 oli /usr/lib/telepathy/mission- 1104 1196 1540 8640 &#10; 2166 oli /usr/lib/x86_64-linux-gnu/l 1132 696 973 15148 &#10; 1934 root /usr/lib/x86_64-linux-gnu/s 1172 352 802 10996 &#10; 2177 oli /usr/bin/baloo_file 1172 74356 74784 90584 &#10; 2208 oli /usr/bin/pulseaudio --start 1312 4520 4897 10672 &#10; 2299 oli python /usr/bin/hp-systray 1480 3152 5448 11184 &#10; 2146 oli /usr/bin/ksmserver 2256 5024 6013 34104 &#10; 2115 oli kdeinit5: Running... 2324 264 748 15492 &#10; 2116 oli klauncher [kdeinit5] --fd=9 2352 1256 1997 21712 &#10; 2154 oli /usr/bin/kactivitymanagerd 2472 4588 5337 29772 &#10; 2284 oli python /usr/bin/hp-systray 2572 15216 18372 37452 &#10; 1956 oli /usr/bin/kwalletd5 --pam-lo 2616 5272 6454 37400 &#10; 2219 oli /usr/bin/akonadi_control 2652 2048 2450 23964 &#10; 2195 oli /usr/bin/xembedsniproxy 2660 968 1405 23600 &#10; 2190 oli /usr/lib/x86_64-linux-gnu/l 2704 1172 1703 26716 &#10; 1954 oli /usr/bin/kwalletd --pam-log 3144 1180 1601 12784 &#10; 2124 oli /usr/bin/kaccess 3148 708 1110 21276 &#10; 2151 oli /usr/bin/kglobalaccel5 3288 1316 1799 25164 &#10; 2203 oli /usr/bin/korgac -session 10 4760 1384 2093 28576 &#10; 2118 oli kded5 [kdeinit5] 5016 77440 78828 107932 &#10; 2217 oli /usr/bin/knotes -session 10 5768 7048 8467 41744 &#10; 2179 oli /usr/bin/krunner 11200 16276 19166 55272 &#10; 1148 root /usr/lib/xorg/Xorg -noliste 13316 31464 45953 68016 &#10; 2167 oli kwin_x11 -session 106368656 13444 35972 39318 76556 &#10; 2186 oli /usr/bin/plasmashell --shut 19096 90608 94701 135284 &#10; 2224 oli /usr/sbin/mysqld --defaults 29988 148588 148624 151832 &#10;-------------------------------------------------------------------------------&#10; 170 14 150808 4085792 4318525 6436312 &#10;&#10;# sudo smem --totals --sort=swap | grep -e mysql -e Command&#10; PID User Command Swap USS PSS RSS &#10; 6903 mysql /home/mysql/product/mariadb 0 191000 191071 194964 &#10;16937 mysql /home/mysql/product/mysql-8 0 358812 358865 362364 &#10;17480 mysql /home/mysql/product/mysql-5 0 271420 273310 278692 &#10;28484 root grep -e mysql -e Command 0 352 395 2404 &#10;29071 mysql /bin/sh bin/mysqld_safe --d 0 152 227 1724 &#10;29326 mysql /home/mysql/product/mysql-5 0 506848 508747 514268 &#10; 2224 oli /usr/sbin/mysqld --defaults 29988 148588 148624 151832 &#10;&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>MySQL Questions &amp; Answers</title><link>https://www.fromdual.com/blog/mysql-questions-and-answers/</link><pubDate>Mon, 15 Mar 2010 11:15:25 +0000</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/mysql-questions-and-answers/</guid><description>&lt;h2 id="table-of-contents"&gt;Table of Contents&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://www.fromdual.com/blog/mysql-questions-and-answers/#spec_char"&gt;Search with special characters&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.fromdual.com/node/1290" target="_blank" title="Why is InnoDB disabled?"&gt;Why is InnoDB disabled?&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.fromdual.com/blog/mysql-questions-and-answers/#system_information"&gt;How to find MySQL system information?&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.fromdual.com/blog/mysql-questions-and-answers/#mysql_binaries"&gt;What is the difference between MySQL certified server and community server?&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.fromdual.com/blog/mysql-questions-and-answers/#mysql_monitoring"&gt;MySQL monitoring&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.fromdual.com/blog/mysql-questions-and-answers/#mysql_backup"&gt;MySQL backup&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.fromdual.com/blog/mysql-questions-and-answers/#corrupt_table"&gt;Corrupt MyISAM table&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.fromdual.com/blog/mysql-questions-and-answers/#compile_mysql"&gt;How to compile MySQL&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.fromdual.com/blog/mysql-questions-and-answers/#restore_test"&gt;Test restore procedure&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.fromdual.com/blog/mysql-questions-and-answers/#reset_user_password"&gt;Reset a MySQL user password&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.fromdual.com/blog/mysql-questions-and-answers/#reset_root_password"&gt;Reset the MySQL root user password&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.fromdual.com/blog/mysql-questions-and-answers/#innodb-plugin"&gt;How to enable the InnoDB plugin&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.fromdual.com/blog/mysql-questions-and-answers/#shipped-storage-engines"&gt;Storage Engines shipped with MariaDB / MySQL&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.fromdual.com/blog/mysql-questions-and-answers/#compile-ndb-test"&gt;Compiling MySQL Cluster ndb-test fails&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.fromdual.com/blog/mysql-questions-and-answers/#ndb-info-schema-missing"&gt;NDB information schema does not show up&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.fromdual.com/blog/mysql-questions-and-answers/#hyper-threading-enabled"&gt;Hyper Threading (HT) enabled?&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.fromdual.com/blog/mysql-questions-and-answers/#patch"&gt;How to make a patch for MariaDB?&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.fromdual.com/blog/mysql-questions-and-answers/#auto-inc-waiting"&gt;Where does the InnoDB AUTO-INC waiting come from?&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.fromdual.com/blog/mysql-questions-and-answers/#wrong-encoding"&gt;My character encoding seems to be wrong. How can I fix it?&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.fromdual.com/blog/mysql-questions-and-answers/#slave-inconsistencies"&gt;I think my Slave is not consistent to its Master any more. How can I check this?&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;My MySQL Server is swapping from time to time. This gives hick-ups in MySQL. How can I avoid this?&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.fromdual.com/blog/mysql-questions-and-answers/#io-scheduler"&gt;How can I find which I/O scheduler my device is using?&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.fromdual.com/blog/mysql-questions-and-answers/#mail"&gt;How can I find why my mail is not sent?&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="search-with-special-characters"&gt;Search with special characters&lt;/h2&gt;&#10;&lt;p&gt;This Question has been moved to the &lt;a href="https://www.fromdual.com/node/1277" target="_blank" title="Search with special characters"&gt;Forum&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>