SQL Profiler On A Prod System...is It Safe?

Jul 20, 2005

I have been using the index tuning wizard to review some of my stored procs,
and views. So far most of my indexes have been set up well, but I am curious
as to how they would look under a production system load. I was thinking of
running a profile for about 30 minutes or so on the prod system, and then
using that profile for the index tuning wizard to see what it says.

Would this be of value?
Can running a profile on a prod system be dangerous?


--
BV.
WebPorgmaster - www.IHeartMyPond.com
Work at Home, Save the Environment - www.amothersdream.com

View 2 Replies


ADVERTISEMENT

Using Profiler Together With System Monitor

Jul 3, 2007

In SQL Server 2005 it is possible to correlate System Monitor Data with SQL Server Profiler Traces. But how does it works?

I do the following:
- I start a trace for lets say 10 minutes
- In the trace I include the StartTime and EndTime columns
- I stop the trace

Normally I should open 'FileImport Performance data' but this is grayed out. What am I doing wrong?

I also tried to run a Counter Log together with my trace but this also didn't work for me.

Thanks.

View 4 Replies View Related

Replicate Prod To Dev

Oct 2, 2007

how do you design a dev box?
how do you replicate from prod to dev?
Ideas will be appreacited.

do you get a bak file and restore it?
DTS ?
linkservers?
???

=============================
http://www.sqlserverstudy.com

View 19 Replies View Related

Change Folder Name From QA To PROD

Oct 28, 2014

I have table with column values as below. I need to change the folder name from QA to PROD.

C:QADocumentspdf1
C:QADocumentspdf2
C:QADocumentspdf3
C:QADocumentspdf4
C:QADocumentspdf5

and I need to change the path as below:

C:PRODDocumentspdf1
C:PRODDocumentspdf2
C:PRODDocumentspdf3
C:PRODDocumentspdf4
C:PRODDocumentspdf5

View 2 Replies View Related

Moving DTS Packages For Dev Env To Prod Env

Apr 15, 2008



Hi

How to move DTS packages from Dev env to Prod Env.(I know Export /Import).



Thanks in Advance.

View 6 Replies View Related

Web.config Method To Sql Server Both Dev And Prod

Aug 6, 2007

any suggestions on having one web config that once put on the dev servers uses the dev sql server and when put on prod will use the production sql server?
 would like to encrypt it and be done with it. but it needs to recognize the server it's on.
I have a connection class that does this - but i need to use sqldatasource and not objectdatasource.
 

View 5 Replies View Related

Tempdb Database Is Growing Every Second In PROD

Jul 7, 2004

for the first time in my long SQL DBA live I see such a behaviours. My tempdb database is growing every damn second since a this morning. Now it reached 30Gb, the log file is empty (217 Mb).

We use SQL 2000 Ent on Win 2000 Advance Server. Running Siebel Call Center (7.5 ver) with about 300 users.

Some users time to time obtain and hold a huge amount Exclusive locks on the tempdb extents

Where do I look for a leak?

Any ideas?

thx
Dim

View 6 Replies View Related

Create Reporting Instance From Prod

Apr 25, 2008

Hi all,

I've got two SQL Server 2000 (SP ??) instances (on two separate machines; Win Server 2003 Standard) that I've inherited. I want to use one of them as a reporting instance of production for a single ~4GB database, updated nightly.

In other DBMS's I'd set up log shipping or a simple dump-and-load to keep the two in sync, but I'm not very familiar with SQL 2000 (I used to admin a SQL Server 7 back-in-the-day but have been on Sybase ASE, MySQL (blech) and 'Orable since).

Any suggestions to do this easily and (fairly) painlessly?

Would I want to set up replication between the two? If so, which flavor?
-- To me, this seems a bit overkill. Plus I hate to muck with production unless I really need to

Would I use DTS to do this?
-- Seems straightforward but as I understand it, DTS under-the-covers is a bcp-type process, which can be fairly slow.

Or a simple dump-and-load (with copy)?
-- This seems the best option as we're already doing a nightly dump. However, the data will have to be shuffled off to the other server (or some sort of network share set up that it can access) and then a script fired off when the dump is complete. This seems the most "brittle" of the three options (if the dump hasn't finished yet, then the script copy and import will fail, etc.)

Surely this has been done over and over again (searching the archives didn't tell me anything, but the site search tool isn't that great).

Thanks!!

View 2 Replies View Related

Automation Tool For Migrating From Dev To Prod

Jan 16, 2008

Hello,

I have recently become a release manager for SRSS in our company.
Since then I've been swamped with requests to migrate reports, permissions and subscription lists from development environment to production.

Each time I have to do it manually with a lot of clicks. It is a real pain...

So, may be... may be there is an automation tool out there to help me? Does anybody know?

This tool or s/w package should move a report file along with its permissions and subscription lists from one server to another.

Please advise!

thanks,

View 1 Replies View Related

SSIS Configurations Working In Dev But Not In Prod

Mar 19, 2007

I have a package that uses configurations to override package settings based on what environment the package runs in. The package's configuration entries begins with an initial XML config entry that overrides the package's connection manager to a SQL database that holds the remaining configs in a table. Subsequent config entries then fetch their settings from the table. This package is run from a SQL job.

This all works fine in dev. When I moved everything into prod the packages are not getting configured and are using their values stored in the DTSX files. I've triple checked the XML config file, the tables with the configs, and the packages. There are no error messages. I've added some debuging steps to the package to verify that the configs in the table are not getting into the package.

I've also tried manually changing the configs in the table where the package is set to look if the initial XML config fails to adjust the config database location. The package still fails to see any configs from the table.

What could be different between dev and prod that would produce this situation? Both dev and prod have identical copies of the package and the job and are currently pointed to the same configurations database.

By the way, the other connections in the package work for both source selects and destination inserts. Only the configurations are failing, and again there is no error message.

View 6 Replies View Related

A Good Way To Use One Package In Dev And Prod - Best Practices

May 5, 2008

We have two different SQLServer 2005 databases, one for development and one for prod. I'm pretty new to DTS, and even newer to SSIS, and am working on converting a bunch of DTSs to SSIS.

Our DTS packages essentially were duplicated and edited for production because of the different server names, and some different directory names for sources and destinations. So the dev package would connect to the DBDEV database, and the prod to DBPROD, for example. When I create a package in dev and then copy it to prod, I have to go in and change all of the connections to now point to prod. There are also global variables pointing to various directories that need to be modified. Worse yet, there are also variables to directories set in ActiveX Script Tasks (which are deprecated and so need to be replaced). This is kludgy and error prone. So, since I'm learning SSIS and converting the packages, I would like to make them better.

What is a good way to specify the connections in a dynamic way? That way, when the packages are moved from dev to prod, the prod database can just be specified in one place. In other words, what are some best practices that I should know about? I'm reading this forum, and checking out links I find therein, but I also do better with specific examples (because I am so new to this).

Thank you for any guidance you can provide.
-thursday's geek

View 2 Replies View Related

Opinnion Requested - Dif Edition Of SQL For Dev Vs. Prod

Feb 13, 2008

For critical systems running SQL 2000 I've always believed the development, QA and production instances should all be the same edition of SQL Server. I didn't want to take a chance of something performing differently in development then in QA and production due to dev being Standard Edition and QA and production being Enterprise Edition.


For SQL Server 2005 would you agree with this approach? I'm only referring to critical systems. Non-critical I am willing to take the chance.


What are your thoughts?


Dave

View 5 Replies View Related

Run DTS In Safe Way.

Jul 23, 2005

