Useful tips for everyday
Is the SSRs query running fast or slow? The query runs fast (in less than 5 secs) if I hardcode the parameter in the SSRS…
What can a trigger do? A trigger is a reminder of a past trauma. This reminder can cause a person to feel overwhelming sadness, anxiety,…
What is the purpose of PG _ STAT _ activity? In short, the main goal of pg_stat_activity is to show the current activity in Postgres.…
Why does distinct and group by not work? Usually, GROUP BY can solve this, but it might not be the most efficient method, or fail…
How do I enable query store in SSMS? Enabling the Query Store In Object Explorer, right-click a database, and then select Properties. Requires at least…
How do I find Autogrowth events in SQL Server? How to See Recent Autogrowth Events on Databases in SQL Server Right click on a database…
Does table partitioning improve insert? Short answer: yes it can help, because it’s theoretically instantaneous. You would insert your data into a staging table with…
How many CPU cores does MySQL server use? MySQL server uses only 1 out of 48 CPU cores with GROUP BY queries Is it possible…
How is a distributed file system implemented? A Distributed File System (DFS) as the name suggests, is a file system that is distributed on multiple…
How do you comment in a schema? The following example adds a comment to the public schema: => COMMENT ON SCHEMA public IS ‘All users…