MySQL vs Postgresql vs Microsoft SQL Server Management Tools | Which Option is Best?

  Рет қаралды 132,166

Alex The Analyst

Alex The Analyst

Күн бұрын

Take my Full SQL Course Here: bit.ly/3tqOipr
There are a lot of different SQL Management Tool options to choose from, but which one is right for you? In this video we take a high level look at the similarities and differences.
MySQL Download: www.mysql.com/downloads/
MySQL Workbench Download: www.mysql.com/products/workbe...
Postgresql Download: www.postgresql.org/download/
Pgadmin 4 Download: www.pgadmin.org/download/
SQL Server Download: www.microsoft.com/en-us/sql-s...
SQL Server Management Studio Download: docs.microsoft.com/en-us/sql/...
____________________________________________
SUBSCRIBE!
Do you want to become a Data Analyst? That's what this channel is all about! My goal is to help you learn everything you need in order to start your career or even switch your career into Data Analytics. Be sure to subscribe to not miss out on any content!
____________________________________________
RESOURCES:
Coursera Courses:
Google Data Analyst Certification: coursera.pxf.io/5bBd62
Data Analysis with Python - coursera.pxf.io/BXY3Wy
IBM Data Analysis Specialization - coursera.pxf.io/AoYOdR
Tableau Data Visualization - coursera.pxf.io/MXYqaN
Udemy Courses:
Python for Data Analysis and Visualization- bit.ly/3hhX4LX
Statistics for Data Science - bit.ly/37jqDbq
SQL for Data Analysts (SSMS) - bit.ly/3fkqEij
Tableau A-Z - bit.ly/385lYvN
Please note I may earn a small commission for any purchase through these links - Thanks for supporting the channel!
____________________________________________
SUPPORT MY CHANNEL - PATREON/MERCH
Patreon Page - / alextheanalyst
Alex The Analyst Shop - teespring.com/stores/alex-the...
____________________________________________
Websites:
Website: AlexTheAnalyst.com
GitHub: github.com/AlexTheAnalyst
Instagram: @Alex_The_Analyst
____________________________________________
All opinions or statements in this video are my own and do not reflect the opinion of the company I work for or have ever worked for
0:00 Intro
1:14 High Level Comparison
3:44 MySQL User Interface and Features
5:43 Microsoft SQL Server User Interface and Features
10:08 Postgresql User Interface and Features
12:55 Overall Thoughts and Recommendations

