Join Sheeri Cabral for an in-depth discussion in this video Executing batch commands on a remote database, part of MariaDB for MySQL Users.
…The CONNECT storage engine works by passing through the SQL command to…the remote server.…This means that for each command you run, you're creating a connection.…If you want to send many queries and have less overhead.…You can combine statements in one connection by using…a special CONNECT TABLE.…This table looks like the CONNECT TABLEs we have been working with,…except there are two differences.…The first difference, is that we add in an option to the table to specify that…the table should be used to execute code and send it along in a batch.…
This option is called execsrc equals 1.…It is a table option that we will put at the end of our table.…The second difference is that there are special flags for each column.…A flag of 0 is the default.…And it indicates that this column contains the commands to be run.…A flag of 1 is the number of affected rows for a DML query, that is a right query.…If the query is a SELECT query, the column with a flag of one.…WIll return the number of columns in the result set.…
- Why use dynamic columns?
- Creating, updating, and querying dynamic columns
- Installing the CONNECT storage engine
- Connecting to remote data
- Connecting to CSV, INI, and XML files
- Using PIVOT tables
- Accessing database metadata
- Working with the Cassandra storage engine
Skill Level Intermediate
Ruby on Rails 4 Essential Trainingwith Kevin Skoglund12h 41m Beginner
1. Dynamic Columns
2. The Power of CONNECT
3. Advanced CONNECT Storage Engine
4. The Cassandra Storage Engine
Next steps1m 46s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.