« first day (882 days earlier)      last day (4284 days later) » 

00:48
Whoa, you got banned?
 
2 hours later…
02:31
@AaronBertrand I voted we burninated him but no such luck
So I see we are still battling overzealous flaginators
@aaronbertrand go Bs
 
4 hours later…
06:40
good morning
@CadeRoux I gave you a star for that. The soulless didn't appreciate it, though :(.
 
2 hours later…
08:35
"1 table so I got myself 1000 columns, and 100 million rows (... life sucks)."
2
Q: Getting Random Sample from large database MYSQL (No Auto Inc Field)

Jake SteeleYou were so helpful with my last question, I thought id throw another one at you thats stumping me. Basically I got a table, requirements from company was it was all supposed to be 1 table so I got myself 1000 columns, and 100million rows (... life sucks). Anyway they want me to generate for th...

@MarkStorey-Smith I like that too. "Your data is relaitively small" would make a good title for a blog post - perhaps I should pull finger and write some more postings for the dba.se blog.
@MarkStorey-Smith How's life treating you?
sqlplan posted in this question, if you wanna drop an eye on it
08:53
@ConcernedOfTunbridgeWells Get on it! :)
@MarkStorey-Smith I was thinking of writing something about what could be done with an ordinary shared disk SQL Server or Oracle database.
Tag line: "You are not facebook. You are a precious snowflake."
@ConcernedOfTunbridgeWells Very wobbly. Some inner ear grief so can't hear properly and balance is screwed :/
@MarkStorey-Smith Ear infection?
@ConcernedOfTunbridgeWells Apparently just a hangover from man-flu a couple of weeks ago.
@MarkStorey-Smith OK. I had a couple of rotten ear infections around winter 2011-2012. They were some sort of antibiotic resistant bug and took three different ear drops and two sets of oral antibiotics to get rid of.
Ear trouble is no fun at all.
09:02
@MarkStorey-Smith ouch, so it's like you're drunk without actually drinking (I've got a swimmer's ear problem myself). I'd say you need some rest, cause pills will take some time to take effect.
@ConcernedOfTunbridgeWells very disorienting
@Marian Yup, that's pretty much it
09:49
@MarkStorey-Smith I bet.
I didn't have any balance problems but I couldn't hear properly for months - also the infection hurt like buggery.
 
2 hours later…
11:31
And a DBA Reaction for @JNK and @MikeFal who've been recently in training :-)
11:46
@Marian I like this one every time someone talks about sensitive data.
@ConcernedOfTunbridgeWells that's pretty nice, too.
Normally when someone (typically from accounts) moans about how sensitive their data is I say something along the lines of 'Is your data more sensitive than the identities of criminal case witnesses - including the ones with name supression?'

Didn't think so.
@ConcernedOfTunbridgeWells well..we do clean data when brought to dev/qa sites (sanitize emails and phones, at least), but in production there's complete access for the prod team DBA.
@Marian The particular gig in question was a data migration project. I also did the data model for the system. However, for data warehouse projects - at least those in finance companies - reconciliation is king, so we need to get the production financials in order to produce reconciliations that actually mean something to the business.
@ConcernedOfTunbridgeWells ah, otherwise you can't know if the analytics make sense..
11:56
Some stuff (e.g. credit card or banking details) tends not to be relevant to M.I. and I normally argue to keep that out of scope for a DW project as it comes with a huge amount of baggage. Keep the bank reconciliation with the accounts where it belongs, but we do need cashflow and aged debt stats.
@Marian That's pretty much it. Production data set, the whole production data set and nothing but the production data set. The first thing the business will do if you produce any sort of output is to compare it to their existing figures. You'd better have the reconciliation sorted before it gets anywhere near UAT.
Fortunately, insurance companies (where I mostly work) tend to have relatively small data sets, so this isn't really a problem - except when they insist on overengineered infrastructure for all their development environments.
I've seen one site managed by a certain international I.T. services firm where they quoted us £30,000 to roll out a development environment.
@ConcernedOfTunbridgeWells this is where a great sysadmin would propose Azure dev and test.
@Marian Have to really see if the I/O is up to scratch for a data warehouse. Most cloud platforms have really crap I/O performance.
TBH a high spec PC with a SSD is good enough for the few tens or hundreds of GB you typically find in this industry. Occasionally the platforms get into the TB range but that's not normally the case.
12:16
@ConcernedOfTunbridgeWells you're right, for I/O they don't rule yet. But for a small shop, instead of killing their (weak) own machines, they could roll out few machines on azure, do the testing, then clean up everything.
@Marian Probably not for a while, although I suspect that will change once SSDs get cost effective for that type of platform.
I know at least one small shop that would benefit this kind of roll out.. but their boss is just too lazy and unaware that some poor old laptops are not proper environments :-).
I've seen people talking about EC2 and saying they got about 20MB/sec, which is about an order of magnitude to slow even for a small DW platform.
@ConcernedOfTunbridgeWells isn't there any cloud option with SSDs?
@Marian @JackDouglas mignt be rolling one out, but most of the big players are using platforms based on spinnies as far as I can tell. For a web app the I/O is fine; for anything data heavy it's not really up to scratch. I think if you want an EC2 instance with faster I/O, you can get it - at a price.
12:20
@ConcernedOfTunbridgeWells yes, I remember reading about fast IO instances (but some high costs, too), but not sure if it's on Amazon or Azure
For a DW, all the high-availability stuff is a solution in search of a problem. What you really need for that type of application is cheap, fast direct-attach storage and some sort of backup strategy - maybe a HBA on the server that allows backups to the SAN).
JNK
JNK
I think you can get high speed storage in AWS
but it costs
up to 10k IOPS
@JNK 30k :)
from your link
JNK
JNK
the actual provisioning lists 1-10k at the bottom though
hm no you're right
I misread something somewhere
@JNK you're right, too :) "SQL Server, the maximum storage you can provision is 1TB and maximum IOPS you can provision is 10,000 IOPS"
12:50
One for @SimonRigharts
Having said that, your 30,000 IOPS would cost $3,000-$6,000 per month - in addition to the rent on your instance.
That would buy a whole lotta SSDs.
@ConcernedOfTunbridgeWells ouch, pretty expensive
@Marian This is the real fallacy of cloud platforms. Once you want to do anything clever on them the price starts hiking.
I tend to snigger a bit at people talking about 'B.I. in the cloud.' Sure you can do it, but is it all that cost-effective?
You could buy a loaded two-socket Xeon and a 24-way SAS array for about 6 months worth of that cloud capacity.
JNK
JNK
@ConcernedOfTunbridgeWells Yeah it sounds cheap til you start looking at long term costs
it DOES make sense for a smaller company sometimes though
because they skip some additional staff to support/set up the hardware and whatnot
@JNK They only seem to support standard edition Oracle, or Std or web edition SQL Server, and a heavy usage DB server is quite pricey as well.
@JNK For a lightly loaded operational system or somethng with intermittent load requirements it would probably make sense.
JNK
JNK
the high end stuff I think is there as a migration path
If you start with a lower end instance, it's "easy" to upgrade capacity, but then it starts getting expensive
but the cost is lower if they factor in migrating everything out to their own machines, etc etc
13:03
@JNK It would make sense for quite a lot of applications but it isn't cheap by any means.
JNK
JNK
yeah I'm not planning on encouraging our company to use it
but we also have like 30 SQL servers and 15ish PB of databases
JNK
JNK
oh wait 2 PB
not 15
That might almost qualify as 'Big Data'
JNK
JNK
yeah petabytes
the 15 was for all our data I think
biggest individual DB I have seen here is probably in the 3-4TB range
JNK
JNK
13:26
unfortunately I think tomtom's epeen is probably still bigger ;)
@JNK What does he work with?
JNK
JNK
@ConcernedOfTunbridgeWells he was talking in an answer about 400 million rows A DAY!!!1one!! being added
@ConcernedOfTunbridgeWells he belittles people because their databases aren't as big as his.
@swasheck how is the new job
only on day 2, and already on the heap?
Good. I'm still at home.
13:32
@AaronBertrand Ah,
Your new job is stay at home?
JNK
JNK
@ConcernedOfTunbridgeWells -----------VV
2
A: Splitting SQL query with many joins into smaller ones helps?

TomTomWell, let me start by saying that you work on small data - 10ns of millions are not large. The last DWH projet I had had 400 million rows added to the fact table. PER DAY. Storage for 5 years. The problem is hardware, partially. As large joins may use a LOT of temporary space and there is only s...

New people new environment and new expectations. No. I've not yet left for work but I figured I'd pop in and say hi. Also: I GET TO WORK WITH SQL SENTRY IN PRODUCTION AND NOT THE EMPTY PROMISES OF A PURCHASING DEPT
JNK
JNK
@swasheck nice
@swasheck good for you man
13:34
@swasheck you can bug @AaronBertrand all the time now
JNK
JNK
SS is cool but they have some sketchy folks on staff
3
finally, don't feed the trolls
@swasheck sweet~!
@JNK Mac fanbois even.
@JNK yes, this is true
13:35
Namely: index creation guy
JNK
JNK
coughcoughCANADIANScoughcough
There's only one Canadian on staff
@JNK He's nowhere near polite enough to be a Canadian.
JNK
JNK
that's one too many
This is 'merika
What, there aren't enough AMERICANS to work with databases?
@Aaron 'tis a good day when I get SS in prod and the Bs grease the Pens
13:36
@JNK no, they failed science and mathz
JNK
JNK
oh gotcha
@JNK I think that - per capita - New Zealand is far better represented here than any other country on earth.
JNK
JNK
yeah that's true
Oh wait
Malta
> Out of 34 countries, the U.S. ranked 14th in reading, 17th in science and 25th in math.
@JNK @gbn's a pom.
JNK
JNK
13:37
Is the population of Malta < 1/2 of NZ?
@JNK About 400,000 IIRC.
@concerned not enough sheep on the heap
I'l have you know we don't molest sheep in New Zealand.
Much.
2
@ConcernedOfTunbridgeWells is that just a technicality; you can't molest them if you think they're enjoying it?
2
I know - I never said you did. Did I strike a nerve?
13:39
@AaronBertrand Can't say I've ever asked one.
JNK
JNK
wow this took a turn
@swasheck Nein - and I don't know the songs.
@JNK No, just dragging the conversation into the sewer. Nothing to see here.
13:41
Alrighty then. I'm out. Have a good day all
@swasheck peace in the middle east
14:29
@AaronBertrand I think it was an auto ban, because the song had far too much s p e r m in it.
Although, I am a little surprised that that is on an autoban list. Maybe f u c k has to be said like 5 times for an autoban and then s p e r m has to be said like 10 times for an autoban.
JNK
JNK
I don't think there are autobans
I've never seen/heard of one
@JNK Really? So someone flagged that?
JNK
JNK
According to what I can see, it got 2 flags
@JNK Lyrics to a song from Monty Python?
JNK
JNK
yep
14:31
what got flagged?
it wasn't me
i swear
@JNK The video is still there.
Anti-Python people here obviously.
Let's test it
"He's not the Messiah, he's a very naughty boy!"
@JNK seriously?
Day one with no heaters. I am having a bad time.
JNK
JNK
heaters?
It's hot here
I can't see who flagged it but yes there are 2 flags
Heaters = Cigarettes
JNK
JNK
14:35
huh
I've never heard that before
and I smoked for 12 years
Are you just quitting cold turkey?
so, here is a guy that is encouraging not using alias when updating tables with a join
Maybe its a Midwest thing.
In my experience, SqlServer sometimes gets confused when you use aliases in updates that use the FROM syntax. Try rewriting it to use the actual table names. — Klaus Byskov Pedersen 3 mins ago
@Lamak that gave me an aneurysm.
JNK
JNK
@Zane consider trying Chantix
it helped me a lot
14:36
@JNK yup yup.
JNK
JNK
but it works best with a drawdown
@JNK I can get past the initial fine. I've quit for a year or two at a time. The problem is I talk myself back into it like 6 months later because I love smoking.
JNK
JNK
@Zane yeah it's hard
I would have restarted by now if I wasn't married with little kids
my wife would kill me
I still buy a pack if I travel for a couple of days though
but I'm at the point now where I can smoke a pack and not stress about it when I'm done
I recommend having some babies
that's a good motivator
@JNK but an expensive one
JNK
JNK
yeah no kidding
14:39
@JNK nope I can't do that. I always think I can do that about a year into quitting and then I'm fucked. 1 cigarette becomes 2 and becomes a pack then it's a pack a day.
JNK
JNK
@Zane like I said, I can only do it because of the warden
@JNK had a patient commit suicide on it
@JNK lol yeah.
JNK
JNK
@FreshPrinceOfSO yikes
I heard about side effects but I was on it twice and had no issues
I think to a large extent the side effects from from nicotine withdrawal and not from the drug itself
it's hard to separate those two
@FreshPrinceOfSO my old boss did that gave him wierd dreams.
JNK
JNK
14:41
I had weird dreams too but I also got those when I quit cold turkey for a week or two before
Alright lets talk about something other than sweet delicious cigarettes.
JNK
JNK
mmmmmmmmmmmmmmmmmm
they make you look so COOL
ok
@Lamak he was a good sport about being corrected at least
I have like 5 packs of gum at my desk to get me through lol
@Zane maybe if you start eating them.....
@JNK yup, I saw that, good on him
JNK
JNK
@Zane I work with a guy who chews a pack of gum a day for the past like 3 years
Blocked.
I can only read the shit questions on SO I guess.
@Zane I still call them f a g s
Doesn't go over well just calling things fags all over the place anymore.
@Zane I just can't shake the habit. I still call soccer football. It's just those years 13-21, I guess they lock you in to adult speaking patterns.
vtc
0
Q: SQL Syntax Error Near "Count"

