Microsoft SQL Server

Microsoft SQL Server

Application and Data / Data Stores / Databases
Site Reliability Engineer at Cooperative Bank Of Thessaly·
Needs advice
on
GraylogGraylog
and
PrometheusPrometheus

We are a small bank and we have 5 VMware ESXi servers with mainly Windows Server VMs with numerous windows services installed and most of these servers have Microsoft SQL Server and Microsoft IIS installed. Also we have some applications that have application logs (mainly in a db table) and we have a few Hangfire instances and one MQ Series server.

Now the management gave me the task of site reliability (I'm fairly new to this) which means all Windows Services must run 24/7 so I have to know if a service fails to start. All databases must run properly so I have to know locks, Query performance, and any SQL Agent job failures. The same goes for IIS websites/services must be up and running all the time.

In addition to these, I must collect all the Hangfire job failures(which are a lot) as well as general server metrics like CPU, RAM, I/O Disk, Disk sizes, etc.

On top of all these, I must setup alerts via Slack/sms or mail. Now the question which tool or a stack of tools can achieve all that?

READ MORE
4 upvotes·12.7K views
Replies (1)
Recommends
on
New Relic

Please check the NewRelic, It has most of the capabilities that you were expecting with dashboards and alerts with SMS/Email notification options.

READ MORE
3 upvotes·2.1K views
Needs advice
on
.NET Core.NET CoreFlutterFlutter
and
RedisRedis

Hi Friends, I am planning to create a web and mobile app for eCommerce purposes, which is very similar to Swiggy.com/Zomato. Started this app and created API using .NET Core, Entity Framework, and Microsoft SQL Server as DB. Consuming this API in Flutter for mobile and web UI. Just want some help and suggestions about this selection. Worrying about the application's scalability and performance, please suggest me a good architecture to create this application, which may be used by more people over a period of time.

READ MORE
6 upvotes·150.9K views
Replies (3)
Mobile Application Developer ·

We have used the same stack for the same reason and It was pretty enough and scalable. If you set your databases in an efficient way and your APIs as well, everything will be fine.

READ MORE
2 upvotes·875 views
Database Consultant at Aerospike·

Hey Karthikeyan,

I know it's been some time since you posted this question but I'm curious on which direction you ended up going in, what were the results and have you run into any of the scaling challenges you anticipated seeing?

READ MORE
1 upvote·62 views
View all (3)

Which option do you prefer to go with (considering scalability, and a limited budget):

Technologies in use: Angular / .NET Core 6

What do we want to achieve?

We want to create simple near-time web notifications, those notifications can be categorized into 2 sections:

  • User notification: which represents user activities and engagements.

  • System notification e.g release notes and maintenance time. The notification object is too simple just a title, body, userId, notificationStatus, and readAt. notification status is an enum with 3 values: unread, menuOpened, Read.

Options:

  1. use Firebase Realtime Database for user notifications and Microsoft SQL Server for system notifications (maybe using long poling or so to frequently call the getSystemNotification API ).

  2. use SignalR to push new notifications along with the SqlServer database and store both user and system into one table (as they almost have the same attributes)

READ MORE
4 upvotes·159.3K views

I have a project (in production) that a part of it is generating HTML from JSON object normally we use Microsoft SQL Server only as our main database. but when it comes to this part some team members suggest working with a NoSQL database as we are going to handle JSON data for both retrieval and querying. others replied that will add complexity and we will lose SQL Servers' Unit Of Work which will break the Atomic behavior, and they suggest to continue working with SQL Server since it supports working with JSON. If you have practical experience using JSON with SQL Server, kindly share your feedback.

READ MORE
5 upvotes·57.4K views
Replies (2)
Software Engineer III ·

I agree with the advice you have been given to stick with SQL Server. If you are on the latest SQL Server version you can query inside the JSON field. You should set up a test database with a JSON field and try some queries. Once you understand it and can demonstrate it, show it to the other developers that are suggesting MongoDB. Once they see it working with their own eyes they may drop their position of Mongo over SQL. I would only seriously consider MongoDB if there was no other SQL requirements. I wouldn't do both. I'd be all SQL or all Mongo.

READ MORE
4 upvotes·33.6K views
Principal Software Engineer at Accurate Background·

I think the key thing to look for is what kind of queries you're expecting to do on that JSON and how stable that data is going to be. (And if you actually need to store the data as JSON; it's generally pretty inexpensive to generate a JSON object)

