Sunday, May 27, 2018

Streaming Data From MariaDB Server Into MariaDB ColumnStore via MariaDB MaxScale

DZone Database Zone
Streaming Data From MariaDB Server Into MariaDB ColumnStore via MariaDB MaxScale
Streaming Data From MariaDB Server Into MariaDB ColumnStore via MariaDB MaxScale

In this blog post, we look at how to configure Change Data Capture (CDC) from the MariaDB Server to MariaDB ColumnStore via MariaDB MaxScale. Our goal in this blog post is to have our analytical ColumnStore instance reflect the changes that happen on our operational MariaDB Server.

MariaDB MaxScale Configuration

We start by creating a MaxScale configuration with a binlogrouter and avrorouter instances. The former acts as a replication slave and fetches binary logs and the latter processes the binary logs into CDC records.

Saturday, May 26, 2018

Create Inline CRUD Using jQuery and AJAX

DZone Database Zone
Create Inline CRUD Using jQuery and AJAX
Create Inline CRUD Using jQuery and AJAX

These are the four actions that make up the significant part of the actions of a PHP project. By the time developers get to the mid-level, they have actually created dozens of CRUD grids. In many cases, CRUD operations are an important part of CMS, inventory, and accounts management systems.

The idea behind the CRUD operations is to empower the users so that they could use the app to the maximum. All the information generated or modified through CRUD operations is stored in a database (generally MySQL).

How a Rideshare Giant Uses AI to Detect Business Anomalies

Data Videos
#Data -How a Rideshare Giant Uses AI to Detect Business Anomalies

Mssql-cli Command-Line Query Tool

DZone Database Zone
Mssql-cli Command-Line Query Tool
Mssql-cli Command-Line Query Tool

A recent announcement on the release of several SQL Server tools has raised expectations across various groups. Product requirements and business are almost always a trade-off, and striking the right balance in a product in terms of the toolset is a sign of a successful product. After testing the SQL Operations Studio, I feel that it's a promising tool for many developers, administrators, and DevOps specialists. In my opinion, the mssql-cli tool adds another feature to SQL Server in order to make it a leading database product.

Microsoft announced mssql-cli, a SQL Server user-friendly, command line interactive tool hosted by the dbcli-org community on GitHub. It's an interactive, cross-platform command line query tool. The public preview release of mssql-cli is available for testing. Mssql-cli is based on Python and the command-line interface projects such as pgcli and mycli. Microsoft released this tool under the OSF (Open Source Foundation) BSD 3 license. We can find its source code on GitHub. Now, the tool and the code are available for public preview. The tool is officially supported on Windows, Linux, and MacOS, and is compatible with Python versions 2.7, 3.4, and higher.

Friday, May 25, 2018

The best cloud for your Windows Server workloads

Data Videos
#Data -The best cloud for your Windows Server workloads

RedisConf18 in Review

DZone Database Zone
RedisConf18 in Review
RedisConf18 in Review

Over 1,200 Redis enthusiasts took over Pier 27 on the San Francisco waterfront for three days of training, talks, and fun at RedisConf18. The theme of this year's conference was "Everywhere" and with over 60 breakout sessions across six concurrent tracks, Redis really was everywhere.

This year, RedisConf moved to the beautiful Pier 27 with panoramic views of the San Francisco Bay, both bridges and several iconic San Francisco landmarks. Pier 27 is the San Francisco Cruise Terminal originally built as a staging site for the 2013 America's Cup. The pier serves as a cruise terminal and a conference venue during the off-season.

Thursday, May 24, 2018

The Hidden Costs of Half a Database

DZone Database Zone
The Hidden Costs of Half a Database
The Hidden Costs of Half a Database

It costs plenty to install, secure, and implement a good database solution. What balloons the costs is when you need additional plugins to make the database meet your business needs. Even if the database itself is within your budget, you have to factor in buying new hardware, diverting additional developers who know the plugin technology, and of course, paying the database provider to provide “support” in integrating all these separate parts.

On top of all this mess, these plugins add additional operational layers to your data, killing your performance.

Fender: Teaching How to Play a Guitar with Serverless Technologies

Data Videos
#Data -Fender: Teaching How to Play a Guitar with Serverless Technologies

Wednesday, May 23, 2018

AWS Stockholm Summit May 2018 Keynote

Data Videos
#Data -AWS Stockholm Summit May 2018 Keynote

Mule 4: Database Connector (Part 2)

DZone Database Zone
Mule 4: Database Connector (Part 2)
Mule 4: Database Connector (Part 2)

Dynamic Queries:

To get rid of SQL Injection, we need to parameterize the "where" clause in our SQL query. What do we need to do when we don't only need to parameterize the "where" clause but also parts of the query? In Mule 3, we can't achieve this as in Mule 4 from the DB connector drop down. We need to select that we are using Dynamic query or parameterized. You have to choose between having a dynamic query and parameterized. In Mule 4 DB connector, we can use parameterized "where" clause and parts of the query simultaneously. In this example, you can see how a full expression is used to produce the query by building a string in which the table depends on a variable. An important thing to notice is that although the query text is dynamic, it is still using input parameters:

How to do Storage Replica within the same region in Azure (Pt. 2)

Data Videos
#Data -How to do Storage Replica within the same region in Azure (Pt. 2)

Database Connectivity and Transaction in Python

DZone Database Zone
Database Connectivity and Transaction in Python
Database Connectivity and Transaction in Python

It is very easy to establish a connection to a database and execute various DML (PL/SQL) statements in Python. Here, I am going to explain two different modules through which we are going to connect to different databases. The first module is "cx_Oracle" for Oracle Database, and the second one is "pyodbc module" to connect to MS SQL server, Sybase, MySQL, etc. 

So, my first example is with "cx_Oracle." I am not going to describe this module in detail, but my focus will be mainly on how to connect to the database and execute different SQL in it. For detailed documentation, please refer to https://cx-oracle.readthedocs.io/en/latest/.

Tuesday, May 22, 2018

Automatic Provisioning of Developer Databases with SQL Provision

DZone Database Zone
Automatic Provisioning of Developer Databases with SQL Provision
Automatic Provisioning of Developer Databases with SQL Provision

The GDPR and other regulations require that we be careful in how we handle sensitive data. One of the easiest ways to avoid a data breach incident, and any accompanying fine, is to limit the sensitive data your organization collects and then restrict the "exposure" of that data, within your organization. Many high-profile incidents in the last few years have been caused by sensitive data leaking out of database copies held on test and development servers, which are typically less well protected than the production servers.

If you want to avoid being mentioned in the news for lax security, then a good start is to ensure you keep PII and other sensitive data away from any less secure environments. One way the GDPR recommends we do this is by pseudonymizing or anonymizing sensitive data before it enters these insecure systems.

How to re:Invent | Episode 1: re:Invent 2018 - What's New? (AWS Online Tech Talks)

Data Videos
#Data -How to re:Invent | Episode 1: re:Invent 2018 - What's New? (AWS Online Tech Talks)

Monday, May 21, 2018

Fun With SQL: Functions in Postgres

DZone Database Zone Fun With SQL: Functions in Postgres In our previous  Fun with SQL  post on the  Citus Data  blog, we covered w...