Remove c
article thumbnail

Identify Active Databases and Users in MySQL

Percona

Database administrators often need to identify inactive databases and users to save resources. This can be done using various methods to determine which databases and users are frequently accessed. We can save disk space and other resources by purging inactive databases and users.

article thumbnail

Setting Up MongoDB SSL Encryption

Scalegrid

In a world where data security is essential, enabling MongoDB SSL is critical in fortifying your database. Each section is crafted to elevate your database’s security protocol, from acquiring the necessary SSL certificates to configuring server and client connections. For versions of the shell before 4.2,

Servers 130
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

HammerDB v4.0 New Features Pt1: TPROC-C & TPROC-H

HammerDB

compared to previous releases is that the workload names have changed from TPC-C and TPC-H to TPROC-C and TPROC-H respectively and therefore a key question is how are the v4.0 The simple answer is nothing, the workloads are exactly the same workloads derived from the TPC-C and TPC-H specifications and HammerDB v4.0

C++ 40
article thumbnail

Extensibility in MySQL Is Easy

Percona

Well, “easy” if you know just a tiny bit of C++. Our function will implement a ULID generator using a C++ library from ChrisBove/ulid. 132:39: warning: unused parameter ‘initid’ [-Wunused-parameter] extern "C" void ulid_deinit(UDF_INIT *initid) {} ~~~~~~~~~~^~~~~~ [100%] Linking CXX shared module././plugin_output_directory/ulid.so

C++ 78
article thumbnail

Fixing Errant GTID With Orchestrator: The Easy Way Out

Percona

The major problem it causes during a planned change in a MySQL replication topology is that the transaction is not present in the binlog and hence cannot be sent over to the replica, which causes a replication error. 3306, I created a test database: mysql> create database test; Query OK, 1 row affected (0.00 On 192.168.56.20:3306,

C++ 81
article thumbnail

Masquerade Your Backups To Build QA/Testing Environments With MyDumper

Percona

In this blog post, I’m going to present a new functionality that is available in MyDumper and will be available in the next release: we added the possibility to build random data based on a format that the user defines. During export, mydumper sends SELECT statements to the database. How does it work?

Testing 102
article thumbnail

Segmentation Fault – A DBA Perspective

Percona

In order to understand “segmentation fault,” it is a must to know the basic idea of segmentation and its implementation in C programming. However, this blog is written from the database perspective; hence, I would not prefer to dive into those scenarios as they are very high-level programming concepts.