MongoDB gets rid of the relational aspect of data in favor of data being very fluid in structure.

So if your JSON is going to vary a lot/is unpredictable/will change over time and you need to run queries efficiently like 'records where the field x exists and its value is higher than 3', that's a great use case for MongoDB.

It's hard to solve this in a standard relational model: Indexing on a single column that has wildly different values is pretty much impossible to do efficiently; and pulling out the data in its own columns is hard because it's hard to predict how many columns you'd have or what their datatypes would be. If this sounds like your predicament, 100% go for MongoDB.

If this is always going to be more or less the same JSON and the fields are going to be predictably the same, then the fact that it's JSON doesn't particularly matter much. Your indexes are going to approach it similar to a long string.

If the queried fields are very predictable, you should probably consider storing the fields as separate columns to have better querying capabilities. Ie if you have {"x":1, "y":2}, {"x":5, "y":6}, {"x":9, "y":0} - just make a table with an x and y column and generate the JSON. The CPU hit is worth it compared to the querying capabilities.

READ MORE
2 upvotes·1 comment·44.9K views
Yves Basquet
Yves Basquet
·
January 29th 2022 at 6:38AM

Hi Blacknight. If your single motivation is to store JSON, don't bother and continue with SQL Server.

When it comes to MongoDB, the true power is getting out of the standard relational DB thinking (a MongoDB collection is very different to a SQL Server table).

It takes a while to shift, but when you have and you realise the power and freedom you get (to basically store the data in the most adhoc form for your need), you'll never go back to SQL Server and relational.

·
Reply

Looking for the best analytics software for a medium-large-sized firm. We currently use a Microsoft SQL Server database that is analyzed in Tableau desktop/published to Tableau online for users to access dashboards. Is it worth the cost savings/time to switch over to using SSRS or Power BI? Does anyone have experience migrating from Tableau to SSRS /or Power BI? Our other option is to consider using Tableau on-premises instead of online. Using custom SQL with over 3 million rows really decreases performances and results in processing times that greatly exceed our typical experience. Thanks.

READ MORE
7 upvotes·1M views
Replies (2)

You need to start using Datawarehouse (DWH) solution and then feed data to tableau. For that you need to setup data pipelines and then transform data in the DWH, move all the custom queries into the DWH. This process is called ELT. You need AWS Redshift or Google Bigquery, a serverless scalable solution, this is the bottle-neck on your current SQL, not meant for processing millions of rows of data. A team of Data engineers can help you to setup these solutions.

READ MORE
6 upvotes·1 comment·4K views
Paul McDonald
Paul McDonald
·
March 28th 2022 at 3:42PM

Agree with Parth this sounds like an architecture issue not a tool problem.

Tableau is a great Analytics tool but if you keep utilising large extracts with lots of filters there will be performance hits.

Try switching from a mass extract filter exclude model to direct connect, include model. For performance I can highly recommend Snowflake as the DWH platform which has been a game changer for us. Good luck.

·
Reply

BI tools are only as good as the data they're connected to. If you're already experiencing performance issues, you might want to consider a cloud database like Snowflake.

In my experience, there isn't a whole lot of a difference in PBI vs Tableau, for the vast majority of analysis. Personally, I favor Tableau because you can make really fancy/pretty things, but most business don't require that level. Most of the time I've seen people choose PBI due to cost or their team is already familiar with the platform.

I also recommend checking out Sigma Computing (sigmacomputing.com), they are a BI tool built like a spreadsheet so it's easy for people to learn and understand, and they're specifically built to optimize Snowflake connections.

READ MORE
6 upvotes·455 views
Needs advice
on
C#C#
and
sqlsql

Want to link my sys login by fingerprint to access login my sys by same login user How I can do that's. I'm using C# and Microsoft SQL Server

READ MORE
2 upvotes·12K views
Data Engineer at n/a·

