Showing posts with label ive. Show all posts
Showing posts with label ive. Show all posts

Friday, March 30, 2012

RAID5 for all files?

In the last few months I've run across two places that had all their
files, including both data and logs, on big, fat RAID5 partitions.
In fact, in one place even the OS and pagefile were on RAID5!
Is this, like, a good idea all of a sudden, and nobody told me?
I hautily informed them that putting in separate physical drives for a
RAID1 set for logs, might provide a load/scalability/performance
factor of 2x all by itself. Is it at all likely that this is actually
the case? Just wondering.
Thanks.
Josh
No...Raid 5 still sucks. The baarf web site is still in
operation - http://www.baarf.com/
Logs being separated out on a Raid 1 or Raid 10 is still
recommended - see the Storage Best Practices:
http://www.microsoft.com/technet/prodtechnol/sql/bestpractice/storage-top-10.mspx
-Sue
On Sun, 05 Aug 2007 20:17:18 -0700, JXStern
<JXSternChangeX2R@.gte.net> wrote:

>In the last few months I've run across two places that had all their
>files, including both data and logs, on big, fat RAID5 partitions.
>In fact, in one place even the OS and pagefile were on RAID5!
>Is this, like, a good idea all of a sudden, and nobody told me?
>I hautily informed them that putting in separate physical drives for a
>RAID1 set for logs, might provide a load/scalability/performance
>factor of 2x all by itself. Is it at all likely that this is actually
>the case? Just wondering.
>Thanks.
>Josh
|||As Sue mentions it is still not the best practice to use Raid5 for a busy
OLTP system.
Andrew J. Kelly SQL MVP
"JXStern" <JXSternChangeX2R@.gte.net> wrote in message
news:kd4db35ek3ge7ldau600i4tk7igv6irns6@.4ax.com...
> In the last few months I've run across two places that had all their
> files, including both data and logs, on big, fat RAID5 partitions.
> In fact, in one place even the OS and pagefile were on RAID5!
> Is this, like, a good idea all of a sudden, and nobody told me?
> I hautily informed them that putting in separate physical drives for a
> RAID1 set for logs, might provide a load/scalability/performance
> factor of 2x all by itself. Is it at all likely that this is actually
> the case? Just wondering.
> Thanks.
> Josh
>
|||On Mon, 6 Aug 2007 08:50:20 -0400, "Andrew J. Kelly"
<sqlmvpnooospam@.shadhawk.com> wrote:

>As Sue mentions it is still not the best practice to use Raid5 for a busy
>OLTP system.
And even less good for a busy ETL system building gigabyte tables and
output files?
J.
sql

Wednesday, March 28, 2012

RAID FOR SQL

Hi. I've to install a server with SQL server and a RAID system. We've
installed servers
with SQL but without RAID systems. I want to know wich is the best
configuration and how many disks
to install RAID on a server wich only has to run SQL server. The RAID, must
be only for data or for
data and the operating system at time?. Thanks a lot.
> Hi. I've to install a server with SQL server and a RAID system. We've
> installed servers with SQL but without RAID systems. I want to know
> which is the best configuration and how many disks to install RAID
> on a server wich only has to run SQL server. The RAID, must be only
> for data or for data and the operating system at time ?
RAID Levels and SQL Server:
http://msdn.microsoft.com/library/en...tun_1_87jm.asp
Comparing Different Implementations of RAID Levels:
http://msdn.microsoft.com/library/en...tun_1_79pv.asp
|||JP,
The best practice I've heard and use myself is a separate volume for each of
the following:
RAID 1 volume for OS and executables
RAID 10 if possible (RAID 5 if not) for SQL Server data files
RAID 10 or at least RAID 1 for log files
RAID 10 or RAID 1 for tempdb
RAID 5 for backups
This is in general; sometimes variations are required depending on
requirements. Some SAN vendors claim their RAID 5 flavors are just as fast
as RAID 1, but I can't verify that.
Hope this helps,
Ron
Ron Talmage
SQL Server MVP
"JP" <aspento_quitar_para_correo_@.arrakis.es> wrote in message
news:OogXabz9EHA.1564@.TK2MSFTNGP09.phx.gbl...
> Hi. I've to install a server with SQL server and a RAID system. We've
> installed servers
> with SQL but without RAID systems. I want to know wich is the best
> configuration and how many disks
> to install RAID on a server wich only has to run SQL server. The RAID,
must
> be only for data or for
> data and the operating system at time?. Thanks a lot.
>
|||Please read the documentation on http://www.baarf.com/ which explains why
RAID 5 is not a performing option.
GertD@.SQLDev.Net
Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright SQLDev.Net 1991-2004 All rights reserved.
"Ron Talmage" <rtalmage@.prospice.com> wrote in message
news:%23mYi7kH%23EHA.3856@.TK2MSFTNGP10.phx.gbl...
> JP,
> The best practice I've heard and use myself is a separate volume for each
> of
> the following:
> RAID 1 volume for OS and executables
> RAID 10 if possible (RAID 5 if not) for SQL Server data files
> RAID 10 or at least RAID 1 for log files
> RAID 10 or RAID 1 for tempdb
> RAID 5 for backups
> This is in general; sometimes variations are required depending on
> requirements. Some SAN vendors claim their RAID 5 flavors are just as fast
> as RAID 1, but I can't verify that.
> Hope this helps,
> Ron
> --
> Ron Talmage
> SQL Server MVP
>
> "JP" <aspento_quitar_para_correo_@.arrakis.es> wrote in message
> news:OogXabz9EHA.1564@.TK2MSFTNGP09.phx.gbl...
> must
>

Friday, March 23, 2012

RADiest Client for SQL Server

I've got a SQL Server database. Nearly finished. It's going to go on a
single non networked machine. One day somebody might get access to it over
ADSL (probably TS), but for now it's a single user no lan.
The machine will actually be running the MSDE. Windows XP Home.
I'm quite happy, for now, to put all the business logic in SQL Server.
Triggers, SPs etc.
I've got a fair bit of Access development experience.
What's the absolute quickest way to develop a client for this?
MDB or ADP client?
OLE-DB or ODBC connection?
Bound or unbound
My experience is with Access 97/2000 FE/BE type apps.
I've got ADSL, the customer's got ADSL, so any emergency DBA type stuff I
can do via VNC.
Yours opinions, as ever, are most valued and welcome.
Mike
"Mike MacSween" <mike.macsween.zerospamplease@.btinternet.com> wrote in
message news:419a6b0c$0$218$5a6aecb4@.news.aaisp.net.uk...
> What's the absolute quickest way to develop a client for this?
If this app is to be used by your clients then it should probably be a web
app. That's not going to be the RADiest but possibly the most suitable.

> Yours opinions, as ever, are most valued and welcome.
You probably didn't need to cross post this to so many groups, it really
defeats the purpose of having groups.
Michael
|||"Michael C" <mculley@.NOSPAMoptushome.com.au> wrote in message
news:O%23sxkMCzEHA.3336@.TK2MSFTNGP11.phx.gbl...
> "Mike MacSween" <mike.macsween.zerospamplease@.btinternet.com> wrote in
> message news:419a6b0c$0$218$5a6aecb4@.news.aaisp.net.uk...
> If this app is to be used by your clients then it should probably be a web
> app. That's not going to be the RADiest but possibly the most suitable.
Thanks. I don't see why it needs to be a web app. One user using the machine
that the database lives on? I want a rich client for this, not RSI inducing
mouse clicking on a web interface.

> You probably didn't need to cross post this to so many groups, it really
> defeats the purpose of having groups.
Maybe. I've not got too much experience with the SQL server groups. I wasn't
sure which the best were.
Cheers, Mike
|||MDB with linked tables and bound forms is surely the most
Rapid development possible: you loose only on Installation,
Flexibility, Speed, Footprint, Transactional support etc.
(david)
"Mike MacSween" <mike.macsween.zerospamplease@.btinternet.com> wrote in
message news:419a6b0c$0$218$5a6aecb4@.news.aaisp.net.uk...
> I've got a SQL Server database. Nearly finished. It's going to go on a
> single non networked machine. One day somebody might get access to it over
> ADSL (probably TS), but for now it's a single user no lan.
> The machine will actually be running the MSDE. Windows XP Home.
> I'm quite happy, for now, to put all the business logic in SQL Server.
> Triggers, SPs etc.
> I've got a fair bit of Access development experience.
> What's the absolute quickest way to develop a client for this?
> MDB or ADP client?
> OLE-DB or ODBC connection?
> Bound or unbound
> My experience is with Access 97/2000 FE/BE type apps.
> I've got ADSL, the customer's got ADSL, so any emergency DBA type stuff I
> can do via VNC.
> Yours opinions, as ever, are most valued and welcome.
> Mike
>
|||"Mike MacSween" <mike.macsween.zerospamplease@.btinternet.com> wrote in
message news:419a78b5$0$221$5a6aecb4@.news.aaisp.net.uk...
> Thanks. I don't see why it needs to be a web app. One user using the
> machine that the database lives on?
Isn't that user remote? Using terminal services is a poor substitute if it
really should be a web app. If they really are the only user and there only
every will be one user then why not install the whole lot on that persons
machine.

> I want a rich client for this, not RSI inducing mouse clicking on a web
> interface.
Access is barely any richer than a web page. :-) Are you sure you didn't
word the question just to get reassurance about a decision you've already
made. Of course access is going to be the 'RADiest' front end to use but I'd
say it is far from the best. You probably need to provide more details of
what your app does and how it will be used.
Michael
|||> Access is barely any richer than a web page. :-) Are you sure you didn't
How so?

