Showing posts with label books. Show all posts
Showing posts with label books. Show all posts

Monday, March 26, 2012

Is there a hardcopy version of the Sql Server 2005 online books?

Does anyone know if there is a hardcopy book version of the Sql Server books online documentation? The online help is great but it would be nice to have a hardcopy of it too. My co-worker thought he saw a reference somewhere that gave you the option of purchasing a hardcopy format of the online help. But I can't find anything that says a hardcopy version is available to buy from Microsoft. Does this ring a bell?

Thanks!

There isn't, but it's a common request. Years ago we produced the content in paper form, but since we're over 48,000 pages now, not many people are interested in that many books on their shelf!

You can always copy and paste out of the pages you're interested in, although that might be a pain to do. We do have the suggestion in the hopper for printing, or saving, sections of BOL. Not sure what the timeline is at this point.

Buck Woody

http://www.buckwoody.com

|||Thanks for the reply, Buck! Hopefully in the future there will be some option for printing all or sections of BOL - I'll be on the lookout. Happy new Sql Server year!|||

Jlu,

You can try it here too....

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1006223&SiteID=1

|||

Yes, people like me who read all those thick books to know about ALL the features need them and are ready to pay big $$. Please publish at least some books - on T-SQL, DTS, Reporting Services, BI - a must!!!

Thank you.

Alexander

Is there a hardcopy version of the Sql Server 2005 online books?

Does anyone know if there is a hardcopy book version of the Sql Server books online documentation? The online help is great but it would be nice to have a hardcopy of it too. My co-worker thought he saw a reference somewhere that gave you the option of purchasing a hardcopy format of the online help. But I can't find anything that says a hardcopy version is available to buy from Microsoft. Does this ring a bell?

Thanks!

There isn't, but it's a common request. Years ago we produced the content in paper form, but since we're over 48,000 pages now, not many people are interested in that many books on their shelf!

You can always copy and paste out of the pages you're interested in, although that might be a pain to do. We do have the suggestion in the hopper for printing, or saving, sections of BOL. Not sure what the timeline is at this point.

Buck Woody

http://www.buckwoody.com

|||Thanks for the reply, Buck! Hopefully in the future there will be some option for printing all or sections of BOL - I'll be on the lookout. Happy new Sql Server year!|||

Jlu,

You can try it here too....

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1006223&SiteID=1

|||

Yes, people like me who read all those thick books to know about ALL the features need them and are ready to pay big $$. Please publish at least some books - on T-SQL, DTS, Reporting Services, BI - a must!!!

Thank you.

Alexander

Is there a good book on replication?

Hello all,
Is there a really good book on replication that you can all recommend? I own
many SQL Server books but none of them cover the subject in detail.
Or do you recommend Books Online is my best option? Please advise.
Thanks!
Johnny
Sinky Hillary Bait!
"Johnny" <Johnny@.discussions.microsoft.com> wrote in message
news:29A8063A-028D-477F-8119-4673356634FB@.microsoft.com...
> Hello all,
> Is there a really good book on replication that you can all recommend? I
> own
> many SQL Server books but none of them cover the subject in detail.
> Or do you recommend Books Online is my best option? Please advise.
> Thanks!
> Johnny
|||Lol!
Try the book in my sig. There is a sample chap available in the link.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Pepto" <pepto@.hotmail.com> wrote in message
news:uEuDDDUnFHA.4056@.TK2MSFTNGP10.phx.gbl...
> Sinky Hillary Bait!
>
> "Johnny" <Johnny@.discussions.microsoft.com> wrote in message
> news:29A8063A-028D-477F-8119-4673356634FB@.microsoft.com...
>
|||Johnny,
please check out the ling in my signature below.....
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)
|||Nice. Thank you. I should be ordering a copy of that ASAP.
P.S - Why doesnt Amazon.com have this available directly from them? Just
curious.
Johnny
"Hilary Cotter" wrote:

> Lol!
> Try the book in my sig. There is a sample chap available in the link.
> --
> Hilary Cotter
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
> "Pepto" <pepto@.hotmail.com> wrote in message
> news:uEuDDDUnFHA.4056@.TK2MSFTNGP10.phx.gbl...
>
>
|||Hilary,
Does this book cover Merge replication too? Reading the title, I dont think
it does. If it does'nt, is there a reason why? I'm just curious. I'm only
interested in transactional and snapshot replication anyway.
Johnny
"Hilary Cotter" wrote:

> Lol!
> Try the book in my sig. There is a sample chap available in the link.
> --
> Hilary Cotter
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
> "Pepto" <pepto@.hotmail.com> wrote in message
> news:uEuDDDUnFHA.4056@.TK2MSFTNGP10.phx.gbl...
>
>

Is there a FAQ

I'm also interested in any white papers, books, etc for using the SQL server
engine for commerical purposes
I'd like to know about installation, configuration, etc, basically
everything one should think about when working a commercial application.
Thanks
hi M,
"M" <noway@.noway.com> ha scritto nel messaggio
news:uy3qsc2bEHA.2468@.TK2MSFTNGP09.phx.gbl...
> I'm also interested in any white papers, books, etc for using the SQL
server
> engine for commerical purposes
> I'd like to know about installation, configuration, etc, basically
> everything one should think about when working a commercial application.
> Thanks
don't know if such a white paper exists at all...
your best source about SQL Server/MSDE is Books On Line, available at
http://www.microsoft.com/sql/techinf...2000/books.asp , updated at
current service pack, localized in different languages..
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.8.0 - DbaMgr ver 0.54.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply
|||Hey M, just compile your list and post it here.. maybe I can help..
goodluck
dev
"Andrea Montanari" wrote:

> hi M,
> "M" <noway@.noway.com> ha scritto nel messaggio
> news:uy3qsc2bEHA.2468@.TK2MSFTNGP09.phx.gbl...
> server
> don't know if such a white paper exists at all...
> your best source about SQL Server/MSDE is Books On Line, available at
> http://www.microsoft.com/sql/techinf...2000/books.asp , updated at
> current service pack, localized in different languages..
> --
> Andrea Montanari (Microsoft MVP - SQL Server)
> http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
> DbaMgr2k ver 0.8.0 - DbaMgr ver 0.54.0
> (my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
> interface)
> -- remove DMO to reply
>

Wednesday, March 21, 2012

Is tempdb big enough for what Im doing, plus other questions.

Hi All,

First, where can I get some questions of this sort answered?
Preferably, are there good books or online guides that I can consult for
these types of answers when necessary?

1. How do I know, when executing a query from Query Analyzer or
otherwise, how many temporary tables will be needed, and how big they
will be?
2. Where will those temporary tables be created? Always in tempdb?
3. If part of the estimated execution plan in Query Analyzer involves a
"Hash Match/Inner Join" with an estimated row count of 5 million, how
many tables will be created along the way?
4. What happens if tempdb doesn't have enough space to create a
temporary table in its entirety?
5. etc.

Those are just examples. I guess what I need is a good book on
query/script optimization, including selects, deletes, updates, etc,
that I can reference that will describe to me what is going on
internally when certain execution plans are executed.

Not only how to write optimized queries (use SARGs, etc), but why to
write a query one way over another.

Second, my current question regards an UPDATE I'm trying to get to run
in a reasonable amount of time.

It has to update 11 million rows of a 175 million row table. I did the
math, and with each record containing 220 bytes of data, a temporary
table of all the rows would take up 33+ gigs. If, by chance, such an
update creates a temporary table with the full 175 million rows, what
happens if the partition tempdb.mdf resides on is only 28 gig in size,
etc?

I hope that made some sense, and thanks.

Warren Wright
Dallas

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!"Warren Wright" <warren.wright@.us.scorex.com> wrote in message
news:407aeb41$0$203$75868355@.news.frii.net...
> Hi All,
> First, where can I get some questions of this sort answered?
> Preferably, are there good books or online guides that I can consult for
> these types of answers when necessary?
> 1. How do I know, when executing a query from Query Analyzer or
> otherwise, how many temporary tables will be needed, and how big they
> will be?
> 2. Where will those temporary tables be created? Always in tempdb?
> 3. If part of the estimated execution plan in Query Analyzer involves a
> "Hash Match/Inner Join" with an estimated row count of 5 million, how
> many tables will be created along the way?
> 4. What happens if tempdb doesn't have enough space to create a
> temporary table in its entirety?
> 5. etc.
> Those are just examples. I guess what I need is a good book on
> query/script optimization, including selects, deletes, updates, etc,
> that I can reference that will describe to me what is going on
> internally when certain execution plans are executed.
> Not only how to write optimized queries (use SARGs, etc), but why to
> write a query one way over another.
> Second, my current question regards an UPDATE I'm trying to get to run
> in a reasonable amount of time.
> It has to update 11 million rows of a 175 million row table. I did the
> math, and with each record containing 220 bytes of data, a temporary
> table of all the rows would take up 33+ gigs. If, by chance, such an
> update creates a temporary table with the full 175 million rows, what
> happens if the partition tempdb.mdf resides on is only 28 gig in size,
> etc?
> I hope that made some sense, and thanks.
> Warren Wright
> Dallas
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!

I assume from your description above that you're talking about working
tables used internally by MSSQL, and not temp tables created by users and
applications? I don't have any detailed answers, since this isn't documented
anywhere that I know of, with the exception of the space required in tempdb
for creating indexes - see "tempdb and Index Creation" in Books Online. The
best description of MSSQL internals is "Inside SQL Server 2000" by Kalen
Delaney - it may well have more information, but I don't have my copy to
hand, so I can't check.

If MSSQL needs to use disk space, it's usually in tempdb (unless you're
creating indexes - see the BOL section above), and if there isn't enough
space then tempdb will grow according to its autogrowth settings. If you run
out of disk space, you'll get the usual errors raised when this happens
(1105, from memory, but I may be wrong).

In your situation, if you have a large transaction and limited disk space,
then one possible solution is to execute the UPDATE in batches, and truncate
the log periodically as you do it. This is only possible if you don't need
to do your UPDATE inside a transaction, of course.

Simon|||"Warren Wright" <warren.wright@.us.scorex.com> wrote in message
news:407aeb41$0$203$75868355@.news.frii.net...
> Hi All,
> First, where can I get some questions of this sort answered?
> Preferably, are there good books or online guides that I can consult for
> these types of answers when necessary?
> 1. How do I know, when executing a query from Query Analyzer or
> otherwise, how many temporary tables will be needed, and how big they
> will be?
> 2. Where will those temporary tables be created? Always in tempdb?
> 3. If part of the estimated execution plan in Query Analyzer involves a
> "Hash Match/Inner Join" with an estimated row count of 5 million, how
> many tables will be created along the way?
> 4. What happens if tempdb doesn't have enough space to create a
> temporary table in its entirety?
> 5. etc.
> Those are just examples. I guess what I need is a good book on
> query/script optimization, including selects, deletes, updates, etc,
> that I can reference that will describe to me what is going on
> internally when certain execution plans are executed.
> Not only how to write optimized queries (use SARGs, etc), but why to
> write a query one way over another.
> Second, my current question regards an UPDATE I'm trying to get to run
> in a reasonable amount of time.
> It has to update 11 million rows of a 175 million row table. I did the
> math, and with each record containing 220 bytes of data, a temporary
> table of all the rows would take up 33+ gigs. If, by chance, such an
> update creates a temporary table with the full 175 million rows, what
> happens if the partition tempdb.mdf resides on is only 28 gig in size,
> etc?
> I hope that made some sense, and thanks.
> Warren Wright
> Dallas
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!

I assume from your description above that you're talking about working
tables used internally by MSSQL, and not temp tables created by users and
applications? I don't have any detailed answers, since this isn't documented
anywhere that I know of, with the exception of the space required in tempdb
for creating indexes - see "tempdb and Index Creation" in Books Online. The
best description of MSSQL internals is "Inside SQL Server 2000" by Kalen
Delaney - it may well have more information, but I don't have my copy to
hand, so I can't check.

If MSSQL needs to use disk space, it's usually in tempdb (unless you're
creating indexes - see the BOL section above), and if there isn't enough
space then tempdb will grow according to its autogrowth settings. If you run
out of disk space, you'll get the usual errors raised when this happens
(1105, from memory, but I may be wrong).

In your situation, if you have a large transaction and limited disk space,
then one possible solution is to execute the UPDATE in batches, and truncate
the log periodically as you do it. This is only possible if you don't need
to do your UPDATE inside a transaction, of course.

Simon

Wednesday, March 7, 2012

Is replication without network connection but file-based possible?

Hello,

I've been looking around in several SQL-Forums and in SQL Books Online but haven't found clear suggestions how to tackle my problem:

Our company has to fill a database with documentation for our contractor. Our subcontractors have to supply information from their branch/craft into this database, too.

Replication (without determining a type at this time) would do fine for data-exchange between us and our subcontractors.

But for working in different companies the networks are not connected
and in some companies/departments connection to the Internet is prohibited at all.
This would result in data-exchange based on files - which wont be a problem as data needs to be updated/exchanged only once a week and is usually done at meetings using DVD-Rs.

scenario in short:
- two-way exchange of data between SQL servers being not connected
- update needed once a week
- our server: SQL Server 2005 Standard (preferred)
- servers of our subcontractors: SQL Server Express 2005 (preferred)

That's the point where I dont know how to proceed:
Is two-way replication based on files possible at all?

I read about Snapshots, but to my understanding this replaces the "whole database" without caring about changes made to it and that's why it wont work for two-way exchange.

I would appreciate your hints how to solve this problem in general or whether I should look out for other solutions - MS Access might work with restrictions - but I would prefer SQL Server.

Thanks for reading until here and in advance for your answers.

Regards,

Michael__H

Hi Michael.

I do not think there is an easy solution for your problem. There is no offline file based replication solution that will also do 2-way replication for you.

The closest you can get by is backup restore but that will overwrite your data on the other side.

However if you have even Internet connection, then you will be able to solve your problem by using Web Synchronization which is a new feature in SQL Server Merge replication for SQL Server 2005.

|||

Hello Mahesh,

thank you for your answer.

According to your reply I'm going to solve my problem by using stored procedures writing my own little "replication":

- select records to be altered by our subcontractors
- mark them in separate column as 'currently exported'
- copy to external database/file X
- let our subcontractors complete missing data in database/file X
- compare returned database/file X with records in database marked as 'currently exported'
- import changed records

Of course it won't be easy but as far as no other solution is possible...

Michael

|||

Michael,

Your solution will work but it could be tricky.

Again I encourage you to take a look at Web Synchronization if you remotely think that the subscribers could have atleast internet connection.

|||

Hello Mahesh,

I'll have a closer look at Web-Synchronization , it seems to be a solution. And if not, my "replication" will be used.

Your suggestion has given my a direction for further reading, thank you.

Michael

Is replication without network connection but file-based possible?

Hello,

I've been looking around in several SQL-Forums and in SQL Books Online but haven't found clear suggestions how to tackle my problem:

Our company has to fill a database with documentation for our contractor. Our subcontractors have to supply information from their branch/craft into this database, too.

Replication (without determining a type at this time) would do fine for data-exchange between us and our subcontractors.

But for working in different companies the networks are not connected
and in some companies/departments connection to the Internet is prohibited at all.
This would result in data-exchange based on files - which wont be a problem as data needs to be updated/exchanged only once a week and is usually done at meetings using DVD-Rs.

scenario in short:
- two-way exchange of data between SQL servers being not connected
- update needed once a week
- our server: SQL Server 2005 Standard (preferred)
- servers of our subcontractors: SQL Server Express 2005 (preferred)

That's the point where I dont know how to proceed:
Is two-way replication based on files possible at all?

I read about Snapshots, but to my understanding this replaces the "whole database" without caring about changes made to it and that's why it wont work for two-way exchange.

I would appreciate your hints how to solve this problem in general or whether I should look out for other solutions - MS Access might work with restrictions - but I would prefer SQL Server.

Thanks for reading until here and in advance for your answers.

Regards,

Michael__H

Hi Michael.

I do not think there is an easy solution for your problem. There is no offline file based replication solution that will also do 2-way replication for you.

The closest you can get by is backup restore but that will overwrite your data on the other side.

However if you have even Internet connection, then you will be able to solve your problem by using Web Synchronization which is a new feature in SQL Server Merge replication for SQL Server 2005.

|||

Hello Mahesh,

thank you for your answer.

According to your reply I'm going to solve my problem by using stored procedures writing my own little "replication":

- select records to be altered by our subcontractors
- mark them in separate column as 'currently exported'
- copy to external database/file X
- let our subcontractors complete missing data in database/file X
- compare returned database/file X with records in database marked as 'currently exported'
- import changed records

Of course it won't be easy but as far as no other solution is possible...

Michael

|||

Michael,

Your solution will work but it could be tricky.

Again I encourage you to take a look at Web Synchronization if you remotely think that the subscribers could have atleast internet connection.

|||

Hello Mahesh,

I'll have a closer look at Web-Synchronization , it seems to be a solution. And if not, my "replication" will be used.

Your suggestion has given my a direction for further reading, thank you.

Michael