Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

table-structure

How do I implement threaded comments?

September 3, 2023 by Tarik

Storing trees in a database is a subject which has many different solutions. It depends on if you want to retrieve a subhierarchy as well (so all children of item X) or if you just want to grab the entire set of hierarchies and build the tree in an O(n) way in memory using a … Read more

Categories performance Tags comments, database-design, performance, query-optimization, table-structure Leave a comment

MySQL Row Format: Difference between fixed and dynamic?

May 3, 2023 by Tarik

The difference really only matters for MyISAM, other storage engines do not care about the difference. EDIT : Many users commented that InnoDB does care: link 1 by steampowered, link 2 by Kaan. With MyISAM with fixed width rows, there are a few advantages: No row fragmentation: It is possible with variable width rows to … Read more

Categories mysql Tags mysql, table-structure Leave a comment

PostgreSQL “DESCRIBE TABLE”

August 27, 2022 by Tarik

Try this (in the psql command-line tool): \d+ tablename See the manual for more info.

Categories postgresql Tags postgresql, psql, table-structure Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa