TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

See Twitter's SQL.

49 pointsby ptmalmost 17 years ago

15 comments

ojbyrnealmost 17 years ago
It seems like twitter is taking fail to new levels every day.
评论 #238390 未加载
IsaacSchlueteralmost 17 years ago
They really weren't kidding when they said that they'd mistakenly built it as a CMS instead of as a messaging platform.
评论 #238247 未加载
immadalmost 17 years ago
Did anyone get a screenshot before they disabled it?
评论 #238357 未加载
thomasswiftalmost 17 years ago
here's a screenshot. i didn't include the table stuffs. <a href="http://skitch.com/thomasswift/xef3/twitter" rel="nofollow">http://skitch.com/thomasswift/xef3/twitter</a>
评论 #238827 未加载
socksandsandalsalmost 17 years ago
I dimed this out and had it disabled. Twitter doesn't need people poking through its' SQL. Imagine what we'd find if we were poking through yours...
amarcusalmost 17 years ago
these queries are not optimised at all. first of all, every page gives of MySQL warnings...and second, there are alot of SELECT count(*)...instead of SELECT count(1). This may not seem like it would increase speed alot but given the number of users and the amount of times that query is executed, it will speed up twitter by a bit. There are a few other things that i have noticed...they should really clean up their sql
评论 #238230 未加载
评论 #238260 未加载
评论 #238491 未加载
评论 #238259 未加载
评论 #238225 未加载
ashleywalmost 17 years ago
Wish I'd taken a screenshot now.<p>It was basically a semi-transparent box in the top left of the screen which showed you the query as well as which DB served the data (for me they came from db007, and the friend data from some shards), and two links, one for a popdown box with info about the query, and another with the file trace infomation.<p>Quite intresting, shame they have removed it.
dmoneyalmost 17 years ago
I give up. How do I enable the analyzer?
评论 #238253 未加载
jamesjyualmost 17 years ago
Seems like this was a mistake by twitter: <a href="http://getsatisfaction.com/twitter/topics/staging_twitter_com?utm_medium=widget&#38;utm_source=widget_twitter" rel="nofollow">http://getsatisfaction.com/twitter/topics/staging_twitter_co...</a><p>Some profile pages are being linked to the staging server.
评论 #238237 未加载
bluelualmost 17 years ago
Thanks to Twitter's chief architect for giving me a good laugh :)
st3fanalmost 17 years ago
Wouldn't a working service be more interesting than this thing? Or are they expecting us to fix their code?
wallfloweralmost 17 years ago
Too bad we can't run 'explain plan' on them :)
评论 #238217 未加载
评论 #238523 未加载
Jaxalmost 17 years ago
Before being acuired by Google, does anyone know Jaiku's uptime and other stats? Were they too this bad as Twitter?
评论 #239553 未加载
bdotdubalmost 17 years ago
Yeesh. This does not seem safe.<p>At least maybe (big maybe) some good will come of this?
bprateralmost 17 years ago
Mmmm... this should be juicy hacker fun for a few days!
评论 #238203 未加载