How to Generate 10 MILLION Sample Rows in SQL

  Рет қаралды 1,321

Database Star

Database Star

Күн бұрын

Пікірлер: 13
@natenatters
@natenatters Ай бұрын
Great video! You always do fair tests :) I wonder if you have seen MySQL 8 has been performing worse than MySQL 5.7 in some tests. Which MySQL version did you test with?
@DatabaseStar
@DatabaseStar Ай бұрын
Thanks! Yes, it was MySQL version 8.0.38.
@walkingradiance9556
@walkingradiance9556 Ай бұрын
it might be worth making a logarithmic plot for the runtimes because they differ so much like 20 seconds for SQL Server and 6900 seconds for MySQL for 10 million rows. it makes it harder to compare relatively small values when you plot really large values. log(10 million runtime).
@DatabaseStar
@DatabaseStar Ай бұрын
Good idea, that would have helped the chart.
@walkingradiance9556
@walkingradiance9556 Ай бұрын
you could generate a random real and convert it from absolute time to date for random date function.
@DatabaseStar
@DatabaseStar Ай бұрын
That's a good idea.
@mrmoiz7939
@mrmoiz7939 Ай бұрын
Plz make a video on Postgre Vs MySQL Vs MSSQL, Which SQL database to choose?
@DatabaseStar
@DatabaseStar Ай бұрын
Sure I can do that. Generally I recommend Postgres but I can make a video on it.
@walkingradiance9556
@walkingradiance9556 Ай бұрын
could you use a sequence object in Oracle similar to the generate series in Postgres?
@DatabaseStar
@DatabaseStar Ай бұрын
I don't think it can be done in the same way, because a sequence will generate the next number in order, and not a random value.
@walkingradiance9556
@walkingradiance9556 Ай бұрын
I installed Oracle 21c enterprise server-class directly on Windows. Do you mean Oracle 23 ai can only be installed on Windows with Docker?
@DatabaseStar
@DatabaseStar Ай бұрын
I think so, but I didn't look too closely at the other versions, and it may change in the future.
Mo Gawdat on AI: AI's Rapid Evolution
7:21
Mo Gawdat
Рет қаралды 11 М.
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 1,8 МЛН
小丑揭穿坏人的阴谋 #小丑 #天使 #shorts
00:35
好人小丑
Рет қаралды 52 МЛН
I Tried to Query 10 MILLION Rows in MySQL in 3 Seconds
22:44
Database Star
Рет қаралды 2,6 М.
40 Advanced Tips for SSMS (To Save You Time)
29:41
Database Star
Рет қаралды 1,3 М.
I Tried to Query 10 MILLION Rows in Postgres in 1 Second
14:21
Database Star
Рет қаралды 757
UUID vs INT: What’s Better For Your Primary Key?
9:40
Database Star
Рет қаралды 56 М.
SQL Data Analysis Project: NBA Games & Teams
32:35
Database Star
Рет қаралды 1,2 М.
Complete SQL Roadmap for Beginners
7:20
Database Star
Рет қаралды 2 М.
Privilégios no Banco de Dados Oracle
29:35
Marcelo Barleta
Рет қаралды 24
LucidChart Tutorial: How to Create an ERD
12:14
Database Star
Рет қаралды 1,6 М.