I have two servers: progress as transational server and mssql as warehouseserver.I did DTS that "pumps" data from progress to mssql (via ODBC). Copying thedata has to be done once a day, but sometimes there is a need to do it onuser's demand.I'd like to ensure that I properly understood the method of running DTS I'vejust found using Google.As I can see, there are at least two methods (except of scheduling):- using dtsrun - which requires user running the DTS to have adminprivileges to use xp_smdshell- using sp_start_job - which requires creating a job prior to running theDTS.I think of using the second one as it seems to be more secure - am I right?Are there any hidden traps? What else should I do?--PL(remove "nie.spamuj.bo.w.ryj" from my email address)

View 2 Replies View Related

How Safe Is RS?

Apr 8, 2008

I am trying to persuade our security people to allow access to RS from external facing web sites. The web sites will talk to the SOAP interface over SSL so the firewall will need to open port 443 between the web server in the DMZ and the RS server inside the firewall.

Any credentials passed will be encrypted, so the main questions is around parameters to reports and the possibility of SQL Injection attacks. I need a white paper or other document that will convince them that RS will not allow SQL Injection or scripting attacks and properly validates parameters.

Does any such thing exist?

View 7 Replies View Related

Migrate Project From Test To Prod Environment?

May 3, 2007

So, we are about 3 weeks away from going into production, and somehow we failed to give much thought to deploying our RS project into production.

We have over 110 report models that need to be deployed into production, and until now, we just deploy into our dev and test environments using Visual Studio. But, in our production environment, our deployers will not have Visual Studio.

Is there any simply backup/restore method that can be used to move our test environment into production? Please don't suggest a copy of each file one at a time /sigh.

Appreciated,
Scott

View 2 Replies View Related

Using 32 Bit Sql Server For Disaster Recovery Of 64 Bit Prod Cluster

Feb 16, 2007



does anyone know of any potential issues of using a 32 bit sql server 2005 instance used for disaster recovery of a 64 bit sql 2005 cluster ?

thanks

View 2 Replies View Related

Setting Up Transaction Log Shipping In Prod Environment

Aug 21, 2007

Hi,

I currently have a 2000 Ent. production server and a stand by server ready for transaction log shipping.

Is it possible to setup transaction log shipping on a live environment without any interruptions?

I'm currently backing up the log every 1 hour, I'd like to increase to 15 minutes.

Any help would greatly be appreciated.

Thanks,
- Gary

View 4 Replies View Related

Where Should The .dtsconfig File Be Deployed On Dev,Prod Server

Nov 29, 2007

I am migrating from local to Dev,QA and Prod.
I created a .dtsconfig file containing database connection strings to Dev database. What is the "location" on the Dev server where this .dtsconfig file nees to be deployed to??

Thanks for your help.

View 5 Replies View Related

SP & Source Safe

May 3, 2001

Can anyone tell me how I can copy store procedures from SQL Server 2000 to Source Safe 6.0? I right-click the store procedure and cop
y it but when I got to the visual source safe it will not work. I therefore went through the soruce code control on Tool menu which I cannot see such commands. I do really need your help.

Regards,

View 2 Replies View Related

SQL Connection : Is It Safe?

Oct 27, 2007

I've recently planned to make a program that uses remote MSSQL connection. I'm not such an expert in security.
Please can someone tell me if it safe? and how can I improve my security. I know how to block SQL injection, but me fear is that some will hack my software for personal use.

Thanks, RedEyez.

View 3 Replies View Related

Safe Way To Cast

Nov 29, 2007

I have a table that stores a value called "LocationNumber" as a varchar. I didn't create the database, I just use it. Anyway I usually sort the list by Casting the LocationNumber to an Integer. If I don't cast it, it trys to sort it lexiographically i.e. 0, 1, 21, 3, 345, 9 instead of 0, 1, 2, 3, 9, 21, 345.

It works 99.9% of the time, but the other 0.1% of the time it runs into some text that somehow made its way into the database field, and it causes an error.

Is there a way to safely cast a number in SQL? So that it just returns 0 when the value is not a number.

View 8 Replies View Related