> word the question just to get reassurance about a decision you've already
> made. Of course access is going to be the 'RADiest' front end to use but I'd
> say it is far from the best. You probably need to provide more details of
> what your app does and how it will be used.
Access has subdatasheets built into tables and queries, making
one/many relationships more understandable to, erm, end users without
all the technical experience in the world. Not that direct-table
editing is a good idea, but sometimes it's necessary. It's also got a
forms system that's tailored to database usage; again it's not the
world's best, but it gets the job done faster when the job is
databasing. And it's got a built-in report system. Again not the
best, but...
Where Access falls behind is as a scalable database engine, especially
a transactional one. But it's got a great front end - much better
than SQL Server. Absolutely "richer" than a web page, without some
really talented web folks.
|||Thug Passion wrote:
> Access has subdatasheets built into tables and queries, making
> one/many relationships more understandable to, erm, end users without
> all the technical experience in the world. Not that direct-table
> editing is a good idea, but sometimes it's necessary. It's also got a
> forms system that's tailored to database usage; again it's not the
> world's best, but it gets the job done faster when the job is
> databasing. And it's got a built-in report system. Again not the
> best, but...
> Where Access falls behind is as a scalable database engine, especially
> a transactional one. But it's got a great front end - much better
> than SQL Server. Absolutely "richer" than a web page, without some
> really talented web folks.
I fear we're gettin off-topic, but...
- No such thing as direct table editing, unless what you meant was that
the table pages remain locked by Access while the editing is going on
- SQL Server has no front end - it's a back-end system
I agree that setting up simple forms in Access is easy, but you need
Access to use Access and it's terrible IMO for multi-user applications,
which is what SQL Server is designed for.
In addition, it's a source of problems when your ambitious end-users
start querying the database ad-hoc and generate all sorts of big, bad
SQL.
It is quick and dirty if what you're looking for is an easy way to
manage and edit data. But I would never recommend it be used for an
application or by end-users against SQL Server for anything but canned
reports.
If you're using an enterprise database, shouldn't you make sure your
application is suitable for that environment. For a single-user app and
MSDE, I guess it really doesn;t matter if it gets the job done.
David G.
|||"Michael C" <mculley@.NOSPAMoptushome.com.au> wrote in message
news:eLqNzODzEHA.828@.TK2MSFTNGP10.phx.gbl...
> "Mike MacSween" <mike.macsween.zerospamplease@.btinternet.com> wrote in
> message news:419a78b5$0$221$5a6aecb4@.news.aaisp.net.uk...
> Isn't that user remote? Using terminal services is a poor substitute if it
> really should be a web app. If they really are the only user and there
> only every will be one user then why not install the whole lot on that
> persons machine.
OK, once again. The database and the client software to access it will be
located on a computer. One computer, located at the customers office. The
customer will look at a monitor that is connected to this computer, via a 2
metre VGA cable.

> Access is barely any richer than a web page. :-)
I disagree completely. I've yet to see a web page that allows keyboard
shortcuts. Or form/subform relationships. Or the ability to format reports
based upon the data values in the datasource. Or bound forms. With the form
level events that I can use to run code.

> Are you sure you didn't word the question just to get reassurance about a
> decision you've already made.
I haven't got a clue what you're talking about. My question was perfectly
clear.

> Of course access is going to be the 'RADiest' front end to use but I'd say
> it is far from the best.
So you mean MDBs or ADPs. Bound or unbound forms? OLE-DB or ODBC connection?
Infact just like I asked.
Mike
|||Mike MacSween wrote:
> "Michael C" <mculley@.NOSPAMoptushome.com.au> wrote in message
> news:eLqNzODzEHA.828@.TK2MSFTNGP10.phx.gbl...
> OK, once again. The database and the client software to access it
> will be located on a computer. One computer, located at the customers
> office. The customer will look at a monitor that is connected to this
> computer, via a 2 metre VGA cable.
>
> I disagree completely. I've yet to see a web page that allows keyboard
> shortcuts. Or form/subform relationships. Or the ability to format
> reports based upon the data values in the datasource. Or bound forms.
> With the form level events that I can use to run code.
>
> I haven't got a clue what you're talking about. My question was
> perfectly clear.
>
> So you mean MDBs or ADPs. Bound or unbound forms? OLE-DB or ODBC
> connection?
> Infact just like I asked.
> Mike
Use a longer cable.
David G.
|||"David Gugick" <davidg-nospam@.imceda.com> wrote in message
news:ujmC1mGzEHA.824@.TK2MSFTNGP11.phx.gbl...

> It is quick and dirty if what you're looking for is an easy way to manage
> and edit data.
I'm looking for quick. Both in terms of user experience and developement
times.
Is Access dirty? Tell me why.

> But I would never recommend it be used for an application or by end-users
> against SQL Server for anything but canned reports.
Why not? What would you reccomend as a client application for SQL Server?
For a single user not networked application.
Or do you think I should let the user edit the SQL tables directly?

> If you're using an enterprise database, shouldn't you make sure your
> application is suitable for that environment.
I'm developing using SQL Server. I'll implement using the MSDE. I don't know
whether that counts as an 'enterprise' database. The business use is an
enterprise, money changes hands and profit is made. If that's what you mean.
But the projected number of users is 1, one, uno, un, ein.

> For a single-user app and MSDE, I guess it really doesn;t matter if it
> gets the job done.
Getting the job done is my aim!
Thanks, Mike
sql

RADiest Client for SQL Server

I've got a SQL Server database. Nearly finished. It's going to go on a
single non networked machine. One day somebody might get access to it over
ADSL (probably TS), but for now it's a single user no lan.
The machine will actually be running the MSDE. Windows XP Home.
I'm quite happy, for now, to put all the business logic in SQL Server.
Triggers, SPs etc.
I've got a fair bit of Access development experience.
What's the absolute quickest way to develop a client for this?
MDB or ADP client?
OLE-DB or ODBC connection?
Bound or unbound
My experience is with Access 97/2000 FE/BE type apps.
I've got ADSL, the customer's got ADSL, so any emergency DBA type stuff I
can do via VNC.
Yours opinions, as ever, are most valued and welcome.
Mike
"Mike MacSween" <mike.macsween.zerospamplease@.btinternet.com> wrote in
message news:419a6b0c$0$218$5a6aecb4@.news.aaisp.net.uk...
> What's the absolute quickest way to develop a client for this?
If this app is to be used by your clients then it should probably be a web
app. That's not going to be the RADiest but possibly the most suitable.

