Wednesday, March 28, 2012
Microsoft SQL 2000 Troubling the Network
When we start the MSSQL2000 database, after a while the network is jammed, and everyone is facing difficulties to work in the network. When we stop this SQL server the network speed comes to normal.
Please guide me to fix this problem?Have you applied SQL SP3? This almost sounds like a SQL Slammer problem.|||Thanks for your reply, I don't think that we did that. Please tell me how to check whether sp3 is there? if not where to get it?|||select serverproperty('ProductLevel')
You can download sp3 for sqlserver from Microsoft website.|||You should go for SP3 right now, and as prescribed download the pack from MS SQL (http://www.microsoft.com/sql) website to get rid of the issues and also refer to SLAMMER affected measures in the website.|||A note about SP3.
We applied SP3 to a database which was a replication publisher, and it could no longer produce snapshots.
There is a Service Pack 3a -- I recommend it over SP3. SP3 can cause problems, including start-up and MDAC problems.
See:
http://www.microsoft.com/sql/downloads/2000/sp3.asp?&SD=GN&LN=EN-US&gssnb=1
http://support.microsoft.com/?kbid=814572
http://support.microsoft.com/?kbid=814410|||here is the complete link. don't know what happened last post.
http://www.microsoft.com/sql/downloads/2000/sp3.asp?&SD=GN&LN=EN-US&gssnb=1
Friday, March 23, 2012
Microsoft Neural Networks Question
1) Scaling of Inputs
Is the standarization of the inputs done automatically when running the Microsoft Neural Network algorithm or I should be transforming the variables before running the algorithm?
2) Predicted Probabilities
How do I create a table with the actual predicted probabilities of the model for each observation? In the Mining Model Prediction tab the output would be either 0 or 1, my question is how can I obtain the actual value of the estimated probability?
1) Yes, using z-score ((value -mean)/StdDev), so there is no reason for transformation.
2) Use a prediction function.
PredictProbability will return the probability of the actual prediction. PredictHistogram wil return all the probabilities (for all target states). The actual prediction is, of course, the state from the histogram having the largest probability
|||Thanks for this. I assume that for categotical variables standarization is also done automatically by some other appropriate transformation, right?
Cheers,
Leo.
|||It sure is. Enjoy!Microsoft Neural Network, how do I feed it ?
Hello there,
I'm working with Analysis sevices 2005 developer edition. Looking through the documentation i becomes apperent that the NN algorithm takes 255 input attributes by default. This can be changed to any integer value, OK....
My problem is that I want to feed the network with 40000 input variables. In order to do so, I will have to do a select:
SELECT fld1, fld2, ...... fld39999, fld40000
FROM tblSometable
However, this is not possible, as the books online describes it is only possible to return 4096 columns from a select statement.
Question : How do I populate a NN in AS2005, with nmore than 4096 inputs ?!
The limit may actually be smaller. SQL Server supports, I think, only 1024 columns
Analysis Services 2005 supports the concept of nested table which allows multiple related tables to be included in modeling.
With nested tables, Analysis Services can use much larger input sets (even hundreds of thousands) represented in multiple tables. Some details on the nested table concept are available here. http://msdn2.microsoft.com/en-us/library/ms175659.aspx
However, this is a data modeling issue and not related to the NN 255 default limit.
The NN algorithm (and many other algorithms included in SQL Server 2005) will always perform feature selection,using (by default) 255 input attributes. it means that, even when your data contains 40K inputs, NN will still use, by default, only the most significant 255. To increase this limit, change the value of the MAXIMUM_INPUT_ATTRIBUTES algorithm parameter. This parameter has the same name for all the algorithms that perform feature selection. If you cange this parameter value to, say, 40000, then all 40K inputs will be used.
|||
Thanks.
I suspected I could do this using nested tables. Thanks for confirming this. Time might be an issue, however. Mu current test-network consisting of 1000 inputs (MAX_INPUT_ATTRIB = 1000), that are zeros and ones, takes +3 hours on a 3.0Ghz PentiumD with 3 GB om memory. Is the time going to grow exponential or linear with the number of input nodes ?
regs,
Mads
Microsoft Neural Network, how do I feed it ?
Hello there,
I'm working with Analysis sevices 2005 developer edition. Looking through the documentation i becomes apperent that the NN algorithm takes 255 input attributes by default. This can be changed to any integer value, OK....
My problem is that I want to feed the network with 40000 input variables. In order to do so, I will have to do a select:
SELECT fld1, fld2, ...... fld39999, fld40000
FROM tblSometable
However, this is not possible, as the books online describes it is only possible to return 4096 columns from a select statement.
Question : How do I populate a NN in AS2005, with nmore than 4096 inputs ?!
The limit may actually be smaller. SQL Server supports, I think, only 1024 columns
Analysis Services 2005 supports the concept of nested table which allows multiple related tables to be included in modeling.
With nested tables, Analysis Services can use much larger input sets (even hundreds of thousands) represented in multiple tables. Some details on the nested table concept are available here. http://msdn2.microsoft.com/en-us/library/ms175659.aspx
However, this is a data modeling issue and not related to the NN 255 default limit.
The NN algorithm (and many other algorithms included in SQL Server 2005) will always perform feature selection,using (by default) 255 input attributes. it means that, even when your data contains 40K inputs, NN will still use, by default, only the most significant 255. To increase this limit, change the value of the MAXIMUM_INPUT_ATTRIBUTES algorithm parameter. This parameter has the same name for all the algorithms that perform feature selection. If you cange this parameter value to, say, 40000, then all 40K inputs will be used.
|||
Thanks.
I suspected I could do this using nested tables. Thanks for confirming this. Time might be an issue, however. Mu current test-network consisting of 1000 inputs (MAX_INPUT_ATTRIB = 1000), that are zeros and ones, takes +3 hours on a 3.0Ghz PentiumD with 3 GB om memory. Is the time going to grow exponential or linear with the number of input nodes ?
regs,
Mads
Friday, March 9, 2012
Method to check the connection status of any Machine on Network
I need to know the connection status of any machine on domain i.e. I want to
check that whether the machine is on or off(alive/dead).
If anyone can tell then I shall be highly grateful
Sincerely,
Adnan KudiyaHi
Try sp_who 'active'
"adnankudiya" <adnankudiya.1nq9tv@.mail.codecomments.com> wrote in message
news:adnankudiya.1nq9tv@.mail.codecomments.com...
> Hello All:
> I need to know the connection status of any machine on domain i.e. I
> want to check that whether the machine is on or off(alive/dead).
> If anyone can tell then I shall be highly grateful
> Sincerely,
> Adnan Kudiya
>
> --
> adnankudiya
> ---
> Posted via http://www.codecomments.com
> ---
>|||Hi
I assume you mean database connection status and not just something like
pinging the client periodically to see if you get a reply? This may be
difficult as you can gather information about when a connection last did
something sysprocesses, but you don't know if they are connected or have
died. If your application has a set timeout and any activity has not happene
d
in that time, I guess you can assume they are dead.
John
"adnankudiya" wrote:
> Hello All:
> I need to know the connection status of any machine on domain i.e. I
> want to check that whether the machine is on or off(alive/dead).
> If anyone can tell then I shall be highly grateful
> Sincerely,
> Adnan Kudiya
>
> --
> adnankudiya
> ---
> Posted via http://www.codecomments.com
> ---
>|||I thought about this a while back and did not come up with a good solution.
One idea was to write a stored procedure - sp_ping and execute that on the
connection:
create proc sp_ping
as
return 0
go
or something trivial and similar - EG
SELECT DateNow = GetDate()
You could run that SP with a timeout that is quite low say 2 seconds.
- Tim
BTW: I do realise sp_ is not a good prefix.
"John Bell" <JohnBell@.discussions.microsoft.com> wrote in message
news:F32C6F92-2896-4F96-9FC5-49D846A434FF@.microsoft.com...
> Hi
> I assume you mean database connection status and not just something like
> pinging the client periodically to see if you get a reply? This may be
> difficult as you can gather information about when a connection last did
> something sysprocesses, but you don't know if they are connected or have
> died. If your application has a set timeout and any activity has not
> happened
> in that time, I guess you can assume they are dead.
> John
> "adnankudiya" wrote:
>
Saturday, February 25, 2012
message: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'. (severity 14)
Hi Im getting the following error when trying to connect to a php page...any ideas
message: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'. (severity 14)
Hi,
seems that you tried to impersonate the WebUser at the SQL Server database. The question would be what you want to use, wheter Windows Authentication or SQL Authentication ?
HTH, Jens Suessmeyer.
http://www.sqlserver2005.de