jriou, to random
@jriou@hachyderm.io avatar

Today, I had an alert on a self-hosted database running on with 1TB of RAM and 18TB of NVMe (in RAID10-like). 100% i/o write usage. 3k connections. Why on earth do we need that amount of resources? There must be something wrong in the design.

mobileatom, to random
@mobileatom@flipboard.com avatar

The Ultimate Guide to Navigating SQL Server With SQLCMD.

https://www.sitepoint.com/mastering-sql-server-command-line-interface/?utm_source=flipboard&utm_medium=activitypub

Posted into Coding is Living @coding

adminmagazine, to opensource
@adminmagazine@hachyderm.io avatar

Free Focus Guide: To harness the power of data, you need a database management system that offers flexibility and freedom. Download this new focus guide and get up to speed on the open source database ecosystem. https://mailchi.mp/admin-magazine.com/open-source-databases

kubikpixel, to PostgreSQL
@kubikpixel@chaos.social avatar

SQL Injection Cheatsheet:

This is an SQL injection cheatsheet with tried and true payloads / techniques that cover the 5 most popular database variants and their derivatives.

🔧 https://tib3rius.com/sqli


mikestreety, (edited ) to php
@mikestreety@hachyderm.io avatar

I'm looking for a solution to branch-based previews for a / stack. We have nearly 60 sites we want to set this up for (a lot of services I find either charge $1000s or don't even support that many).

I don't want anything fancy, I don't need to edit in the browser. I would like to push a branch to gitlab and have the option to spin up an environment to preview.

I have considered doing it myself, but I was hoping to not have to support my own infrastructure.

FlohEinstein, to infosec
@FlohEinstein@chaos.social avatar

Days without DATETIME / TIMESTAMP incident:

mobileatom, to random
@mobileatom@flipboard.com avatar

How to Check MySQL Database and Table Sizes.

https://releem.com/blog/check-mysql-database-table-size?utm_source=flipboard&utm_medium=activitypub

Posted into SYMFONY FOR THE DEVIL @symfony

to3k, to Blog
@to3k@tomaszdunia.pl avatar

For my #blog, I also observed this problem. This is not very disturbing, but after publishing information about the new post, the site temporarily stops working and throws the error of exceeding the #MySQL query limit, because the blog is based, of course, on #Wordpress.
via #unknowNews
https://news.itsfoss.com/mastodon-link-problem/

OldGrumpyBitWrangler, to php
@OldGrumpyBitWrangler@mastodon.social avatar

An instance of a popular CMS is used for a website. While analyzing I'm coming across a a table in it's MySQL database where a column called "deleted" is defined as such:

deleted` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'A boolean indicating whether this data item has been deleted‘

🤦‍♂️

There should be a license allowing allowed to write software used by someone else. Like with drivers licenses it needs a points system for violations and license revocation.
#WebDevelopment #PHP #MYSQL #SQL

ruud, to random
@ruud@mastodon.world avatar

Troubleshooting a broken #MySQL #Galera cluster, I don't really like this setup and I'm about as stuck as the cluster is... argh..

pwaring, to random
@pwaring@fosstodon.org avatar

TIL: If you try to manually INSERT a row into a MySQL table and set an AUTO_INCREMENT column to 0, MySQL ignores the provided value and assumes you want the next increment amount.

Found this whilst migrating a legacy database to a new structure, where the legacy database had foreign keys (not actually defined as constraints) with 0 values.

You can control this with NO_AUTO_VALUE_ON_ZERO in sql_mode (it's on by default I think).

MySQL 8.0: Prepare your old Drupal (community.ovh.com)

Post en français ici. TL;DR: Older versions of Drupal does not work with MySQL 8.0. Update now. Brace yourself, MySQL 8.0 is coming soon on the databases delivered with your web hostings, also called "SharedSQL" (more info soon). After my post on old Wordpress, this one is about old Drupal. Issue Whether you installed it...

codeenigma, to drupal
@codeenigma@toots.codeenigma.com avatar

Very relevant post from about which versions support 8.0, as quite a few sites are still stuck on MySQL 5.7:

https://community.ovh.com/t/MySQL-80-Prepare-your-old-Drupal/63531

qlp, to fedora
@qlp@linh.social avatar

Looks like MySQL has updated their YUM repositories to include Fedora 40!

griebie, to random
@griebie@muenster.im avatar

Hab gestern 2 Stunden damit verbracht, mein MAMP nach dem Absturz wieder zum laufen zu kriegen

https://www.griebie.de/absturz-bei-laufendem-mamp-mysql-neustart-schlaegt-fehl

isotopp, to random German
@isotopp@chaos.social avatar

MySQL folks take a lot of things for granted that are not present in this form in Postgres, and that may be a bad surprise when you try out "the other system".

MySQL for example has a stable and upwards- and slightly-downwards-compatible on-disk format, mostly. Oracle sometimes forgets how important that is and makes changes, or unannounced changes, and then needs to be corrected, hard, by their development partners and testers.

But in general the following things are true:

ovid,
@ovid@fosstodon.org avatar

@isotopp I definitely prefer PostgreSQL to , but deciding that collation derives from your system's locale settings when PostgreSQL installed means identical setups on different boxes can behave differently. This is NOT FUN to debug.

I've heard that there was discussion to change this, but I don't know if it happened.

mackuba, to random
@mackuba@martianbase.net avatar

Very nice tool for converting an database into : https://github.com/techouse/sqlite3-to-mysql. I'm planning to experiment with switching from SQLite to MySQL or Postgres (and maybe DuckDB?) for the feeds database and see how it behaves and how the performance differs… 🤔

phphil, to random
@phphil@phpc.social avatar

Built a request super slow because I thought CTEs (Common Table Expressions) in are "cached".

I had one CTE and then queried it 5 times to further refine and structure the result.

Turns out CTEs work more like views and this led to the query in the CTE being executed 5 times.

gjergjiramku, to PostgreSQL
@gjergjiramku@mastodon.social avatar

What's your go to db for side projects?

From now on mine will be sqlite.

So many benefits compared to other database, where do I start from?

mcc, to random
@mcc@mastodon.social avatar

There's like an entire class of open source project where you can no longer get support for them because they're old enough that the support channels are IRC rather than Discord or something but nobody's on IRC anymore (or rather hundreds of people are on the libera.chat channel, but no one is talking or reading questions)

mcc,
@mcc@mastodon.social avatar

Anyway I upgraded Ubuntu and now mysql is in a boot loop where it starts up, prints "Starting upgrade of data directory", prints "table SPECIFIC_TABLE_THAT_SHOULD_BE_THERE not found in InnoDB dictionary", then prints "aborting" and the process begins again. Most of the repair tools for mysql seem to assume the mysqld is already running rather than in a boot loop. There are 210 people in the irc channel on Libera and no one but me is talking. I'm not actually sure where to begin here!

osjobhub, to opensource
@osjobhub@fosstodon.org avatar
linuxmagazine, to PostgreSQL
@linuxmagazine@fosstodon.org avatar

From the Linux Update newsletter: Open source database management systems offer flexibility and lower costs while avoiding vendor lock-in, but how do you choose the one that's right for your organization? https://www.linux-magazine.com/Issues/2024/282/Data-Management

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines