Improving your database backup policy
In this brief article I will reflect on a strategy which I normally adopt in an enterprise which requires a solid database backup policy in which fre…
In this brief article I will reflect on a strategy which I normally adopt in an enterprise which requires a solid database backup policy in which fre…
As discussed in a previous blog post about different types of MySQL HA architectures , using HAProxy for failing over and load balancing over cluster…
I needed to do some database benchmarks on a 10GB dataset. The problem: I did not have the dataset in hand, and I needed to give an estimate to a cus…
In MySQL, slow queries can be logged in the 'slow query log'. To enable this feature you need to set the following variable: log_slow_queri…
If you are a MySQL DBA, one of the most useful things you need to know is Perl. This will make you able to create custom tools such as for example be…
Sometimes we need to find out which tables contain a particular column. In Oracle this can be simply done by querying the DBA_TAB_COLUMNS system tabl…
In this post I want to discuss with you a concept which simplifies failing-over or migration of a master or slave node in a MySQL replication setup w…
I often get asked how does an optimizer (being in Oracle or MySQL) decide which would be the outer table in a join. Consider the following three tabl…
MySQL's official documentation dictates the use of the ORDER BY RAND() (coupled with LIMIT if you want) to select one or more random rows from a …
I refer to an incredible post by Baron Schwartz where he wittingly explains a technique to choose the best InnoDB log file size. The idea is so mon…
In a previous post I described how I was tasked to produce a number of KPIs and queried Oracle's AWR to get such data. I was also asked to get th…
I was recently asked to produce some KPIs for our three node Oracle cluster database. One of the KPIs was to display a graph trend for total number o…
In an earlier article I explained how to delete duplicate rows in Oracle using the rowid pseudocolumn. In MySQL there is no pseudocolumn, and in ord…
I believe that MySQL has many cool and advanced index types which provide the best performance strategies (if used properly) compared to other RDBMS&…
The best and easiest way to monitor what a Postgres server is doing is by using the pg_top tool. Usage is as follows: $pg_top -d postgres
If you need to produce an Oracle export with a filter/query, you may encounter syntax errors because you need to escape certain characters. This is t…
In SQL Server the date formatting is a bit peculiar to say the least...I used the following query to be able to go 30 days back from current date: …
This morning I was asked by the auditors to give them a list of privileges which have been granted to users USER_A and USER_B. You can do this by usi…
With Oracle stored procedures the database developer can display output to the SQL client. This is very handy when you want to use a stored procedure…
In MySQL you can optimize a query running against a table by choosing the correct index. Furthermore MySQL allows you to index strings as well (text,…
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here'. Lorem Ipsum has been the industry's standard dummy text ever since.
Lorem Ipsum has been the industry's standard dummy text ever since. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since.
Follow my YouTube channel for more awesome content. For feedback business collaboration you can use the contact form on the right.