Friday, March 30, 2012
Question!
server and SharePoint Portal Server. Can one SQL Server 2000 SP3a handle the
database requirements and traffic for these applications? We have
approximately 400 users and operate on a WAN. I would appreciate any real
world input. Thanks!Yes. SQL can easily handle thousands.
"Stacy Springer" <Stacy Springer@.discussions.microsoft.com> wrote in message
news:F7B4E072-D97C-4D88-B1FF-082190559FD7@.microsoft.com...
> We are in the process of planning a implementation of SMS server, Project
> server and SharePoint Portal Server. Can one SQL Server 2000 SP3a handle
the
> database requirements and traffic for these applications? We have
> approximately 400 users and operate on a WAN. I would appreciate any real
> world input. Thanks!
Question!
server and SharePoint Portal Server. Can one SQL Server 2000 SP3a handle th
e
database requirements and traffic for these applications? We have
approximately 400 users and operate on a WAN. I would appreciate any real
world input. Thanks!Yes. SQL can easily handle thousands.
"Stacy Springer" <Stacy Springer@.discussions.microsoft.com> wrote in message
news:F7B4E072-D97C-4D88-B1FF-082190559FD7@.microsoft.com...
> We are in the process of planning a implementation of SMS server, Project
> server and SharePoint Portal Server. Can one SQL Server 2000 SP3a handle
the
> database requirements and traffic for these applications? We have
> approximately 400 users and operate on a WAN. I would appreciate any real
> world input. Thanks!
Question!
server and SharePoint Portal Server. Can one SQL Server 2000 SP3a handle the
database requirements and traffic for these applications? We have
approximately 400 users and operate on a WAN. I would appreciate any real
world input. Thanks!
Yes. SQL can easily handle thousands.
"Stacy Springer" <Stacy Springer@.discussions.microsoft.com> wrote in message
news:F7B4E072-D97C-4D88-B1FF-082190559FD7@.microsoft.com...
> We are in the process of planning a implementation of SMS server, Project
> server and SharePoint Portal Server. Can one SQL Server 2000 SP3a handle
the
> database requirements and traffic for these applications? We have
> approximately 400 users and operate on a WAN. I would appreciate any real
> world input. Thanks!
Monday, March 26, 2012
Question regarding a View that is taking long time to process
Good afternoon everyone, I have written a view that pulls customer demographic infomration as well as pulling data from multiple scalar-valued functions. I am using this view to pull and send data from one database to another in the same SQL server. The problem that I am having is that I am running this import as a scheduled job in windows. The job is taking almost 24 hours to complete this task. The total number of records that are being pulled is around 21,000+. I have tried removing the functions from the view and it only takes the view 20 seconds to pull the demographic information from the same 21,000+ records but when I add the function calls this is where the time to complete goes through the roof. Has anyone encountered this before if so what would you suggest doing? Any help would be appreciated.
Here is the syntax for my view:
SELECT TOP 100PERCENT CUS_EMAILAS Email, CUS_CUSTNUMAS MemberID, CUS_PREFIXAS Prefix, CUS_FNAMEAS FirstName, CUS_LNAMEAS LastName, CUS_SUFFIXAS Suffix, CUS_TITLEAS Title, CUS_STATEAS State, CUS_COUNTRYAS Country, CUS_ZIPAS ZipCode, CUS_SEXAS Gender,CAST(CUS_DEMCODEAAS nvarchar(20)) +',' +CAST(CUS_DEMCODEBAS nvarchar(20)) +',' +CAST(CUS_DEMCODECAS nvarchar(20)) +',' +CAST(CUS_DEMCODEDAS nvarchar(20))AS DemoCodes, dbo.GetSubScribedDateMLA(CUS_CUSTNUM, CUS_EMAIL)AS MLASubscribedDate, dbo.GetSubScribedDateMLP(CUS_CUSTNUM, CUS_EMAIL)AS MLPSubscribedDate, dbo.GetSubScribedDateLDC(CUS_CUSTNUM, CUS_EMAIL)AS LDCSubscribedDate, dbo.GetMLAExpiration(CUS_CUSTNUM, CUS_EMAIL)AS MLASubExpireDate, dbo.GetMLPExpiration(CUS_CUSTNUM, CUS_EMAIL)AS MLPSubExpireDate, dbo.GetLDCExpiration(CUS_CUSTNUM, CUS_EMAIL)AS LDCSubExpireDate, dbo.IsProspect(CUS_CUSTNUM, CUS_EMAIL)AS AGMProspect, dbo.IsCurrentCustomer(CUS_CUSTNUM, CUS_EMAIL)AS AGMCurrentCustomer, dbo.IsMLAMember(CUS_CUSTNUM, CUS_EMAIL)AS MLAMember, dbo.IsMLPMember(CUS_CUSTNUM, CUS_EMAIL)AS MLPMember, dbo.IsLDCMember(CUS_CUSTNUM, CUS_EMAIL)AS LDCMember, dbo.CalculateTotalRevenue(CUS_CUSTNUM, CUS_EMAIL)AS AGMTotalRevenue, dbo.GetPubCodes(CUS_CUSTNUM, CUS_EMAIL)AS ProductsPurchased, dbo.GetEmailType(CUS_CUSTNUM, CUS_EMAIL, CUS_RENT_EMAIL)AS EmailType, CUS_COMPANYAS Company, CUS_CITYAS CityFROM dbo.CUSWHERE (CUS_EMAILISNOT NULL)AND (CUS_EMAIL <>'')AND (CUS_EMAIL_VALID ='Y')AND (CUS_EMAILLIKE'%@.%.%')AND (CUS_RENT_EMAIL ='Y'OR CUS_RENT_EMAIL ='R'OR CUS_RENT_EMAIL ='I')AND (CHARINDEX(' ', CUS_EMAIL) = 0)AND (CUS_EMAILNOT LIKE'@.%') Thanks in advance
Michael Reyeros
Windows based functions are not for moving data between databases, you use SQL Server Agent Jobs for that. Run a search for SQL Server Agent Job in SQL Server BOL (books online). Hope this helps.
|||Well actually what I have done is create a dtsx package in SQL 2005. This package is calling the above view to pull all the records from one database table and then for each one ofthe records return I am sending it to a stored procedure in another database. I then built a windows application that simply calls the dtsx package and runs it. This exe I have set it to run in the windows scheduler as a scheduled task.|||
Look for an extended stored proc called xp_cmdshell, it is disabled by default in 2005 enable it and use the instructions in the thread below and post again if it is not working.
http://forums.asp.net/thread/1358665.aspx
|||But I am not sure exactly what this is supposed to do or how I hsould implement this in my siutation?
|||That is what is used to move data between database in all platforms with DTS not Windows service, it can move gigs in one day for you nothing works better, if it is there I would have known. Hope this helps.|||If I need to schedule this to run on a nightly basis, how would I run this and from where?|||
The first two links show you how to use the Agent to schedule Jobs for most admin tasks in SQL Server. The last link shows you system stored procedures you can use to create schedules and Jobs. I worked for a bank that used it to move deposits four hours a day five days a week your data is very small. Post again if you still need help, get it work and you can automate most operations in your application. Hope this helps.
http://msdn2.microsoft.com/en-us/library/ms139805.aspx
http://msdn2.microsoft.com/en-us/library/ms141701.aspx
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_sp_00_519s.asp
|||OK the only problem that I have is that two of the packages that I am running rely on an ODBC connection to a very antiquated system, QuickFill, that is being used here in the office. When I try to run the job in SQL server as an agent job this is not allowed because the ODBC connection relies on two mapped drives and this does not seem to be allowed in SQL server.|||Try using UNC instead of mapped drive you can create a proxy account with your admin context for the Agent to run it and the permissions are covered in the links in the thread I gave you. Try the link below and read up one how to get the correct mapping with ODBC. Sorry forgot to add the link. Hope this helps.
http://www.sqlteam.com/item.asp?ItemID=125
sqlquestion re process ids
Is it normal to have @.100 process id's in process info folder?
I noticed that some process don't get deleted once they are finished.
Please advise.
Thanks,Certainly isn't uncommon. By default SQL will start about 10 processes and
then add processes for normal user activity. However in my experience most
DBAs never use EM to look at processes and locks. They turn to the stored
procedures such as sp_who, sp_who2, sp_lock and so forth.
Danny
"Guju" <guju@.tpg.com.au> wrote in message
news:41acfda1_1@.news.iprimus.com.au...
> Hi,
> Is it normal to have @.100 process id's in process info folder?
> I noticed that some process don't get deleted once they are finished.
> Please advise.
> Thanks,|||Danny,
Any reason why process don't die once they are done.
thanks,
"Danny" <istdrs@.flash.net> wrote in message
news:Y08rd.35207$Qv5.3915@.newssvr33.news.prodigy.c om...
> Certainly isn't uncommon. By default SQL will start about 10 processes
and
> then add processes for normal user activity. However in my experience
most
> DBAs never use EM to look at processes and locks. They turn to the stored
> procedures such as sp_who, sp_who2, sp_lock and so forth.
>
> Danny
> "Guju" <guju@.tpg.com.au> wrote in message
> news:41acfda1_1@.news.iprimus.com.au...
> > Hi,
> > Is it normal to have @.100 process id's in process info folder?
> > I noticed that some process don't get deleted once they are finished.
> > Please advise.
> > Thanks,|||My assumption is that you are seeing in a nonactive state. Try getting more
detail like running dbcc inputbuffer(spid) and checking to see if cpu and/or
io is increasing.
"Guju" <guju@.tpg.com.au> wrote in message
news:41ad14f6$1_1@.news.iprimus.com.au...
> Danny,
> Any reason why process don't die once they are done.
> thanks,
> "Danny" <istdrs@.flash.net> wrote in message
> news:Y08rd.35207$Qv5.3915@.newssvr33.news.prodigy.c om...
>> Certainly isn't uncommon. By default SQL will start about 10 processes
> and
>> then add processes for normal user activity. However in my experience
> most
>> DBAs never use EM to look at processes and locks. They turn to the
>> stored
>> procedures such as sp_who, sp_who2, sp_lock and so forth.
>>
>>
>> Danny
>>
>> "Guju" <guju@.tpg.com.au> wrote in message
>> news:41acfda1_1@.news.iprimus.com.au...
>> > Hi,
>>> > Is it normal to have @.100 process id's in process info folder?
>>> > I noticed that some process don't get deleted once they are finished.
>>> > Please advise.
>>> > Thanks,
>>>>
>>|||[posted and mailed, please reply in news]
Guju (guju@.tpg.com.au) writes:
> I noticed that some process don't get deleted once they are finished.
Need to define "finished". This depends on the application design. An
application may opt to make a connection, and stay connected until the
users disconnects.
Also, several client libraries employs connection pooling. This means that
even if the client code calls a disconnect routine, the client library
does not actually disconnect from SQL Server immediately, but clings to
the connection, in case the application would reconnect. This grace
period is typically around 60 seconds. In fact many web applications make
heavy use of this. They connect and disconnect for about every query
they make.
Of course, you may be seeing a real problem, but without further information
it is difficult to say more.
--
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp
question part 2
Oldest active transaction:
> SPID (server process ID) : 144
> UID (user ID) : 6
> Name : implicit_transaction
> LSN : (106228:47115:1)
> Start time : Jan 28 2004 11:55:08:840AM
> DBCC execution completed. If DBCC printed error
messages, contact your system administrator.>--Original Message--
>sorry.. should have added this to help...
>Oldest active transaction:
>> SPID (server process ID) : 144
>> UID (user ID) : 6
>> Name : implicit_transaction
>> LSN : (106228:47115:1)
>> Start time : Jan 28 2004 11:55:08:840AM
>> DBCC execution completed. If DBCC printed error
>messages, contact your system administrator.
>.
>
P.S can anyone tell me how to see if its turn on or not...
sql server wiese... i now "set" will turn it off and on
but how can i check its current status.. if i turn it off
will it be for just THAT database or all of the server
Monday, March 12, 2012
Question on Process killed and still exists with a killed/rollback
I have killed a process running from sql server agent. the process id is 55
and when i give sp_who2 it still shows the process as killed /rollback. whe
n
i give the command kill 55 it says 100% rollback complete, but still the
process exists. Any suggestions to kill this process completely.
Thanks
RodgerRodger,
You cannot kill a process that is in the middle of Rolling back (it
must be a rather long transaction). Unfortunately you will need to
wait patiently until the rollback finishes. Use Kill WITH STATUS ONLY
will show you how fast the rollback has finished.
Attempt to stop a rollback process e.g. restart the SQL Instance will
only cause the rollback run even longer.|||Someone asked essentially the same question just a few days ago. Your
process may be blocked or perhaps it had a massive amount of uncommitted
data changes when you first attempted to kill it, and this thread discusses
various options.
http://groups.google.com/group/micr...1637c15f84fa05f
Another consideration going forward is to verify that your database
transaction log is located on a seperate physical disk from your database
data file. When rolling back a large transaction, both the data and log
files get hit heavily and keeping them on seperate drives decreases the time
required to recover due to parallel I/O processing.
"Rodger" <Rodger@.discussions.microsoft.com> wrote in message
news:3F59A2B2-9606-4409-8434-39DF9D4366C0@.microsoft.com...
> Hi
> I have killed a process running from sql server agent. the process id is
> 55
> and when i give sp_who2 it still shows the process as killed /rollback.
> when
> i give the command kill 55 it says 100% rollback complete, but still the
> process exists. Any suggestions to kill this process completely.
> Thanks
> Rodger
Question on Process killed and still exists with a killed/roll
(despite it indicates it is 100% completed'), but if the process still
there after let say good 10 mins. Run 'select * from sysprocesses' on
the master database and see if there is any lock problem there. Check
the 'blocked' field of the process.
Also check the SQL logs to see for any exceptions/errors. What SQL
platform you are on? What Service Pack you have installed.
Regards,
Mel
"MSLam" wrote:
> Sometimes it does take a little bit time to finish off the rollback
> (despite it indicates it is 100% completed'), but if the process still
> there after let say good 10 mins. Run 'select * from sysprocesses' on
> the master database and see if there is any lock problem there. Check
> the 'blocked' field of the process.
> Also check the SQL logs to see for any exceptions/errors. What SQL
> platform you are on? What Service Pack you have installed.
> Regards,
> Mel
>
Friday, March 9, 2012
Question on large cube update processing
Hi, all experts,
Is there any way for us to process the updated cube partly ? In my case I only want to add KPIs to my cube which are related to a few measure groups. In this case, it seems like we have to process the whole partitions related to these measure groups which the new added KPIs are related to. But as to large cube with miliions of records, this could take a reasonable time. Therefore, I am wondering if there is any way that we are able to update and process only the new added properties such as these new added KPIs to the cube instead of having to process the large chunk of the cube data? I personally think it will be really great to have this feature.
Is there any way to achieve this in SQL Server 2005 Analysis Services? I am looking forward to hearing from you shortly and thanks a lot for your advices.
With best regards,
Yours sincerely,
Hi,
I think you just need to deploy your project.
Regards
|||Hi,
Thanks. But as what I have always seen in my BIDS , whenever I deploy a project, the system process it first and then deploy it.
I am not quite sure what you really mean by deploy here if that is not the 'deploy' I understand.
Regards,
|||Lucas is right, you just need to deploy without processing.
There is an option under the deployment settings of the project that sets whether the project is processed after it is deployed. I think the default setting is "Always Process", but you can change this to "Never" and the project will be deployed without initiating a processing operation.
For changes to things like the calc script and KPI's, you do not need to reprocess your data, deploying your changes is enough.
Saturday, February 25, 2012
Question on Connectivity tools for SQL 2000 and SQL 2005
We are in the process of doing a inplace-upgrade of our SQL Server 2000
to SQL Server 2005. Currently all of the client computers have only the
connectivity tools from SQL 2000 installed in them. Is it necessary to
upgrade all the client machines with new SQL 2005 connectivity tools?
Any advice in this regard will be greatly appreciated.
Question on Client tools for SQL 2000 and SQL 2005
The other question I have is I have a unique client that has SQL 2000
Client tools installed, I am planning to also install the SQL 2005
Client tools, in this scenario when the Client connects to the Server
which client setting does it take. So for instance if in the SQL
Serever 2000 Network Client utility if I have only tcp_ip enabled as
the network protocol and on SQL 2005 if I have only Namedpipes enabled,
how does SQL Server figure out which setting should it look at? Do I
need to keep them consistent for both?
ThanksHi
Without upgrading the clients you will not have access to the facilities
available to the Native Client although this may not be a problem immediatel
y
after upgrading.
Depending on what you require the client tools for, then you may not need to
upgrade them, but you will not have any of the SQL 2005 specific features
available. The protocol used by your application will depend on what you hav
e
specified in the connection string, installing SQL 2005 may give you more
updated versions of the component you use.
If you are not using SQL 2000, I would look at removing the SQL 2000 tools.
HTH
John
"shub" wrote:
> Question on just connectivity tools for SQL 2000 and SQL 2005
> We are in the process of doing a inplace-upgrade of our SQL Server 2000
> to SQL Server 2005. Currently all of the client computers have only the
> connectivity tools from SQL 2000 installed in them. Is it necessary to
> upgrade all the client machines with new SQL 2005 connectivity tools?
> Any advice in this regard will be greatly appreciated.
> Question on Client tools for SQL 2000 and SQL 2005
> The other question I have is I have a unique client that has SQL 2000
> Client tools installed, I am planning to also install the SQL 2005
> Client tools, in this scenario when the Client connects to the Server
> which client setting does it take. So for instance if in the SQL
> Serever 2000 Network Client utility if I have only tcp_ip enabled as
> the network protocol and on SQL 2005 if I have only Namedpipes enabled,
> how does SQL Server figure out which setting should it look at? Do I
> need to keep them consistent for both?
> Thanks
>
Question on Connectivity tools for SQL 2000 and SQL 2005
We are in the process of doing a inplace-upgrade of our SQL Server 2000
to SQL Server 2005. Currently all of the client computers have only the
connectivity tools from SQL 2000 installed in them. Is it necessary to
upgrade all the client machines with new SQL 2005 connectivity tools?
Any advice in this regard will be greatly appreciated.
Question on Client tools for SQL 2000 and SQL 2005
The other question I have is I have a unique client that has SQL 2000
Client tools installed, I am planning to also install the SQL 2005
Client tools, in this scenario when the Client connects to the Server
which client setting does it take. So for instance if in the SQL
Serever 2000 Network Client utility if I have only tcp_ip enabled as
the network protocol and on SQL 2005 if I have only Namedpipes enabled,
how does SQL Server figure out which setting should it look at? Do I
need to keep them consistent for both?
ThanksHi
Without upgrading the clients you will not have access to the facilities
available to the Native Client although this may not be a problem immediately
after upgrading.
Depending on what you require the client tools for, then you may not need to
upgrade them, but you will not have any of the SQL 2005 specific features
available. The protocol used by your application will depend on what you have
specified in the connection string, installing SQL 2005 may give you more
updated versions of the component you use.
If you are not using SQL 2000, I would look at removing the SQL 2000 tools.
HTH
John
"shub" wrote:
> Question on just connectivity tools for SQL 2000 and SQL 2005
> We are in the process of doing a inplace-upgrade of our SQL Server 2000
> to SQL Server 2005. Currently all of the client computers have only the
> connectivity tools from SQL 2000 installed in them. Is it necessary to
> upgrade all the client machines with new SQL 2005 connectivity tools?
> Any advice in this regard will be greatly appreciated.
> Question on Client tools for SQL 2000 and SQL 2005
> The other question I have is I have a unique client that has SQL 2000
> Client tools installed, I am planning to also install the SQL 2005
> Client tools, in this scenario when the Client connects to the Server
> which client setting does it take. So for instance if in the SQL
> Serever 2000 Network Client utility if I have only tcp_ip enabled as
> the network protocol and on SQL 2005 if I have only Namedpipes enabled,
> how does SQL Server figure out which setting should it look at? Do I
> need to keep them consistent for both?
> Thanks
>
Question on Connectivity tools for SQL 2000 and SQL 2005
We are in the process of doing a inplace-upgrade of our SQL Server 2000
to SQL Server 2005. Currently all of the client computers have only the
connectivity tools from SQL 2000 installed in them. Is it necessary to
upgrade all the client machines with new SQL 2005 connectivity tools?
Any advice in this regard will be greatly appreciated.
Question on Client tools for SQL 2000 and SQL 2005
The other question I have is I have a unique client that has SQL 2000
Client tools installed, I am planning to also install the SQL 2005
Client tools, in this scenario when the Client connects to the Server
which client setting does it take. So for instance if in the SQL
Serever 2000 Network Client utility if I have only tcp_ip enabled as
the network protocol and on SQL 2005 if I have only Namedpipes enabled,
how does SQL Server figure out which setting should it look at? Do I
need to keep them consistent for both?
Thanks
Hi
Without upgrading the clients you will not have access to the facilities
available to the Native Client although this may not be a problem immediately
after upgrading.
Depending on what you require the client tools for, then you may not need to
upgrade them, but you will not have any of the SQL 2005 specific features
available. The protocol used by your application will depend on what you have
specified in the connection string, installing SQL 2005 may give you more
updated versions of the component you use.
If you are not using SQL 2000, I would look at removing the SQL 2000 tools.
HTH
John
"shub" wrote:
> Question on just connectivity tools for SQL 2000 and SQL 2005
> We are in the process of doing a inplace-upgrade of our SQL Server 2000
> to SQL Server 2005. Currently all of the client computers have only the
> connectivity tools from SQL 2000 installed in them. Is it necessary to
> upgrade all the client machines with new SQL 2005 connectivity tools?
> Any advice in this regard will be greatly appreciated.
> Question on Client tools for SQL 2000 and SQL 2005
> The other question I have is I have a unique client that has SQL 2000
> Client tools installed, I am planning to also install the SQL 2005
> Client tools, in this scenario when the Client connects to the Server
> which client setting does it take. So for instance if in the SQL
> Serever 2000 Network Client utility if I have only tcp_ip enabled as
> the network protocol and on SQL 2005 if I have only Namedpipes enabled,
> how does SQL Server figure out which setting should it look at? Do I
> need to keep them consistent for both?
> Thanks
>