Jim PetersenI am getting an error that says "Incorrect syntax near 'COUNT' and I can't figure out what it is. Any ideas? SELECT COUNT(CASE WHEN Assignment = 'Crosby' AND Severity = 4 AND Active_Age='0-30' THEN P_NUMBER END) as p_number1 COUNT(CASE WHEN Assignment = 'Crosby' AND Severity = 5 AND Activ...

14:55
@CadeRoux Understandable
@bluefeet Hey there, are you recovered from the Red Wedding yet?
@Lamak gosh no, I was in shock
@bluefeet so I saw from your tweet
@CadeRoux I saw that yesterday.
I haven't read them yet, obviously.
14:59
@JNK aaand we have another user confused about the aliases
I agree with @KlausByskovPedersen, sometimes SqlServer confused with aliases, you should use table names, that always works. — Gaston F. 2 mins ago
vtc
-1
Q: Alignement <ol> after 10 on IE

Audrey LehouxI made a list with but after 10 the space between my sentence and the period didn't exist on IE because on Firefox it works. thanks.

anymore delete votes?
-4
Q: SQL Syntax Error Near "Count"

Jim PetersenI am getting an error that says "Incorrect syntax near 'COUNT' and I can't figure out what it is. Any ideas? SELECT COUNT(CASE WHEN Assignment = 'Crosby' AND Severity = 4 AND Active_Age='0-30' THEN P_NUMBER END) as p_number1 COUNT(CASE WHEN Assignment = 'Crosby' AND Severity = 5 AND Activ...

@CadeRoux Amusingly, no one takes me seriously about Game of Thrones when I tell them everyone dies.
JNK
JNK
I know
I read the books but don't have HBO and this is cracking me up
the spoilers were published in bestselling novels years ago!
risking life and limb here but this is the second time that i've seen this kind of question has come up!!!! and the first time was Aptem
1
Q: Sql Server Server Group query

ADCScenario I have 4 front-end sql server. All of them have the same db instances. Data are replicated from back-end databases. Issue In SQL Management Studio I have registered the servers and I have created a group (called front_end). The group can be inquired using the sql editor opening a con...

ok ... i'm out
15:05
I can't read those books.
When Episode III is back in the theaters, I'm going to sit at the front and when Anakin turns into Darth Vader, I'm going to yell: Nooooooo! I can't believe Anakin becomes Darth Vader!
yup the as will fix it
-1
A: Error with Sql Server Query

Neil KnightTrying adding an AS select x.TeamProjectProjectNodeName,x.TestPlanName from (select TeamProjectProjectNodeName,TestPlanName,ResultOutcome, count(ResultOutcome) from [Tfs_Warehouse].[dbo].[TestResultView] where TestPlanName <> 'NULL' GROUP BY TeamProjectProjectNodeName, TestPlanName, ResultOutco...

@Zane and why is that?
I haven't actually got to that point in the books. But because of the Ice and Fire Wiki and tracking the differences between the show and the books, I've gotten a lot of what happens already. I really didn't think it was going to be until the last episode, but we've still got a few more deaths next week.
You can use it with a top 100 percent. But is that useful? ;-) — Dominic Goulet 20 secs ago
why order by in a subquery?
JNK
JNK
15:11
because you don't know what it's for
will they be wise enough? :-)
but Paul has so few points there, not like that 100k star.
btw, he visited the Heap this morning (but not for long)
@Marian what 100k star?
@Lamak Prince's friend
the one with always changing status
@RedWeddingTears, The Twins
Say, did something unexpected happen on #gameofthrones? #rainsofcastamere
289 tweets, 13.7k followers, following 0 users
@Marian I'm trying to figure it out.....but I don't know who that is
15:22
@Lamak lol, JW
@CadeRoux yeah, I was following that one, very funny
@Marian oh, that guy.
@Lamak yep, first time I saw him here.. :)
Somebody is eventually going to take that Greek sailor's hat and shove it down his throat and then no one will find out how the books end.
15:25
@CadeRoux that's easy..... everybody dies
at least, every character you care about
JNK
JNK
@Lamak Some people get tortured for a long time though
My mom sent me this, it's actually pretty clever: flixxy.com/puzzling-photo-puzzle.htm
Why doesn't George R.R. Martin use twitter? Because he killed all 140 characters. #got
2
@Concerned this link has the endurance specs for the s3500s: about 30 times lower than the s3700 if my maths is right (450TB for the 800Gb)
@Marian I am very proud of my low SO rep.
6
15:35
@PaulWhite you don't get followers there ;(.
Happy with that :)
@Lamak I don't like the way George writes. He's overly descriptive about things that I could not care less about.
@Zane I hear you
@Lamak I don't need two pages worth of description for what food was on the table. That is irrelevant and now I've already put down the book and made a sandwich.
@CadeRoux blocked
@PaulWhite Don't want to be JW, eh
15:41
@Zane Then it's not irrelevant....it got you a sandwich
@FreshPrinceOfSO There is that too. Mostly I view my SO rep as a measure of how often I go against my better judgement and get involved on SO.
@FreshPrinceOfSO It's a candid camera trick where a kid gets a stranger to help him put together a puzzle and it's a picture of that person which was quickly made into a puzzle.
@Lamak what's funny is I'm not a huge fan of the show as the dialoge is cut down too much. So people only speak in plot points lol.
@CadeRoux oh yeah. it's on that show
As Aaron said earlier, it's all duplicates or syntax errors over there. And fighting of course.
15:44
Are there Android apps which can notify you if you have activity in your unified SO/SE inbox?
A lot of creative thought went into Windows 8.
It wasn't easy to make Windows Updates an even bigger PITA than it was before.
@CadeRoux there isn't shit for apps for SE/SO
@CadeRoux don't think so, but they do have brain implants with wifi connectivity that only work with the stackexchange network
@FreshPrinceOfSO Still haven't got my Glass invite...
@CadeRoux Google PornGlass ?
JNK
JNK
15:46
they blocked that I think
@JNK yup, they did. Not that I know anything about that anyway
what if you root it?
@AaronBertrand so I was not expecting this bad of a stomping.
@FreshPrinceOfSO I checked out that app this morning. Not sure what all the fuss is about. Presumably you can still go to regular porn web sites. Just not an app which uses the API.
It was called titsandglass. I thought that was clever.
@CadeRoux @FreshPrinceOfSO what!?
15:48
@CadeRoux porn websites are much cooler than porn apps anyway. you don't get the excitement of viruses from ads and what not
JNK
JNK
hey guys I asked @Jharwood in to talk about the automatic indexing
so, you know, don't scare him off talking about google glass porn
hey :)
and i am at work, :P
@FreshPrinceOfSO Like when you had to go to all those sites to get MP3s back in the day and the popups was like playing space invaders.
@JNK you picked a bad time to bring him here.
15:49
@JNK Context?
JNK
JNK
I realized that
@Jharwood Welcome.
^ context
Thank you
15:49
@Jharwood aren't we all
JNK
JNK
2
Q: Why don't databases create their own indexes automatically?

JharwoodI would have thought that databases would know enough about what they encounter often and be able to respond to the demands they're placed under that they could decide to add indexes to highly requested data.

@CadeRoux i just use google with site:zippyshare.com name of song
my boss sits really close by :P
@Jharwood mine's next to me
JNK
JNK
NP we don't talk about that stuff much and very little in here is NSFW
15:50
f.e :)
JNK
JNK
so anyways
indexing is not a simple thing
i can appreciate that
JNK
JNK
And at the scale when you would have difficulty managing your own indexes, the costs are so much higher it would be too risky to have it done automatically
0
Q: How can I store more than 4000 bytes of data inline in a SQL Server 2012 row?

GemmaI am trying to write a small blog engine. I would love to find a sample SQL Server schema to give me some ideas but have yet to find one. I would like to have a blog table that allows me to store more than 8000 bytes of data. Can anyone tell me if a good way to do this would with two fields lik...

@FreshPrinceOfSO Well now there is sickbeard, headphones and couchpotato, so you don't even need to do it yourself anyway.
15:51
JNK, what about the development level
@CadeRoux sickbeard?
JNK
JNK
If you have a 50 GB database with 10m rows, it's unlikely the designer missed a direly needed index
@CadeRoux +
JNK
JNK
@Jharwood what do you mean
@JNK that's assuming the person who developed it was a DBA
i'm a developer, i know virtually nothing about databases
JNK
JNK
15:52
if you don't have a DBA its even scarier to have indexes created automatically
2
WHO WATCHES THE WATCHERS and all that
ironically i'd trust the people writing the server software than a DBA i'd hire in
more than*
@JNK my dba's are on a different continent
no offense
@Jharwood Database engines could add their own indexes. It's a hard problem though and even harder to fit into a commercial product. I know it's been tried with SQL Server, for example, but in the end generally better results were obtained with offline tools like DTA - examining a workload and suggesting indexes, partition schemes, indexed views etc etc
@Jharwood back to my car example. that's like trusting the car to a drunk driver
@CadeRoux i use xbmc with the 1channel plugin
15:53
You can always run the profiler to capture a workload and see what gets suggested. But the fact that a lot of what is suggested needs to be thrown out probably points to the fact that either 1) the tuning wizard needs to be a lot smarter or 2) the tuning wizard really just can never be smart enough.
optimistically i'd point towards the first one
@Jharwood do you really trust designers of the car and ignore the operator of the car?
@Jharwood It's a similar question to asking why execution engines don't detect when the optimizer came up with a daft plan, provide feedback to the optimizer and ask it to try again (perhaps incorporating results so far).
JNK
JNK
I don't think the car is a good analogy
thats true
15:54
@Jharwood I hope my car will drive me to lunch today today otherwise i'm blaming it on a crappy car design
JNK
JNK
@FreshPrinceOfSO it may be more accurate to compare it to the little display in most newer cars that tells you how many more miles you can drive on the gas in the tank
@CadeRoux It works surprisingly well (better than most DBAs) on suitable workloads. The problem is 'suitable'. It expects reasonably relational schemas, for example.
JNK
JNK
you may know you are going to be in terrible traffic for the next 2 hours and run out
the car can't know that
traffic reports?
JNK
JNK
15:56
but if you wait to get gas when it tells you you are screwed
it just seems like you're taking the responsibility of the operator away from the machine
JNK
JNK
@Jharwood it doesn't know where you are planning to go
gps?
you had to program a course
JNK
JNK
You can poke holes in the analogy all you want, that doesn't mean this is a good idea ;)
oh, milige indicator
15:56
@Jharwood Yes?
i thought we were on google cars :$
JNK
JNK
yeah how many miles you have left on your tank
no something simpler
yeah it's a fair point
does the DB have to use the indexes you put on there?
i doubt it
JNK
JNK
nope but it has to MAINTAIN them
so even an unused index gets updates/inserts when the data changes
i know that, but hear me out
JNK
JNK
15:58
sure

« first day (882 days earlier)      last day (4284 days later) »