Skip to content

Learn. Write. Repeat.

  • Books I recommend
  • About
  • Contact
database

Triggers and deadlocks – MySQL

May 10, 2019May 16, 2019 sergiuoltean

We are in 2019. Who uses triggers you may wonder? That's a valid question. But if you plan to do a database migration you may find them handy. Let's say that part of the migration you create new separate schema which you plan to use it for the new version. Or you could break one… Continue reading Triggers and deadlocks – MySQL

Leave a comment
java

Java 12 Features (GC Saga continues)

May 6, 2019May 6, 2019 sergiuoltean

It was released on March 19, 2019. It's a non LTS release. Here's an overview of the most relevant updates for developers. Switch Expressions It has passed a long time since the last update to switch statement, more specifically the switch on strings in JDK 7. Five versions later we have a new update. switch… Continue reading Java 12 Features (GC Saga continues)

Leave a comment
java

Java 11 features

April 30, 2019 sergiuoltean

It was release on September 25, 2018. This version has LTS so it is recommended to upgrade to this one in production. Unfortunately this is the first version that we need to pay for(oracle version). The openjdk is still open-source so this will be the choice for most of the developers. Oracle version is free… Continue reading Java 11 features

Tagged java, java 11Leave a comment
database, mysql

Deadlocks 101 – MySQL

April 25, 2019 sergiuoltean

Ahh deadlocks. Few words have the same impact as this in the software world. Doesn't matter if you're a DBA or developer you will get impatient. Some deadlocks take days for fixing, they are hard to reproduce, some of them reproduce only on prod machines. It's not unusual to do blind fixes, you just don't… Continue reading Deadlocks 101 – MySQL

Tagged deadlocks, innodb, mysql1 Comment
java

Java 10 features

April 15, 2019April 15, 2019 sergiuoltean

It was released on March 20, 2018. It is a short-term release without LTS support. Let's get into details. Local-Variable Type Inference Ahh...good'ol javascript. Well this is more like a sugar syntax. Instead of declaring inside a method a local variable with private void method(){ List<String> strings = new ArrayList<>(); // do other stuff }… Continue reading Java 10 features

Leave a comment
java

Java 9 features

April 12, 2019 sergiuoltean

Java 8 release represented a new stepping stone in the history of java. It marks the transition to functional style programming. Most of us are working with 8, but let's see what it was introduced in 9. It is a minor release, but we must understand where java is going because of the 6 month… Continue reading Java 9 features

Leave a comment
database

B-Tree index structure

February 8, 2019February 8, 2019 sergiuoltean

At some point we all worked with a relational database. We all had problems with query performance and we fixed them usually by first looking at indexes. We looked at the columns, at the foreign key for the presence of an index. We noticed there some kind of B-tree structure. Now I'm gonna explain how… Continue reading B-Tree index structure

Tagged database, indexLeave a comment

Posts navigation

Older posts

Search

Categories

  • database (3)
  • Deployment (1)
  • Design (1)
  • Git (3)
  • java (6)
  • Java Messages (1)
  • Maven (3)
  • Microservices (18)
  • mysql (1)
  • Test your code (15)
  • Uncategorized (2)

Follow me on Twitter

My Tweets
Follow Learn. Write. Repeat. on WordPress.com
Blog at WordPress.com.
Learn. Write. Repeat.
Blog at WordPress.com.
Cancel
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy