Does anyone here have a favorite site or set of sites with resources on SSIS custom component (tasks, transforms, log providers, etc.) development? I've been searching around to try to find this on my own, but so far I've had little luck.
Darren - I've noticed that you always seem to have the most insightful responses to questions related to SSIS .NET development (such as your recent response to evaluating expressions in a custom component) so I am particularly interested in anything that you have to share.
I would like to know how to estimate the size of a database before filling it with records. I need a sample calculation. I am new to this concept. Pls help.
I have created a table called EMP with three columns such as Empname varchar(50), Salary int, maritalstatus bit, bloodgroup char(10). Initially the table does not contain any rows. But i have been told that the table will contain 1 lac rows. So i have been asked to estimate the database size. I don't know how to estimate the database size without inserting the records. Pls help me how to do it? Thanx
Hello , I am using SQL 7.0 , My Question is, Before creating any Tables or Index, can We use any formula to calculate or EStimate the size of the Database for the planning purpose ?
In order word
Do yo know any formula to Estimate the size of the database ?
Can someone recommend an application that produces an estimate of the size of a database from column definitions and estimated number of rows in each table? -- Thanks
I was hoping I can get some help regarding subject mater located athttp://msdn.microsoft.com/library/d...des_02_92k3.aspMyTable has 23 fields with 100,000 records.Field1 nvarchar 90Field2 char 6Field3 varchar 8000Field4 nvarchar 200Field5 nvarchar 200Field6 nvarchar 200Field7 nvarchar 200Field8 nvarchar 200Field9 char 30Field10 char 30Field11 nvarchar 200Field12 nvarchar 200Field13 float 8Field14 datetime 8Field15 datetime 8Field16 datetime 8Field17 nvarchar 200Field18 nvarchar 200Field19 varchar 8000Field20 nvarchar 200Field21 nvarchar 200Field22 nvarchar 200Field23 varchar 8000Data Types:nvarchar = Variable-length, Storage is 2 times the # of characters enteredchar = Fixed-length. Storage is n bytesvarchar = Variable-length, Storage is actual length in bytes of data enteredfloat = Is float Fixed-length?, my precisions are 15 digits so 8 bytes.datetime = Is datetime Fixed-length?, Storage is 8 bytesI need the following blanks filled in for me, please :-)Num_Rows 100,000Num_Cols 23Fixed_Data_SizeNum_Variable_Cols 16Max_Var_SizeNull_Bitmap Int(2 + ((23 + 7) / 8)) = 5?Variable_Data_SizeRow_SizeRows_Per_PageFree_Rows_Per_Page 100 (no clustered index created)Num_PagesTable Size
Is there a way to see how much memory your current SQL Server install is using? I recently had to do some reconfiguring, and although it went fine, I'd like to build a spreadsheet model so I could see what different parameter values do to memory usage. I'm kinda surprised there isn't one already.
And yes, I realize that 99% of the configuration options go away in 7.0. We're going to have 6.5 here for a while yet.
Is there any good online documentation describing rules of thumb for estimating and planning a SQL Server 2005 deployment in support of a Windows rich client/WCF services architecture?
I used SqlConnection/SqlDataReader to read data from SQL Server 2000 in my ASP.NET project, but I found that the CPU usage is too high, and I used SQL Query Analyzer to run the same SQL statement, The CPU usage is the half of the previous, is there anyone can tell me why? Thank you!
Hi everyone!Being new the SQL, I wanted to ask everyone if there are good resources out there that they use? I could use all the help I can get! Books, links, websites, etc.Recently my friend sent me this, I found it informative and best of all, free! https://store.pentontech.com/index.cfm?s=9&promocode=qe2165f7 Thanks in advance for your help!- Lizzy
Sometimes logging in to SQL 7 I get 'Memory resources not available...' and log in process terminates. Do I need to up number of locks ! If so, how ! Pls. suggest any other ideas !
This proc will show you what is using SQL system resources right now. If a process is not currently using any resources, it will not show up on the list. Also, a dump of the input buffer is printed so you can see just what is going on.
I use this code whenever somebody whines that "The server is slow!".
The magic is ::fn_get_sql which came with service pack 3 for sql 2000.
use master IF (object_id('sp_Now')) is not null BEGIN PRINT 'Dropping: sp_Now' DROP PROCEDURE sp_Now END PRINT 'Creating: sp_Now' GO CREATE PROCEDURE sp_Now as -- FULL DETAILS OF WHAT IS RUNNING set nocount on declare @handle binary(20), @spid smallint, @rowcnt smallint, @output varchar(500)
DECLARE TEST CURSOR FOR select sql_handle, spid from sysprocesses where sql_handle <> 0x0000000000000000000000000000000000000000 -- and spid <> @@SPID --> Uncomment to stop seeing your own process order by cpu desc
OPEN TEST FETCH NEXT FROM TEST INTO @handle, @spid
select convert(char(15), loginame) as 'loginame', convert(char(10),hostname) as 'hostname', convert(char(20),db_name(dbid)) 'database', str(spid,4,0) 'spid', str(blocked,5,0) 'block', -- str(waittime,9,0) 'wait_time', str(physical_io,8,0) 'phys_io', -- str((cpu),10,0) 'cpu(ms)', -- str((cpu/60000.0),9,3) 'cpu(mins)', str((cpu/1000/60),6) + ':' + case when left((str(((cpu/1000) % 60),2)),1) = ' ' then stuff(str(((cpu/1000) % 60),2),1,1,'0') else str(((cpu/1000) % 60),2) END as 'cpu(mm:ss)', str((convert(float,memusage) * 8192.0 / 1024.0 / 1024.0),8,2) 'mem(MB)', convert(char(30),program_name) as 'program_name', cmd, convert(char(15),lastwaittype) 'lastwaittype', convert(char(20),login_time,120) 'login_time', convert(char(19),last_batch,120) 'last_batch', convert(char(10),status) as 'status', convert(char(15),nt_username) as 'nt_username' from master..sysprocesses where spid = @spid print ' ' print ' ' dbcc inputbuffer(@spid) print ' ' print ' ' select * from ::fn_get_sql(@handle) FETCH NEXT FROM TEST INTO @handle, @spid END close TEST deallocate TEST GO IF (object_id('sp_Now')) is not null PRINT 'Procedure created.' ELSE PRINT 'Procedure NOT created.' GO
Hi, Im just looking for someone that has a demonstration Visual Basic database script. Something that makes a database, ad / removes rows and information, does all basic database stuff, just as an example of how a SQL database is supposed to be handled.
I know that a query inside a called UDF does not show up when displaying theestimated query plan, but are the resources (CPU, DiskIO) used by a UDF thatis call from within an SProc or embedded in a SQL statement included insp_who2 and Profiler BatchCompleted?Also how performance draining is it to do something like the following. Iassume for every row returned the udf will be called causing 8000 tablescans on DateTable?Create Functionu udf_GetCountDates (@StartDate datetime, @EndDate datetime)Returns IntbeginReturn(select count(*) from DateTablewhere ColDate > @TestDate and Col1Date <)end--DateTable has 5,000 rowsCreate proc Test@TestDate datetimeAsselect Col1, Col2, udf_GetCountDates(@TestDate, Col2)From OTable--OTable has 8,000 rowsGoThanks,Ray
I have a question...say I have an asp app that works as a front end toan sql server 2000 database. Would it be better, performance wise, toseperate the webserver from the sqlserver or to have them on the samemachine?-Jim
I have a sql job(that runs several stored procs) that is run to fix a problem, it is set to run every few minutes (no, this is not my idea). What would be the best way to identify how much this specific job/and it's sp's are using in resources, such as cpu and memory?
I was thinking of doing certification from Microsoft. I was first intending to write exam 70-229 which is : Designing and Implementing Databases with Microsoft SQL Server 2000 Enterprise Edition.
The Microsoft site http://www.microsoft.com/traincert/exams/70-229.asp#TOOLS has a list of topics that I need to be familiar with in order to pass the exam, but it does not have the detailed information. Can someone guide me to a place where I can go to get the detailed information about these topics so that I can prepare better for the certification exam? thanks Aslam
Hi folks, thought I'd wade into the mssql waters, I've used mysql for some time, thought I'd familiarize myself with the other.
I downloaded mssql server 2005 express edition. Don't know if I missed anything on the site, maybe I did. I've got it running from the command line.
Are there any GUIs out there that are decent to use? Where can I download it?
Is there a specific manual available like mysql has? I think I stumbled across something but wasn't sure it was searchable, sorry the link is on my other 'puter at the moment so I can't see what I was looking at.
perhaps a sticky in this forum with good resources would be helpful to all.
I normally develop for MySQL and PHP, but we have a new application that runs on MS SQL and I'm having difficulty using the same structure as MySQL to run queries. Can someone here point me to a good resource to learn the basics?
I have a problem on microsoft sql server 2000. I need to limit the amount of resources(eg cpu, mem..) a query uses Is there a way to do this in SQL server 2000
There are many Errorcodes which SSIS uses to represent errors, warnings etc.
List of errorcodes are at: http://msdn2.microsoft.com/en-us/library/ms345164.aspx
Now, in my SSIS package, I have defined error handler(OnError) and warning handler(OnWarning) to handle the events. Which logges them to a flat file with some formatting and condition checks including addional information about faulty row.
I dont want to log the exact error messages sent by SSIS as they are too much technical and not understanadble by normal user. I want them to be replaced with some custom message which I 'l pick from some resource file by matching the ErrorCode. One can consider this resource file as collection of key(ErrorCode), value(Custom Error Message) pairs.
In .NET we normally use resource files(.resx) to achive the same task. I found no way to use such resource files in SSIS.
Is there any way by which I can implement this functionality?
I dont want to implement custom logging mechanism as it does not fit into my application needs. Please guide.
SQL Server is using up all of my system resources and i can't find where the problem is, i have used
exec sp_who
exec sp_who2
but i don't know what to look for, i'v even checked the memory comparison according to SQLSkills but that is all fine, the server is extremely slow all the time. I battle to open Query analyser or even just to connect to it takes forever, any advice would be greatly appreciated.
The errormessage after a deadlock gives very little information: "Your transaction (process ID #12) was deadlocked with another process and has been chosen as the deadlock victim. Rerun your transaction."
But what resources, ie tables, indexes etc, are really deadlocked?
Is it possible to set a switch or something to log all relevant information about a deadlock for later investigation?
Anybody have a suggestion on text books or other materials that deal with performance tuning in SQL 7.0. From what I have seen SQL 7.0 is far diffrent than 6.5. I'm specificaly interestd in information about query plans, profiler and what a table spool does.
a) Thanks for all contributions on this site, they have been very useful but, i am trying to implement a security procedure including auditing on sql server 6.5,7, sybase and oracle can anyone help?
b) does any one know any site like this that covers issues on oracle ( besides Oracle Technet)?