Translate
Thursday, December 31, 2020
Templates in Draw.IO
Tuesday, December 29, 2020
Power BI End-To-End Features
Power BI is a Business analytics framework from Microsoft who is the leader in BI for the last 12 years according to the Gartner. Since we have a dynamic environment, we would love to know the capabilities and integration with this tool.
The following link will take you to the end-to-end features of Power BI.
Wednesday, December 23, 2020
Creating your First Azure SQL Database
As the cloud has become something that you cannot avoid in the current technology race, it is important to understand what are the options you have to create a database in the Azure platform. As shown in the below image, there are different architectural options.
Wednesday, December 16, 2020
Defining Fuzzy Membership Function Using Box Plot
The membership function is the key component in fuzzy techniques. When fuzzy techniques are extended to the data warehouse, so that we can make decisions using fuzzy techniques in a data warehouse, it was identified that in the many implementations does no have the data-driven techniques to define fuzzy membership function.
In this research paper, which is a research project on Investigation and Development for Fuzzy Data Warehouse, we have used the famous Box Plot technique to derive a fuzzy function. In this technique, we have mapped the fuzzy function parameters to the Box Plot parameters as shown below.
Saturday, December 12, 2020
Data Warehouse in SQL Server
Data Warehouse is a comprehensive technology that provides the key people within an enterprise with access to any level of the required information within the enterprise. It is an enterprise-wide framework that permits the management of all enterprise information.
Let us see how we can utilise Microsoft technologies at varies stages of the Data Warehouse technologies.
Friday, December 11, 2020
RDBMS -> NoSQL -> NewSQL
Thursday, December 10, 2020
Customized Transaction Log Backups
Transaction Log backups are important in a Production environment. It will make sure that you manage your log file size and keeping backups in case of a need to restore.
I am pretty much sure, most of you have scheduled transaction log backups. If you have scheduled Transaction log backups every 15 minutes, then you will see four log backups every hour and will result in nearly 100 backup files a day and you are looking at around 700 log backups per day. Unlike differential backups, you need all your lob backups to recover. Sometimes, you might have less or no transactions but still, there will be a log backup.
Now the question is, Can we create transaction log backup when there is sufficient size. Yes, you can if you are running SQL Server 2017 or later.
In sys.dm_db_log_stats Dynamic Management Function (DMF), there is a new column called log_since_last_log_backup_mb tells you what is the log file size after the last log backup.
Using the following script, you can perform transaction log backups when the log file size is more than a specific size.
DECLARE @log_since_last_log_backup_mb NUMERIC(9, 2) DECLARE @ThreasholdSize INT = 25 DECLARE @folderName VARCHAR(30) = 'D:\DBBACKUP' DECLARE @DatabaseName VARCHAR(30) = 'LB1' SELECT @log_since_last_log_backup_mb = log_since_last_log_backup_mb FROM sys.dm_db_log_stats(db_id(@DatabaseName)) IF @log_since_last_log_backup_mb > @ThreasholdSize BEGIN DECLARE @fileName NVARCHAR(400) = @folderName + '\' +
@DatabaseName + SUBSTRING(REPLACE(CONVERT(VARCHAR, GETDATE(), 111), '/', '')
+ REPLACE(CONVERT(VARCHAR, GETDATE(), 108), ':', ''), 0, 13) + '.bak' BACKUP LOG [LB1] TO DISK = @fileName WITH NOFORMAT ,NOINIT ,SKIP ,NOREWIND ,NOUNLOAD ,STATS = 10 END ELSE PRINT 'No BACKUP'