Trending
Brendan Hayward's Avatar

Brendan Hayward

@bmjhayward

software dev, sci tech, bioinformatics, current events, proud father. Some games, memes sprinkled throughout

820
Followers
1,634
Following
669
Posts
23.08.2024
Joined
Posts Following

Latest posts by Brendan Hayward @bmjhayward

queryDiff queryDiff is a web application for comparing SQL query plans, providing visual, statistical, and text-based diffs. It supports the MS-SQL server dialect and allows users to upload files or paste text for analysis. The app is designed to help users identify differences in query execution plans, making it easier to optimize SQL queries and understand performance implications. There are plans to support other SQL dialects in the future.

Update to querydiff.com -> mysql now supported!
- visual diff tree
- stat table
- ops list
- text diff

Need to provide the JSON format of your query plans, which you can see how to do on the mysql website:
dev.mysql.com/blog-a...

#mysql #database #queryplan #data

10.03.2026 02:41 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

where is that terrain from?
very cool

28.02.2026 04:48 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

I remember a time when computers were slow enough that we would turn it on in the morning and then go make coffee.

They got fast enough that we would make coffee first and then go turn the computer on.

Now I wait for #firefox to crash, and then go make my coffee cos it takes so long to force quit

27.02.2026 12:12 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Facetting | bmjhayward blog and writings I write about science and technology, mostly. I live in Newcastle Australia and try to enjoy the good moments.

Made a little post about facet plots:

bmjhayward.github.io...

#dataviz #data

19.02.2026 22:04 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Advertise your account with a GIF (prounounced "gif")

17.02.2026 09:20 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

a blessed image

#sega #sonicthehedgehog

16.02.2026 00:43 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

They say Danny Carey made a deal with the devil. We don't know what Danny got out of it, but the devil got drum lessons.

- some guy on youtube. had to share.

#tool #dannycarey #drums #music

11.02.2026 23:38 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

Even if you decide not to delete, I feel like this incredible little bookβ€”only 150 pagesβ€”should be required reading for getting anywhere near a computer or phone. 1/6

09.02.2026 10:44 πŸ‘ 8 πŸ” 2 πŸ’¬ 1 πŸ“Œ 0

Closest thing I know of, which isn't _exactly_ about group decision making, is Nicole Forsgren's work on team performance: scholar.google.com/citations?hl...

08.02.2026 22:24 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

peasoup here, newcastle
actually better now, today breathing through wet moss

08.02.2026 09:18 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

starting ww3 to distract us from * gestures wildly * everything else

08.02.2026 05:06 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

We're not ready captain

03.02.2026 06:26 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 1

We're not ready

03.02.2026 06:24 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Research Group Leader Do you want to lead groundbreaking research in computational biology? Join us at EMBL-EBI! EMBL's European Bioinformatics Institute (EMBL-EBI) is seeking talented and highly-motivated scientists to jo...

We are hiring for group leaders again β€” EBI is a great place to start your research group!

embl.wd103.myworkdayjobs.com/EMBL/job/Hin...

30.01.2026 09:02 πŸ‘ 66 πŸ” 89 πŸ’¬ 0 πŸ“Œ 2

scheissenkΓΌnt!

30.01.2026 08:24 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

glorious

29.01.2026 02:58 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Screenshot of an explain query with the json response in the new format:

{
  "query": "/* select#1 */ select `world`.`country`.`Name` AS `Name` from `world`.`country` where (`world`.`country`.`Code` like 'A%')",
  "inputs": [
    {
      "ranges": [
        "('A' <= Code <= 'A????????')"
      ],
      "covering": false,
      "operation": "Index range scan on country using PRIMARY over ('A' <= Code < 'A????????')",
      "index_name": "PRIMARY",
      "table_name": "country",
      "access_type": "index",
      "estimated_rows": 17.0,
      "index_access_type": "index_range_scan",
      "estimated_total_cost": 3.668778400708174
    }
  ],
  "condition": "(country.`Code` like 'A%')",
  "operation": "Filter: (country.`Code` like 'A%')",
  "access_type": "filter",
  "estimated_rows": 17.0,
  "estimated_total_cost": 3.668778400708174
}

