Remove create-sql-server-log-shipping
article thumbnail

Should You Keep Your Business Logic In Your Database?

Percona

In the following example, an ENUM is created that will take only three values and reject other values, supposedly. This NULL problem can be avoided by setting the SQL Mode to STRICT. This table is created so that only selected accounts can see that secret column. This is different from what we want either logically or as data.

article thumbnail

The SQL Server Transaction Log, Part 1: Logging Basics

SQL Performance

All through my career as a data professional, both inside Microsoft and as a consultant, I’ve found one of the most misunderstood parts of a SQL Server database is the transaction log. Performance issues from repeated shrinking of the transaction log. Performance issues from repeated shrinking of the transaction log.

Servers 54
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

NULL complexities – Part 3, Missing standard features and T-SQL alternatives

SQL Performance

This month I describe powerful standard NULL handling features that have yet to make it to T-SQL, and the workarounds that people currently use. You can find the script that creates and populates this database here , and its ER diagram here. I'll continue using the sample database TSQLV5 like last month in some of my examples.

C++ 120
article thumbnail

MariaDB vs MySQL: Key Differences and Use Cases

Percona

In this blog, we’ll provide a comparison between MariaDB vs. MySQL (including Percona Server for MySQL ). Introduction: MariaDB vs. MySQL The goal of this blog post is to evaluate, at a higher level, MariaDB vs. MySQL vs. Percona Server for MySQL side-by-side to better inform the decision making process. What is MariaDB?

article thumbnail

How It Works (It Just Runs Faster): Non-Volatile Memory SQL Server Tail Of Log Caching on NVDIMM

SQL Server According to Bob

Note: We received feedback that there was some confusion on us calling this functionality “tail of the log caching” because our documentation and prior history has referred to the tail of the log as the portion of the hardened log that has not been backed up. Create / Alter Database … LOG ON.

Cache 40
article thumbnail

Removing the default trace – Part 3

SQL Performance

In this post, I want to show the views I created to make consumption of the event data easier for people, and some caveats. First, I created a view that would expose the important bits from the Extended Events session data, and put it in the utility database that exists on every instance: CREATE VIEW dbo. Digestible views.

article thumbnail

AnyLog: a grand unification of the Internet of things

The Morning Paper

There have been several efforts to create a version of the WWW for "structured" data, such as the Semantic Web and Freebase. In AnyLog queries are expressed in SQL, but you could also think of e.g. a standard HTTP GET request as a distributed key-value store lookup query. SQL processing for publishers. web pages).