Avatar of lankapala
lankapala

asked on 

Giving direct access rights to main database issues

Hi,
I need to know if i give users to give read only direct access main database create reports (using Excel -odbc,OLEDB), what kind of issue we will get.
Our server :20GB RAM ,Database : Sql server 2008R2
Users around :300
DatabasesMicrosoft SQL ServerMicrosoft SQL Server 2008

Avatar of undefined
Last Comment
Megan Brooks
Avatar of Megan Brooks
Megan Brooks
Flag of United States of America image

If you are providing access to a specific set of reporting tables, the main issue I can think of is the added complication of having to configure and support client-server connections for each user (it brings back memories). If users also issue ad hoc queries through their connections, that can be trouble (imagine what happens when somebody cross joins two enormous tables, or holds a transaction open for hours, or... - and these are actual examples).

If you grant access to your main OLTP tables, that is likely to be trouble from both a performance and a support standpoint. Locking, needing support for figuring out joins, change control.

Of course it depends on how many users, how large a database, how well the database is built, and so on.
Avatar of Vitor Montalvão
Will they be able to create their own queries?
If it's only for running existing queries I don't see a big issue since the queries should be tested before.
But if they are allowed to create their own queries they can perform very slow running queries that will create locks and maybe an high usage of the server resources.
Avatar of lankapala
lankapala

ASKER

yes.Many thanks , at the moment most of users just drag and dropping creating own queries using Excel. so i need to stop this. because database getting poor performance. so i need to give very valid and professional answer for the some managers,who are not know about IT. so I'm planing introduced Dataware house.

do you know what kind of locks will generate for this issue. recently i got some dead locks. i think it's possible Dirty read and may Exclusive locks?
Avatar of Megan Brooks
Megan Brooks
Flag of United States of America image

Are you granting access to your OLTP tables? Don't!

Designing reliable database and reporting systems is not trivial.
Avatar of lankapala
lankapala

ASKER

Thanks Megan. Yes it's OLTP. users already have granted access to OLTP tables.(this is ERP Database).
ASKER CERTIFIED SOLUTION
Avatar of Megan Brooks
Megan Brooks
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of lankapala
lankapala

ASKER

ok thanks, as i said i will create Data warehouse.
Avatar of lankapala
lankapala

ASKER

thanks
Avatar of Megan Brooks
Megan Brooks
Flag of United States of America image

You can develop a data mart for information that isn't being provided by the ERP vendor. You will need to figure out when you can run ETL, presumably during off hours, if you have off hours.
Microsoft SQL Server
Microsoft SQL Server

Microsoft SQL Server is a suite of relational database management system (RDBMS) products providing multi-user database access functionality.SQL Server is available in multiple versions, typically identified by release year, and versions are subdivided into editions to distinguish between product functionality. Component services include integration (SSIS), reporting (SSRS), analysis (SSAS), data quality, master data, T-SQL and performance tuning.

171K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo