Moving Files and Subfolders Using PowerShell
We usually come across situations where we need to move files and folders to another directory say for archival or some other purpose. There are many scripting languages which can be used for it but we are going to see here the power of PowerShell…
How to monitor your Sql server Jobs
When the company’s organization become large and production database servers have hundreds of jobs running with different schedule, the DBA might lose track of what job must be run successfully and in a timely matter. Various reasons such as sql server maintenance windows could require…
The Importance of Protecting Your Data: Introduction and Focus on the Rebase Server Solution
Many organizations are now facing with a lot of compliance regulations, from SOCII to PCI, GDPR to KYC compliance and many audits are done to understand how they protect their data from external hacking but also internal employees. The biggest threat might not be the…
Sql server: use of views and filtered indexes
Hello, I have been working lately with several companies, within Ecommerce, telecommunications and payments industries and they all had a team that needed to work on looking at last week or last month invoicing and ordering from clients. The issue was that for 2 companies,…
SQL server: Purging data using switch out
On very large database tables, most of my clients have decided to archive the data by extracting them first and then purging old data based on a Date column using something like : DELETE FROM <SchemaName>.<TableName> WHERE <DateField> < GETDATE() – X days. Not only…
Clustered Columstore and Nonclustered filtered indexes
Hello DBA friends, I had the most bizarre experience on a SQL server 2016 (sp2). On the cumulative hotfixes after, the closest one from the error is this one : https://support.microsoft.com/en-us/help/4316858 It is still not quite the error that I got though. With a client,…
Should you shard or centralize your database ?
Preamble: Nowadays, business tends to get very big database very quickly and they usually need to find ways to manage functionally and physically data in a more efficient matter, both for security and performance reasons. In many ways, centralizing the operating database can make your…
Phase 2: AE and search patterns
Hello again, This time, I implemented the same code but with encryption and hashing, encryption with a symetric key for the email addresses and hashing for the dictionary. This would be similar as implementing random encryption for the email address field and deterministic encryption for…
Phase 1: AE and search patterns
As I was saying in an earlier article, Always Encrypted is a key element of the GDPR compliance implementation: how to encrypt and be able to search the personal data. It is rather better not to be able to search as you can increase encryption…
SQL server: Indexed views and filtered indexes: making your very large database smaller.
Hello, For many clients, I have been able to manage very complex tuning with indexed views and filtered indexes. Indexed views: virtual framework physically maintained! Of course, indexed views are schema binding. Schema binding tables via indexed views offer additional advantage in terms of securing…
Categories
- Inspiration (1)
- Security (2)
- SQL Architecture (21)
- SQL Monitoring (1)
- SQL Performance (16)
- Tips & tricks (1)
- Uncategorized (5)
- Utilities (1)