Better HN
topnewbestaskshowjobs
Log inSign up

FedericoRazzoli

245 karma · joined Nov 2, 2020 (6y ago) · 29 submissions

Director and Database Consultant at Vettabase Ltd (vettabase.com).

Free software supporter.

Submissions

comment 4y ago · link · parent

I wrote some hints on how to optimise #SQL queries containing LIKE. More ideas, including unconventional ones, are very welcome - just comment here or on the website.

2.

Hints to optimise SQL queries with LIKE(vettabase.com ↗)

1 points · by FedericoRazzoli · 4y ago · 1 comment

3.

MariaDB 10.8: A Review(vettabase.com ↗)

2 points · by FedericoRazzoli · 4y ago · discuss

4.

How to test database backups(vettabase.com ↗)

3 points · by FedericoRazzoli · 4y ago · discuss

5.

How Slow Is Select *?(vettabase.com ↗)

39 points · by FedericoRazzoli · 4y ago · 25 comments

6.

Are RIGHT JOINs ever necessary?(sql-bits.com ↗)

7 points · by FedericoRazzoli · 4y ago · discuss

comment 4y ago · link · parent

This is a great explanation! I wonder many times why we had to play with obscure xargs instead of being able to pipe a command output to an argument.

comment 4y ago · link · parent

The problem, though, is that SQL standard treats NULL as unknown or as missing. One word for two meanings.

For example, AVG(col) and COUNT(col) treat it as a missing value (NULLs do not alter the average or the count), but 1 + NULL treats it as an unknown value (the result is unknown). The complete list of NULL-related inconsistencies would be long.

It would have been better to use different words for different semantics, or not implementing NULL at all. Also, in some cases it can lead to poor query performance.

comment 4y ago · link · parent

You are right, though (some?) DBMSs allow to use HAVING for columns that appear in the GROUP BY clause.

comment 4y ago · link · parent

You are correct, HAVING is essentially syntax sugar. But to be fair, I'm glad it exists.

11.

SQL: The difference between WHERE and HAVING(sql-bits.com ↗)

117 points · by FedericoRazzoli · 4y ago · 132 comments

12.

MariaDB Ignored Indexes(vettabase.com ↗)

2 points · by FedericoRazzoli · 5y ago · discuss

13.

Basic practices for optimizing read and write performance in PostgreSQL(vettabase.com ↗)

3 points · by FedericoRazzoli · 5y ago · discuss

14.

Is InnoDB Buffer Pool big enough?(vettabase.com ↗)

1 points · by FedericoRazzoli · 5y ago · discuss

15.

CentOS Linux Alternatives(vettabase.com ↗)

1 points · by FedericoRazzoli · 5y ago · discuss

16.

CentOS Alternatives: Rocky, Lenix and Oracle Linux(theregister.com ↗)

2 points · by FedericoRazzoli · 5y ago · discuss

17.

Creating dynamic configuration files with Ansible(vettabase.com ↗)

1 points · by FedericoRazzoli · 5y ago · discuss

18.

Ensuring Data Reaches Disk(lwn.net ↗)

2 points · by FedericoRazzoli · 6y ago · discuss

19.

Running Ansible inside a dedicated host(vettabase.com ↗)

1 points · by FedericoRazzoli · 6y ago · discuss

20.

Logging All MariaDB and MySQL Queries into the Slow Log(vettabase.com ↗)

2 points · by FedericoRazzoli · 6y ago · discuss

21.

Minimizing read-write MySQL downtime(engineeringblog.yelp.com ↗)

1 points · by FedericoRazzoli · 6y ago · discuss

22.

Benefits of Infrastructure as Code(vettabase.com ↗)

2 points · by FedericoRazzoli · 6y ago · discuss

23.

Stored Procedures Instrumentation in MariaDB 10.5(mysqlentomologist.blogspot.com ↗)

2 points · by FedericoRazzoli · 6y ago · discuss

comment 6y ago · link · parent

Still work in progress and the topics are not too in-depth... but it's interesting, thanks.

comment 6y ago · link · parent

Fantastic videos! Thanks for the links!

Yes, Kubernetes uses cgroup too.

Systemd units are also based on cgroups.

26.

A Linux sysadmin's introduction to cgroups(redhat.com ↗)

343 points · by FedericoRazzoli · 6y ago · 69 comments

27.

Cassandra 4.0-Beta3 Released(gitbox.apache.org ↗)

2 points · by FedericoRazzoli · 6y ago · discuss

28.

The risks of MySQL release policy(vettabase.com ↗)

1 points · by FedericoRazzoli · 6y ago · discuss