This week we start talking about common schema by Shlomi Noach. Ear Candy is some caveats about GTIDs and replication, and At the Movies is using jQuery, AJAX and PHP to insert data into MySQL.
News
In the news, the OurSQL podcast will change to a monthly format after episode 200. We love doing the podcast, but it is very time consuming and production is expensive. We will still bring quality episodes, they will just be spaced further apart.
Common Schema
Common SchemaGoogle Code page
Installation sectionof the common schema documentation.
- Process Routines- stored routines managing query, session and process information & workflow
- session_unique_id()
- query_latptime()
- query_runtime()
- this_query()
- throttle()- some good examples here
- General Routines- stored routines mostly dealing with checksums
- crc64()- returns a crc64 checksum of the data given
- query_checksum()- return a checksum of the results of the query specified
- random_hash()
- shorttime_to_seconds- converts human readable "short times" like 1h, 45m, and so on to a number of seconds
- Query Analysis Routines- takes in the name of a schema and an object (event, routine, SQL statement or view) and returns a summary of the objects the given object involves, the type and schema for each dependent object
- get_event_dependencies()- for events
- get_routine_dependencies()- for stored functions and stored procedures
- get_sql_dependencies()- for SQL statements
- get_view_dependencies()- for views
- Schema Analysis Routines
- table_exists()
- table_rotate()- rotate a table in logrotate format
- Security Routines
- duplicate_grantee()- create a new user with the same privileges as an existing user
- grant_access()- grant SELECT and EXECUTE on common_schema items to the user listed
- match_grantee()- match a specified user@host with an entry in the mysql.user table
For example, from PROCESSLIST:
SELECT id, common_schema.mysql_grantee(user, host) FROM information_schema.processlist; - mysql_grantee()- return a qualified, valid mysql user from the information given
- killall()
- security_audit()- find unsecure accounts
- Date and Time Routines
- start_of_hour()
- start_of_week()
- start_of_week_sunday()
- start_of_month()
- start_of_quarter()
- start_of_year()
- is_datetime()
- easter_day()
- Charting Routines
- line_chart()
- google_line_chart()
Example of get_routine_dependencies():
CALL common_schema.get_routine_dependencies( 'common_schema', 'get_routine_dependencies');
+-------------+--------------------+-----------+------+
| schema_name | object_name | object_type | action |
+-------------+--------------------+-----------+------+
| common_schema | get_sql_dependencies | procedure | call |
| mysql | proc | table | select |
+-------------+--------------------+-----------+------+
2 rows in set (0.07 sec)
Common Schema risks
Ear Candy
In this week's ear candy we discussreplication challenges with GTIDs.
At the movies
This week in at the movies, we present a video on how toInsert Data Into MySQL Database using jQuery + AJAX + PHP
Where you can see us
Sheeri will be at theJuly Boston MySQL User Groupon Monday, July 14th, where we'll have David Berube talking about "Improving Your Database Designs with Practical Database Theory"..
Gerry will be at theJuly Seattle MySQL User Groupon Monday, July 14th.
Sheeri will be attending theTDWI Executive Summitin Boston from Sunday July 20th through Wednesday July 23rd.
Gerry will be attendingOSCon 2014from Sunday July 20th through Thursday July 24th.
Feedback
Facebook group
Google+ page
e-mail: podcast at technocation.org
voicemail using phone/Skype: +1-617-674-2369
twitter:@oursqlcast
orTweet about @oursqlcast
Trackback URL for this post:
http://technocation.org/trackback/1323

本文探讨了Docker中的优化MySQL内存使用量。 它讨论了监视技术(Docker统计,性能架构,外部工具)和配置策略。 其中包括Docker内存限制,交换和cgroups

本文介绍了MySQL的“无法打开共享库”错误。 该问题源于MySQL无法找到必要的共享库(.SO/.DLL文件)。解决方案涉及通过系统软件包M验证库安装

本文讨论了使用MySQL的Alter Table语句修改表,包括添加/删除列,重命名表/列以及更改列数据类型。

本文比较使用/不使用PhpMyAdmin的Podman容器直接在Linux上安装MySQL。 它详细介绍了每种方法的安装步骤,强调了Podman在孤立,可移植性和可重复性方面的优势,还

本文提供了SQLite的全面概述,SQLite是一个独立的,无服务器的关系数据库。 它详细介绍了SQLite的优势(简单,可移植性,易用性)和缺点(并发限制,可伸缩性挑战)。 c

本指南展示了使用自制在MacOS上安装和管理多个MySQL版本。 它强调使用自制装置隔离安装,以防止冲突。 本文详细详细介绍了安装,起始/停止服务和最佳PRA

文章讨论了为MySQL配置SSL/TLS加密,包括证书生成和验证。主要问题是使用自签名证书的安全含义。[角色计数:159]

文章讨论了流行的MySQL GUI工具,例如MySQL Workbench和PhpMyAdmin,比较了它们对初学者和高级用户的功能和适合性。[159个字符]


热AI工具

Undresser.AI Undress
人工智能驱动的应用程序,用于创建逼真的裸体照片

AI Clothes Remover
用于从照片中去除衣服的在线人工智能工具。

Undress AI Tool
免费脱衣服图片

Clothoff.io
AI脱衣机

AI Hentai Generator
免费生成ai无尽的。

热门文章

热工具

安全考试浏览器
Safe Exam Browser是一个安全的浏览器环境,用于安全地进行在线考试。该软件将任何计算机变成一个安全的工作站。它控制对任何实用工具的访问,并防止学生使用未经授权的资源。

DVWA
Damn Vulnerable Web App (DVWA) 是一个PHP/MySQL的Web应用程序,非常容易受到攻击。它的主要目标是成为安全专业人员在合法环境中测试自己的技能和工具的辅助工具,帮助Web开发人员更好地理解保护Web应用程序的过程,并帮助教师/学生在课堂环境中教授/学习Web应用程序安全。DVWA的目标是通过简单直接的界面练习一些最常见的Web漏洞,难度各不相同。请注意,该软件中

SublimeText3 英文版
推荐:为Win版本,支持代码提示!

EditPlus 中文破解版
体积小,语法高亮,不支持代码提示功能

SublimeText3 Linux新版
SublimeText3 Linux最新版