> Yours opinions, as ever, are most valued and welcome.
You probably didn't need to cross post this to so many groups, it really
defeats the purpose of having groups.
Michael
|||"Michael C" <mculley@.NOSPAMoptushome.com.au> wrote in message
news:O%23sxkMCzEHA.3336@.TK2MSFTNGP11.phx.gbl...
> "Mike MacSween" <mike.macsween.zerospamplease@.btinternet.com> wrote in
> message news:419a6b0c$0$218$5a6aecb4@.news.aaisp.net.uk...
> If this app is to be used by your clients then it should probably be a web
> app. That's not going to be the RADiest but possibly the most suitable.
Thanks. I don't see why it needs to be a web app. One user using the machine
that the database lives on? I want a rich client for this, not RSI inducing
mouse clicking on a web interface.

> You probably didn't need to cross post this to so many groups, it really
> defeats the purpose of having groups.
Maybe. I've not got too much experience with the SQL server groups. I wasn't
sure which the best were.
Cheers, Mike
|||MDB with linked tables and bound forms is surely the most
Rapid development possible: you loose only on Installation,
Flexibility, Speed, Footprint, Transactional support etc.
(david)
"Mike MacSween" <mike.macsween.zerospamplease@.btinternet.com> wrote in
message news:419a6b0c$0$218$5a6aecb4@.news.aaisp.net.uk...
> I've got a SQL Server database. Nearly finished. It's going to go on a
> single non networked machine. One day somebody might get access to it over
> ADSL (probably TS), but for now it's a single user no lan.
> The machine will actually be running the MSDE. Windows XP Home.
> I'm quite happy, for now, to put all the business logic in SQL Server.
> Triggers, SPs etc.
> I've got a fair bit of Access development experience.
> What's the absolute quickest way to develop a client for this?
> MDB or ADP client?
> OLE-DB or ODBC connection?
> Bound or unbound
> My experience is with Access 97/2000 FE/BE type apps.
> I've got ADSL, the customer's got ADSL, so any emergency DBA type stuff I
> can do via VNC.
> Yours opinions, as ever, are most valued and welcome.
> Mike
>
|||"Mike MacSween" <mike.macsween.zerospamplease@.btinternet.com> wrote in
message news:419a78b5$0$221$5a6aecb4@.news.aaisp.net.uk...
> Thanks. I don't see why it needs to be a web app. One user using the
> machine that the database lives on?
Isn't that user remote? Using terminal services is a poor substitute if it
really should be a web app. If they really are the only user and there only
every will be one user then why not install the whole lot on that persons
machine.

> I want a rich client for this, not RSI inducing mouse clicking on a web
> interface.
Access is barely any richer than a web page. :-) Are you sure you didn't
word the question just to get reassurance about a decision you've already
made. Of course access is going to be the 'RADiest' front end to use but I'd
say it is far from the best. You probably need to provide more details of
what your app does and how it will be used.
Michael
|||> Access is barely any richer than a web page. :-) Are you sure you didn't
How so?

> word the question just to get reassurance about a decision you've already
> made. Of course access is going to be the 'RADiest' front end to use but I'd
> say it is far from the best. You probably need to provide more details of
> what your app does and how it will be used.
Access has subdatasheets built into tables and queries, making
one/many relationships more understandable to, erm, end users without
all the technical experience in the world. Not that direct-table
editing is a good idea, but sometimes it's necessary. It's also got a
forms system that's tailored to database usage; again it's not the
world's best, but it gets the job done faster when the job is
databasing. And it's got a built-in report system. Again not the
best, but...
Where Access falls behind is as a scalable database engine, especially
a transactional one. But it's got a great front end - much better
than SQL Server. Absolutely "richer" than a web page, without some
really talented web folks.
|||Thug Passion wrote:
> Access has subdatasheets built into tables and queries, making
> one/many relationships more understandable to, erm, end users without
> all the technical experience in the world. Not that direct-table
> editing is a good idea, but sometimes it's necessary. It's also got a
> forms system that's tailored to database usage; again it's not the
> world's best, but it gets the job done faster when the job is
> databasing. And it's got a built-in report system. Again not the
> best, but...
> Where Access falls behind is as a scalable database engine, especially
> a transactional one. But it's got a great front end - much better
> than SQL Server. Absolutely "richer" than a web page, without some
> really talented web folks.
I fear we're gettin off-topic, but...
- No such thing as direct table editing, unless what you meant was that
the table pages remain locked by Access while the editing is going on
- SQL Server has no front end - it's a back-end system
I agree that setting up simple forms in Access is easy, but you need
Access to use Access and it's terrible IMO for multi-user applications,
which is what SQL Server is designed for.
In addition, it's a source of problems when your ambitious end-users
start querying the database ad-hoc and generate all sorts of big, bad
SQL.
It is quick and dirty if what you're looking for is an easy way to
manage and edit data. But I would never recommend it be used for an
application or by end-users against SQL Server for anything but canned
reports.
If you're using an enterprise database, shouldn't you make sure your
application is suitable for that environment. For a single-user app and
MSDE, I guess it really doesn;t matter if it gets the job done.
David G.
|||"Michael C" <mculley@.NOSPAMoptushome.com.au> wrote in message
news:eLqNzODzEHA.828@.TK2MSFTNGP10.phx.gbl...
> "Mike MacSween" <mike.macsween.zerospamplease@.btinternet.com> wrote in
> message news:419a78b5$0$221$5a6aecb4@.news.aaisp.net.uk...
> Isn't that user remote? Using terminal services is a poor substitute if it
> really should be a web app. If they really are the only user and there
> only every will be one user then why not install the whole lot on that
> persons machine.
OK, once again. The database and the client software to access it will be
located on a computer. One computer, located at the customers office. The
customer will look at a monitor that is connected to this computer, via a 2
metre VGA cable.

> Access is barely any richer than a web page. :-)
I disagree completely. I've yet to see a web page that allows keyboard
shortcuts. Or form/subform relationships. Or the ability to format reports
based upon the data values in the datasource. Or bound forms. With the form
level events that I can use to run code.

> Are you sure you didn't word the question just to get reassurance about a
> decision you've already made.
I haven't got a clue what you're talking about. My question was perfectly
clear.

> Of course access is going to be the 'RADiest' front end to use but I'd say
> it is far from the best.
So you mean MDBs or ADPs. Bound or unbound forms? OLE-DB or ODBC connection?
Infact just like I asked.
Mike
|||Mike MacSween wrote:
> "Michael C" <mculley@.NOSPAMoptushome.com.au> wrote in message
> news:eLqNzODzEHA.828@.TK2MSFTNGP10.phx.gbl...
> OK, once again. The database and the client software to access it
> will be located on a computer. One computer, located at the customers
> office. The customer will look at a monitor that is connected to this
> computer, via a 2 metre VGA cable.
>
> I disagree completely. I've yet to see a web page that allows keyboard
> shortcuts. Or form/subform relationships. Or the ability to format
> reports based upon the data values in the datasource. Or bound forms.
> With the form level events that I can use to run code.
>
> I haven't got a clue what you're talking about. My question was
> perfectly clear.
>
> So you mean MDBs or ADPs. Bound or unbound forms? OLE-DB or ODBC
> connection?
> Infact just like I asked.
> Mike
Use a longer cable.
David G.
|||"David Gugick" <davidg-nospam@.imceda.com> wrote in message
news:ujmC1mGzEHA.824@.TK2MSFTNGP11.phx.gbl...

> It is quick and dirty if what you're looking for is an easy way to manage
> and edit data.
I'm looking for quick. Both in terms of user experience and developement
times.
Is Access dirty? Tell me why.

> But I would never recommend it be used for an application or by end-users
> against SQL Server for anything but canned reports.
Why not? What would you reccomend as a client application for SQL Server?
For a single user not networked application.
Or do you think I should let the user edit the SQL tables directly?

> If you're using an enterprise database, shouldn't you make sure your
> application is suitable for that environment.
I'm developing using SQL Server. I'll implement using the MSDE. I don't know
whether that counts as an 'enterprise' database. The business use is an
enterprise, money changes hands and profit is made. If that's what you mean.
But the projected number of users is 1, one, uno, un, ein.

> For a single-user app and MSDE, I guess it really doesn;t matter if it
> gets the job done.
Getting the job done is my aim!
Thanks, Mike

RADiest Client for SQL Server

I've got a SQL Server database. Nearly finished. It's going to go on a
single non networked machine. One day somebody might get access to it over
ADSL (probably TS), but for now it's a single user no lan.
The machine will actually be running the MSDE. Windows XP Home.
I'm quite happy, for now, to put all the business logic in SQL Server.
Triggers, SPs etc.
I've got a fair bit of Access development experience.
What's the absolute quickest way to develop a client for this?
MDB or ADP client?
OLE-DB or ODBC connection?
Bound or unbound
My experience is with Access 97/2000 FE/BE type apps.
I've got ADSL, the customer's got ADSL, so any emergency DBA type stuff I
can do via VNC.
Yours opinions, as ever, are most valued and welcome.
Mike
"Mike MacSween" <mike.macsween.zerospamplease@.btinternet.com> wrote in
message news:419a6b0c$0$218$5a6aecb4@.news.aaisp.net.uk...
> What's the absolute quickest way to develop a client for this?
If this app is to be used by your clients then it should probably be a web
app. That's not going to be the RADiest but possibly the most suitable.

> Yours opinions, as ever, are most valued and welcome.
You probably didn't need to cross post this to so many groups, it really
defeats the purpose of having groups.
Michael
|||"Michael C" <mculley@.NOSPAMoptushome.com.au> wrote in message
news:O%23sxkMCzEHA.3336@.TK2MSFTNGP11.phx.gbl...
> "Mike MacSween" <mike.macsween.zerospamplease@.btinternet.com> wrote in
> message news:419a6b0c$0$218$5a6aecb4@.news.aaisp.net.uk...
> If this app is to be used by your clients then it should probably be a web
> app. That's not going to be the RADiest but possibly the most suitable.
Thanks. I don't see why it needs to be a web app. One user using the machine
that the database lives on? I want a rich client for this, not RSI inducing
mouse clicking on a web interface.

> You probably didn't need to cross post this to so many groups, it really
> defeats the purpose of having groups.
Maybe. I've not got too much experience with the SQL server groups. I wasn't
sure which the best were.
Cheers, Mike
|||MDB with linked tables and bound forms is surely the most
Rapid development possible: you loose only on Installation,
Flexibility, Speed, Footprint, Transactional support etc.
(david)
"Mike MacSween" <mike.macsween.zerospamplease@.btinternet.com> wrote in
message news:419a6b0c$0$218$5a6aecb4@.news.aaisp.net.uk...
> I've got a SQL Server database. Nearly finished. It's going to go on a
> single non networked machine. One day somebody might get access to it over
> ADSL (probably TS), but for now it's a single user no lan.
> The machine will actually be running the MSDE. Windows XP Home.
> I'm quite happy, for now, to put all the business logic in SQL Server.
> Triggers, SPs etc.
> I've got a fair bit of Access development experience.
> What's the absolute quickest way to develop a client for this?
> MDB or ADP client?
> OLE-DB or ODBC connection?
> Bound or unbound
> My experience is with Access 97/2000 FE/BE type apps.
> I've got ADSL, the customer's got ADSL, so any emergency DBA type stuff I
> can do via VNC.
> Yours opinions, as ever, are most valued and welcome.
> Mike
>
|||"Mike MacSween" <mike.macsween.zerospamplease@.btinternet.com> wrote in
message news:419a78b5$0$221$5a6aecb4@.news.aaisp.net.uk...
> Thanks. I don't see why it needs to be a web app. One user using the
> machine that the database lives on?
Isn't that user remote? Using terminal services is a poor substitute if it
really should be a web app. If they really are the only user and there only
every will be one user then why not install the whole lot on that persons
machine.