Screenshot of an explain query with the json response in the new format: { "query": "/* select#1 */ select `world`.`country`.`Name` AS `Name` from `world`.`country` where (`world`.`country`.`Code` like 'A%')", "inputs": [ { "ranges": [ "('A' <= Code <= 'A????????')" ], "covering": false, "operation": "Index range scan on country using PRIMARY over ('A' <= Code < 'A????????')", "index_name": "PRIMARY", "table_name": "country", "access_type": "index", "estimated_rows": 17.0, "index_access_type": "index_range_scan", "estimated_total_cost": 3.668778400708174 } ], "condition": "(country.`Code` like 'A%')", "operation": "Filter: (country.`Code` like 'A%')", "access_type": "filter", "estimated_rows": 17.0, "estimated_total_cost": 3.668778400708174 }

`mysql> EXPLAIN FORMAT=JSON SELECT Name FROM country WHERE Code LIKE 'A%';`

which gives you this nice little object that's easy for a human to read and easy for a machine to parse.
2/2

28.01.2026 08:55 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Haven't worked with #mysql query plans much before. I was _delighted_ to find this update that came out with version 8.3, and is default from 8.4 onwards.

first thing: `mysql> SET @@explain_json_format_version = 2;`
second thing, your query:
1/2

28.01.2026 08:54 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Who makes these what is the fascist supply chain?

27.01.2026 09:35 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

these are awesome, like the flag on the big regiment

26.01.2026 10:55 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
queryDiff queryDiff is a web application for comparing SQL query plans, providing visual, statistical, and text-based diffs. It supports the MS-SQL server dialect and allows users to upload files or paste text for analysis. The app is designed to help users identify differences in query execution plans, making it easier to optimize SQL queries and understand performance implications. There are plans to support other SQL dialects in the future.


got it done before February: now supporting #postgres
upload or copy paste query plans in xml for #postgres, #sqlite and #sqlserver
c&c welcome

26.01.2026 06:37 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
photo of a page from a children's colouring book, scribbled all over with blue and orange crayon.
there are 2 sudoku grids each 6 by 6 squares. one is filled out with crayon, the other has not been started. there are outlines of a large birthday cake, balloons and streamers for the child to colour in

photo of a page from a children's colouring book, scribbled all over with blue and orange crayon. there are 2 sudoku grids each 6 by 6 squares. one is filled out with crayon, the other has not been started. there are outlines of a large birthday cake, balloons and streamers for the child to colour in

played my first ever game of sudoku today. playing crayons with my 2 year old

10.01.2026 04:31 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Totally just get the hardcover and give the paperbacks as a gift.

You only live once and you won't pass by this way again!

03.01.2026 11:10 πŸ‘ 8 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

hny
sydney fiteworks were pretty flash

31.12.2025 13:35 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

teaching my 2 year old to associate #heavymetal with chocolate

he does this cute side-to-side headbang

31.12.2025 09:53 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

always push for better security

31.12.2025 03:17 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

every hackaday headline is a banger
have a few on my reading list rn

29.12.2025 00:00 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Starcraft Brood War

25.12.2025 12:56 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Dear Santa,
for Christmas I would like
a Bluey collab with Thomas the Tank Engine

24.12.2025 12:36 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Five big global health wins in 2025 that will save millions of lives From HIV to TB, scientists and doctors made breakthroughs in treatment and prevention of some of the world’s deadliest diseases

Five real global health wins in 2025
1.HPV vaccination scaled faster than expected;
2. measles/rubella eliminated in several countries;
3. long-acting HIV PrEP (lenacapavir) approved;
4. progress on TB vaccines/diagnostics;
5. A promising new antimalarial.
www.theguardian.com/global-devel...

23.12.2025 13:13 πŸ‘ 257 πŸ” 98 πŸ’¬ 6 πŸ“Œ 4