MariaDB
MariaDB
  • Видео 121
  • Просмотров 659 980
Why do We Need Databases and SQL?
In this video, Alejandro Duarte (Developer Relations Engineer at MariaDB) explains the reason Relational Databases are useful and how SQL fits into the picture.
►Try MariaDB: mariadb.com/downloads
►MariaDB for Developers (book): mariadbfordevelopers.com/
►The MariaDB Evolution (free webinar): go.mariadb.com/24Q1-WBN-GLBL-OSSG-MariaDB-Evolution-2023-10-31_Registration-LP.html
►Follow Alejandro on X/Twitter: x.com/alejandro_du
►Follow MariaDB on Twitter: mariadb
►Subscribe to the MariaDB channel:
ruclips.net/user/mariadb
►Explore MariaDB Products: mariadb.com/products
►Check out the MariaDB DeveloperHub: mariadb.com/developers/
►Get in touch with MariaDB experts via Slack: mariadb-commun...
Просмотров: 267

Видео

Migrating Application Code to MariaDB Using SQL Mode and MaxScale
Просмотров 3372 месяца назад
In this video, Alejandro Duarte explains the SQL Mode option in MariaDB. This option helps with migrating from databases like Oracle, PostgreSQL, and Microsoft SQL Server to MariaDB. The video also covers SQL transformations with MaxScale filters for high flexibility when performing database migrations. Related Resources ►Webinar on migrating from Oracle to MariaDB with DBeaver: go.mariadb.com/...
Install MariaDB and get Multiple Storage Engines Automatically
Просмотров 6263 месяца назад
In this video, Alejandro Duarte explains how MariaDB can adapt to different workloads. This is useful to avoid having different databases which decreases the need for application developers to handle multiple connections, query languages, and manual joins. MariaDB achieves this through its multi-storage-engine architecture. Related Resources ►Different workloads video: ruclips.net/video/xYaYG-S...
Simplify CRUD operations with REPLACE INTO in MariaDB and MySQL
Просмотров 8345 месяцев назад
In this video, Alejandro Duarte (Developer Relations at MariaDB), demonstrates the REPLACE INTO statement and explains when to use it instead of INSERT INTO. ►Try MariaDB now: mariadb.com/downloads/ Table of Contents 0:00 Intro 0:11 INSERT INTO 0:58 UPDATE 1:21 Effects in CRUD apps 2:08 REPLACE INTO for "create" 2:37 REPLACE INTO for "update" 3:58 Outro ►Follow Alejandro on Twitter: twitter.com...
Using Temporary Tables for Intermediate Results and Simplification
Просмотров 4365 месяцев назад
In this video, Alejandro Duarte (Developer Relations Engineer at MariaDB) demonstrates MariaDB's temporary tables. This is useful when moving data from one table to another, transforming data, computing intermediate results, and simplifying complex queries. ►Try MariaDB today: mariadb.com/downloads/ Table of Contents 0:00 Intro 0:10 Permanent tables 0:34 Temporary tables 1:14 Temporary ≠ tempor...
MariaDB AMA
Просмотров 1536 месяцев назад
In this video, we answered users and customer questions live during an Ask Me Anything (AMA) webinar. Tune in as we covered topics such as: ►How to use MariaDB and DBeaver together ►Transferring tables to MariaDB and the advantages of using integer, smallint, mediumint or bigint, char or varchar ►How to solve delayed replication issues with Galera Cluster ►What features are going into the commu...
A Development Environment in the Browser (with Database!)
Просмотров 1 тыс.8 месяцев назад
In this video, Alejandro Duarte (Developer Relations Engineer) demonstrates how to quickly set up a complete development environment for creating applications that connect to MariaDB in Java, Python, or Node.js. This is achieved thanks to a Docker Compose file that you can customize to your needs. Related Resources: ►Docker Compose file: mariadb.me/3vQT4xE ►Download MariaDB: mariadb.me/48K5wxW ...
The Easiest Way to Install MariaDB for App Development
Просмотров 1,3 тыс.8 месяцев назад
The Easiest Way to Install MariaDB for App Development
MariaDB ColumnStore Engine Docker Demo: Taking Analytics to New Speed
Просмотров 94111 месяцев назад
MariaDB ColumnStore Engine Docker Demo: Taking Analytics to New Speed
Getting Started with Jakarta EE with JPA persistence on MariaDB
Просмотров 68011 месяцев назад
Getting Started with Jakarta EE with JPA persistence on MariaDB
Introduction to Configuring and Using MariaDB MaxScale: Database Proxy Made Simple
Просмотров 1,9 тыс.Год назад
Introduction to Configuring and Using MariaDB MaxScale: Database Proxy Made Simple
Using MariaDB ColumnStore with Power BI for Visualization and Reporting
Просмотров 723Год назад
Using MariaDB ColumnStore with Power BI for Visualization and Reporting
Mixing NoSQL and SQL With MariaDB
Просмотров 7 тыс.Год назад
Mixing NoSQL and SQL With MariaDB
Plug Into Analytics Connecting ColumnStore to Source Databases with Spider Engine
Просмотров 178Год назад
Plug Into Analytics Connecting ColumnStore to Source Databases with Spider Engine
Everything You Ever Wanted to Know About MariaDB Replication but Were Afraid to Ask
Просмотров 7 тыс.Год назад
Everything You Ever Wanted to Know About MariaDB Replication but Were Afraid to Ask
Automate Database Benchmarking with Xbench
Просмотров 171Год назад
Automate Database Benchmarking with Xbench
Tips and Tricks for Migrating from Oracle to MariaDB
Просмотров 7 тыс.Год назад
Tips and Tricks for Migrating from Oracle to MariaDB
Engineer More, Work Less: DBS’ Autonomous Database Journey
Просмотров 228Год назад
Engineer More, Work Less: DBS’ Autonomous Database Journey
Switching from MySQL/Percona to MariaDB
Просмотров 6 тыс.Год назад
Switching from MySQL/Percona to MariaDB
Samsung Groupware(Knox Portal), Microservices-based Migration to MariaDB & Zero Downtime Upgrade
Просмотров 165Год назад
Samsung Groupware(Knox Portal), Microservices-based Migration to MariaDB & Zero Downtime Upgrade
HPC Multi-Cluster Database Deployment: Service Level and Availability Driven Refactoring
Просмотров 5 тыс.Год назад
HPC Multi-Cluster Database Deployment: Service Level and Availability Driven Refactoring
What’s New in MariaDB Enterprise Server
Просмотров 6 тыс.Год назад
What’s New in MariaDB Enterprise Server
A Look Back at MariaDB OpenWorks 2023
Просмотров 125Год назад
A Look Back at MariaDB OpenWorks 2023
EXSCALATE: Building a Faster, More Efficient & Less Costly Drug Discovery Platform with MariaDB
Просмотров 5 тыс.Год назад
EXSCALATE: Building a Faster, More Efficient & Less Costly Drug Discovery Platform with MariaDB
Make Waves with MariaDB
Просмотров 13 тыс.Год назад
Make Waves with MariaDB
Building a TwitterBot using ChatGPT4, MariaDB and MindsDB
Просмотров 11 тыс.Год назад
Building a TwitterBot using ChatGPT4, MariaDB and MindsDB
Database Proxies Crash Course - FULL VIDEO
Просмотров 8 тыс.Год назад
Database Proxies Crash Course - FULL VIDEO
Database Proxies Part 4/4 - Disadvantages
Просмотров 7 тыс.Год назад
Database Proxies Part 4/4 - Disadvantages
Database Proxies Part 3/4 - Other Use Cases
Просмотров 7 тыс.Год назад
Database Proxies Part 3/4 - Other Use Cases
Database Proxies Part 2/4 - Scaling Reads and Automatic Failover
Просмотров 7 тыс.Год назад
Database Proxies Part 2/4 - Scaling Reads and Automatic Failover

