Sunday, May 13, 2018

AWS KC Video: Why am I being charged for EC2 when all my instances have been terminated?

Data Videos
#Data -AWS KC Video: Why am I being charged for EC2 when all my instances have been terminated?

You Shouldn’t Manage Your Business Processes With Excel

DZone Database Zone
You Shouldn’t Manage Your Business Processes With Excel
You Shouldn’t Manage Your Business Processes With Excel
Why Do Employees in Companies Repeatedly Use Microsoft Excel or Powerpoint to Manage Business Data and Tasks?

Companies today have a variety of business applications in use. Some for legacy reasons, some for strategic reasons, and some just because they are hip and fun. Most of the time, these applications are not enough to cover all aspects of daily working life. A lot of tasks and data that need to be processed on a daily basis are often managed with Exel and Powerpoint. This is not wrong in general and provides employees a way to prepare business figures in tables or display them clearly in a presentation. But often, these applications are abused for a kind of data management, however, Excel is no database, and Powerpoint is not a messaging tool. The problem is that these tools often collect data that is needed to implement certain business processes and for which there is no suitable application available. In a short time, these solutions become indispensable and are passed down from generation to generation.

What is the Difference Between Business Data and a Business Process?

Now the question is, what is wrong with this situation? The problem comes from the field of computer science and data processing. We often try to describe our environment in an easy way. In other words, we combine the properties of our environment and compare them with each other to find alternatives to react faster. A spreadsheet or database provides a seemingly simple way to do this. But we can only record and document business data. The data is in fact only the basis for achieving a specific business goal, and these goals are represented by business processes within a company. When looking at a business process, we want to see where data came from, how it was processed, and what needs to happen next in order to achieve a business goal.

Saturday, May 12, 2018

Up-to-Date Cache With EclipseLink and Oracle

DZone Database Zone
Up-to-Date Cache With EclipseLink and Oracle
Up-to-Date Cache With EclipseLink and Oracle

One of the most useful features provided by ORM libraries is a second-level cache, usually called L2. An L2 object cache reduces database access for entities and their relationships. It is enabled by default in the most popular JPA implementations like Hibernate or EclipseLink. That won’t be a problem unless a table inside a database is not modified directly by third-party applications, or by the other instance of the same application in a clustered environment. One of the available solutions to this problem is an in-memory data grid, which stores all data in memory, and is distributed across many nodes inside a cluster. Such a tool like Hazelcast or Apache Ignite have been described several times in my blog. If you are interested in one of that tools I recommend you read one of my previous article about it: Hazelcast Hot Cache with Striim.

However, we won’t discuss it in this article. Today, I would like to talk about the Continuous Query Notification feature provided by Oracle Database. It solves a problem with updating or invalidating a cache when data changes in the database. Oracle JDBC drivers have provided support for it since 11gRelease 1. This functionality is based on receiving invalidation events from the JDBC drivers. Fortunately, EclipseLink extends that feature in their solution called EclipseLink Database Change Notification. In this article, I’m going to show you how to implement it using Spring Data JPA together with the EclipseLink library.

AWS Summit London 2018: AWS Partners to Help with Your Machine Learning Needs

Data Videos
#Data -AWS Summit London 2018: AWS Partners to Help with Your Machine Learning Needs

Friday, May 11, 2018

The State of SQL Server Monitoring 2018

DZone Database Zone
The State of SQL Server Monitoring 2018
The State of SQL Server Monitoring 2018

Over 600 technology professionals who work in organizations that use SQL Server recently responded to our survey to discover the current state of SQL Server monitoring.

We asked people across a range of sectors, in organizations of every size around the globe, about how they monitor SQL Server, the technologies they work with, and what they thought the biggest challenges were for them and their estates over the next 12 months.

AWS Summit London 2018: Amazon Aurora Backtrack

Data Videos
#Data -AWS Summit London 2018: Amazon Aurora Backtrack

Thursday, May 10, 2018

Learn how Adobe runs its vast open-source application portfolio in Azure

Data Videos
#Data -Learn how Adobe runs its vast open-source application portfolio in Azure

Using DATABASEPROPERTYEX to Find the Last Good DBCC CHECKDB Time

DZone Database Zone
Using DATABASEPROPERTYEX to Find the Last Good DBCC CHECKDB Time
Using DATABASEPROPERTYEX to Find the Last Good DBCC CHECKDB Time

For decades, a pain point for SQL Server administrators has been determining when the last known DBCC CHECKDB was run against a database. Microsoft has not exposed this information in an easily digestible format. You can find a handful of options available online for returning this information. My favorite was this post by Rob Sewell.

It was my favorite.

Next Games Powers Global Augmented Reality Game in Azure

Data Videos
#Data -Next Games Powers Global Augmented Reality Game in Azure

How Binary Logs Affect MySQL 8.0 Performance

DZone Database Zone
How Binary Logs Affect MySQL 8.0 Performance
How Binary Logs Affect MySQL 8.0 Performance

As part of my benchmarks of binary logs, I've decided to check how the recently released MySQL 8.0 performance is affected in similar scenarios, especially as binary logs are enabled by default. It is also interesting to check how MySQL 8.0 performs against the claimed performance improvements in redo logs subsystem.

I will use a similar setup as in my last article with MySQL 8.0 using the utf8mb4 charset.

Wednesday, May 09, 2018

Getting Started With MongoDB (Part 2)

DZone Database Zone
Getting Started With MongoDB (Part 2)
Getting Started With MongoDB (Part 2)

Hello everyone! In my previous article, I explained what MongoDB is and why you should use it. In this article, I will try to explain CRUD operations in MongoDB using MongoShell.

To check available databases:

Tuesday, May 08, 2018

Meet Tadao Nagasaki – Managing Director & President of Amazon Web Services Japan

Data Videos
#Data -Meet Tadao Nagasaki – Managing Director & President of Amazon Web Services Japan

When Simple Parameterization... Isn't

DZone Database Zone
When Simple Parameterization... Isn't
When Simple Parameterization... Isn't

I'm desperately working to finish up a new version of my book on Execution Plans. We're close, so close. However, you do hit snags. Here's one. My editor decided to change one of my queries. I used a local variable so that I got one set of behaviors. He used a hard-coded value to get a different set. However, the really interesting thing was that his query, at least according to the execution plan, went to simple parameterization. Or did it?

Simple Parameterization

The core concept of simple parameterization is easy enough to understand. You have a trivial query using a hard-coded value like this:

Monday, May 07, 2018

An Implementation of Phase-Fair Reader/Writer Locks

DZone Database Zone
An Implementation of Phase-Fair Reader/Writer Locks
An Implementation of Phase-Fair Reader/Writer Locks

We were in search for some C++ read-write lock implementation that allows a thread to acquire a lock and then optionally pass it on to another thread. The C++11 and C++14 standard library lock implementations std::mutex and shared_mutex do not allow that (it would be undefined behavior. By the way, it's also undefined behavior when doing this with the pthreads library).

Additionally, we were looking for locks that would neither prefer readers nor writers so that there will be neither reader starvation nor writer starvation. And then, we wanted concurrently queued read and write requests that compete for the lock to be brought into some defined execution order. Ideally, queued operations that cannot instantly acquire the lock should be processed in approximately the same order in which they queued.

The Allscripts Prescription for Agility: Lift and Shift to the Cloud

Data Videos
#Data -The Allscripts Prescription for Agility: Lift and Shift to the Cloud

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...