Most active questions
20 questions from the last 7 days
3
votes
1
answer
150
views
Does SQL Server have a mechanism to recover from torn page writes like PostgreSQL's full_page_writes?
I am comparing how PostgreSQL and SQL Server protect data pages from torn writes.
PostgreSQL has a feature called full_page_writes.
On the first modification to a page after a checkpoint, PostgreSQL ...
1
vote
1
answer
138
views
How to avoid an "invalid locale" error when restoring a dump from Windows to Debian Linux?
Postgres 17 cluster is in Windows server in Estonian locale. Databases are defined like
CREATE DATABASE mydb
WITH
OWNER = mydb_owner
ENCODING = 'UTF8'
LC_COLLATE = 'et-EE'
LC_CTYPE ...
0
votes
1
answer
45
views
What is the name/abbreviation of the PostgreSQL dialect and how to highlight it in Markdown?
Question
I know TSQL is the SQL dialect of Microsoft dialect. However, I failed to find an equivalent for PostgresSQL. Thus I ask, what is the name/abbreviation of the PostgreSQL dialect?
My initial ...
1
vote
1
answer
45
views
SQL Server Profiler 22 won't open on ARM
After installing SQL Server Profiler 22, I get the following error when opening the application?
---------------------------
PROFILER.exe - System Error
---------------------------
The code execution ...
0
votes
1
answer
22
views
After recovering from session timeout expiry, at what point does the primary start waiting on synchronous replicas to harden?
The documentation tells us what happens when session timeout for a synchronous Availability Group replica expires
"Even if a disconnected replica is configured for synchronous-commit mode, ...
3
votes
0
answers
46
views
Does partitioning allow filegroups with LOB data to be shrunk?
It is extensively documented that shrinking any data files that have LOB pages is awful:
Microsoft says you need to read the whole partition once for every page you want to move.
The well-known ...
0
votes
0
answers
39
views
SQL Server Express programmatic installation gets stuck at "Installing..."
I'm trying to do an automated installation of SQL Server Express via powershell, aided by chocolatey.
First, I install chocolatey using the following PowerShell snippet:
Set-ExecutionPolicy Bypass -...
0
votes
0
answers
35
views
SQL AG with Windows Server 2025 Fail-over cluster
I wonder if anyone is up-to-date with the workings of Fail-over cluster in Windows Server 2025.
Since each version has their changes.
We are doing a test setup of 3 nodes on 1 location, 3 nodes on the ...
0
votes
0
answers
29
views
Are constraints(foreign key)errors being logged on the server side (MySQL 8.0.39)?
Are constraints (specifically: foreign key) errors being logged on the server side (MySQL 8.0.39)?
The question arose because there was a migration problem and the number of errors exploded on the ...
0
votes
2
answers
13
views
Are leaf nodes on an InnoDB secondary index sorted by both secondary and primary key columns?
For example, if a table has columns A, B, ID, and (ID) is the primary key, and (A) is a secondary index.
I wonder if the leaf nodes on the secondary index (A) is sorted by (A,ID), or just (A), and the ...
0
votes
0
answers
31
views
MySQL comparing a string to int returns a wrong result when string is numbers seperated by -
Apologies if this is a duplicate question but I was unable to find the correct result but that could be down to the phrasing of my question but here goes.
I have a table with BIGINT primary keys. I ...
0
votes
1
answer
26
views
Why does loading plugins fail with "cannot open shared object file" on an ARM-based Linux VM?
I am running DolphinDB Server (version 2.00.16.4) on a Linux virtual machine on my MacBook (Apple Silicon / ARM architecture).
When I try to load the MySQL plugin, I encounter the following error:
...
0
votes
0
answers
14
views
Problem when importing a dmp file in SQLDeveloper
I'm trying to import a dmp file in my database, so far this is the steps I've followed in a guide about how to import a dmp file in SQLDeveloper:
Open SQL Developer and connect to your database.
Go to ...
1
vote
1
answer
39
views
Is it possible to use scientific notation to display large numbers in psql?
I have tables with very large numbers, which are entered using scientific notation (e.g. 1e100). But when in the PostgreSQL's psql client (as of 18.x), they get expanded into the full length:
# SELECT ...
0
votes
0
answers
13
views
Massive import of blob files in SQLDeveloper
I'd like to know if there's some way to do a massive import of blob files in SQLDeveloper, indicating such blob files in the file system and how it would have to do the import
Right now, it looks that ...