Translate
Friday, February 19, 2021
Reasons for Software Implementation Failures in Sri Lankan Organizations
Thursday, February 18, 2021
Sri Lanka MCT Summit 2021
Elastic Jobs in Azure SQL Databases
KoBoToolBox: A Data Collection Tool
- Design forms quickly and easily using intuitive form builder
- Reuse existing questions and blocks of questions and manage them in the question library
- Build complex forms with skip logic and validation
- More than 20 different question types available including location, image, video, rating, matrix, etc.
- Easily share projects with colleagues and set granular permission levels.
- Import and export XLSForms and Import via URL or upload from your computer.
- Online and Offline data collection
- Create summary reports with graphs and tables and fine-tune your report's charts, colours and questions
- Visualize collected data on a map includes a heatmap, clustering, other base layers, etc.
- Disaggregate data in reports and maps i.e. by gender, region or educational level
- Export all your data at any time Supported formats: Excel, CSV, KML, ZIP (for media) and SPSS.
Sunday, February 14, 2021
Data Mining Techniques in Prevention and Diagnosis of Non Communicable Diseases
Thursday, February 11, 2021
Cheat Sheet for Recommender Systems
Recommender systems have become an important system in today's competitive world. Mainly you can utilize these types of systems to improve sales by target specific customer groups. In order to identify all the options in the Recommender system, the follow cheat system was developed.
Tuesday, February 9, 2021
Investigation and Development of Technology for Fuzzy Data Warehouse
Five-year research is completed on the topic Investigation and Development of Technology for Fuzzy Data Warehouse with the final presentation today.
You can find the project presentation at researchgate which does not include the final theses. As defined, Data warehouse is a framework that permits the strategic management access to all organizational data towards strategic decision making for a competitive advantage over competitors. It covers comprehensive technology.
When it comes to the data warehouse, it covers more technical aspects than data warehouse design as shown below.
- Review current work on data warehousing, fuzzy data warehousing and fuzzy databases.
- Conduct a feasibility study to identify the domains and areas where the fuzzy data warehouse can be implemented.
- Introduce Data-Driven Technique to define Fuzzy Membership Functions for different scenarios different data warehouse technologies.
- Implement Linguistic Analysis of Data warehousing using Fuzzy Techniques.
- Design methodology for dimensions and fact tables in Fuzzy Data Warehouse.
- Design other relative features of the data warehouse to support fuzzy modelling.
- Define non-functional requirements in a fuzzy data warehouse.
- Provide Proof of concepts for fuzzy data warehouse implementation.
- PPG Dinesh Asanka, Amal Shehan Perera, Design Strategy for Fuzzy Data Warehouses, 2nd International Conference on Innovative Research in Science, Technology & Management, National University Singapore, 29-30 September 2018.
- PPG Dinesh Asanka, Amal Shehan Perera, Defining Fuzzy Membership Function for Fuzzy Data Warehouses, 4th I2CT IEEE Conference, SDMIT Ujire, Mangalore, India, October 2018.
- PPG Dinesh Asanka, Amal Shehan Perera, Linguistic Analytics in Data Warehouses Using Fuzzy Techniques, IEEE International Research Conference on Smart Computing and Systems Engineering – 20019, Department of Industrial Management, University of Kelaniya, 28th Match 2019.
- PPG Dinesh Asanka, Amal Shehan Perera, Feasibility of Fuzzy Data Warehouse, International Journal of Research in Computer Applications and Robotics, ISSN 2320-7345, Vol. 5 Issue 11, November 2017.
- PPG Dinesh Asanka, Amal Shehan Perera, Defining Fuzzy Membership Function Using Box Plot, International Journal of Research in Computer Applications and Robotics, ISSN 2320-7345, Vol. 5 Issue 9, September 2017.
Thursday, February 4, 2021
Presentation on Elastic Jobs in Azure SQL Databases
This feature allows you to run scheduled tasks in your Azure SQL Databases. This is similar to SQL Server Agent you have in the On-prem SQL Server versions. However, in Elastic Jobs, you can execute the scheduled tasks in multiple Azure SQL Servers and multiple Databases which is an added advantage when considering the features of SQL Server Agent. Further, this execution performs parallelly.
Register at https://www.meetup.com/en-AU/sldatacommunity/events/276148796/
Tuesday, February 2, 2021
Dynamic Data Masking in SQL Server
Please find the latest article at SQLShack in this link.
Monday, February 1, 2021
Monitoring Long Running Transactions in TempDB
TempDB database plays a major role in SQL Server. Therefore, it is extremely important to monitor the health of the TempDB database. One of the major challenges in TempDB is maintaining it's log file. If there are transactions that use the TempDB and if those are long-running transactions, there can be situations where the log file will grow. Since these transactions are not closing, log space will not be returned and the entire server will not be able to run queries that use the TempDB.
Recently, one of the Clients had a similar problem. One query was running for more than four days and it had consumed TempDB log file. This has caused empty disk space and the entire server is halted for operations.
In this situation, the easiest and laziest thing to do is the restart the server. Restart will kill all the transactions and return TempDB back to the original size. This is not something that you can do for a system of 24x7.
However, we choose not to restart but to identify the long-running query from the following simple query.
SELECT se_tr.session_id,
sec.login_name,
trn.database_transaction_begin_lsn,
trn.database_transaction_begin_time,
trn.database_transaction_log_record_count,
trn.database_transaction_log_bytes_used,
trn.database_transaction_log_bytes_reserved,
t.text,
q.query_plan
FROM sys.dm_tran_database_transactions trn
INNER JOIN sys.dm_tran_session_transactions se_tr ON trn.transaction_id = se_tr.transaction_id
INNER JOIN sys.dm_exec_sessions sec ON se_tr.session_id = sec.session_id
INNER JOIN sys.dm_exec_connections con ON con.session_id = sec.session_id
LEFT OUTER JOIN sys.dm_exec_requests req ON req.session_id = sec.session_id
CROSS APPLY sys.dm_exec_sql_text (con.most_recent_sql_handle) t
OUTER APPLY sys.dm_exec_query_plan (req.plan_handle) q
WHERE trn.database_id =DB_ID('TempDB')
This gave the option to identify the long running query and we killed the relevent session. With that, TempDB log file was emptied and by shrinking the tempdb log file, we were able to gain the disk space.
Further, we took a pro-active decision by enabling an alert, so that if a query runs for more than 8 hrs (configurable) that will be altered the DBA so that he can kill the session straightway.