> I want a rich client for this, not RSI inducing mouse clicking on a web
> interface.
Access is barely any richer than a web page. :-) Are you sure you didn't
word the question just to get reassurance about a decision you've already
made. Of course access is going to be the 'RADiest' front end to use but I'd
say it is far from the best. You probably need to provide more details of
what your app does and how it will be used.
Michael
|||> Access is barely any richer than a web page. :-) Are you sure you didn't
How so?

> word the question just to get reassurance about a decision you've already
> made. Of course access is going to be the 'RADiest' front end to use but I'd
> say it is far from the best. You probably need to provide more details of
> what your app does and how it will be used.
Access has subdatasheets built into tables and queries, making
one/many relationships more understandable to, erm, end users without
all the technical experience in the world. Not that direct-table
editing is a good idea, but sometimes it's necessary. It's also got a
forms system that's tailored to database usage; again it's not the
world's best, but it gets the job done faster when the job is
databasing. And it's got a built-in report system. Again not the
best, but...
Where Access falls behind is as a scalable database engine, especially
a transactional one. But it's got a great front end - much better
than SQL Server. Absolutely "richer" than a web page, without some
really talented web folks.
|||Thug Passion wrote:
> Access has subdatasheets built into tables and queries, making
> one/many relationships more understandable to, erm, end users without
> all the technical experience in the world. Not that direct-table
> editing is a good idea, but sometimes it's necessary. It's also got a
> forms system that's tailored to database usage; again it's not the
> world's best, but it gets the job done faster when the job is
> databasing. And it's got a built-in report system. Again not the
> best, but...
> Where Access falls behind is as a scalable database engine, especially
> a transactional one. But it's got a great front end - much better
> than SQL Server. Absolutely "richer" than a web page, without some
> really talented web folks.
I fear we're gettin off-topic, but...
- No such thing as direct table editing, unless what you meant was that
the table pages remain locked by Access while the editing is going on
- SQL Server has no front end - it's a back-end system
I agree that setting up simple forms in Access is easy, but you need
Access to use Access and it's terrible IMO for multi-user applications,
which is what SQL Server is designed for.
In addition, it's a source of problems when your ambitious end-users
start querying the database ad-hoc and generate all sorts of big, bad
SQL.
It is quick and dirty if what you're looking for is an easy way to
manage and edit data. But I would never recommend it be used for an
application or by end-users against SQL Server for anything but canned
reports.
If you're using an enterprise database, shouldn't you make sure your
application is suitable for that environment. For a single-user app and
MSDE, I guess it really doesn;t matter if it gets the job done.
David G.
|||"Michael C" <mculley@.NOSPAMoptushome.com.au> wrote in message
news:eLqNzODzEHA.828@.TK2MSFTNGP10.phx.gbl...
> "Mike MacSween" <mike.macsween.zerospamplease@.btinternet.com> wrote in
> message news:419a78b5$0$221$5a6aecb4@.news.aaisp.net.uk...
> Isn't that user remote? Using terminal services is a poor substitute if it
> really should be a web app. If they really are the only user and there
> only every will be one user then why not install the whole lot on that
> persons machine.
OK, once again. The database and the client software to access it will be
located on a computer. One computer, located at the customers office. The
customer will look at a monitor that is connected to this computer, via a 2
metre VGA cable.

> Access is barely any richer than a web page. :-)
I disagree completely. I've yet to see a web page that allows keyboard
shortcuts. Or form/subform relationships. Or the ability to format reports
based upon the data values in the datasource. Or bound forms. With the form
level events that I can use to run code.

> Are you sure you didn't word the question just to get reassurance about a
> decision you've already made.
I haven't got a clue what you're talking about. My question was perfectly
clear.

> Of course access is going to be the 'RADiest' front end to use but I'd say
> it is far from the best.
So you mean MDBs or ADPs. Bound or unbound forms? OLE-DB or ODBC connection?
Infact just like I asked.
Mike
|||Mike MacSween wrote:
> "Michael C" <mculley@.NOSPAMoptushome.com.au> wrote in message
> news:eLqNzODzEHA.828@.TK2MSFTNGP10.phx.gbl...
> OK, once again. The database and the client software to access it
> will be located on a computer. One computer, located at the customers
> office. The customer will look at a monitor that is connected to this
> computer, via a 2 metre VGA cable.
>
> I disagree completely. I've yet to see a web page that allows keyboard
> shortcuts. Or form/subform relationships. Or the ability to format
> reports based upon the data values in the datasource. Or bound forms.
> With the form level events that I can use to run code.
>
> I haven't got a clue what you're talking about. My question was
> perfectly clear.
>
> So you mean MDBs or ADPs. Bound or unbound forms? OLE-DB or ODBC
> connection?
> Infact just like I asked.
> Mike
Use a longer cable.
David G.
|||"David Gugick" <davidg-nospam@.imceda.com> wrote in message
news:ujmC1mGzEHA.824@.TK2MSFTNGP11.phx.gbl...

> It is quick and dirty if what you're looking for is an easy way to manage
> and edit data.
I'm looking for quick. Both in terms of user experience and developement
times.
Is Access dirty? Tell me why.

> But I would never recommend it be used for an application or by end-users
> against SQL Server for anything but canned reports.
Why not? What would you reccomend as a client application for SQL Server?
For a single user not networked application.
Or do you think I should let the user edit the SQL tables directly?

> If you're using an enterprise database, shouldn't you make sure your
> application is suitable for that environment.
I'm developing using SQL Server. I'll implement using the MSDE. I don't know
whether that counts as an 'enterprise' database. The business use is an
enterprise, money changes hands and profit is made. If that's what you mean.
But the projected number of users is 1, one, uno, un, ein.

> For a single-user app and MSDE, I guess it really doesn;t matter if it
> gets the job done.
Getting the job done is my aim!
Thanks, Mike

Wednesday, March 21, 2012

Quoted literal strings won't force a phrase match

Hello all,
From what I've read, SQL Server is supposed to do a phrase match when
you do a full text search that contains quoted literal strings. So,
for example, if I did a full text search on the phrase "time out" and
I put it in quotes, it's supposed to search for the full phrase "time
out" and not just look for rows that contain the words "time" or
"out." However, this isn't working for me.
Here is the query that I'm using :
SELECT *
FROM Content_Items ci
INNER JOIN FREETEXTTABLE(Content_Items, hed, '"time out"') AS ft
ON ci.contentItemId = ft.[KEY]
ORDER BY ft.RANK DESC
What's it's doing is this : it's returning a bunch of rows that have
the words "time" or "out" in the column called hed. It's also
returning rows that have the full phrase "time out", but it's giving
those rows the same rank as rows that only contain the word "time."
In this case, that rank is 180.
Is there anything else I should be doing in my query, or is there some
configuration option I should have turned on?
Thanks.
Ok, I've made some progress on this problem. Apparently SQL Server is
ignoring noise words in my phrase match.
For example, I ran this query :
SELECT *
FROM Content_Items ci
INNER JOIN FREETEXTTABLE(Content_Items, hed, '"time capsule"') AS ft
ON ci.contentItemId = ft.[KEY]
ORDER BY ft.RANK DESC
And it did exactly what it was supposed to do, since neither "time"
nor "capsule" is a noise word.
My impression was that noise words aren't stripped out of a full text
search if the search phrase is a quoted literal. Thus, my search for
"time out" should look for the full phrase "time out", and not just
the word "time."
Does anybody know why SQL Server is removing my noise word from the
phrase match?
On Jan 18, 12:49 pm, Afrobla...@.gmail.com wrote:
> Hello all,
> From what I've read, SQL Server is supposed to do a phrase match when
> you do a full text search that contains quoted literal strings. So,
> for example, if I did a full text search on the phrase "time out" and
> I put it in quotes, it's supposed to search for the full phrase "time
> out" and not just look for rows that contain the words "time" or
> "out." However, this isn't working for me.
> Here is the query that I'm using :
> SELECT *
> FROM Content_Items ci
> INNER JOIN FREETEXTTABLE(Content_Items, hed, '"time out"') AS ft
> ON ci.contentItemId = ft.[KEY]
> ORDER BY ft.RANK DESC
> What's it's doing is this : it's returning a bunch of rows that have
> the words "time" or "out" in the column called hed. It's also
> returning rows that have the full phrase "time out", but it's giving
> those rows the same rank as rows that only contain the word "time."
> In this case, that rank is 180.
> Is there anything else I should be doing in my query, or is there some
> configuration option I should have turned on?
> Thanks.
|||A noise word is always a noise word. Noise words are applied to the
building of the index, so the full-text search has nothing to find.
Therefore, if you change the noise word list, you must rebuild the index
before you can search for the former noise word. (It is common to run with
either a single blank or a single nonsense word in the noise word file, so
as to get no noise words.)
Of course, you can do a string search for '%time out%' in addition to the
full-text query.
RLF
"Lepidopterist" <jeremypollack@.gmail.com> wrote in message
news:19bd6a5a-c6b0-486b-a69a-45fc1d5b9e92@.f47g2000hsd.googlegroups.com...
> Ok, I've made some progress on this problem. Apparently SQL Server is
> ignoring noise words in my phrase match.
> For example, I ran this query :
> SELECT *
> FROM Content_Items ci
> INNER JOIN FREETEXTTABLE(Content_Items, hed, '"time capsule"') AS ft
> ON ci.contentItemId = ft.[KEY]
> ORDER BY ft.RANK DESC
> And it did exactly what it was supposed to do, since neither "time"
> nor "capsule" is a noise word.
> My impression was that noise words aren't stripped out of a full text
> search if the search phrase is a quoted literal. Thus, my search for
> "time out" should look for the full phrase "time out", and not just
> the word "time."
> Does anybody know why SQL Server is removing my noise word from the
> phrase match?
> On Jan 18, 12:49 pm, Afrobla...@.gmail.com wrote:
>

Wednesday, March 7, 2012

Quick Q: regarding static dataAccess class and concurrency

Im new to SQL and DB in general.
Ive been experimenting and right now I have a 1 static dataAccess class that handles every query to the DB.