We have a 138 row, 1700 column database likely to grow at least a row and a column every week. We are mostly concerned with how user-friendly the graphical management tools are. I understand MySQL has MySQL WorkBench, and Microsoft SQL Server has Microsoft SQL Server Management Studio. We have about 6 months to migrate our Excel database to one of these DBMS, and continue (hopefully manually) importing excel files from then on. Any tips appreciated!

READ MORE
3 upvotes·821.2K views
Replies (1)
Software Engineer ·

I'm not sure I can comfortably recommend either tool as i don't believe either is really suitable for the use case you describe. In fact, I would question the soundness of the use case in the first place. The whole idea behind RDBMs (like Microsoft SQL Server and MySQL) is to store data in a relational way. To have a table with 1700 columns sounds foreign to the RDBMs paradigm already but to have that number growing by one every week is a big design smell. As a rule of thumb, making database schema changes should be avoided if at all possible. Adding a column to a table is a schema change and you're talking about making a schema change on a weekly basis. Adding rows is fine. That's what RDBMs are good at.

Having said all this, SQL might well be perfectly suited for your needs but I would suggest you rethink the way you organise your data. There's a very good chance that you might be able to represent all the data you need by making use of a hand ful of normalised tables, as opposed to one enormous flat table such as you're describing.

READ MORE
2 upvotes·3 comments·2.7K views
Kelsey Doolittle
Kelsey Doolittle
·
February 17th 2021 at 8:31AM

Firstly, thanks so much for the response. I guess it is helpful to clarify that this is our CURRENT setup, and indeed we are hoping to divide into more tables to better access the data. I also worry about changing the database schema on a weekly basis. This is unfortunately just the nature of our data. Do you have recommendations for another type of database structure that would better fit this? We looked into NoSQL but couldn't find concrete evidence that this would be better suited to our needs.

·
Reply
Dewald Swanepoel
Dewald Swanepoel
·
February 18th 2021 at 4:10PM

Yeah I'm afraid I don't think I'm gonna be of much help to you. It depends of course on how you want to extract data but my gut feel says that a document type dbms (nosql) wouldn't be all that useful either. But without better knowledge of your data I can't really say. Nosql databases are ideal for data with a loosely defined structure but it sounds like yours is not loosely defined but ever changing.

·
Reply
Kelsey Doolittle
Kelsey Doolittle
·
February 19th 2021 at 8:13AM

Well it sounds like perhaps it doesn't matter what SQL RDBMS I use, just necessary to have a good schema and a schema change management strategy of sorts

·
Reply

I'm evaluating the use of RedisGraph vs Microsoft SQL Server 2019 graph features to build a social graph. One of the key criteria is high availability and cross data center replication of data. While Neo4j is a much-matured solution in general, I'm not accounting for it due to the cost & introduction of a new stack in the ecosystem. Also, due to the nature of data & org policies, using a cloud-based solution won't be a viable choice.

We currently use Redis as a cache & SQL server 2019 as RDBMS.

I'm inclining towards SQL server 2019 graph as we already use SQL server extensively as relational database & have all the HA and cross data center replication setup readily available. I still need to evaluate if it fulfills our need as a graph DB though, I also learned that SQL server 2019 is still a new player in the market and attempts to fit a graph-like query on top of a relational model (with node and edge tables). RedisGraph seems very promising. However, I'm not totally sure about HA, Graph data backup, cross-data center support.

READ MORE
4 upvotes·50.1K views
Replies (1)
President at Learn About Green LLC·
Recommends
on
Neo4j
in

When I looked at the graphing database solutions a few years ago, Neo4j won hands down. Plus, as a small company, I had access to it for free. Ask them about pricing, and it might actually end up being lowest cost. They now have a managed version called Neo4j Aura that I am very interested in so I don't have to manage the server. I haven't started using it. But a cursory investigation showed that Neo4j Aura was still probably the best alternative for my needs.

READ MORE
4 upvotes·2.2K views

Greetings Guys,

I want to develop an E-Commerce app and a web app.

For E-Commerce App ( Cross-Platform) - Thinking of React Native instead of Flutter or Kotlin Multiplatform

For Web App - Thinking of ASP.NET Core

My thoughts -