Running EXEs On Prod SQL Box Through Execute Process Task - Best Practices

Apr 8, 2008



Hi All,


We're trying to run an EXE from SSIS through "Execute Process" task.

The EXE folder contains other DLLs as well.

The EXE interacts with the database and reporting services and sends some e-mails(max 500 a day) out to customers.

My question is:
Is it ok to run this kind of EXE on the production SQL box?
If not, why?
(People argue that running EXEs is not advisable on production boxes)

Q: Why did Microsoft introduce "Execute Process" task when we cannot run EXEs on the production box?

If somebody can educate whether it's ok to run such EXEs on prod SQLs.

In either case, some explanation is greatly appreciated.


Thanks,
Siva.

View 8 Replies View Related

Safe Columns Names

May 28, 2004

Hey,

I'm creating registration form.

To show fields names I thought to read columns names.

It's ok if columns is named like "Name", "Age" etc.
But if the columns is named [Country, Address, PostCode] then, I think, it can course some problems. Am I right?

First problem I thought about - changing database in the future (Now MS SQL 2k to MySQL etc.)

Is this the only problem?

To solve this I think using table which store syscolumn names as user defined columns names.

My system is speed critical and using this I would get less performance.

Which way should I go?

Case saving columns names in table, how to generate safe column name from user specified name, which can have special charters.

Thanks

View 6 Replies View Related

Source Safe And SQL Server 7.0

Oct 11, 2000

I'm in the process of locking down our SQL Server development environment and wanted to implement some type of version control, not just for stored procedures but for all database objects (tables, triggers, etc.)

A while back I read an article that explained how to utilize Visual Source Safe to establish version control for databases. If I recall correctly, I believe it had something to do with Visual Interdev and creating some project with Visual Interdev.

If anyone can provide alittle more insight into how to accomplish this, or at least point me in the right direction, it would be greatly appreciated.

Thank you in advance for your help!

View 3 Replies View Related

SQL-safe String Inserts

May 13, 2008

We have a VB.Net 2005 application that uses SQL CE 3.1 as its embedded database.

Frequently in the application, we must store strings with apostrophes, quotes, and all kinds of other stuff. It's totally unwieldy to try and manually escape every nonstandard character in every string... this is why we need to know how to handle this issue for all possible input.

What is the best method we can use to store any string, no matter what characters occur in it? The reason we must now improve our string handling is that we are now being required to store MD5 hashes of files for security and duplicate file avoidance, and these hashes usually break our import functions.


We normally enclose strings in single quotes ('). But, with the hashes as mentioned above, none of our current code works. Again: how can we be certain that the exact string we pass in will be stored in its current form, no matter what the characters?

THANKS

View 1 Replies View Related

Is WITH ENCRYPTION Now Safe In SQL2005?

Nov 5, 2005

Hi,has anybody knowledge about the safetyness of encrypting stored procs inSQL-Server 2005 using WITH ENCRYPTION? Or can they be hacked with the sameold tools which exists for SQL 2000?thanks,Helmut

View 7 Replies View Related

ActiveX Safe For Scripting

Jul 30, 2007

Can someone help

I create a activeX with c# .net 2005, and need that it be "safe for scripting", but I don't have examples for do it


help me please

thanks

View 1 Replies View Related

Data Driven Subscriptions - Triggers Multiple Times On Prod Servers?

Mar 7, 2008



Hey!

DDS triggers 3 - 4 times on Report Servers with 15 mints apart..any ideas?

View 3 Replies View Related

Autogrow Of File 'Prod' In Database 'Production' Was Cancelled By The User Or Timed Out

May 27, 2008

We are running Microsoft SQL 2005 Express.

All queries on our Production database are timing out. Viewing the error log file the following show up over and over again:

Autogrow of file 'tempdev' in database 'tempdb' was cancelled by user or timed out after 3937 milliseconds. Use ALTER DATABASE to set a smaller FILEGROWTH value for this file or to explicitly set a new file size.

Autogrow of file 'Prod' in database 'Production' was cancelled by user or timed out after 33156 milliseconds. Use ALTER DATABASE to set a smaller FILEGROWTH value for this file or to explicitly set a new file size.

Our production database is about 1 gig in size with 3.5 million records. I tried setting the autogrow from 30% which it was before to 100MB, but no luck, still timing out and getting the errors above. Permission should be all good, nothing has changed.

There is about 50gigs of available disk space as well, so that's not the problem. Thanks for the help.

View 51 Replies View Related

Data Access :: Error On Restore Database From Prod To Reporting Server

Aug 31, 2015

I'm having an issue to restoring database from prod to report server. I'm getting following error.

When I did Manually I got first error as below.

Msg 233, Level 20, State 0, Line 0 A transport-level error has occurred when sending the request to the server. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)

