« first day (1737 days earlier)      last day (3123 days later) » 

2:47 AM
hola folks
 
3:38 AM
holla
 
4:07 AM
hollla
 
5:04 AM
Hi Experts
 
5:44 AM
good morning
 
6:01 AM
Mornin'
 
morning
 
7:02 AM
I have a scenario wherein i have to join some 5-6 table out of which 2 tables has millions of data. And when i am joining those tables i am getting millions of records and it takes at least 45 mins of execution
Please suggest me how can i reduce the execution time
 
Post a question at the site: dba.stackexchange.com/questions/ask
Don't forget to include the tables definitions (CREATE TABLE) and the execution plan.
 
Sure...Thanks
 
which DBMS are you using?
 
7:56 AM
@Smac89 it totally makes sense, but apparently not what you want. It seems easier to change your thinking than the DROP behaviour ;) — dezso 15 secs ago
 
8:10 AM
As a longtime Apple hardware fan, I must say that the Surface Book is impressive
 
8:23 AM
Looks lovely. I just wonder what it'll cost in the UK
 
8:39 AM
One miiliiioooooon dollars. About the same as an Oracle license
 
@bluefeet Just think of them as land prawns.
 
 
2 hours later…
10:35 AM
Quiet in here this morning. I guess Americaland isn't alive yet
 
10:48 AM
Probably just waking up
 
11:31 AM
0
Q: How to get back value passed to HASHBYTES()?

ShivajiI want to use HASHBYTES() But i dont know How to get back value passed to HASHBYTES...

 
11:41 AM
@PS078 Nice that you posted a question. Now please go and edit it and add the additional info.
5 hours ago, by ypercube
Don't forget to include the tables definitions (CREATE TABLE) and the execution plan.
 
12:03 PM
@ypercube Sure i shall update the additional info, i have got few useful replays as well.
 
12:13 PM
Thank you very much. Great answer. And thank you to everybody else who has helped me. — finsalscollons 15 hours ago
@ypercube ^^^ The OP came back.
Also, thanks to the person that flagged this:
The meaning of my question was clear and I recognized that I could be wrong about concepts such as "redundancy". And, of course, I am not reasoning soundly, this is why I have a doubt and ask a question. — finsalscollons 15 hours ago
I edited it to preserve the basic message, while removing some of the more ... colourful content, deserved though it was.
 
His reasoning was quite sound, for someone who is learming these things.
and the preparations continue (on that deleting) ...
 
12:43 PM
I had no idea answer deletion was so complex. Perhaps his deletion routine is triggered at -5?
 
some pseudoscience (and some pseudofacts, too): techrepublic.com/article/…
 
1:05 PM
"In part this is because Oracle is the best engineered database product among the traditional RDBMSes."
Bwahahahahaha
 
What I like the most is that there is absolutely no sign in any of the graphs MySQL losing popularity
 
I'd like to see the graphs with database size included.
 
@Colin'tHart they are big, believe them
 
Which? Some of the NoSQL databases?
 
also, if the netz is full with 'MongoDB is crap', like 1000000 such mentions against 'PostgreSQL is the best', it measures this as an enormous popularity of the former
 
1:11 PM
what do you guys think of this?
71
Q: The Power of Teams: A Proposed Expansion of Stack Overflow

HynesThis past spring, the product team held a multi-week brainstorming session where we thought about how we could build on Stack Overflow's current success of improving the lives of developers. What other valuable information does the programming community need, but is trapped elsewhere online and o...

 
Not much. Bit like the Documentation proposal.
 
I think they should produce a standalone chat app which is at least that good as this one and then sell it
nothing else makes sense :)
 
Definitely needs to be a native chat bit in the SO app. Palming it off to a web browser is silly
Oh, and I still want the SE toolbar at the top of chat that I was promised 2 years ago!
 
@PaulWhite yeah, I got kinda confused about the whole concept
 
@Lamak sounds interesting first, but I don't really see the practical side
(not to mention that I'm not willing to receive requests from SO)
 
1:18 PM
@Phil let me see
 
It's nice to see SO and the rest of the network so close to perfection that all is left to do is think of big new ideas to try.
0
Q: Help with SQL Query

JeremyI have a query to select all the colors not shipped by supplier S1 Query: select distinct parts.color as part_color from parts where parts.partno in (select parts.partno from shipments,parts,suppliers where parts.partno=shipments.partno and suppliers.supplierno=shipments.supplierno and sup...

 
Are you posting that as an example to your previous comment?
 
I keep seeing basic SQL questions being answered here. Is the community changing direction on what is allowed here? Might be time to have that old discussion on meta again.
 
@PaulWhite I now have a screenshot where you call SO perfect
2
 
@PaulWhite It's my strong opinion that one aspect of a DBA's role within an organisation should be education. So it should be here, too.
 
1:24 PM
@Lamak And sarcasm as well, so two-for-one.
It's been 3 years since we last took a view on this:
32
Q: Should basic SQL questions be allowed?

Leigh RiffelI’m going to buck the pervasive mentality here and ask the question:    Why shouldn’t dba.stackexchange.com include basic SQL questions? Previous related discussions: How do we define a question as being "too basic"? Where do we draw the line? Beginner's questions (convert Access queries and ...

So perhaps it's time to ask you all again.
 
I'm seeing even non-basic SQL question being migrated to SO.
Almost all how-do-I-write-this-SQL questions are being migrated these days.
 
I do worry about keeping the quality up.
Though I'm not opposed to keeping good but basic questions, in principle.
I'll try to put a new meta question together later if no one beats me to it.
 
@PaulWhite or for it
 
Dammit I should have known that would get starred.
 
@PaulWhite I can always just remove the context ;-)
 
1:28 PM
/me in a constructive mood
 
@dezso Ha, well I don't mind copping a beating, if people feel it's deserved somehow.
@Colin'tHart Did you have an example in mind?
 
@PaulWhite Hmm, now I can't find any...
 
@Colin'tHart No worries. Just wondered if you had one handy.
 
There's probably something with analytic/window functions.
 
1:39 PM
@bluefeet :)
 
