Quantcast
Channel: Database Design forum
Browsing all 2729 articles
Browse latest View live

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 Article


SQL 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 Article


Default 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 Article

Is 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 Article

DB 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 Article


Indexing 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 Article

sp_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 Article

Encrypt SQL Database

How do I do this

View Article


Data 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 Article


Not 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 Article

Select 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 Article

Data 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 Article

Permission 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 Article


Incremental 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 Article

check 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 Article


Tempdb 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 Article

Database 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 Article


over 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 Article

SQL 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 Article

Image may be NSFW.
Clik here to view.

LCK_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
Browsing all 2729 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>