Комментарии

  • @soporttec
    @soporttec 6 дней назад

    it is possible to exclude certain databases?

  • @farrukhahmed5973
    @farrukhahmed5973 19 дней назад

    Is there a way to configure highly available MariaDB Galera Cluster with splitting the nodes using MaxScale. Node1: 80% write & 20% write Node2 & Node3: 80% read & 20% write My App is read heavy. Also, I want to make it Auto Horizontal Scalable.

    • @alejandro_mariadb
      @alejandro_mariadb 19 дней назад

      You can configure a MariaDB Galera cluster with MaxScale for high availability, but exact read/write traffic splits are not currently natively supported by MaxScale. However, you can prioritize nodes using the rank parameter (Node1 as primary for writes, Node2/Node3 as secondary for reads) which sounds very close to what you want, if I understood correctly. For true auto-scaling, you might want to use Kubernetes to dynamically add/remove nodes based on load (check the MariaDB Kubernetes Operator).

  • @Benanonsafety
    @Benanonsafety 24 дня назад

    Jakarta EE is trash, thats what it is

  • @hiller1231
    @hiller1231 Месяц назад

    good!

  • @spacebuddy5339
    @spacebuddy5339 Месяц назад

    Great video. These are hard to come by.

    • @alejandro_mariadb
      @alejandro_mariadb Месяц назад

      Hey thanks for the feedback. I'm glad you enjoyed the video!

  • @konstantinvolkov2629
    @konstantinvolkov2629 Месяц назад

    great

  • @fraxbnezl
    @fraxbnezl Месяц назад

    i dont get it how do you install lmao?

    • @alejandro_mariadb
      @alejandro_mariadb Месяц назад

      If you are referring to installing MariaDB, you can find binaries and Docker images. If you are referring to installing additional storage engines, you have to consult the documentation for the storage engine that you want to install.

    • @fraxbnezl
      @fraxbnezl Месяц назад

      @@alejandro_mariadb alright thank you :D

  • @beatechproza
    @beatechproza 2 месяца назад

    This is incredible

    • @alejandro_mariadb
      @alejandro_mariadb 2 месяца назад

      Super useful when migrating from Oracle and others to MariaDB

  • @ravisankarvandanapu5771
    @ravisankarvandanapu5771 2 месяца назад

    Very great explanation 🎉

  • @cyclomiha
    @cyclomiha 2 месяца назад

    Looks nice. How about WRITES, does the ColumnStore struggle with those?

  • @8500259249
    @8500259249 3 месяца назад

    Wonderful explanation sir..❤

  • @ranvijaymehta
    @ranvijaymehta 3 месяца назад

    Thanks for the update.

  • @hamedgandomkar2074
    @hamedgandomkar2074 3 месяца назад

    great short video

  • @kvelez
    @kvelez 3 месяца назад

    Excellent.

  • @PreetiKumari-oi7pk
    @PreetiKumari-oi7pk 3 месяца назад

    Usefull

  • @bibahbibah5108
    @bibahbibah5108 3 месяца назад

    very nice thanks bro

  • @alexanderp7521
    @alexanderp7521 4 месяца назад

    Legendary vid! I was just looking how I can create local playground for MySQL and keep VIM editor support --- MariaDB + Docker + vs code + SQL Client = Profit

  • @DennisBareis
    @DennisBareis 4 месяца назад

    Doesn't explain that much, why "longtext" is that required? That function that is called to validate json, how does that occur?

    • @alejandro_mariadb
      @alejandro_mariadb 4 месяца назад

      Thanks for your feedback. LONGTEXT is used to store JSON in MariaDB because JSON documents can be quite large, and `LONGTEXT` can handle up to 4GB of data. The `JSON` data type is a synonym of `LONGTEXT` btw. To validate JSON, the function `JSON_VALID()` is used. It checks if a string is a valid JSON document, for example: `SELECT JSON_VALID('{"key": "value"}')` returns 1 if valid. You can use this function, for example, in a constraint check.

    • @DennisBareis
      @DennisBareis 4 месяца назад

      @@alejandro_mariadb Thanks for the reply, I tried to add a constraint with and without "ADD" (seen "working" examples both ways), and with and without naming it, "PhpMyAdmin" refuses to add it , one attempt: ALTER TABLE FinderPlant ADD CONSTRAINT xxxx CHECKED( JSON_VALID(PhotosJson) );

    • @alejandro_mariadb
      @alejandro_mariadb 4 месяца назад

      ​@@DennisBareis The correct syntax is `CHECK` not `CHECKED`: ALTER TABLE FinderPlant ADD CONSTRAINT xxxx CHECK (JSON_VALID(PhotosJson));

    • @DennisBareis
      @DennisBareis 4 месяца назад

      @@alejandro_mariadb Thanks but even your syntax fails, I have however successfully added it 3 times as I found a way to view them: SELECT * FROM information_schema.check_constraints WHERE table_name = 'FinderPlant';

    • @alejandro_mariadb
      @alejandro_mariadb 3 месяца назад

      @@DennisBareis I think it should be "CHECK" not "CHECKED".

  • @cevabarcvilla
    @cevabarcvilla 5 месяцев назад

    StackBricks for Linux says docker service unrechable

    • @HedzR
      @HedzR 5 дней назад

      Same here with MacOS

  • @BoilersRock
    @BoilersRock 5 месяцев назад

    Very Handy! Thank you for sharing this. Also, that is a cool shirt you have on!

    • @alejandro_mariadb
      @alejandro_mariadb 5 месяцев назад

      Thanks for watching! It is a cool t-shirt right? And it's pretty cool that you noticed it!

  • @soumakirimoto2195
    @soumakirimoto2195 5 месяцев назад

    nice, i learned a new thing

    • @alejandro_mariadb
      @alejandro_mariadb 5 месяцев назад

      Awesome! It can be really useful in certain situations.

  • @beders
    @beders 5 месяцев назад

    this was well explained!

  • @justinstorm
    @justinstorm 5 месяцев назад

    nice

  • @ProgrammingBrain
    @ProgrammingBrain 6 месяцев назад

    Did anybody catch the funny/weird face after "docker compose up"? 😆

  • @RGBvsCMYK
    @RGBvsCMYK 6 месяцев назад

    Exactly what I was looking for. Very detailed, easy to follow and understand. I've just tried on my db and it works perfectly! Can't thank you enough!

    • @alejandro_mariadb
      @alejandro_mariadb 6 месяцев назад

      Replication is such an interesting topic and a strong feature of MariaDB. I'm glad to hear that the video was useful!

  • @cactigroup
    @cactigroup 6 месяцев назад

    Sorry guys. I did have questions, but was super distracted on the live session. I'll work through my tech sales personnel.

  • @johnmakovec5698
    @johnmakovec5698 7 месяцев назад

    Thanx

  • @palychbasist
    @palychbasist 8 месяцев назад

    I run docker compose with MaxScale and try to imitate the situation when one of the msc node is disconnected and connected again. I can see in 'mcs cluster status' that dbrm_mode is offline and when I try to make queries from my app I get an error 'Lost connection to DDLProc' until I restart cluster with 'mcs cluster restart' command. Isn't it suppose to work automatically? What other settings may I need? Is this docker image production ready?

  • @palychbasist
    @palychbasist 8 месяцев назад

    When I try to run this image using max scale I can't make queries. I get an error ' Cannot execute the statement. DBRM is read only"

    • @alejandro_mariadb
      @alejandro_mariadb 8 месяцев назад

      Did you provision ColumnStore? docker exec -it mcs1 provision mcs1

    • @palychbasist
      @palychbasist 8 месяцев назад

      @@alejandro_mariadb yep. I found out that I have to manually start cluster after every docker container restart.

    • @alejandro_mariadb
      @alejandro_mariadb 8 месяцев назад

      @@palychbasist I wonder if there's an option to start it automatically...

  • @proxy443_developpeur
    @proxy443_developpeur 8 месяцев назад

    how you do the transitions and the animation when you type localhost, and the website with the 3 points in color

    • @alejandro_mariadb
      @alejandro_mariadb 8 месяцев назад

      That was done in post production. Just a basic zoom-in animation to the corner.

  • @tomaszt1397
    @tomaszt1397 9 месяцев назад

    why do all computer geeks use only terminal which is not very ergonomic - is it some kind of challenge? why not use some IDE where results would be more user friendly... always wondering

    • @PieterHumphrey-mbd
      @PieterHumphrey-mbd 9 месяцев назад

      For database companies, commandline utilities and terminals are kind of the same experience across operating systems, so it's a good way to show things. When you pick one IDE then people that use a different IDE and feel like the video isn't for them. Also I think you have a decent size community of developers that just don't use IDEs at all, and work at the command line, or with text editors, and do a lot of bash scripting

  • @customraspi
    @customraspi 10 месяцев назад

    SAP HANA is both transactional and columnar. So why copying all data twice?

    • @alejandro_mariadb
      @alejandro_mariadb 8 месяцев назад

      SAP HANA is an interesting product that stores data in memory. This likely requires more expensive hardware than with MariaDB. In general, data storage is less cost-efective with in-memory solutions. Memory requirements scale with your data. There could also be advantages in ColumnStore over SAP HANA regarding backups, management, and even security-topics worth exploring during evaluation phases. On the other hand, yes, with CS data is copied so that it can be stored in an optimal way for both transactional and analytical workloads.

  • @tbone587
    @tbone587 11 месяцев назад

    The db is crashing on me when trying to do some unions. Have to restart:(. Should the container not run on Mac?

    • @mariadb
      @mariadb 11 месяцев назад

      the columstore docker image does run on arm CPUs hub.docker.com/r/mariadb/columnstore

    • @tbone587
      @tbone587 11 месяцев назад

      My company was evaluating it for use in production and although it seems fast when you do something it doesn’t like the entire db simply crashes. Would love to talk someone about it

    • @alejandro_mariadb
      @alejandro_mariadb 8 месяцев назад

      ​@@tbone587 Any useful information in the logs? Please join the MariaDB Community Slack where you'll get more eyes on your question.

  • @alexzruss7257
    @alexzruss7257 11 месяцев назад

    what is this ? Can someone help me understand what language is she speaking?

    • @mariadb
      @mariadb 11 месяцев назад

      She's speaking English in the video - perhaps try enable subtitles? support.google.com/youtube/answer/100078?hl=en&co=GENIE.Platform%3DiOS

  • @PieterHumphrey-mbd
    @PieterHumphrey-mbd 11 месяцев назад

    so much easier to start with Docker! And whoa, the ingest / query is *wicked fast* for Columnstore

  • @adriandeveraaa
    @adriandeveraaa 11 месяцев назад

    Why would anyone want to go with MaxScale when you can achieve just about everything with HAProxy advanced cluster configurations?

    • @alejandro_mariadb
      @alejandro_mariadb 11 месяцев назад

      I like HAProxy. It's pretty cool. However, MaxScale has many features not present in HAProxy. Just to mention some of them: Automated failover for MariaDB Replication, query-based load balancing with ReadWriteSplit Router, connection-based load balancing with ReadConnRoute Router, data Import from Kafka and export to Kafka, cache filter for improved SELECT performance, security and traffic controls with auditing and SQL injection protection, web-based GUI for configuration (with REST service available too)

    • @BriceCapelle
      @BriceCapelle 5 месяцев назад

      We are switching to MaxScale because HAProxy can't do things like MaxScale does. HAProxy is basic and used mainly for HTTP. A database proxy is better with a database. HAProxy is better for HTTP.

  • @dylanngo4454
    @dylanngo4454 11 месяцев назад

    Thank you for sharing, bro! :)

  • @adriancoanda9227
    @adriancoanda9227 Год назад

    In ip v6, the proxy is not required

    • @alejandro_mariadb
      @alejandro_mariadb Год назад

      A database proxy (like MaxScale) is still extremely useful even on IPv6. I can add features such as HA with in-flight query migration, CDC and data ingestion to and from Kafka, transparent data masking, and more.

    • @adriancoanda9227
      @adriancoanda9227 Год назад

      @alejandro_mariadb that you can add a proxy to an ip v6 network, yeah, but it's not required. You can resolve the same with Microsoft power automate it is faster working in every region, and suport multiple applications 😉

    • @alejandro_mariadb
      @alejandro_mariadb 11 месяцев назад

      @@adriancoanda9227 That sounds super cool. Here I'm talking specifically about "database proxies". Check my "Database Proxies Crash Course" on this channel if you want to learn more about this.

  • @miriamfigueroa5510
    @miriamfigueroa5510 Год назад

    Great video about MariaDB; one of the best. Loved the troubleshooting when the replication was broken. Your method allows maintaining database consistency while avoiding the use of the slave skip counter command.

  • @deyvidwilliam
    @deyvidwilliam Год назад

    Thank you Edward for creating the best video on MariaDB replication. Your expertise and clear explanations have been invaluable.

  • @rudrapbiswas
    @rudrapbiswas Год назад

    I have just started exploring MariaDB for my work. As of now I have created a replication cluster with 2 nodes. But haven’t used this method.

  • @CheatingStoriesWithChinwe
    @CheatingStoriesWithChinwe Год назад

    Thank you for sharing ☺️

  • @fiqriibnuaziz9791
    @fiqriibnuaziz9791 Год назад

    nice info

  • @gusta.go.
    @gusta.go. Год назад

    That would be great if MariaDB could support RETURNS TABLE to SQL functions, like PostgreSQL supports

    • @alejandro_mariadb
      @alejandro_mariadb Год назад

      I agree. There's a Jira issue for traking this development (MDEV-8100). Please, feel free to vote and follow it. Meanwhile, you can somewhat mimic this functionality using either temporary tables, or the JSON_TABLE + JSON_OBJECTAGG functions to pass tabular data between a function and its client (caller). It's not the most elegant way, but it gets the job done.

    • @gusta.go.
      @gusta.go. Год назад

      @@alejandro_mariadb really interesting solution, thanks. Also checking the Jira issue

  • @montydouglas8001
    @montydouglas8001 Год назад

    👉 Promo`SM

  • @sacch6579
    @sacch6579 Год назад

    Is there a way to set a DB server to be write only?

    • @alejandro_mariadb
      @alejandro_mariadb Год назад

      Not that I'm aware of. I failed to understand a scenario where this is needed but the closest I can think of is with the BLACKHOLE storage engine. This storage engine doesn't write data at all. However, binary log events are recorded. So, if you have a primary server with a table using, say, InnoDB but BLACKHOLE in the replicas, then the writes only happen in the primary and not in the replicas. Conversely, if the table uses BLACKHOLE in the primary and InnoDB in the replicas, when you run INSERT statements on the primary, the rows are inserted only in the replicas. I'm aware that this is not exactly what you are asking, but wanted to share this ideas.

    • @ThrashingCode
      @ThrashingCode Год назад

      Is this for a CQRS type architecture? Where you have a database that is handling writes only so they're faster and dedicated then replicating or something? Curious if you bounce back to this question if you can give more detail. I've got a few thoughts on how to do it if that is what you're aiming for.

    • @faisalee
      @faisalee Год назад

      MaxScale can dedicate one node “Primary” for write only and other nodes for read only, but if no “read only” nodes remain in the cluster, MaxScale will be forced to use the remaining node for read and write.

  • @김태완-l9o
    @김태완-l9o Год назад

    아주 좋아요 ㅎㅎㅎ

  • @김태완-l9o
    @김태완-l9o Год назад

    오.. 내가 원하는거…

  • @ekaterinavolkova4348
    @ekaterinavolkova4348 Год назад

    Do you know how to terminate a request in this SQL client?

    • @alejandro_mariadb
      @alejandro_mariadb Год назад

      There's an "Stop Execute" button that looks like a red on/off icon.

  • @ekaterinavolkova4348
    @ekaterinavolkova4348 Год назад

    Great! That's it! I've finally found the video I needed so much!