This is the second error

Msg 3044, Level 16, State 1, Line 37
Invalid zero-length device name. Reissue thestatement with a valid device name.
Msg 3013, Level 16, State 1, Line 37
RESTORE DATABASE is terminating abnormally.
Msg 5011, Level 14, State 5, Line 45
User does not have permission to alter database 'XeP', the database does not exist, or the database is not in a state that allows access checks.
Msg 5069, Level 16, State 1, Line 45
ALTER DATABASE statement failed.

Script Which I used.

USE Master;
GO 
SET NOCOUNT ON

-- 1 - Variable declaration
DECLARE @dbName sysname
DECLARE @backupPath NVARCHAR(500)

[Code] .....

View 26 Replies View Related

System.Security.SecurityException: Request For The Permission Of Type 'System.Data.SqlClient.SqlClientPermission, System.Data

Aug 21, 2006

I have created a windows library control that accesses a local sql database

I tried the following strings for connecting

Dim connectionString As String = "Data Source=localhostSQLEXPRESS;Initial Catalog=TimeSheet;Trusted_Connection = true"

Dim connectionString As String = "Data Source=localhostSQLEXPRESS;Initial Catalog=TimeSheet;Integrated Security=SSPI"



I am not running the webpage in a virtual directory but in

C:Inetpubwwwrootusercontrol

and I have a simple index.html that tries to read from an sql db but throws

the error

System.Security.SecurityException: Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.PermissionSet.Demand()
at System.Data.Common.DbConnectionOptions.DemandPermission()
at System.Data.SqlClient.SqlConnection.PermissionDemand()
at System.Data.SqlClient.SqlConnectionFactory.PermissionDemand(DbConnection outerConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection,

etc etc

The action that failed was:
Demand
The type of the first permission that failed was:
System.Data.SqlClient.SqlClientPermission
The Zone of the assembly that failed was:
Trusted


I looked into the .net config utility but it says unrestricted and I tried adding it to the trusted internet zones in ie options security

I think that a windows form connecting to a sql database running in a webpage should be simple

to configure what am I missing?

View 28 Replies View Related

Multiple Instances Is It Safe And Secure ?

Feb 6, 2002

Hi everybody.
One of department want to place db application from one server somewhere else on corparation network for 3 month period.
Problem is they want to keep it with max security.
Company does not want set up another server , so we want to create another
Instance and place database on it.
1. Is safe to keep 2 instances on same server ?
2. How remove access to this instance from members of local and domain admin role(If we deny acces to BuildInAdministrators how it is going to affect security?)
Thank you

View 1 Replies View Related

SQL2000 Toast But Ldf And Mdf Safe On Alt Drive

Feb 9, 2008



AD corrupt on RAID caused SBS 2003 to require reinstalling, no back ups.

Due to space constraints, database was attached to the D: drive so all is lost on the OS but the LDF and MDF files are safe on the other drive. Since a complete re-install of SBS 2003 is required I'm going to go with SQL 2005. How can I re-attach the old database to the new install?

Thanks in advance for any assistance,
Jeff

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved