October 20, 2010 at 9:37 pm
@paul-2 - interesting colours on your new avatar.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
October 20, 2010 at 10:10 pm
WayneS (10/20/2010)
@paul-2 - interesting colours on your new avatar.
Thanks - it's almost summer here, so I felt like brightening it up a bit ๐
October 21, 2010 at 2:00 am
Paul White NZ (10/20/2010)
WayneS (10/20/2010)
@paul-2 - interesting colours on your new avatar.Thanks - it's almost summer here, so I felt like brightening it up a bit ๐
I tought it was the dust of a collapsing building during the recent earthquake :hehe:
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution ๐
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
October 21, 2010 at 8:05 am
Steve Jones - SSC Editor (10/20/2010)
I know that some of these people are annoying, but let's try not to pile on too much. Just post that you expect them to do some work, or something similar that's professional and let them respond. Seems like we're getting a few too many people overwhelming the OP and I think some of them are getting scared of responding when there are 4 or 5 replies that are in essence, beating them up a bit.
Well this one came back, and although they didn't supply the samples, did some work.
And it seems he was very satisfied in the end.
Although at one point, I didn't think he would return.
That would have been a shame, as it seems this poster wants to learn.
And those (at least I hope) are the ones we want to help.
Greg E
October 21, 2010 at 8:33 am
Anyone have any ideas to help this fellow out? (I don't.)
http://www.sqlservercentral.com/Forums/Topic1008514-391-1.aspx
+--------------------------------------------------------------------------------------+
Check out my blog at https://pianorayk.wordpress.com/
October 21, 2010 at 12:25 pm
Hey Threadizens,
I've got a confusion that I could really use your assistance with in regards to some strangeness out of the optimization engine. Well, strange to me. If one of y'all can take a look and at least make sure I didn't miss the obvious?
http://www.sqlservercentral.com/Forums/Topic1008709-360-1.aspx
Much obliged.
EDIT: Nevermind, nailed it down. Silly little row_number() inside the view destroyed all passthrough where clause index seeking.
Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.
For better assistance in answering your questions[/url] | Forum Netiquette
For index/tuning help, follow these directions.[/url] |Tally Tables[/url]
Twitter: @AnyWayDBA
October 21, 2010 at 1:09 pm
Anyone need a good laugh?
http://www.careerride.com/sql-server-what-is-index-segmentation.aspx
Some gems...
Q:What are the advantages of using Stored Procedures?
A: Stored procedures provide performance benefits through local storage, precompiling the code, and caching......
Database backup methods:
Full Backups
Differential Backups
Transaction Log Architecture Backups
File and Filegroup Backups
Q: Explain how to rename a table.
A: The ALTER table statement can be used to rename a table.
ALTER TABLE table_name
RENAME TO new_table_name
Q: Explain how to determine if a table has a primary key?
A: A primary key is usually identified by the keyword PRIMARY KEY. Any column that has the keyword (while creating the table) as PRIMARY KEY means the table has a primary key.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
October 21, 2010 at 1:14 pm
GilaMonster (10/21/2010)
Anyone need a good laugh?http://www.careerride.com/sql-server-what-is-index-segmentation.aspx
Some gems...
Q:What are the advantages of using Stored Procedures?
A: Stored procedures provide performance benefits through local storage, precompiling the code, and caching......
Database backup methods:
Full Backups
Differential Backups
Transaction Log Architecture Backups
File and Filegroup Backups
Q: Explain how to rename a table.
A: The ALTER table statement can be used to rename a table.
ALTER TABLE table_name
RENAME TO new_table_name
Q: Explain how to determine if a table has a primary key?
A: A primary key is usually identified by the keyword PRIMARY KEY. Any column that has the keyword (while creating the table) as PRIMARY KEY means the table has a primary key.
Isn't it fun when the interviewer got his questions from a site like this? One big reason I hate specific questions in interviews.
--------------------------------------
When you encounter a problem, if the solution isn't readily evident go back to the start and check your assumptions.
--------------------------------------
Itโs unpleasantly like being drunk.
Whatโs so unpleasant about being drunk?
You ask a glass of water. -- Douglas Adams
October 21, 2010 at 1:23 pm
GilaMonster (10/21/2010)
Anyone need a good laugh?http://www.careerride.com/sql-server-what-is-index-segmentation.aspx
Oh good grief, my brain already hurt today. Now it's making a run for the border. Tequila, anyone?
Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.
For better assistance in answering your questions[/url] | Forum Netiquette
For index/tuning help, follow these directions.[/url] |Tally Tables[/url]
Twitter: @AnyWayDBA
October 21, 2010 at 1:40 pm
Jeff Moden (10/20/2010)
GSquared (10/20/2010)
it's been worse than every other standard hierarchy implementation that I know ofWhat do you mean, Gus? How has it been worse? Implementation, performance, easy of maintenance, useage, or ????
In my experience, it does slower selects than nested sets while having the update issues they have, and does slower updates than adjacency while not achieving a significant speed increase over them until you hit very deep hierarchies.
Basically, in my experience, it's good at semi-static hierarchies because of update issues, but nested sets are better at exactly that.
Path hierarchies are where it will do well. But most of those aren't deep enough to require better performance than adjacency, which gives better update/insert/delete performance. So it really needs semi-static, deep, path hierarchies, in order to beat the other major hierarchy implementations. I haven't had a chance to implement one of those, and doubt I ever will. I've done proof-of-concept work on it, in my copy of Dev Edition at home, and it does work well for that, but to me it's a theoretical thing with very little, if any, real-world value.
I rank it right down there with SQL's implementation of Pivot. Theoretically useful, but in practice, not so much.
And I have done multi-path adjacency hierarchies using adjacency (a many-to-many self-join) and it was easy to build and manage. Not as easy to query, but there were workarounds for that.
So far as I know, if you wanted to do geneology with the Hierarchy datatype, you'd pretty much end up with one hierarchy path per ancestor for each node. That would be worse than a simple two-parent adjacency model.
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
October 21, 2010 at 1:44 pm
Gail,
at first I thought those answers / explanations were jokes, but then realized they were not. May the Gods save us from the stupidies of those who think they know, but in reality know squat.
October 21, 2010 at 2:00 pm
GilaMonster (10/21/2010)
Anyone need a good laugh?http://www.careerride.com/sql-server-what-is-index-segmentation.aspx
Some gems...
Q:What are the advantages of using Stored Procedures?
Database backup methods:
Q: Explain how to rename a table.
Q: Explain how to determine if a table has a primary key?
I like my answers better.
True
False
True
False
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
October 21, 2010 at 2:13 pm
CirquedeSQLeil (10/21/2010)
GilaMonster (10/21/2010)
Anyone need a good laugh?http://www.careerride.com/sql-server-what-is-index-segmentation.aspx
Some gems...
Q:What are the advantages of using Stored Procedures?
Database backup methods:
Q: Explain how to rename a table.
Q: Explain how to determine if a table has a primary key?
I like my answers better.
True
False
True
False
Q:What are the advantages of using Stored Procedures?
A: They are stored so you don't have to write them every time.
Database backup methods:
A: Tell someone they should back up the database
Q: Explain how to rename a table.
Talk to eveyone who uses it and come up with a new name everyone likes.
Q: Explain how to determine if a table has a primary key?
Lock the database, if the table can get back in, it has a key.
--------------------------------------
When you encounter a problem, if the solution isn't readily evident go back to the start and check your assumptions.
--------------------------------------
Itโs unpleasantly like being drunk.
Whatโs so unpleasant about being drunk?
You ask a glass of water. -- Douglas Adams
October 21, 2010 at 2:23 pm
Stefan Krzywicki (10/21/2010)
CirquedeSQLeil (10/21/2010)
GilaMonster (10/21/2010)
Anyone need a good laugh?http://www.careerride.com/sql-server-what-is-index-segmentation.aspx
Some gems...
Q:What are the advantages of using Stored Procedures?
Database backup methods:
Q: Explain how to rename a table.
Q: Explain how to determine if a table has a primary key?
I like my answers better.
True
False
True
False
Q:What are the advantages of using Stored Procedures?
A: They are stored so you don't have to write them every time.
Database backup methods:
A: Tell someone they should back up the database
Q: Explain how to rename a table.
Talk to eveyone who uses it and come up with a new name everyone likes.
Q: Explain how to determine if a table has a primary key?
Lock the database, if the table can get back in, it has a key.
That would actually be a skeleton key.
Primary key is the nice and colorful ones with which kids play.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
Viewing 15 posts - 20,701 through 20,715 (of 66,815 total)
You must be logged in to reply to this topic. Login to reply