Thread or DB for historic?

Good afternoon, everyone. I currently have a question: today, I see a lot of market practices using databases to store conversation history instead of threads. Are there any advantages in using threads nowadays? Or is there a significant disadvantage to using a database?