Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mysql database on sd card

Featured Replies

Hi everyone, I'm building a micro server based on orange pi prime and armbian, after reading a lot about sd card wear out, I started thinking how could I improve that in my project.

For my project it is ok, if data would be physically written to card,  every 1 minute instead of on every commit.

Now, what I can't find: is there a way to generally configure such memory buffering for a filesystem, so that I don't have to configure this for a database engine?

Hi. That setting can be configured through the parameter "commit", in /etc/fstab. As a matter of fact, Armbian has set it by default to write each 10 minutes. But applications can force the write on disk at any time by making a "fsync()" call.

 

So don't worry about the OS settings, they are already fine with Armbian defaults. Just make sure your MySQL config does not force writing to disk too often.  You can start checking the points referring to MySQL config (not OS config) in this list: https://dev.mysql.com/doc/refman/5.5/en/optimizing-innodb-diskio.html

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.