(Ronald Bradford) To expand on Jervin’s Default RDS Account Privileges, RDS for MySQL provides a number of routines and triggers defined the the ‘mysql’ meta schema. These help in various tasks because the SUPER privilege is not provided.
Tag: Open Source
Pick a task to work on
(depesz) There are cases where system stores list of things to do, and then there are some worker processes that check the list, pick something to work on, do it, and remove from the list.
Encryption: MySQL vs PostgreSQL
(Chris Travers) First a note, all my tests involved a relatively simple table with a schema like this (column names did vary):
Real-time console based monitoring of PostgreSQL databases (pg_view)
(Valentine Gogichashvili) In many cases, it is important to be able to keep your hand on the pulse of your database in real-time. For example when you are running a big migration task that can introduce some unexpected locks, or when you are trying to understand how the current long running query is
MySQL security top wish list
(Shlomi Noach) Security seems to have no boundaries. I’ve been tightening our database security lately, and it seems like this could go on forever: from app to console to privileges to server, there are so many aspects to managing database security. Unfortunately, this is a field where MySQL is in p
How to change all objects ownership in a particular schema in PostgreSQL?
(Raghavendra) Few suggesion’s here (Thanks), inspired me to compose a bash script for changing all object’s (TABLES / SEQUENCES / VIEWS / FUNCTIONS / AGGREGATES / TYPES) ownership in a particular schema in one go.
Configuring ODBC to MySQL from Oracle
(Barry McGillin) Sometimes people want to connect to MySQL from Oracle and copy table data between the databases. You can do that with Oracle Hetrogenous Services via ODBC. This post will show how to create an odbc connection to your MySQL database which is the first part of this.
COMMIT / ROLLBACK in Oracle and PostgreSQL
(Lucas Wagner) The use of transactions in relational databases allows a database architect to logically group SQL into chunks of SQL code which can execute using an “all or nothing” strategy. In case of disaster, such as power loss or a network outage, grouping a selection of SQL statements into a t
CREATE SCHEMA IF NOT EXISTS in 9.3 and tiger geocoder
(Leo Hsu and Regina Obe) One of the new features in PostgreSQL 9.3 is CREATE SCHEMA IF NOT EXISTS someschema;. We were so excited about this new feature that we started using it in the tiger geocoder loader routine. For some reason we thought it was available since 9.1 which gained CREATE TABLE IF N
eq_range_index_dive_limit system variable in MySQL 5.6
MySQL5.6 introduced a new system variable eq_range_index_dive_limit. This may significantly affect query execution plans. Here I show a typical example.
