Remove c
article thumbnail

MongoDB SSL with self-signed certificates in C#

Scalegrid

If your application connects to the production database over a public network, do reach out to support@scalegrid.io In this blog post, we show you two methods to securely connect to a MongoDB server configured with self-signed certificates for SSL, using the official C# MongoDB driver. Else the code samples will not work.

C++ 244
article thumbnail

Debugging MySQL Core File in Visual Studio Code

Percona

Visual Studio Code (VS) supports memory dump debugging via C/C++ extension: [link]. When MySQL generates a core file, the VS code simplifies the process of debugging. This blog will discuss how to debug the core file in VS code. Installing c/c++ extension We need to install the c/c++ extension.

Code 107
Insiders

Sign Up for our Newsletter

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

article thumbnail

Kubernetes Observability: Code Profiling With Flame Graphs

Percona

It shows which code paths are more busy on the CPU in given samples. MySQL is not written in NodeJS, but we specify –lang node to launch the perf profiler, which is compatible with C/C++. In this blog post, we’ll review how to run Linux profilers such as perf and produce flame graphs on Kubernetes environments.

Code 115
article thumbnail

Why you should benchmark your database using stored procedures

HammerDB

HammerDB uses stored procedures to achieve maximum throughput when benchmarking your database. HammerDB has always used stored procedures as a design decision because the original benchmark was implemented as close as possible to the example workload in the TPC-C specification that uses stored procedures. What is a stored procedure?

article thumbnail

Squashed Bugs, Served Hot and Fresh With Failure Rate Heatmaps

DZone

Debugging is not just about the fix — sometimes it's the drudgery of trying to locate the root cause that kills passion, especially when you have thousands or even millions of lines of code. A former Oracle database developer, who helped maintain Oracle v12.2 A former Oracle database developer, who helped maintain Oracle v12.2

C++ 162
article thumbnail

Backup and Restore with MyDumper on Docker

Percona

However, when I’m coding, I’m not testing in Docker. 7 sh -c "rm -rf /backups/data; mydumper -h 172.17.0.5 -o 7 sh -c "rm -rf /backups/data; mydumper -h 172.17.0.5 -o 7 sh -c "myloader -h 172.17.0.4 -d 7 sh -c "rm -rf /backups/data; mydumper -h 172.17.0.5 -o 7 sh -c "myloader -h 172.17.0.4 -d

C++ 100
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. Here, memory is divided into equal sizes of partitions where the code of a program resides. ” Below is a line of code that results in a segmentation fault on PostgreSQL 13.4