TransWikia.com
  1. All Categories
  2. Database Administrators

Database Administrators : Recent Questions and Answers (Page 8)

Find answers to your questions about Database Administrators or help others by answering their Database Administrators questions.

SQL Server Extended event filters: can you use an IN predicate with a subquery?

I have an extended event that tracks and filters login events from specific users. The filter is something like this:WHERE (([sqlserver].[nt_user]=N'fredJohnson') OR ([sqlserver].[nt_user]=N'sallySmith')))What I would really like to do...

Asked on 12/17/2021

1 answer

Can an Oracle 19c database dblink to an Oracle 10.2.3 database?

I have an Oracle 12.1.0.2 database that dblinks to an Oracle 10.2.0.3.0 database.I am upgrading the Oracle 12.1.0.2 database to 19c (12.2.0.3). Will my dblinks to the Oracle 10.2.0.3.0...

Asked on 12/17/2021 by Darcy Dommer

2 answer

Pattern matching with LIKE, SIMILAR TO or regular expressions in PostgreSQL

I had to write a simple query where I go looking for people's name that start with a B or a D : SELECT s.name FROM spelers s WHERE...

Asked on 12/15/2021 by Lucas Kauffman

8 answer

How to reinstall PostgreSQL over an existing installation

I am trying to upgrade an installer created with NSIS that installs postgresql. It used to install postgresql 8.3 but we want to upgrade the DB to 9.4.4. The old...

Asked on 12/15/2021 by Bertus Kruger

3 answer

Why does coalescing make this query quicker?

I have the following querySELECT SQL_NO_CACHE `table1`.*FROM `table1`LEFT JOIN `table2` ON table2.id = table1.table2_idWHERE (`table2`.`date_assigned` >= '2015-06-21') ...

Asked on 12/15/2021

1 answer

Prometheus High Memory and CPU Usage in PMM

We are running PMM v1.17.0 and prometheus is causing huge cpu and mem usage (200% CPU and 100% RAM), and pmm went down because of this. We are running PMM...

Asked on 12/15/2021 by user5594148

2 answer

Check for global read lock on MySQL

Can I check whether a global read lock is in place? My application uses MySQL (actually MariaDB) on InnoDB. I'm going to run mysqldump --all-databases, which will impose a global...

Asked on 12/15/2021 by JellicleCat

0 answer

Can't connect to Azure SQL with error 18456

I'm trying to grant access to my Azure SQL database (on an elastic pool) to an external developer using SQL Authentication. In the database (not master) I ran the following...

Asked on 12/15/2021 by user2637453

2 answer

Avoid multiple Case When - MySQL

I have a query:Select <CASE WHEN>, myfunction(param1, <CASE WHEN>)FROM tableBoth the Case When instances are the same set of conditions. So here I am clearly repeating the same conditions....

Asked on 12/15/2021 by Binod Kalathil

1 answer

Extended event to track the logins from a specific login, but that login is filtering on a an active directory group

I'm wondering if there is a way to do this in sql server. I have an extended event set up to track all user logins from a database with a...

Asked on 12/15/2021 by datadawg2000

1 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP