Deploying Performance Changes To Production?
Oct 14, 2014
Was wondering, when performance changes have been made to existing code and deployed to a production environment, should anything be done regarding clearing old cache?
Is there a risk of the new code picking up cold or wrong cached query plans etc?
I know you can't clear the cache for the full system as it will affect everything else. But are the ways to target the changes? I.E run the new code with an OPTION (RECOMPILE) few times to build up new clean plans for it to use?
Or will the update stats see it is using bad plans and then start creating new clean ones over time?
View 5 Replies
ADVERTISEMENT
Apr 27, 2008
Hi
I need to move my packages from development to production.
In the development the database name is dev and in producton it is prod.
The username passwords are also different .
When i deploy my packages in production i dont think so it will work any pointers on how to make these things configurable like when the person deploying this package runs it he is prompted for the connection string and username and password
regards
Hrishy
View 2 Replies
View Related
Aug 24, 2007
We have a system here where we develop SSIS packages on a development server. I am trying to figure out the cleanest way to promote these changes to a production server where stored procedures/tables that are used in the package are not deployed yet.
When I switch the connection in the package to the production server there are alot of objects in the package that are "invalidated" because they are trying to verify existence of tables/columns. One example is outputing the results of a query to a text file. The text file destination gets a red X on it because it cant grab the columns from the source query (because that stored procedure doesnt exist yet)
Is there a best practices or something on how to deploy packages to a production system? I have tried turning off "ValidateExternalMetaData" with no success.
Thanks!
View 3 Replies
View Related
May 9, 2007
hello experts,
i need help with deployment of reports (SSRS 2005). we need to deploy many reports (more then 100) on the production everytime we make changes in them.
"the problem is we cannot install visual studio on the server to open the project and use the deploy option from it" i tried using the script - PublishSampleReports.rss
but everytime i run i need to go and manully configure the report to map the shared datasource to it. any way to pass the information in the script itself, or is there any smart way to deploy on production.
/chandresh soni
View 2 Replies
View Related
Mar 19, 2008
Hello All,
I am having an issue deploying reports to my Production server via VS 2003 IDE.
The scenario is that I have a dev box with all 3 components installed on the same server(VS 2003, SQL 2000, sp3 , IIS and Report Server). I have no problem deploying to this Dev server. Now I need to deploy them to a different server(Release) in a different Domain. The Release implementation is, IIS and Report Services installed on one Server and SQL instance on a different server , but both IIS and SQL server are in the same domain. So in my VS 2003 IDE I choose a project/solution and then right click to Deploy I get an error " A connection could not be made to the report server <server URL>". My Solution Property page "Target Server URL " is pointed to this Release server virtual directory(http://Release:81/Reports). This Relase IIS web server has different web site, I installed the RS in the Default website.
I can browse RS server(http://Release:81/Reports) from anywhere via web and get to Site settings and all, But I cannot deploy from VS2003. Am I missing anything? Earlier I used to get at least log-in credentials to enter my UID and PW, as I provide them I never got anything back, it keeps asking me for UID and PW. Now I straight away get "Conection could not be made" error.
Any insights will be very helpfull.
Thank you
Ranjit
View 2 Replies
View Related
Apr 12, 2006
This seems like a rather simple questions that I've hesitated posting for a day now, but as of yet I can't really find an answer through my searches online.
My SSIS package is using a couple of the Konesans Transforms, this worked fine on my development box with my dev SQL server. The time has come now to deploy my package to my production SQL server. The instructions on installing the transforms on my dev box all uses Visual Studio to add the components.
Is there a way to deploy 3rd party (own my own) SSIS tasks with the package? Does it require a seperate install? How can I do it without Visual Studio?
Thanks for any help,
-Dan
View 7 Replies
View Related
Aug 30, 2006
Dear fellow developers,
I have successfully developed a Transact-SQL stored procedure which calls a CLR function, which calls a web service. I am using a Visual Studio 2005 SQL Server Project to perform the necessary magic.
Is there a neat way to deploy this stuff to a production server?
It is bad enough deploying the sp and function, but the web server proxy also needs to be changed to refer to the production web service.
This all looks very nasty and complicated.
Am I missing something?
View 4 Replies
View Related
Jan 2, 2008
Hai,
we have a Dell pe 6600 server running for our ERP Application databases. version of Sql server is 2000 with sp4. OS is windows 2000 with SP 4 .we were running out of space in server and we planned to upgrade the harddisks.
after upgradation, the Performance of the server is very slow. Even zipping of .bak files from one drive to other is slow (which is not related to database). In old setup (before upgradation ) , to zip .bak files (backup files of DB's)(tot Size : 90 GB) use to take 3hrs 40 mins. Now it is taking more than 10 Hrs. There are no errors found in Windows Event viewer and SQL Server.
we logged a call with Dell and finally, dell said that they could not find any errors in raid configuration or harddisks. all the firmware and bios versions are up todate. Application vendor is also saying that, the database is fully optimized. we could not find out the reason for the sluggish performance and we feel that this is something to do with hardware or with raid configuration.
From our analysis,any activity that requires a read or write activity from the harddik is slow.( but server vendor is saying that there is no problem in the hardware.)
Activities analysed (all at zero load on server)
1) backup thru SQL Server - 40 mins (old setup)
backup thru SQL Server - 2 hrs (New setup)
2) zipping of .bak files (from Raid 5 HDD to Raid 1 HDD)
old setup - 3 hrs 40 mins
New setup - 8 hrs 30 mins
3) all the schedulers (both windows and sql server) are dead slow.
4) Maintenance jobs for databases
old setup - 5 - 6 Hrs
New setup - 11 - 12 hrs
after analysing all the above activities ,we came to a conclusion that the problem may not be with sql server.
But we could not trace out the problem till now. since it is the production server we are not able to take downtime that easily. i have given the old set up and new setup configuration below.
Note: the server lies with the same configuration in both old set up and new setup.(only harddisks are upgraded.
Please help me to solve this issue
As of now, we have decided to start from the scrap once again. before that can i get some help ???
old set up:
Raid 1 - 32 x 2 - (two Partitions C and D )
C - OS , D - Batch Files
Raid 5 - 72 x 5 - (two Partitions E and F ) (1 harddisk - Hotspare - 4 hdd will be used for raid)
E - .MDF Files , F - .BAK Files (Backup of database files will be stored here temporarily before moving it to tapes)
Raid 1 - 32 x 2 - (two Partitions G and H )
G - .LDF Files , H - to store the zipped .bak files ( we have a windows sceduler which zip the .bak files in E drive and place the .zip files in H drive)
New Set up:
Raid 1 - 72 x 2 - (two Partitions C: and D )
C - OS , D - Batch Files
Raid 5 - 300 x 5 - (two Partitions E and F ) (1 harddisk - Hotspare)
E - .MDF Files , F - .BAK Files (Backup of database files will be stored here temporarily before moving it to tapes)
Raid 1 - 72 x 2 - (two Partitions G and H )
G - .LDF Files , H - to store the zipped .bak files ( we have a windows sceduler which zip the .bak files in E drive and place the .zip files in H drive)
View 3 Replies
View Related
Sep 12, 2004
1. Use mssql server agent service to take the schedule
2. Use a .NET windows service with timers to call SqlClientConnection
above, which way would be faster and get a better performance?
View 2 Replies
View Related
Jun 23, 2006
Hello Everyone,I have a very complex performance issue with our production database.Here's the scenario. We have a production webserver server and adevelopment web server. Both are running SQL Server 2000.I encounted various performance issues with the production server with aparticular query. It would take approximately 22 seconds to return 100rows, thats about 0.22 seconds per row. Note: I ran the query in singleuser mode. So I tested the query on the Development server by taking abackup (.dmp) of the database and moving it onto the dev server. I ranthe same query and found that it ran in less than a second.I took a look at the query execution plan and I found that they we'rethe exact same in both cases.Then I took a look at the various index's, and again I found nodifferences in the table indices.If both databases are identical, I'm assumeing that the issue is relatedto some external hardware issue like: disk space, memory etc. Or couldit be OS software related issues, like service packs, SQL Serverconfiguations etc.Here's what I've done to rule out some obvious hardware issues on theprod server:1. Moved all extraneous files to a secondary harddrive to free up spaceon the primary harddrive. There is 55gb's of free space on the disk.2. Applied SQL Server SP4 service packs3. Defragmented the primary harddrive4. Applied all Windows Server 2003 updatesHere is the prod servers system specs:2x Intel Xeon 2.67GHZTotal Physical Memory 2GB, Available Physical Memory 815MBWindows Server 2003 SE /w SP1Here is the dev serers system specs:2x Intel Xeon 2.80GHz2GB DDR2-SDRAMWindows Server 2003 SE /w SP1I'm not sure what else to do, the query performance is an order ofmagnitude difference and I can't explain it. To me its is a hardware oroperating system related issue.Any Ideas would help me greatly!Thanks,Brian T*** Sent via Developersdex http://www.developersdex.com ***
View 2 Replies
View Related
Apr 26, 2007
Hi All,
I am adding a reporting suite to our application based upon SSRS 2005 and I am looking for a comprehensive example of how I go about deploying this.
Essentially I want to automate the entire process:
Create the DB, Create the Virtual Dirs, add my reports etc.
I have looked at the documentation and it is limited to say the least. I went down the route of attempting to script the whole thing and after 3 days of it I was still stuck on a few problems so I was hoping that someone knows of an example of how to go through all of these processes.
An example of the problems I ran into is that the "CreateVirtualDir" method on the reporting services WMI objects simply didn't work. It didn't return an error but it didn't create the Dir either!
The documentation around this method and most others is ambiguous and contains no examples.
I then went down the route of using IIS WMI to create the dirs which worked but then I was unable to update the Reporting Services configuration to pick this up without resorting to changing the config files directly - and even when I did this they didn't always seem to be picked up.
So at present instead of giving our guys in deployment a 1 click install they have a 9 page document explaining the install and set up of Reporting services from start to finish.
Any help or more thorough documentation would be greatly appreciated.
thanks,
Dhugal.
PS: Just to add I have already altered our install to install the RS module along with SQL Server so that bit is covered. I just want to script the entire configuration process.
View 1 Replies
View Related
Nov 7, 2006
what is the easiest way to deploy a database for a webapp? i have create table scripts but waht is the easiest way to go about inserting data into lookup tables? would i have to write insert statements or is there some other way to do it
View 2 Replies
View Related
Apr 9, 2004
We're about to ship a product, and we've used access to develop it to make things easier, but we want to use MSDE.
I've never had any luck with MSDE -
1. I can import the database into a sql server database in enterprise manager, is there a way to import a database into a msde database in interprise manager?
2. what would I do in the installer? I need to install the msde engine right? and then run sql scripts on the engine?
Thanks in advance!
View 2 Replies
View Related
Dec 19, 2000
I am looking for an effective technique for this scenario:
We have a program that generates 200 custom Paradox databases every night, and these are shipped to 200 sales offices (on Win98 machines). We would like to convert from Paradox to MSDE (baby SQL).
The data is relatively large (some offices > 100 MB) so efficiency is important, both for data generation, data transmission and/or data loading. Currently we zip files so the large 100MB ones are <20MB during transmission.
Is it best to: 1) output flat files, zip them, transmit, and then have an automatic load procedure (using bcp) on the Win98 clients; or 2) create the MSDE databases locally, zip them, transmit, and then db_attach the database file on the Win98?
Has anyone a successful experience doing this sort of thing?
View 1 Replies
View Related
Sep 2, 2005
Hi Well this is my first post on this forum, in fact I have not even used SQL Server yet!
My question is.... I have been asked to produce an application which will be a VB6 application with an SQL Server database behind it. I would like to be able to put the application along with the database on to a CD and run them directly from the CD once it is distributed. So the question I guess is can this be done with SQL Server i.e. can a table be exported in a format which will allow it to be queried in a standalone fashion? Maybe I have not explained myself properly but I welcome any questions which will help clarify my problem.
Thanks Red
View 1 Replies
View Related
Jun 14, 2006
I am having problems deploying my web site from my machine to the hosting server.
Does any know of any special configurations that have to be perfomed before copying your web site to a server? All I have is a login in page that loads another page. The login page is launching okay but it does not load the second page.
View 2 Replies
View Related
Feb 7, 2008
Hi I've not done much work on reporting services before.
I've made a change on my page and i can see the change on the preview its just a drop down list containing the week number.
But i can see to get to deploy these changes when i build my package it builds fine but when i go to deploy it am getting this error message
The item '/Data sources' already exist
View 3 Replies
View Related
Feb 23, 2007
Hi
We are storing our packages in File System.
Process:
BIDS->Right Click on soln file ->properties->Deployment Utility->DeploymentOutputPath--BinDeployment
So it creates a folder with the project name and all the packages in C:Program FilesMicrosoft SQL Server90DTSPackagesProject
While executing the package on Server what should be thesource of the Package? I mean should it refer to the solution file->..dtsx
or
BinDeployment->packages
or
C:Program FilesMicrosoft SQL Server90DTSPackagesProject
View 3 Replies
View Related
Feb 15, 2008
Hi,
we are working with Sql Server Reporting services for creating reports. what is my question is , how we can create a setup for deploying the reports in the report server. please advise
Thanks
View 4 Replies
View Related
May 19, 2007
I'm having a little bit of trouble deploying the report project I have set up. In fact, I'm not even sure that deploying the project is what I want to do. All I want is to have something so I can view the report I've created in HTML or PDF form, something that was advertised when I downloaded the reporting services. Any help with what I would need with this would be appreciated.
View 5 Replies
View Related
May 7, 2007
I am new to Reporting services and have created just a layout page.
no datasets or data sources are present. This is just a cover page.
I need to show this page through a url. Can i deploy this on my local machine rather than showing some-one through the preview mode.
What would be the local host configuration settings.
Thanks.
View 11 Replies
View Related
Jun 29, 2006
I've got a report project with a few reports in I want in the root target directory. I also want to create several folders and put reports in those. The problem is I don't see any way to create a report folder in VS. I also don't see any way to pick the deployment path of a single reprot in VS. This makes me think I'll have to create a different Report Project in VS for each folder!! (this sucks). Does anyone have an idea or suggestion here?
View 9 Replies
View Related
Mar 12, 2008
I am having troubles with deploying reports to http://localhost/reportserver. A dialogue box pops up asking for username and password. I have been investigating Reporting Services Configuration trying to find out more about what username and password they are after, but with no luck. Can somebody please help. I am using SQLExpress 2005 and IIS 5.1
OR
View 7 Replies
View Related
Sep 11, 2007
Hi,
How do i deploy IS package properly? can i just copy the .dtsx and assign that in an sql jobs?
thanks a lot
cherriesh
View 3 Replies
View Related
Jan 30, 2008
Newbie question for which I ask your patience:
I had set my ProjectpropertiesTarget Server URL some time ago and now need to deploy additional files in specific folders and cannot remember how to map a url back to a file location. I have searched for the deployed files on target server and have not found them.
Can someone explain how SSRS deploys; does it physically place files on the target server (.pdfs)? Suggest how I can map the URL back to a directory location on some server?
thanks, MDM
View 3 Replies
View Related
Jul 3, 2007
Just wondering what people do when they deploy sub reports and what is the 'best practise' for this. I'm just deploying them to the same folder as the main report and hiding them.
This is, to say the least, messy. As a user has to click 'Show Details' and they can see the sub report.
Is there a better way?
Thanks
View 4 Replies
View Related
May 1, 2006
Error: 0xC0202009 at Package, Connection manager "Presup Dev sql_prov": An OLE DB error has occurred. Error code: 0x80040E4D.
An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E4D Description: "Communication link failure".
An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E4D Description: "TCP Provider: Se ha forzado la interrupciĆ³n de una conexiĆ³n existente por el host remoto.
WTF????????? ·%$·&$%%& i`m sure my connections are ok,, cause i prevoiusly checked them, the problem occurs when deploying the package.. it seems to be an error when connecting to the source but whyy?????, and what about the package configurations ?? should i use them,, and how????
View 4 Replies
View Related
Feb 21, 2008
hi all
using sqlserver 2005 Reporting Services
When I go to deploy
my main folder = Reports
my sub folder = reAct or Managers Reports or Onboarding etc
how do I deploy directly to the sub-folders?
thanks
jewel
View 13 Replies
View Related
Feb 10, 2006
I have a report model that I'm trying to deploy to a report server. When I deploy it I get an error that says
Maximum request length exceeded. How do I fix this error and get the model deployed
View 4 Replies
View Related
Jun 22, 2006
Hello Everyone,I have a very complex performance issue with our production database.Here's the scenario. We have a production webserver server and adevelopment web server. Both are running SQL Server 2000.I encounted various performance issues with the production server witha particular query. It would take approximately 22 seconds to return100 rows, thats about 0.22 seconds per row. Note: I ran the query insingle user mode. So I tested the query on the Development server bytaking a backup (.dmp) of the database and moving it onto the devserver. I ran the same query and found that it ran in less than asecond.I took a look at the query execution plan and I found that they we'rethe exact same in both cases.Then I took a look at the various index's, and again I found nodifferences in the table indices.If both databases are identical, I'm assumeing that the issue isrelated to some external hardware issue like: disk space, memory etc.Or could it be OS software related issues, like service packs, SQLServer configuations etc.Here's what I've done to rule out some obvious hardware issues on theprod server:1. Moved all extraneous files to a secondary harddrive to free up spaceon the primary harddrive. There is 55gb's of free space on the disk.2. Applied SQL Server SP4 service packs3. Defragmented the primary harddrive4. Applied all Windows Server 2003 updatesHere is the prod servers system specs:2x Intel Xeon 2.67GHZTotal Physical Memory 2GB, Available Physical Memory 815MBWindows Server 2003 SE /w SP1Here is the dev serers system specs:2x Intel Xeon 2.80GHz2GB DDR2-SDRAMWindows Server 2003 SE /w SP1I'm not sure what else to do, the query performance is an order ofmagnitude difference and I can't explain it. To me its is a hardware oroperating systemrelated issue.Any Ideas would help me greatly!Thanks,Brian T
View 2 Replies
View Related
Aug 21, 2006
I used VWD 2005 Express to create my web application (that uses a sql 2005 database), and now I'm trying to deploy it. I was to understand that all I had to do was to upload all my files to the root folder and the web host's server (webhost4life.com). However, they require me to upload the sql 2005 db to a seperate sql server using a control panel that is very clunky. Does anyone know how to upload the sql 2005 db to the host server or an online tutorial where I could go to learn? Thanks for the help!
View 1 Replies
View Related
May 15, 2007
Rank newbie to ASP.NET here, so I'm totally "at sea" as to finding a "cookbook" for "how to deploy" a slightly customized version of the "Personal Web Site" project.
My hosting service has an ASP.NET database installed. I can verify from their "SQL Server Web Admin" package that there are 11 "aspnet_" table names present. I have run the "personal-add.sql" script which has defined two (empty) tables -- "Albums" and "Photos".
CONFUSION 1: The hosting service includes a Help fille for "Connecting to a SQL Server Database Using ASP.NET 2.0" which details the way to add 'connectionStrings' for "Personal" and "LocalSqlServer". I have made a "remote" copy of the "web.config" file and supplied the ostensively correct info for my Server, Database, User ID and Password. QUESTION: Why are there TWO names -- "Personal" and "LocalSqlServer"? Since all of the tables are contained now within the ASP.NET database are the details for both of these to be the same?
CONFUSION 2: Error handling. I'm getting "An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine." Huh!? That page then goes on to mention "<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>". I've not a clue as to what "mycustompage.htm" should contain in order to field the error[s] erupting.
POINTERS, anyone? Have I missed some basic part of the manual[s] someplace? I was sort of hoping that there would be a simple "cookbook" around someplace for how to "deploy" a relatively tested group of pages (application) in a relatively idiot-proof manner. I'm not finding it, so ANY pointers, hints, URLs will be greatly appreciated.
Color me "confused in Kauai" ... :) KevInKauai
View 2 Replies
View Related
Jun 25, 2007
Since from using my local host to view my website, I am assuming I already have SQL Server installed on my computer? Is it possible to have users access my website files directly onto there own computer, say if they type my ip address or domain name into their address bar? What I am actually wanting to do is to host my website from my home computer... Any ideas, or good slash easy to understand articles on how to do this?
View 8 Replies
View Related