Q: Do Static classes such as a static dataAccess class need to be threadsafe as there is only one instance of these within the entire application.See the second bullet here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconThreadingDesignGuidelines.asp

Quick Help Please

I've made a demo showing the use of an Event Notification. It has worked a
100 times before but all of a sudden it doesn't !!? Here's the code and
everything else is in place. I've just installed the server and it's a
Developer Edition and I'm using the good old Northwind Database. It has the
right level and I've enabled the Service Broker. So what is wrong. Am I
missing some options that has to be set ? it can't be the code. Worked
before. Changing the code to use the server_guid doesn't work either. My
queue is empty!!
Create Event Notification NotifyDeadlock
On Server
For Deadlock_Graph
To Service 'NotifyService','current database'
Regards
Bobby Henningsen
Hard to say what it might be, perhaps trustworty, master key or something else (I'm no SB
expert...). Here's the relevant part of the script that I got working:
ALTER DATABASE AdventureWorks SET ENABLE_BROKER
ALTER DATABASE AdventureWorks SET TRUSTWORTHY ON
USE AdventureWorks
CREATE MASTER KEY ENCRYPTION BY PASSWORD = 'P@.ssw0rd'
-- AuditLog table for storing event notification message information
IF OBJECT_ID('dbo.AuditLog') IS NOT NULL DROP TABLE dbo.AuditLog
CREATE TABLE AuditLog
(Command NVARCHAR(1000),
PostTime NVARCHAR(24),
HostName NVARCHAR(100),
LoginName NVARCHAR(100)
)
GO
CREATE QUEUE NotifyQueue
GO
-- create a service on the queue that references the event notifications contract
CREATE SERVICE NotifyService
ON QUEUE NotifyQueue
([http://schemas.microsoft.com/SQL/Not...ntNotification])
GO
-- create a route on the service to define the address to
-- which Service Broker sends messages for the service
CREATE ROUTE NotifyRoute
WITH SERVICE_NAME = 'NotifyService', ADDRESS = 'LOCAL'
GO
-- create the database event notification
CREATE EVENT NOTIFICATION NotifyCREATE_TABLE
ON DATABASE
FOR CREATE_TABLE
TO SERVICE 'NotifyService', 'current database'
-- create a table to fire the NotifyCREATE_TABLE event
CREATE TABLE T1 (col1 int)
GO
--Check the physical queue table
SELECT * FROM dbo.NotifyQueue
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Bobby Henningsen" <bobhen@.mail.dk> wrote in message news:erPG6a9OGHA.3936@.TK2MSFTNGP12.phx.gbl...
> I've made a demo showing the use of an Event Notification. It has worked a 100 times before but
> all of a sudden it doesn't !!? Here's the code and everything else is in place. I've just
> installed the server and it's a Developer Edition and I'm using the good old Northwind Database.
> It has the right level and I've enabled the Service Broker. So what is wrong. Am I missing some
> options that has to be set ? it can't be the code. Worked before. Changing the code to use the
> server_guid doesn't work either. My queue is empty!!
> Create Event Notification NotifyDeadlock
> On Server
> For Deadlock_Graph
> To Service 'NotifyService','current database'
> Regards
> Bobby Henningsen
>
|||Hi Tibor,
thanx for your answer. I got it to work. Actually it was a problem with the
ownership of the database. Changing it to 'sa' solved it. But I'm not quite
sure why. It's some security context problem.
Regards
Bobby Henningsen
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
message news:Ob1zjMDPGHA.1288@.TK2MSFTNGP09.phx.gbl...
> Hard to say what it might be, perhaps trustworty, master key or something
> else (I'm no SB expert...). Here's the relevant part of the script that I
> got working:
> ALTER DATABASE AdventureWorks SET ENABLE_BROKER
> ALTER DATABASE AdventureWorks SET TRUSTWORTHY ON
> USE AdventureWorks
> CREATE MASTER KEY ENCRYPTION BY PASSWORD = 'P@.ssw0rd'
> -- AuditLog table for storing event notification message information
> IF OBJECT_ID('dbo.AuditLog') IS NOT NULL DROP TABLE dbo.AuditLog
> CREATE TABLE AuditLog
> (Command NVARCHAR(1000),
> PostTime NVARCHAR(24),
> HostName NVARCHAR(100),
> LoginName NVARCHAR(100)
> )
> GO
> CREATE QUEUE NotifyQueue
> GO
>
> -- create a service on the queue that references the event notifications
> contract
> CREATE SERVICE NotifyService
> ON QUEUE NotifyQueue
> ([http://schemas.microsoft.com/SQL/Not...ntNotification])
> GO
>
> -- create a route on the service to define the address to
> -- which Service Broker sends messages for the service
> CREATE ROUTE NotifyRoute
> WITH SERVICE_NAME = 'NotifyService', ADDRESS = 'LOCAL'
> GO
>
> -- create the database event notification
> CREATE EVENT NOTIFICATION NotifyCREATE_TABLE
> ON DATABASE
> FOR CREATE_TABLE
> TO SERVICE 'NotifyService', 'current database'
>
> -- create a table to fire the NotifyCREATE_TABLE event
> CREATE TABLE T1 (col1 int)
> GO
> --Check the physical queue table
> SELECT * FROM dbo.NotifyQueue
>
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www.solidqualitylearning.com/
> Blog: http://solidqualitylearning.com/blogs/tibor/
>
> "Bobby Henningsen" <bobhen@.mail.dk> wrote in message
> news:erPG6a9OGHA.3936@.TK2MSFTNGP12.phx.gbl...
>