Пікірлер: 270
@AlexTheAnalyst
@AlexTheAnalyst 2 жыл бұрын
Thank you for everyone's feedback on this video. The intention of this video was to compare the UI and management tools for each of these, but the title and thumbnail was not representative of that. I updated the title and thumbnail to reflect it better. I do plan on diving into the actual databases to look at things like scalability, speed, and more. Thank you again for your feedback!
@littlekidscartoonplanet
@littlekidscartoonplanet Жыл бұрын
Hi Alex, what about Oracle SQL?
@tonyshelver4931
@tonyshelver4931 2 жыл бұрын
I have used all these, MS SQL Server and PostgreSQL extensively for decades, nearly all in large system / large data applications. MySQL has been used for small systems. Also used Oracle quite a bit, especially in the 90s. Review mostly focuses on the DB front end tool, rather than the DB capabilities, so a very misleading title / blurb to the video. There are multiple DB user tools, other than the standard ones supplied by the DB, including ones that work across multiple database types. The front end is a factor, but should NOT be the driving choice when looking at DB systems, unless you are a rank beginner, or have very simple DB needs. This review is NOT highlighting how to actually select the right database, as behind the toolset they offer very different capabilities. For example, Postgres has unparalleled support for time series, sharding and geospatial systems. PostGIS is the most powerful and widely used GIS DB extension / capability available on any DB type. PostgreSQL is ultra-extensible. The extension system is designed in from inception, and in addition to sharding, time series, and so on, also provides multiple database programming languages. In addition to pgplsql (the equivalent of MS SQL TransactSQL), you can program in Python, C/C++, and many others via suitable extensions. The list of extensions to support various capabilities likely runs in the 100s, and includes adding in different indexing and datatype options. MS SQL: I used this extensively as well. The big stand out here for me is Transact SQL. If you are doing complex, large data set manipulations, or are really locking down the database against misuse via the use of triggers, rules and so on (can do the same in Postgres), this can be a life saver. MySQL: their procedure / procedural support is very young, and nowhere near as robust as MS SQL or Postgres. MySSQL mostly came out of the embedded / small system / front end developer space, and has grown from there, where both MS SQL and Postgres have large system DB roots. (See ORM mention below) So, I would say, if you are a beginner / front end developer, who is not going to focus on the DB capability, and has a fairly standard requirements list. look at MariaDB (open source MySQL), but you may want to consider PostgreSQL depending on your target application environment. MS SQL is great, but not open source. ORM: The other use case for MySQL is if you are using the DB behind an ORM (object relational mapper), where the DB is just a data repository. Then it really doesn't make a huge difference which DB you select, as they are mostly black boxes. You should choose the DB that your ORM supports best, and is cheapest to own / operate. Obviously issues such as reliability and performance are important, and here Posgres and MS SQL have decades of experience to show. In our case, PostgreSQL was the only choice. Our application is heavily GIS (Geographical Information System) and time series focused, where we have to analyse 100s of thousands of records for a single transaction to provide the functionality we need. We also use pgplsql functions heavily for update and extract transactions as we have multiple front ends for the application. MS SQL was tested but the GIS component proved to just be too slow and not nearly as robust / functional as PostGIS. MySQL just didn't have the functionality to any useful degree. We could have used Oracle, but the costs were prohibitive....
@freddykembo3312
@freddykembo3312 2 жыл бұрын
Well explained. You should do a KZfaq video on this
@aztracker1
@aztracker1 2 жыл бұрын
I would only add that the Enterprise features in MS SQL Server are pretty nice and easiest of the three to implement. PostgreSQL is my top choice as well though.
@skajlet9045
@skajlet9045 2 жыл бұрын
Wow. You described use case for each DB provider so clearly. It seems like explaining things is your hidden talent.
@SP30305ATL
@SP30305ATL 2 жыл бұрын
It looks like he took your comment to heart because the video is now titled to specifically mention "Management Tools" as opposed to the databases themselves. I don't specifically recall the original title, but I have to assume you didn't write such a thoughtful reply and miss that. I remember thinking something similar when I first watched it, and that the video seems focused on a choice for someone first trying to learn SQL and data analysis rather than someone choosing a DB for serious application development, which is what I thought when I first clicked on it. EDIT: I just noticed the author posted a comment saying he did change the title & thumbnail to reflect the focus on the tools.
@ericyhchun
@ericyhchun 2 жыл бұрын
I got attracted by the video title and find the takeaway in this comment. Salute.
@SoumenMittra
@SoumenMittra 2 жыл бұрын
There's very little comparison between the databases shown in this video. It would be better if you would show us how the databases excel one above the other in use cases. 80% of the video is comparison between MySQL Workbench vs SSMS vs PG Admin. These are actually tools to access these databases. You can access these databases with other tools like SQL Assistant. These are actually comparisons of tools not the actual database.
@Voidstroyer
@Voidstroyer 2 жыл бұрын
I agree. Half-way through the video I was wondering why he was explaining the interfaces so much. These interfaces are completely separate from the databases themselves. Absolute click-bait title.
@robbylebotha
@robbylebotha 2 жыл бұрын
Saw this after I posted my comment. Good to know I'm not the only one not happy about this video, ended up watching only because it kept appearing on my feed but I had a sense it's clickbait
@mavvdeus
@mavvdeus 2 жыл бұрын
I totally agree
@mhzellers
@mhzellers 2 жыл бұрын
I couldn’t have said it better myself. Anyone seriously working with a relational database is interacting with it via some API such as JDBC (for Java) or something similar. The GUI tools are helpful when composing queries but don’t generally come into play once your application is deployed, at least not for the end users. More important are things like how the database handles locking and concurrency, rollback, backup, restore, replication. MySQL was bought out by Oracle, but there is an open source fork called MariaDB which was not mentioned. Amazon offers a commercially supported fork of PostgreSQL which is available in the cloud. I haven’t used SQLServer in about 20 years, but I wasn’t clear what extra functionality was being referred to that was so great in T-SQL. Is it the client software or the programming language built on top of the DB. If the latter, PostgreSQL offers Pl/PgSQL which is very similar to Oracle’s PL/SQL. The biggest difference there is that PG/PlSQL does not support the package notion ore some of the more sophisticated data structures that PL/SQL offers. No mention was made of the data types supported or the different types of indexes, how partitioning is supported, what kinds of triggers are available or the differences in how they work. PostgreSQL offers some interesting data types including ranges and coordinates for geospatial data. The issue about the quotes in PostgreSQL appears to be peculiar to the client tool. As I understand the SQL standard, and rom my experience with both Oracle and PostgreSQL, if you use double quotes around an identifier (say a table or column name), to refer to that object, you must use the exact case. If you define it without the quotes, it is matched case insensitively, although Oracle, for example internally upper cases such identifiers while PostgreSQL lower cases them.
@michaelocchipinti8265
@michaelocchipinti8265 2 жыл бұрын
right. and no mention of DBeaver which is an excellent gui for postgres
@rudroroy1054
@rudroroy1054 2 жыл бұрын
PostgreSQL does have a SQL extension it's called pg/plsql, it's very powerful, in fact, PostgreSQL is much more advance than MySQL only drawback is administration it's not as easy as MySQL and MSSQL
@wesargrow4624
@wesargrow4624 2 жыл бұрын
I learned SQL on Postgres and importing/exporting was frustrating if you got an error. I really enjoyed seeing the comparison of these platforms. Good stuff!
@thomasnas2781
@thomasnas2781 2 жыл бұрын
The quotation marks in PostgreSQL are only needed for establishing names to columns which could collide with system key words - for example a column called "name". And using the Schema name before the table is only needed when you have duplicate table names. So in both cases it's not a "weakness" compared to other databases, but simple features that can be used given a necessary scenario. And in terms of interface, all these applications run on the actual database, having multiple options for each engine, so again, it's hard to say the least which is the "better option", when it's a matter of personal preference.
@caraziegel7652
@caraziegel7652 2 жыл бұрын
You can also connect to most databases from each others interfaces. And I know I've seen other databases where you can put multi-word field names in quotes.
@SP30305ATL
@SP30305ATL 2 жыл бұрын
My bet is the mixed case of the column names is causing the quotes in the generated select statement for the example in the video. All my table/column names are lowercase, and I don't get quotes in the generated selects.
@peterc5512
@peterc5512 2 жыл бұрын
@@SP30305ATL - Exactly, if all lower case or all upper case - no quotes are required. SQL Server does not care but it’s predecessor Sybase prefers all lower case definitions. Most designers of data tables capitalise first letters of multiple words in column names but without word separator. A bit of extra work to copy such data to databases that object to such format without quotes.
@SP30305ATL
@SP30305ATL 2 жыл бұрын
@@peterc5512 Oh, has it been your experience that most db designers you've encountered use mixed case column names w/o separators? I used to only see all-caps with underscores working with DB2 and Oracle in the 90s, and since the 2000s I've mostly seen all lowercase with underscores in Informix and PostgreSQL in the US. I'm curious if it mostly varies based on the database (or original db of the designer) or the dominant programming language? In Java, the predominant ORM by default converts Java standard camel case attributes like "productName" to lc/underscore like "product_name", which tells me that is a commonly used standard. I'd be curious what db/programming language/part of the world you find "ProductName" style most common? Perhaps it's a Microsoft standard? No big deal--I'm just curious.
@peterc5512
@peterc5512 2 жыл бұрын
@@SP30305ATL I cannot claim to have broad industry-wide experience except in few PACS systems running Sybase, SQL Server and our own state wide repository under Oracle 12C. When migrating data from source systems the Toad Data Point tool does not offer the same automated convenience you describe so I manually redefine column names on the target table to capitals with underscore separators. The newer versions of Oracle accept longer column names, luckily. However if I miss the definition step it still works, but all queries need quotes around them… I commented initially because I agree the mixed case was triggering it.
@wilsonman8661
@wilsonman8661 2 жыл бұрын
MySQL is great but the best one is always gunna be the one your company uses... so Microsoft SQL server it is! 😂
@AlexTheAnalyst
@AlexTheAnalyst 2 жыл бұрын
True!
@Louisianish
@Louisianish 2 жыл бұрын
haha Exactly.
@Louisianish
@Louisianish 2 жыл бұрын
Nearly all the companies I’m interested in applying for use SQL Server, so I guess on the bright side, that’s made it a lot easier for me to decide which RDBMS to learn. lol
@akin242002
@akin242002 Жыл бұрын
Correction: The one you tolerate is the one you have to work with. Like family you may not like.
@marcoalfaroazofeifa
@marcoalfaroazofeifa 2 жыл бұрын
Having to play with the 3. Nowadays I liking Postgress better. It was much better support to JSON and it provides a plethora of built-in functions for time series and others
@tonyshelver4931
@tonyshelver4931 2 жыл бұрын
Open source: You are not mentioning MariaDB, which is the open source fork of MySQL, and is becoming the default available in most Linux repositories, rather than MySQL which isn't true open source.
@maksimluzin1121
@maksimluzin1121 2 жыл бұрын
Well, you should compare the SQL language dialect differences, because some of the DB servers have the built-in programming language 'extensions' and they are really quite different. But the SQL language is quite standardized (by ISO , IEEE standard or something) and the difference between the SQL dialects is mostly the servers' built-in functions, like string or data values processing and some special language extensions which are using the specific features of each DB-server. For example, the MS SQL server is using the T-SQL (Transact-SQL) programming language extension, but the PostgreSQL is using the PL/pgSQL (Procedural Language/PostGres Structured Query Language) and the Oracle DB-servers are using the PL/SQL (Programming Language/SQL) extension. The PL-extensions are used for the server-based business logic programming, mostly, for writing stored procedures, user functions, triggers, packages, etc. So, in my opinion, you should compare the SQL language dialect differences, not the PL-extensions and not the IDEs (which is not a property of the SQL language itself).
@ashrulochansahoo5154
@ashrulochansahoo5154 2 жыл бұрын
Thanks @Alex for taking the liberty to explain the differences and similarities on different SQLs. Really informative. However, we don't choose what to use. It's the employer's choice.
@dsvechnikov
@dsvechnikov 2 жыл бұрын
My understanding, as a developer, is that as a data analyst you probably shouldn't really care about differences between different RDBMSs except query language and I hoped to see why I might be wrong in this video. But no, you just confusing RDBMS (Relational Database Management System such as MySQL, SQL Server or Postgres) and its client application (MySql Workbench, SSMS, PGAdmin4 respectively). So the only difference you mentioned between those RDBMSs is their query language. All other differences are really just some UI elements of their default clients. Anyone watching this, imo, should understand that distinction. You are not bound to single client app. There are many other clients, some of them even can work with several RDBMSs. And some of them are even can affect the query language! SSMS, for example, lets you write GO in the query editor as a delimiter between queries, but there is no GO statement in T-SQL, it's SSMS specific (their official command line client supports that too, I believe) delimiter, which makes your queries run as separate batches instead of one per editor tab. Some other clients give you more convenient features - Forge Studio for MySQL has quite good graphical query constructor. HeidiSQL is just very lightweight, can work with mysql, postgres and sql server, and probably something else, and it has freaking search bar in object explorer pane that even supports some regex magic (looking at you, SSMS, why with all Microsoft's resources there is no f-ing search bar right on top of object explorer??? Why search is buried in context menu and doesn't support regular expressions???). DBeaver is quite powerful and works with several different RDBMSs... That's just some clients that I remember and use or have used in past, there are surely way more of them. In fact, any application that connects to a database is a client for that database, just not every app lets you write queries yourself and shows results as boring tables. Some let you instead, I don't know, watch a video on your screen and read some comments below, and even write one yourself :)
@andregaspar382
@andregaspar382 2 жыл бұрын
I was just waiting you making a video about that! Thanks!
@robertbugna
@robertbugna 2 жыл бұрын
Thanks Alex! I used MySQL in my earlier years and totally agree with your points here :)
@CoreyThompson73
@CoreyThompson73 2 жыл бұрын
PostgreSQL is usually pronounced "post gress" and if you included the QL, you say " Q L" at the end, but since Postgres can also be a NoSQL DB (key pairs, JSON document storage, etc.), most people who use it regularly call it just Postgres..
@nafaabout
@nafaabout Жыл бұрын
This is one thing that I know Postgres excels at. It's Json datatype performance and the rich functions around it makes it an excellent NoSQL db. I've read an article a few years ago that compares the performance of pg json system with MongoDB and it outperformed MongoDB, not sure if that still valid today. However, what's sure is that the Types in PG are richer than that of MySQL.
@ChronicSurfer
@ChronicSurfer Жыл бұрын
I hate dealing with bad data shoved into JSON from front-end devs. FML.
@CoreyThompson73
@CoreyThompson73 Жыл бұрын
@@ChronicSurfer You mean inconsistent data types and structure? Wide use of MongoDB has only encouraged that and perpetuates the inability to follow a data structure.. Document store DBs have their place and are wonderful when used correctly...but using a document store DB to avoid data structure is just asking for trouble at scale.
@_seyifunmitan_
@_seyifunmitan_ 2 жыл бұрын
Thank you Alex for the video. It was very timely as I had a bit of a confusion stint yesterday when I was practicing on a website.
@justogonzalez5070
@justogonzalez5070 6 ай бұрын
Thank you Alex for keeping it direct and easy to understand. I worked for more than 20 years as a software developer since Turbo Pascal, Delphi, Visual Basic, Java, SQL, and after 8 years I'm getting updated to come back programming. Thank you for these videos.
@ChrisJarzynka
@ChrisJarzynka Жыл бұрын
Excellent comparison video - thank you!!! I used MongoDB (NoSQL) for a project because I wanted to be able to store ragged data formats for program preferences that wouldn't form neatly into a row/column table. I have since migrated to PostgreSQL since it has support for JSON and JSONB types which are even "indexable". Another big reason I went to Mongo was its ability to index spatial data (maps). Given Postgres's tight integration with mapping using PostGIS, it makes it a no-brainer for any map based database usage. BTW, I can't stand PG Admin, either when it was a compiled Windows/Mac program or now as a web based solution. It's slow and painful to use. I found a great multi-use SQL client, DBeaver, which in the free/community version supports many SQL versions and is lightning fast! Note: I have no relationship whatsoever to DBeaver - just found it, starting using it and became a huge fan!
@farazahmed1668
@farazahmed1668 2 жыл бұрын
I just love comparison videos. Thank you Mr. Alex.
@malcorub
@malcorub 2 жыл бұрын
Yes, he should do Power BI VS QLIK VS TABLEAU next!
@malcorub
@malcorub 2 жыл бұрын
Thanks Alex Bot
@JD_2
@JD_2 Жыл бұрын
Awesome! I was really looking for clear clarification like yours!
@mikesears584
@mikesears584 2 жыл бұрын
Overall I think this video is good exposure for people who are unfamiliar with database options, but its lacking on accuracy in some ways. For example you mention T-SQL and that its only available for SQL Server and while this is true, you failed to mention that MySQL and Postgres also have something similar. T-SQL is just the scripting language, in MySQL its just regular ANSI sql, but in Postgres theres PG/SQL which is heavily influenced by Oracles PL/SQL. Also you mention not being able to show T-SQL which was again not particularly accurate. The easiest way to do that would have been to show that you can declare variables and use them in queries. Again the same applies to Postgres. the other thing that I found could have been a bit better is how you mentioned the sys objects in SQL server. There are equivalents in both MySQL and Postgres as well. To me it seemed that you were not necessarily comparing databases, but rather comparing the administrative and development tools for each database type. I've worked with all three tools, and a few others and I find that MySQL workbench is the jankiest, but then again its an Oracle product so its to be expected.
@paulv22
@paulv22 Жыл бұрын
I've used SQL Server at extremely large scale (taking in 1TB of data per day) and MySQL at very large scale. You get what you pay for. The performance, tools, configurability, SQL features, stability, etc are vastly better with SQL Server. It's not even close. I've only used Postgres in small instances but I would choose it over MySQL.
@akin242002
@akin242002 Жыл бұрын
Agreed. The database administrator and reasonable leadership need to accept the best tool for the job. MySQL is great for regional small & mid-size business. Not for mega cap corporations.
@AljIsHere128
@AljIsHere128 2 жыл бұрын
Ironically enough the MySQL in Steps book is the main one I am currently learning. It hasn't had any steps on learning how to import databases in the book. But that is ok. though. I do find it easier to learn. But I am going to go through the SQL Server one to understand the fundamentals too.
@GarthVader78
@GarthVader78 9 ай бұрын
This is really helpful for me as I am studying and trying to get in the analytics field, knowing which to focus on is really useful. Thanks Alex.
@meganoid20
@meganoid20 2 жыл бұрын
I have 15 years experience with SQL and I think you explain it like there are big differences between them. You can very easily switch between them depending on the project you are working on. Unless you are the db Admin 🤣
@AlexTheAnalyst
@AlexTheAnalyst 2 жыл бұрын
Oh I absolutely agree - I use both SQL Server and MySQL at work all the time. I think everyone should learn multiple types.
@chandrareddy5211
@chandrareddy5211 2 жыл бұрын
15 year experience now how much salary
@rebelsdeveloper367
@rebelsdeveloper367 2 жыл бұрын
We prefer mysql been used since mysql 3.0 . If something wrong , we can restore . Sql awesome on store proc . Postgrs rare use so as oracle.
@aztracker1
@aztracker1 2 жыл бұрын
It depends on how you are using them. If you're using an orm abstraction and basic tables, doesn't matter much. Geospatial, time series, and JSON data features it becomes massive. PostgreSQL is so much better as a developer than the other two. In MySQL/Maria, utf8 isn't and binary fields are indexed as strings by default. Magic ticks are treated like single quotes and a huge number of other inconsistencies and annoyances.
@peterc5512
@peterc5512 2 жыл бұрын
Not all switches are created equal! I grew my SQL skills under Sybase - going to MS SQL Server was easy enough, but Oracle took a bit of a learning curve due to many minor differences on gets to use in other environments. For example - try your sample of “select top 10 * from table” in Oracle and it spits the dummy, until you change it to “select * from table where rownum < 11, as well as variable assignments are very different.
@oresteskatsaros7854
@oresteskatsaros7854 Жыл бұрын
Another great video! Your channel is truly amazing for someone trying to get into the world of data analysis (like myself)! Also extra points for the office reference in the data! ;)
@marcosdiez7263
@marcosdiez7263 2 жыл бұрын
Sorry, but those are the user interfaces that comes by default with the DBMs. Not a comparison by itself, which should start by how well they implement the relational algebra, and then how they implement the the desired properties about transactions, concurrency, indexing, consistency, security, permissions granularity, logging, recovery, escalation, mantainance, troubleshooting support, isolation levels and scopes, hinting and how much you'd rely on them, and so forth.
@januslast2003
@januslast2003 Жыл бұрын
Converted an app from SqlServer to Postgres. One huge issue is that Postgres does not allow temporary variables (you'd have to use a function), while TSQL does. There's a way to do that sort of functionality in Postgres outside of a function, but it's not intuitive, and it's barely written up on the internet, so it took a while to get an optimal solution. That said, I do like Postgres a bit more - seems a bit more "pure". Postgres also seems to have a lot of datatypes. This might be relevant for some, though it's probably not an issue for the vast majority of apps. And yes, Postgres is free and SqlServer licensing is very complex and can get expensive (in the lower tier, you need server licenses as well as client licenses, and the client licenses are per device).
@pierretanneberger1888
@pierretanneberger1888 2 жыл бұрын
Thank you very much. Really clear and simple comparison done. Very informative.
@singleplystink3426
@singleplystink3426 2 жыл бұрын
got my first job as a DA! the work is incredibly hard though. first five tickets and it feels levels above me for entry level DA work. hope i can pick up their material and not be fired
@AlisaHof
@AlisaHof 2 жыл бұрын
Dreyson, this is my fear! I have done the Google Data Analytics course but don't feel I know enough yet. I'm trying to fill in with some practice on my own. May I ask what skills you knew going into your job and what skills your employer was looking for? I hope it gets easier for you!
@singleplystink3426
@singleplystink3426 2 жыл бұрын
@@AlisaHof i only use SQL at my job but i knew tableau and excel pretty well and started to touch on R but yeah it’s just not the type of problems i was expecting to work. SQL tickets more about databases and servers vs like figuring out how many ppl make more than X or whatever. it’s my second week and they don’t expect me to be productive until like 3 months in but i still feel insecure on job security until i feel more competent
@AlisaHof
@AlisaHof 2 жыл бұрын
@@singleplystink3426 That would be very much over my head (also right now everything feels over my head). I've noticed that there are many job listings for data analysts/ business analysts, etc with descriptions that don't seem to be related to anything I've learned so far. Have you been able to find any resources to help you learn about these topics? Do you think your manager could help- or is that too awkward to ask? Have you been on any of the reddit data analytics-related boards? You might get some good feedback there. Anyway, I hope things get smoother soon !
@singleplystink3426
@singleplystink3426 2 жыл бұрын
@@AlisaHof i sprinkle in some questions but she seems annoyed almost any time that i do. i’m not sure if you can prepare for it since it’s just such a giant volume of data which muddies the water. i feel like i’m picking up on it slowly but surely, wish i could a little quicker but i’m basically on my own for 95% of the time. my regular manager is helpful but can’t really help with the meat and potatoes of my technical questions. it’s a lot but they pay me well for it lol it’s gonna be alright
@lukmanaliyu7386
@lukmanaliyu7386 2 жыл бұрын
@@singleplystink3426 You gat this Drey! 💪
@krantig9132
@krantig9132 2 жыл бұрын
Alex can you do more projects on sql n other data visualization tools like tableau, excel n python. What questions should we ask for analyzing before preparing vizzes.
@panosstavroulis9417
@panosstavroulis9417 Жыл бұрын
Will focus on Posgres vs SQL Server in a quick post.Postrgres peformance is awful for complex sql with many joins, plus security is bad in most scenarios when you compare with SQL Server. This is from my experience with large tables. Things that take minutes and hours in postgres will take seconds in SQL Server. That's a fact. Also the default Postgres sql tool is not up to standard when you compare it to SSMS. Also if you are trying to locate a performance issue i have so many optons and tools in SQL Server but it's all very basic in postgres.
@nash_life
@nash_life Жыл бұрын
So, if I want to become a Data Analyst will MS SQL be good to start with ?
@peterc5512
@peterc5512 2 жыл бұрын
Quoted column names are also required in Oracle if the column names are mixed case. To avoid having to quote all required names in queries I always capitalise on import of data.
@GerardoOscarJT
@GerardoOscarJT 2 жыл бұрын
OpenSource does NOT mean it is free, just that you can see the code but might not be allowed to use it/modify it/execute it. This is a common and important misunderstanding.
@resilientprogrammer8466
@resilientprogrammer8466 2 жыл бұрын
Thanks Alex. I have more idea on mysql
@omerbekmez123
@omerbekmez123 2 жыл бұрын
Great Video! using MySQL just because of macOS
@vedanthasm2659
@vedanthasm2659 2 жыл бұрын
Super Informative video. Please make videos on how to write complex SQL queries. Thank you
@ChronicSurfer
@ChronicSurfer Жыл бұрын
Thanks for the video. I use SSMS with TSQL for work, but want to create something myself and don't want to pay. Although there are free options with Microsoft, I would like to not worry about scaling up. Think I might test out MySQL.
@tonyshelver4931
@tonyshelver4931 2 жыл бұрын
Also, just one more thing in today's NoSQL database trend: Postgres has really strong support for JSON / JSONB storage types, including indexiing. Use this quite extensively in my applications. It's not _just_ a vanilla SQL database, which is where MySQL probably scores well. MS SQL historically has also been SQL+ due to the emphasis historically on TransactSQL
@michaelocchipinti8265
@michaelocchipinti8265 2 жыл бұрын
I use Jsonb heavily, I like the mix of noSQL and SQL. Postgres wins by a mile
@unom8
@unom8 2 жыл бұрын
Not to mention GIS support
@jenniferw8963
@jenniferw8963 Жыл бұрын
I used SQL Server extensively from about 1997 to 2003. One thing I recall is they had was ability to view the entity relationship diagram which is important for design. Does MySQL server client have this as well? I really want to get into SQL Development again, on my mac.
@anantatw
@anantatw 2 жыл бұрын
SQL Server has advantage in diagram view, you can easily design the database at SSMS.
@ArtAniStokuv
@ArtAniStokuv 2 жыл бұрын
Alex , although you are 100% right but in poor countries the options as long they are free they are welcome :D big fan of your SQL mentorship from Egypt ^_^
@natureshorts6657
@natureshorts6657 3 ай бұрын
You're a very effective communicator. Love your videos! Thanks, Alex.
@CNC-Time-Lapse
@CNC-Time-Lapse 2 жыл бұрын
I'm a MS-SQL guy but have a decent amount of experience with MySQL as well. I've always thought Management Studio was pretty awful when it came to general features from a UI perspective, when compared to something like dbForge Studio for MySQL. I WISH Microsoft would release comparable features (like having a table filter that supported multiple filters or even being able to colorize which DB you're looking at - small things). Ah well... some day, some day...
@munafalihashmi4893
@munafalihashmi4893 Жыл бұрын
Hey Alex, can you make a video on importing and exporting data in each of these SQL?
@ftcv
@ftcv 3 ай бұрын
Great video! Thanks! Well edited, you showed the interface and usage, the main differences, everything quickly and clearly, without wasting our time, and even gave an honest answer about which one you think is better instead of just saying "it depends"! Congratulations +1 subscribe
@manojpandya4375
@manojpandya4375 2 жыл бұрын
PostgreSQL is very powerful as far as spatial extension is concerned, it is really efficient and inter operable.
@Voidstroyer
@Voidstroyer 2 жыл бұрын
Not to sound harsh so I hope that you take this criticism to heart, but this video was more a comparison between SQL Clients (MySQL workbench, SSMS, PGAdmin) and not so much between the actual SQL languages. And not to mention that when you reached the PGAdmin part where you touched upon the dashboard tab, it became clear to me that you aren't actually that familiar with them. MySQL Workbench literally has something similar where you can see the server status (slow queries, queries per second, etc) which makes me think that you don't even know Workbench that well. And I am 100% sure that SSMS would have something similar as well. Also, there is a reason why postgres is a favourite amongst especially startup companies. Maybe do a bit more research on the topic next time. Again, I apologize if sound a bit too harsh. Just trying to share some feedback.
@ksi1470
@ksi1470 2 жыл бұрын
Can you do a video about data modeling and what a newcomer to data analysis should know about it, if anything?
@cuckoo_is_singing
@cuckoo_is_singing Жыл бұрын
Tns alex, your clips always get me out of the delimma
@jyotsnaramanan
@jyotsnaramanan 2 жыл бұрын
Great video! Thought I'd share my thoughts here on using MS SQL Sever on Mac, you probably might have heard this before -- it is possible to do so, using applications like Azure Data Studio or VS Code directly run on Mac, rather than on a VM. I personally like working in Postgres among the 3 :)
@jacobwwarner
@jacobwwarner Жыл бұрын
This is me right here... my college DB course textbook was in Oracle, the class project was in MySQL, and now my internship is SQL Server
@anushreepatil3417
@anushreepatil3417 10 күн бұрын
Very useful video.. Thank you Alex. This is exactly what I was looking for!!!!
@mattmatt245
@mattmatt245 2 жыл бұрын
As a data analyst you don't need to write sql. Just connect to your data source with Power BI and use query editor. It's like a gui for sql.
@davidb.e.6450
@davidb.e.6450 Жыл бұрын
How about if you have to analyze data from a web-based environment?
@footballistaedit25
@footballistaedit25 Жыл бұрын
Thank you so much, Alex. I have a question. I uploaded a data containing more than 1000 rows. I want to see all rows, but it always return 135 rows. How can it happen?
@m5a1stuart83
@m5a1stuart83 2 жыл бұрын
The first DB I use was .dat file and then db from dbase and goes to ParadoxDB, then I move to Interbase/Firebird and MySQL and totally move to SQL Server. For small business dbase n paradoxdb is the best out there. For medium Interbase/Firebird is a good move.
@yusufbas035
@yusufbas035 2 жыл бұрын
you're the best keep going dude
@gudeboindy6674
@gudeboindy6674 2 жыл бұрын
It depends on the project and how scalable the project will be in the nearest future.
@akin242002
@akin242002 Жыл бұрын
MySQL for small to mid-size business with a regional focus. Postgress for National and International focus. Best for this type of relational large scale database. MS SQL for a National and International focus, plus the MS discount for mixing it with Azure and Office 365. Best for those all into using Microsoft only.
@TomTrval
@TomTrval 2 жыл бұрын
For common usage I agree. If you want most reasonable default setting on pages with low traffic MySQL will work fine without tweaking. BUT if you want o scale your project UP, Postgres on Linux OS is better because everything in it is configurable. Note: never trust anyone who tells you Master: Master geolocation separated replica works, and it is not advantage of MySQL, just a trap. Lost a lot of production data this way.
@martinmariga3273
@martinmariga3273 2 жыл бұрын
Tried using postgre and ran into problems with the group by clause. If I have * and an aggregate function in the select clause, I then have to state all the columns in the group by clause even if i'm only grouping by a single variable, let's say department. I do not encounter the same problem with MySQL which is so far my most preferred. Question, is it a must to mention all available columns in the group by clause even if grouping for only a single variable? Regardless of the SQL type?
@MilanDendis
@MilanDendis 2 жыл бұрын
you would have same problem with MsSql. grouping with * in select works rly in MySql afaik. in GROUP BY clause you put only columns you want to group the result by. Example (for MsSql): SELECT FirstName, LastName, COUNT(*) FROM Users GROUP BY FirstName, LastName; - counts all different occurences of first and last name in the table. Hope it helps
@robbylebotha
@robbylebotha 2 жыл бұрын
I really don't know who the audience for this video is. The content in this is not what I expected, you should've included *for beginners* . You also should've mentioned that renting a server you'll have to choose Linux or windows and that to run MS SQL you'll have to rent a Wondows server which is more costly than a Linux server. Also writing APIs to access and consume the data plays a big part in which DB is best given your requirements and skillset. Sure same points are beyond the scope of a short video but the title is then misleading. Anyway my backend starter pack recommendation would be: - learn php - use mySql Easy to learn, setup, cheap and fast to implement and make changes.
@nochan99
@nochan99 2 жыл бұрын
Postgres delivers a level of features and performance that far outranks both MySQL and MSSQL. It comes out of the box with a bunch of features and optimizations such as native json support, gis support and pg/psql. I agree MySQL is a good "beginner friendly" DB, but for serious work I only typically use two databases; PostgreSQL (stand alone deployment) and SQLite (embedded).
@roccociccone597
@roccociccone597 Жыл бұрын
Oracle if it’s one of those massive applications
@toygraphers240
@toygraphers240 Жыл бұрын
I prefer SQLite to use as data mart.
@fshtank
@fshtank 10 ай бұрын
Standard SQL is called “ANSI” Standard (DB2). PostgreSQL follows the “PL/pgSQL” SQL Dialect (similar to Oracles flavor - but Im reading DB2 now supports PL/1 too). Transact-SQL was created by a company called “Sybase.” Microsoft as is their pattern “partnered’ with Sybase and basically took their tech to make MSSQL-Server. To day MSSQL-Server is my favorite flavor of DB - but I’ve been in Oracle/PostgreSQL recently.
@Belsteak
@Belsteak 2 жыл бұрын
You are comparing database system that are different. The syntax is part of the tool but never should be the first choice when it comes to decide which database system we are about to choose. For example, mysql is normally not durable (unless they changed it); it means that you might loose some information in case of crash. So if you own a company that needs to be sure that no data is lost in case of crash and you choose mysql because it's easier to code/understand, you might get a lot of trouble when you server will crash and part of your data is gone. When it comes to maintenance, there is always a trade off between a system that has great support and a system that has less (paid vs free). Same comes with community. The bigger the community, the less pain you will have when looking for someone having a solution to your problems... These are important criteria too. For the rest, every database system has most in common in the language.
@guym6093
@guym6093 2 жыл бұрын
If you start using special functions in any SQL it becomes difficult maintaining cross SQL platform functionality. One of the reasons that TSQL becomes a PAIN. For enterprise level functionality Postgresql is very nice. Replication and pooling its hard to beat. Although if as you say you are just learning.... Mysql is a very good option or another that you didnt mention SQLITE... Super simple to install and GREAT for small applications..
@LewisCowles
@LewisCowles 2 жыл бұрын
I'd be interested to know a feature Postgres lacks, which SQL Server has... Postgres is what I suggest people replace Oracle with. MySQL is what I suggest people who want to use just SQL use, and I don't recommend anyone use SQL-Server
@raymondjurado9203
@raymondjurado9203 2 жыл бұрын
Been making a good living with T-SQL. I like MySQL because it's easy to pick up start working with any data or to use on your own projects.
@TheXxzdarkstarzxx
@TheXxzdarkstarzxx 2 жыл бұрын
I love love love google big query. It’s so clean and easy syntax. Sql Server is my second favorite
@mungpi8412
@mungpi8412 Ай бұрын
As a begginner, which one shoud l focus more or start with for thos two main sql MySql or Postgre?
@IvanLopez-rv7wh
@IvanLopez-rv7wh 2 жыл бұрын
Hello i found your channel yesterday & watched some of you videos they are really great !!! good job on !!!! all the information very helpful i just have one question based on your experience & this video seems to me that the way to go to learn SQL would be MYSQL i saw that you you have some good video's about Microsoft SQL tutorial. so my question is where could be a place to learn specifically MySQL ?? i looked for courseara but could not find some options for Mysql i found a lot for IBM SQL but not Mysql so any place you can recommend me to look for Mysql learning ? im very interested in Data analytics skills because that is the way im moving my professional grow. so thanks a lot & im watching today your tutorials for Tableau because I'm interested as well to learn this tool so thank you for your time & dedication for these videos that help a lot.
@Brendan2Alexander
@Brendan2Alexander 2 жыл бұрын
You seem to be relying on the frontend dashboard to evaluate these DB systems. For example, if u you use datagrip as your dashboard for Postgres your experience and evaluation would be different, ie better. Also, and more importantly, there are reasons to choose one of these DBs over the others based on concerns that have nothing to do with the frontend ui.
@eversoncarvalholima
@eversoncarvalholima 2 жыл бұрын
I've been using Postgres for almost a year and I never used quotation marks to SELECT. To be honest I didn't even know this was a thing
@jaybutler
@jaybutler 2 жыл бұрын
Double-quotes for quoted identifiers identifiers are part of the ANSI SQL standard. Sybase SQL Server used single-quotes and double-quotes interchangeably to delimit strings. Microsoft inherited that behavior. But, they each changed their syntax to conform with the ANSI standard at som point.
@kidwidstyle
@kidwidstyle Жыл бұрын
Are there major differences in the syntax of each of these?
@nirangahendawitharana6166
@nirangahendawitharana6166 Жыл бұрын
Thanks for your honest review Alex...
@avinash9291
@avinash9291 Жыл бұрын
Alex, before finding you out i learned MySQL and would like to do your portfolio projects in MySQL, can you please guide me a bit there?
@hemantpanchal8087
@hemantpanchal8087 6 ай бұрын
Can someone pls guide me, which database is preferable for core banking domain between mssql and postgresql? apart from Oracle.
@sarkybugger5009
@sarkybugger5009 2 жыл бұрын
Useful video, but the audio sounds like it was recorded off Single Side Band. Excessive compression?
@magdalenekimani8549
@magdalenekimani8549 4 ай бұрын
Even before coming across this video, my learning preferences for SQL was MS SQL then PostgreSQL then MySQL 😅
@jfbaro2
@jfbaro2 2 жыл бұрын
Thanks for sharing this. In my personal experience, PostgreSQL is the most fully featured and powerful Database out of the 3 you compared. PostgreSQL is the fastest-growing of all relational databases (a lot of innovation coming from PG community). There is also a plethora of extensions for many use cases and PG is being adopted as the core of many new cloud-native databases (neon, Yugabyte, Google's AlloyDb, CitusDB, AWS Aurora (Serverless as well), EnterpriseDB, and others). But I can't argue that the 3 of those are SUPER POWERFUL and loved relational databases. Keep sharing these great videos!
@spheric1
@spheric1 2 жыл бұрын
You probably should have differentiated better between the databases and the UIs. None of these databases are/have UIs; the UIs are separate third-party (except for Microsoft) applications. The pros and cons between databases are different than the pros and cons of the UIs.
@antonigarcia6335
@antonigarcia6335 11 ай бұрын
Hi, mysql es down in the principal page. Any other page to download MySQL?
@deepahegde5897
@deepahegde5897 3 ай бұрын
I have Microsoft SQL server and on pasting the code to create tables i get this error -A table can only have one timestamp column. Because table 'encounters' already has one, the column 'STOP' cannot be added. how to resolve this.
@roccociccone597
@roccociccone597 Жыл бұрын
Did you just base your decision for which rdbms to get based on the frontend they ship? Pretty bad way of choosing a database system.
@sanchitsharma2899
@sanchitsharma2899 3 ай бұрын
In terms of queries, Is it same for pgsql and MS server or else.
@AntonArefu
@AntonArefu 2 жыл бұрын
How do editors like PopSQL fit into this?
@cradleofrelaxation6473
@cradleofrelaxation6473 Жыл бұрын
My biggest issue with postgre is importing data and the quotation marks. I had to create the table Schema with exactly same column before it will work.
@marwamoner1453
@marwamoner1453 Жыл бұрын
viewer: Why we use MySQL ? Content-Creator : Because I love it . Really Bro!!
@irbazmd8618
@irbazmd8618 2 жыл бұрын
I'm getting post installation failed for database cluster while installing postgresql. Can anybody help please?
@SkyLoad100
@SkyLoad100 2 жыл бұрын
Do people compare all these with MS Access?
@seebaastian
@seebaastian 2 жыл бұрын
From my irrelevant and useless point of view, one of the most important thing is how fast you can query your data, how fast you can import your data, what can you do with your data, and how hard is to use your data. Taking about a program for how it looked is a little bit useless. To me, a it doesn't matter how pretty is the user interface for your database, the real important thing is the power and robustness behind the engine that keep my data. Not all databases are suited for all projects. For example, a lightweigth service that requieres a db and is running in a battery powered device (your phone) can't use something like postgresql or mysql embebed in the device, you use sqlite for that. In the other hand, if your software runs in a huge server located in a well powered datacenter, and you must process 500K transactions per second, perhaps is not a good idea to use sqlite. Before I saw your video, I was expecting to see some metrics and plots when you compared the engines in terms of inserts per second, reads per second, etc. I don't want to be rude in any way with your opinion, I just want to go to a point: You didn't compared the DB engines, you just compared the user interface. All of them are Database servers that programs can connect and work with bypassing the UI and go straigth via a remote client connection to do the work. UI are for humans and are no longer requiered once you application is up and running. This is my opinion and in no way must be take away as the truth or the only way of thinking. I would have chamged this video name to: which DB has the best user interface. I'm not a fan of oracle database, but is one of the most used db server where the data must be secured. Why? I don't know. you forgot to metion that here. have a nice day!
@ImranSLemon
@ImranSLemon 2 жыл бұрын
Dear Alex, Thank you for your videos. Is there any way i could ask you a question personally? I really need to know what you think about that. Stay blessed.
@jaideepnalluri
@jaideepnalluri 11 ай бұрын
Talking about importing the files into server SQL server is the best we don't need to take care about the data it takes all the data but and no need to convert to csv if it's an excel file. comming to postgresql it's a pain we need to input all column names even after inputing all the columns there is no gaurantee that the file will import without errors we need to take care about the formatting of the csv such a large porcess And comming to MySQL the import is some what easy but when exporting a large data set it sucks and takes more time even after waiting for the import for me sometimes it doesn't import any data these were faced 8n MySQL workbench,for MySQL we can use dbeaver which is better than MySQL workbench and import time a lot faster
@samuelnwakolam5158
@samuelnwakolam5158 2 жыл бұрын
Hey Alex what about oracle SQL. I have about 200 questions on how to query Oracle database using SQL in a Windows operating system?
@AlexTheAnalyst
@AlexTheAnalyst 2 жыл бұрын
Oracle SQL is still big and a lot of larger companies use it. It’s similar to SQL server in that it’s a commercial product, but it’s just not as popular as SQL Server.
@katimboallan4605
@katimboallan4605 2 жыл бұрын
@@AlexTheAnalyst it is popular for very large enterprises that can afford the license. As an OCP, in my opinion, it is the best in terms of recovery, speed, security, scalability and High Availability.
@mariusvaiciulis5072
@mariusvaiciulis5072 2 жыл бұрын
are you aware, that you're comparing not the databases themselves, but merely just some selected (by you) GUI tools (and there are much more gui tools out there to compare) to interact with the databases?
@stichtv847
@stichtv847 9 ай бұрын
@AlexTheAnalyst Is there a version for mac users ?
@evelic
@evelic 11 ай бұрын
Great review. Thanks.
@AhmedAboelez
@AhmedAboelez Жыл бұрын
in my opinion as PostgreSQL user, Microsoft SqlServer in another level With t-Sql which enable you to create awesome functions run on server , Which Done by programming languages in another database engines , MySQL is so popular because of powerful but because of easy reach and host , but in SqlServer send some variable by the name of stored procedures and let hem do the validation entries calculation and return you confirm or he rollback all changes as bulk of entries done by one procedures
@unoengborg
@unoengborg Жыл бұрын
You can write server side functions in Postgresql as well, and you have severa programming languages to chose from,. E.g, PL/pgsql, PL/pythonn, PL/tcl, and java, javascrippt, R, maintained seperate from postgresql
@aitelhadjhamza3679
@aitelhadjhamza3679 2 жыл бұрын
What is the role of sql in data analysis?
@robertmoncriefglockrock8957
@robertmoncriefglockrock8957 Жыл бұрын
Thank you Alex. You have helped me all the way through college, and now with my first interview in the real world. I appreciate all the help
@AlexTheAnalyst
@AlexTheAnalyst Жыл бұрын
That's awesome! Good luck with your interviews!! :D
PostgreSQL vs MySQL
6:33
IBM Technology
Рет қаралды 311 М.
Intro To SSMS - Get to know SQL Server Management Studio
50:08
IAmTimCorey
Рет қаралды 50 М.
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 56 МЛН
Sql vs tsql vs plsql
8:36
kudvenkat
Рет қаралды 90 М.
7 Database Paradigms
9:53
Fireship
Рет қаралды 1,6 МЛН
Database vs Data Warehouse vs Data Lake | What is the Difference?
5:22
Alex The Analyst
Рет қаралды 742 М.
How I use SQL as a Data Analyst
15:30
Luke Barousse
Рет қаралды 809 М.
MySQL vs PostgreSQL
9:21
Airbyte
Рет қаралды 29 М.
SQL Server Management Studio (SSMS) | Full Course
1:22:44
Joey Blue
Рет қаралды 537 М.
you need to learn SQL RIGHT NOW!! (SQL Tutorial for Beginners)
24:25
NetworkChuck
Рет қаралды 1,4 МЛН
Which Is Better? SQL vs NoSQL
9:43
Web Dev Simplified
Рет қаралды 282 М.
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 56 МЛН