How to speed up remote File Table access?
I've been working on a vb.net/mssql system (the front end is winforms) that uses file tables for pretty small part images. The file sizes range from about 50kb to 800kb. Most are in the 300kb range....
View ArticleSQL Nested Views
Hi,What is the recommendation for using nested views. We have a legacy system and would like to clean up our SQL DB and would like to know that. What level of nested views is recommended and have less...
View ArticleDefault block size for SQL Server?
What is the default block size for SQL Server? I am planning to move my SQL Server machine to AWS hence was trying gauge an understanding of the required IOPS in AWS.On the current physical machine I...
View ArticleIs it a bad idea to create a schema named [com] and if so why?
Is it a bad idea to create a schema named [com] and if so why. I am creating a schema for our communications dept and [com] works unless there's a risk I don't know about.
View ArticleDB structure for a POS application.
Hi!I need to implement a PointOfSale solution. I would like to ask the advice of those more experienced than me in the following issues: 1. Which is more optimal: to keep the goods entries in one table...
View ArticleIndexing in a Merge Replication environment
Hello SQL Gurus I am new to Database design. We are building an application that is expected to have mid-level volumes - Around 10K to 100K records per day based on the day of the week. It is a...
View Articlesp_execute_external_script to run script that analyzing unstructured data
I saw many example from sp_execute_external_script, that the script (python script) input to these sp are dealing with some structure data, like in the following example , like in the following EXEC...
View ArticleData warehouse Loading strategy question
Hi All,We have an SQL Database in DWH design, which is truncated and loaded every night in a batch process. However, sometimes the DW Load fails and leaves the DW tables empty due to data issues. The...
View ArticleNot possible export Azure Database
Dear All,Database export is not possible. Currently I am using Microsoft dynamics 365 finance and operations.while exporting database below errors coming. Kindly assist me.......... SQL46005...
View ArticleSelect query block inset query
Hi,Recently we found some blocking scenario in SQL Server Production environment. After checking I found it was select query which was executing on a 'employee' table at the same time another insert...
View ArticleData Model for Incremental data laod
Hi All,I have a request for loading larger set of data on a daily basis. Expecting to get minimum 2.5 lakhs of data per day. We need to generate reports out of it. Basically, we are getting some order...
View ArticlePermission question
What are the minimum permissions needed to view a database diagram, and what permissions are needed to create a database diagram in sql server management studio?
View ArticleIncremental Load: What is the best approach and db design to deal with...
Hi All,Lots of questions came to my mind when I started designing an incremental approach in one of our requirement. Please suggest the best options to resolve those issues.We are having millions of...
View Articlecheck if the field value is in last 13 month value if not assign the last...
Hi All, I have this scenario where I do not have a record in the table but iam trying to associate associate the row with a...
View ArticleTempdb not using all files
SQL 2017Our tempdb is comprised of multiple data files, and 1 log file. The very first data file appears to be the only one getting used. But I'm only basing that assumption on the fact that it...
View ArticleDatabase design
Suppose I have employees and departments where one employee can belong to different department with different role.For example Emp 1 belongs to Dept 1 with role manager. where the same employee can...
View Articleover terabyte database with a single datafile
Hi We have 2016 enterprise edition , and always on enabled. DB size is now over 2 TB on one data file(mfd) . creating multiple data file would that get advantage in case corrupted one file will...
View ArticleSQL Server 2016 - Always On
Hi Team,The SQL server we are currently with 2016 clustering, based on the organization we are moving from clustering to Always On.Overview of our DB:All are OLTP databases and SSIS is running to fetch...
View ArticleLCK_M_S locks are matter to consider
Hi I have seen following waits on sql server and seen it LCK_M_S. So would that be matter to consider as performance point . select resource_type, --resource_database_id,ex.login_name,...
View Article