@ypercube Weird.
I didn't think it was even possible to create two questions with exactly the same title.
Oh. Migrated from SO.
Pointless migrating/merging it because there are no answers to keep.
Dammit I didn't mean to reject the migration. Oh well. Must be tired or something.
@ypercube Sorry.
 
I would have voted to close (at SO) but was afraid it might get an answer in the mean time
 
Would have been neater if I had merged it here. Wasn't thinking.
 
Top advice.
 
2:03 PM
@PaulWhite Sounds like we're back in the 1980s.
 
1989.
 
Actually, I was still doing things like that with Oracle 7 as recently as 1998.
But I seem to recall the rule-based-optimizer working from back-to-front in the where clause.
So then it would be smallest/driving table last.
 
here is a proper example for a too basic question:
0
Q: postges - Why COUNT(*) gives more than 1 then LIMIT 1?

happy_marmosetI'm trying to count old records, why postgres gives 1160 even through I set some limit, LIMIT 1 in this case: db=# SELECT COUNT(*) FROM data WHERE datetime < '2015-09-23 00:00:00' LIMIT 1; count ------- 1160 (1 row) Expected value 1 or 0, but it give 1160. Why?

 
@dezso I don't think it's too basic. We just need one good question -- maybe this one -- to show that the limit clause is applied "last".
 
2:21 PM
@Colin'tHart I think this is something that comes up in the first month from starting with SQL - thus it's too basic
OTOH, what you say makes sense
 
No one thinks it's either good or bad, judging by the votes on the question, and votes to close.
 
I thought it was good enough to answer
 
And I up-voted your answer.
 
It's more likely to be googleable on dba.se than SO too. On SO it'll get lost in the crap
 
Which is only true until dba turns into SO.
It's all very interesting to think about.
 
2:32 PM
@Phil there is no problem with the answer
 
It is true that many a borderline question can be saved by a good/great answer.
 
@PaulWhite I've done one or two of those in my time.
 
@ConcernedOfTunbridgeWells Yeah I think I might have too. It can be time-consuming and a bit draining though.
 
@PaulWhite Sometimes you can see through the bollocks and write something that answers the OP's actual problem.
 
Yep. Actually it can also be quite rewarding.
 
2:48 PM
I think this one is my all-time favourite.
196
A: Random is barely random at all?

ConcernedOfTunbridgeWellsThe Birthday Paradox, or why PRNGs produce duplicates more often than you might think. There are a couple of issues at play in the OP's problem. One is the birthday paradox as mentioned above and the second is the nature of what you are generating, which does not inherently guarantee that a giv...

4
Actually of anything I've done anywhere in SE, it's my personal favourite.
I happened to do a substantial chunk of work on simulation models and PRNGs in Stage 2 at university so I know a bit about the topic.
 
3:08 PM
nice
 
3:32 PM
Yawn. Done loads today. Tired now
 
3:48 PM
Thanks @a_horse_with_no_name . For some reason, I failed to Google it. I think that a good, searchable answer here would be useful for others. Would you please consider elaborating your comment into an answer? — Adam Matan 36 mins ago
bah
 
4:01 PM
@ConcernedOfTunbridgeWells I've earned an Excavator badge on SO for fixing two typos :-o
 
Kin
Hello All
 
@dezso Maybe you should go through all my posts and see if you can find some.
 
@ConcernedOfTunbridgeWells I won't possibly do that
in this case, I just wanted to add my very small part (as I could not add anything bigger)
 
Kin
Can someone tell me if PlanExplorer Pro will work without the whole SQLSentry suite ? cc @AaronBertrand e.g. getting the deadlock analysis, or comparing index changes !
I got approved of purchasing it
 
Every new hire orientation is just a chance for hr to evaluate whom they get to fire next
 
4:11 PM
@ConcernedOfTunbridgeWells I thought it was a super-interesting read, and quite eye-opening.
 
Where's @kermit these days? Too busy dealing with Vertica crashes?
 
He has a new job but I never saw the details on it
 
JNK
@billinkc I thought he had new title at same employer?
Related, I'm still hiring for a SQL/Powershell developer in the NYC area!
 
 
2 hours later…
6:23 PM
AMAZON SNOWBALL
 
 
2 hours later…
8:03 PM
Amazon cricket delivery service, engage!
 
JNK
its working
 
y'all are just too quiet lately
 
10
Q: How can I get my cat to not be afraid of me?

mluisbrownWe recently got an 8 month old cat from a breeder, it had lived its live in a cage with the rest of the litter up to that point. The car journey home was about an hour and the whole time I had my hand in the carrier and was stroking her gently. She didn't seem afraid at all, and made no attempt t...

stop beating it
 
JNK
8:43 PM
Dear paywall news sites - I can still read the article in "view source" so neener neener neener
 

« first day (1737 days earlier)      last day (3123 days later) »