
- Видео 121
- Просмотров 659 980
MariaDB
США
Добавлен 15 сен 2014
The official RUclips channel for MariaDB, the company behind the open source database MariaDB, used by 75% of the Fortune 500 with tens of millions of users worldwide. Docker images and downloads available at mariadb.com/downloads/.
If you're already a MariaDB user, check out our Developer Hub for tons of helpful resources: mariadb.com/developers/. And, join our MariaDB Community Slack to connect with our team: r.mariadb.com/join-community-slack
If you're already a MariaDB user, check out our Developer Hub for tons of helpful resources: mariadb.com/developers/. And, join our MariaDB Community Slack to connect with our team: r.mariadb.com/join-community-slack
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...
►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
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
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
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
it is possible to exclude certain databases?
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.
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).
Jakarta EE is trash, thats what it is
good!
Great video. These are hard to come by.
Hey thanks for the feedback. I'm glad you enjoyed the video!
great
i dont get it how do you install lmao?
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.
@@alejandro_mariadb alright thank you :D
This is incredible
Super useful when migrating from Oracle and others to MariaDB
Very great explanation 🎉
Looks nice. How about WRITES, does the ColumnStore struggle with those?
Wonderful explanation sir..❤
Thanks for the update.
Thanks for watching!
great short video
Excellent.
Usefull
very nice thanks bro
Thanks for watching
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
Doesn't explain that much, why "longtext" is that required? That function that is called to validate json, how does that occur?
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.
@@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) );
@@DennisBareis The correct syntax is `CHECK` not `CHECKED`: ALTER TABLE FinderPlant ADD CONSTRAINT xxxx CHECK (JSON_VALID(PhotosJson));
@@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';
@@DennisBareis I think it should be "CHECK" not "CHECKED".
StackBricks for Linux says docker service unrechable
Same here with MacOS
Very Handy! Thank you for sharing this. Also, that is a cool shirt you have on!
Thanks for watching! It is a cool t-shirt right? And it's pretty cool that you noticed it!
nice, i learned a new thing
Awesome! It can be really useful in certain situations.
this was well explained!
I'm glad you liked it!
nice
Did anybody catch the funny/weird face after "docker compose up"? 😆
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!
Replication is such an interesting topic and a strong feature of MariaDB. I'm glad to hear that the video was useful!
Sorry guys. I did have questions, but was super distracted on the live session. I'll work through my tech sales personnel.
Thanx
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?
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"
Did you provision ColumnStore? docker exec -it mcs1 provision mcs1
@@alejandro_mariadb yep. I found out that I have to manually start cluster after every docker container restart.
@@palychbasist I wonder if there's an option to start it automatically...
how you do the transitions and the animation when you type localhost, and the website with the 3 points in color
That was done in post production. Just a basic zoom-in animation to the corner.
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
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
SAP HANA is both transactional and columnar. So why copying all data twice?
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.
The db is crashing on me when trying to do some unions. Have to restart:(. Should the container not run on Mac?
the columstore docker image does run on arm CPUs hub.docker.com/r/mariadb/columnstore
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
@@tbone587 Any useful information in the logs? Please join the MariaDB Community Slack where you'll get more eyes on your question.
what is this ? Can someone help me understand what language is she speaking?
She's speaking English in the video - perhaps try enable subtitles? support.google.com/youtube/answer/100078?hl=en&co=GENIE.Platform%3DiOS
so much easier to start with Docker! And whoa, the ingest / query is *wicked fast* for Columnstore
Why would anyone want to go with MaxScale when you can achieve just about everything with HAProxy advanced cluster configurations?
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)
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.
Thank you for sharing, bro! :)
In ip v6, the proxy is not required
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.
@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 😉
@@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.
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.
Thank you Edward for creating the best video on MariaDB replication. Your expertise and clear explanations have been invaluable.
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.
Thank you for sharing ☺️
Thank you for watching!
nice info
That would be great if MariaDB could support RETURNS TABLE to SQL functions, like PostgreSQL supports
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.
@@alejandro_mariadb really interesting solution, thanks. Also checking the Jira issue
👉 Promo`SM
Is there a way to set a DB server to be write only?
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.
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.
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.
아주 좋아요 ㅎㅎㅎ
오.. 내가 원하는거…
Do you know how to terminate a request in this SQL client?
There's an "Stop Execute" button that looks like a red on/off icon.
Great! That's it! I've finally found the video I needed so much!