a) ASP.NET is really good for a big enterprise-level application like Java. So it should be great for an eCommerce app website for large customers.

b) Since I don't want to develop two different apps for android and iOS, cross-platform will be good. Will save budget and time. React native is popular with its support and libraries. So it seems good.

(P.S. - I might be biased because I know ASP.NET. But will welcome your insightful Answer).

So Is it a good choice - for a web app and a mobile app? Let me know if you think I should use other stacks for mobile and web?

For Database, Is Microsoft SQL Server appropriate? Which database should I select - SQL database or NoSQL Database? Please provide another option apart from SQL Server.

(P.S - I know SQL Server is used for Big banking services. So it can handle a large number of transactions. If I am wrong, please correct me.)

Thank you in advance :)

READ MORE
4 upvotes·68.1K views
Replies (2)

Hi, if you already knows ASP.NET you should consider nopCommerce, as it's an Open Source platform for e-commerce. It's easy to setup and customize, and you should learn a lot using it. Also, if you are familiar with C# you should use Xamarin to develop a mobile app.

READ MORE
4 upvotes·4 comments·10.6K views
Arslan Ameer
Arslan Ameer
·
December 29th 2020 at 12:09PM

Well .Net Core is no doubt very strong. But nowadays we have many easy options to develop and deploy right away with too much variety of technologies and platforms. For cross platform with asp.net, xamarin suit that stack. But if you are into reactive native then why not considering React or complete stack for Web, mobile and Desktop. you still can write APIs in .net if you want to.

My choice of stack in this case even though i am a beginner too would be, Angular, Electron & ionic. Apis on node express.

·
Reply
The NewBie
The NewBie
·
January 4th 2021 at 12:17PM

Thank you for advice! :)

·
Reply
The NewBie
The NewBie
·
January 4th 2021 at 12:17PM

Thank you for advice! :)

·
Reply
Anastasiia Komarova
Anastasiia Komarova
·
January 21st 2021 at 10:43AM

Hey, we've been working for quite a while with E-Commerce related apps and platforms in terms of files uploading and processing. Maybe you'll find it useful as well. Feel free to check out our case with Shogun https://uploadcare.com/customers/shogun/

Or just drop me a line and we can discuss in detail how we could help :)

·
Reply
Needs advice
on
ReactReact
and
Vue.jsVue.js

I am working on a new project and need advice on which front-end technology to use. The back-end is all written in C# MVC and Microsoft SQL Server databases. In the current project, we are using the same technology stack for the front-end; we are using cshtml (razor) with jQuery.

READ MORE
6 upvotes·116.6K views
Replies (7)
Recommends
on
Vue.js

If you are used to use JQuery, Vue.js more similar to Jquery because you only can import a CDN and start to work. Vue is really flexible and you can use it wherever you want.

In other hand, if you have time to learn and install a new framework as React, use it. React works with a standard and several conventions in his code, then is really easy integrate new libraries and plugins .

READ MORE
6 upvotes·1 comment·1.7K views
Alex Spieslechner
Alex Spieslechner
·
July 22nd 2020 at 7:39AM

this is not entirely correct. just like vuejs, reactjs can work with just the referenced script (tag). so you dont need a build pipeline in either. you massively miss out on features and DX though.

the notion that react has several conventions / a standard is also slightly incorrect. out of all choices, react is the least opinionated. its as close to "true" javascript, as it gets. there is no official state-management, routing, etc. so this is all your choice.

vuejs on the other hand takes some decisions off you (benefitial to new developers). there is an official routing library, an official state management lib: vuex, and an official way to approach styling. you get the point.

·
Reply
Software Engineer ·
Recommends
on
Vue.js

both are absolutely great choices. while you'll find more resources and a larger community with react, vuejs typically does some quality of life "magic" for you. its pure taste.

if your html markup comes from razor, I'd recommend globally registered Vue components though. I've successfully used this stack for 4 years. (content from sitecore cms rendered through razor, enriched with vuejs components)

in any case, you will want to try to remove jQuery, if you pick a frontend library, as you should not mix two ways to modify the DOM. it wont break but its unnecessary bloat.

READ MORE
4 upvotes·1.8K views
View all (7)