What Does This Button Do? Wrong Answers Only.

Humor
126 Comments

One of my favorite memes is Wrong Answers Only, where you show something and people have to answer incorrectly, like this and this and this.

So now it’s your turn: you’re in SSMS, you right-click on a database, and go into Tasks:

What does that bottom right task do? Wrong answers only.

Previous Post
Announcing Quest Database Training Days: Free Live Training with Me, Janis, and Pinal
Next Post
Congrats. Y’all Raised $8,919 for Doctors Without Borders in March.

126 Comments. Leave new

  • I heard it limbers up your SQL Server so it performs better under heavy loads. Protects pages from splitting, that sort of thing.

    Reply
  • Jeff Mergler
    March 31, 2020 8:23 am

    That menu clearly activates “SQL Voodoo” up in the cloud, don’t trust it! 😉 Honestly, looking at the docs its quite an interesting feature. Thanks for posting Brent.

    Reply
  • If you want to know what a button does, you goatse for yourself, and you click it.

    Reply
    • Folks, please don’t google “goatse” if you don’t get the reference. Just be comfortable in knowing that you’re better off being in the dark on this one.

      Reply
    • That? It opens a dialogue that allows you to do precisely what it says — stretch the database out to between 101% and 200% of its current size, so that you can finally get that disk space you’ve been asking for for years. Turns your proactive failures into a reactive success. It can’t be run if the database is part of a replication setup, is part of an AG, or uses the TEXT/NTEXT /IMAGE data types.

      Shrink is, of course, the opposing operation; which you should only run once the space is available to the instance. Some people can’t grok this however and wonder why nothing happens when they fire SHRINK* files off at random.

      Reply
      • My fake answer is apparently here instead of one level up, probably because I was originally going to reply to tell Andy Mallon that they’re A Bad Person 🙂

        Reply
  • Michel Zehnder
    March 31, 2020 8:25 am

    Allows you to stretch the database to azure?

    Reply
  • Allow you to send your data somehere up in the clouds! And then rains with meatballs! And George Clooney will visit!

    Reply
  • a quick and easy way to increase all the datatypes in a database. ints become bigints, varchar(255) becomes varchar(510), varchar(max) becomes nvarchar(max) etc.

    Reply
  • Daniel Salisbury
    March 31, 2020 8:33 am

    Stretches your patience

    Reply
  • Makes it so your data is more dense in the beginning and the ends of your tables, adding sparse rows in the middle.

    Reply
  • Stephen C Russell
    March 31, 2020 8:40 am

    Improves Keys performance because we all like stretchy pants.

    Reply
  • Stretch your wallet and enter into this fancy world of cloud ( AKA database made in heaven supported by Angels)

    Reply
  • Shows Yoga pose of the day.

    Reply
  • Everyone knows you must stretch your database before you use it!

    Reply
  • Jason Jystad
    March 31, 2020 9:08 am

    Gets the kinks out of your database.

    Reply
  • It causes your sql server to take a Yoga stretching break to relieve its stress and constipation. 🙂

    Reply
  • It increases fill factor by 20%. Repeated clicks of this button will fail with an undocumented error once fill factor is 1%.

    Reply
  • Daniel Hutmacher
    March 31, 2020 9:09 am

    Stretches the task – says so right on the menu. I assume that’s like a scope creep or something.

    Reply
  • It increases the font size on all varchar and nvarchar columns by 2 pts and changes the font to Comic Sans to use more pages.

    Reply
  • It’s used to rollback an accidental shrink

    Reply
  • I like Mark’s answer but it is too passive. Here is what it actually does – Signs the clicker up for a Bikram Yoga 30 Day Home Yoga Challenge. The course is mandatory because Microsoft believes that the more hot yoga done by coders/dbas the better their code/databases will be. Also, the CDC has learned that coders/dbas spread viruses due to sloppy code practices so they have enlisted the federal governments police powers to ensure programmer/dba compliance. Finally, the home course is required because of the Covid-19 problem and the thought of a group of us in spandex, sweating and grunting was too much for the mind to grasp

    Reply
  • It increases the size of a Pizza “Stretching Out Pizza Dough” 🙂

    Reply
    • Typical Microsoft, they give a Stretch option in the GUI, but every good DoughBase Administrator knows you have to use the DBCC KNEAD() function first for best Stretch performance.

      Reply
  • It stretches time, but only for queries which approach the asymptote, and should only be used aboard high-velocity STL spacecraft.

    Reply
  • Kenneth Fisher
    March 31, 2020 9:16 am

    Increases free space in the database by reducing fillfactor in all indexes. It also dramatically increases any costs associated with the database.

    Reply
  • It stretches each individual page in the database’s data files, doubling them in size from 8k to 16k, and effectively doubling the overall size of the database. This operation can only performed once! Over stretching the database would cause flimsiness…

    Reply
    • Yess!!! Finally I won’t get that “Cannot create a row of size 8092 which is greater than the allowable maximum row size of 8060” when I try to add the 765th column to my table! Thanks Microsoft!

      Reply
  • Corey Hambrick
    March 31, 2020 9:17 am

    Makes the database more limber for being worked out…
    increased ranges to slow degeneration,
    improves posture to help with better disk alignment,
    makes database more flexible requiring less resources and improves overall performance,
    and helps lessen tension and stress on the system overall.

    Reply
  • Causes SQL Server to operate properly for ninety seconds so you can get up and Stretch.

    Reply
  • Wise Old Man
    March 31, 2020 9:17 am

    It reminds you that you’ve been working too hard, sitting in that same chair for way too long, so get up and stretch!

    Reply
  • It permits the operator to stretch the statistics for the application database so they are available through a linked server query connection thus eliminating the parameter sniffing issues for the remote SQL query.

    Reply
  • Starts a Kickstarter stretch goal to buy more storage space

    Reply
  • Prior to any big workout, always a good idea to stretch.

    Reply
  • Turns 1 GB of space into 1 TB!

    Reply
  • Stretches your entire body from your bed to the cloud….hmmm

    Reply
  • Graham Furner
    March 31, 2020 9:22 am

    Stretches the window from 4:3 to 16:9 aspect in the event you’re still running SQL 2000.

    Reply
  • Stephen Moore
    March 31, 2020 9:24 am

    After loading all of your company’s data and KPIs into the database, use Tasks > Stretch to generate stretch goals. Note: Stretch goals are estimated in query plan cost values only.

    Reply
  • SQL Server by default runs queries from a full windup, for backward compatibility reasons. Switching to a stretch will allow you to more easily keep an eye on other queries running at the same time. (Note that this is available only in the Enterprise Edition.)

    Reply
  • Stretch: It’s best described as the SQL Shard feature for SQL Data Lake to stretch this puppy from SQL into PostgreSQL, Oracle and/or NoSQL all at the same time so you can easily STRETCH your on premise, easily accessed, single database, into a mass of distributed data lakes behind a single SQL pane in order to have one place to access your distributed data!

    Reply
  • It replies all unanswered Stack Overflow questions with far-fetched answers.

    Reply
  • It allows the database to take a ‘walk-about’ through the office, get some coffee, and get the data moving…

    Reply
  • Makes all queries in the database use query hints that are really helpful.* You’ll definitely notice a performance impact!

    *By really helpful, we mean with(nolock) because it’s a stretch that it would help in a given situation.

    Reply
  • Heh… it’s one of the best ways to save money on storage. 😀

    Reply
  • The Stretch feature will assist your company statisticians in their jobs to stretch the truth for the growth numbers for each quarter. It stretches the numbers upwards to make the boss and company look good and fills in bad numbers with good ones! It stretches the truth for the sake of advertising and better job outlooks.

    Reply
  • Jonathan Wilda
    March 31, 2020 9:47 am

    Enrolls your database in a goat yoga class.

    Reply
  • Joost de Heer
    March 31, 2020 9:49 am

    It converts your database server to a Linux database (based on Debian Stretch).

    Reply
  • Breck Dahlin
    March 31, 2020 9:54 am

    Its what a database does before it brushes it teeth in the morning.

    Reply
  • it lowers the size of each page, so that you have less wasted space, allowing you to do more with less storage needs.

    Reply
  • When in lockdown, once a day, click on this option to let your database have some stretching or your database will lose tone and will go slow and you will have loads of performance issue…

    Reply
  • Issues undocumented DBCC command “DBCC STRETCH”.

    When complete, returns status “RRRRRRRRrrrrrrrrrrrrrr….. Oh yeahhhhh….”

    Reply
  • Martyn Gilbertson
    March 31, 2020 10:05 am

    This nifty feature will break your database by hitting the capacity limits of Azure!

    Reply
  • Fernando Eggert
    March 31, 2020 10:12 am

    It’s a new feature, to use on heavily used databases. It starts an Yoga Session on the data, so they can calm down.

    Reply
  • Stephen Johnston
    March 31, 2020 10:12 am

    Call Brent …

    Reply
  • Just as you would in bread making, as you stretch and kneed your dough, you’re incorporating air your mixture. In this case you’re incorporating air into you’re database. If you then wait for 2 hours, and let you database “rise”, the database icon in SSMS will turn into a loaf of bread icon.

    Reply
  • Last time I tried this my Azure subscription was taken down because there was no money left. So I know for sure it’s something like a “donate” button. 😀

    Reply
  • Morten Dvinge
    March 31, 2020 10:20 am

    It is a brand new foreign-key constraint feature at database level. If you want a database to relate to others you can stretch it and it will be able to reach the related DBs

    Reply
  • It is the opposite of shrink… geez I thought everyone knew that.

    Reply
  • Jeremy Baxendell
    March 31, 2020 10:39 am

    Your database will get up and walk around for a few minutes, to clear it’s head and get a little exercise. Offers some light performance boosts when perofrmed daily, espeically if it hasn’t been done in several hours. It locks every table for a about 20 – 30 minutes while doing this, so be sure to perform this task during a maintenance window only.

    Reply
  • Rick Reynolds
    March 31, 2020 10:44 am

    Stretches the disk to increase the amount of usable space.

    Reply
  • It gives a chance to DBA to streach the body and relax, sometimes It tickle DBA until he / she laughs.

    Reply
  • The product developers got bored and wanted some in-product entertainment so it opens up an old TV ad for a Stretch Armstrong toy.

    Reply
  • Stretches your data pages apart so indexes are not required!

    Reply
  • Stretch increases the size of the database by a configurable amount by default it is 24%. increasing the size of the Database then makes for less work for the CPU as it does inserts, it does not have to increase the size. It works similar to instant file initialization only after database is established.

    Reply
  • Mister Miyagi
    March 31, 2020 11:08 am

    Can’t believe what i have read!I mean some of you are DB Professionals but it’s obvious what STRETCH does!!!!!1!!!!You press STRETCH and when you run a query that lasts more than 5 minutes SSMS or Azure data studio shows you exercises and yoga poses (volume up for Indian flute music) for stretching your back from all day sitting on the chair!And you call yourself professionals knowing SQL!!!

    Reply
  • It stretches SQL Server’s processing power across all computer CPUs on your entire network without increasing licensing costs, but you can only use it 90 seconds a day.

    Reply
  • Stephen Holland
    March 31, 2020 11:33 am

    It plays “Take Me Out to the Ballgame”

    Reply
  • Stretches Brent’s free access to the recordings until May 1st.

    Reply
  • Obviously a trick question. That’s not a button; it’s a menu selection.

    Reply
  • Brian Beuning
    March 31, 2020 12:27 pm

    Stretch is an OSHA requirement. It shuts down SQL Server for 10 minutes
    so all users can get out of their chairs to stretch.

    Reply
  • Brian Beuning
    March 31, 2020 12:29 pm

    Stretch is for when you are getting low on disk space.
    It removed the platters and stretches them so they can hold more data.
    Does not work with SSD drives.

    Reply
  • Doesn’t do anything itself
    – press it and it changes to “your arms out”
    – press that changes to “crack your knuckles”

    it’s an instruction telling the user what to do before pressing “Take Offline”
    – they might be in for a bumpy ride 😉
    best be ready to do some quick typing

    Reply
  • Creates a brick in the cloud (no updates or deletes)

    Reply
  • Andrew Peterson
    March 31, 2020 12:53 pm

    Of course, it is part of the Agile development pack, in the latest SSMS enhancement.

    Reply
  • Kevin McDonnell
    March 31, 2020 1:02 pm

    Stretch makes your queries take longer on purpose…it’s a reverse-turbo button!! This way you have easy improvements to show customers when you uncheck this option!

    Reply
  • André Silva Cardoso
    March 31, 2020 1:20 pm

    It is for stretching out when your back hurts, but for databases

    Reply
  • It sets the default filesize growth to 1 TB.

    Reply
  • It takes all of your tables and stretches them to other tables. One row per table.

    Reply
  • PainlessDocJ
    March 31, 2020 2:15 pm

    It changes the name from StackOverflow to Staaaaaaaaackoverflow

    Reply
  • its a partial defrag of the database – guarantees that rows closer to the end of a table are always closer to the end of the underlying file, just not necessarily without any space inbetween. It’s called streatch because sometimes pulling those rows to the end of the file causes the total space assigned to tables to increase.

    Reply
  • B Bergenback
    March 31, 2020 4:38 pm

    It sends a text message to that 6′ 11″ guy in the warehouse.

    Reply
  • Expands the object explorer to the full width of your SSMS window.

    Reply
  • It allows you to Secure T-SQL Reverse-Encoded Table Column Headers

    Reply
  • It is of course used to exaggerate the size of the database to trick your infrastructure team that you need more disk space, so that there are times for lengthy procurement processes to procure the additional space.

    Interestingly in SQL Server 2008 (not R2), the feature was called “Bloat”.

    *None of the above is true!

    Reply
  • Tomasz Wieczorkowski
    April 1, 2020 12:29 am

    Strech means Streching. You have to run this task after every SQL Server reboot and every time before SQL Server will start the hard work – for example expensive queries – to avoid SQL Server injuries = database inconsistency 😉

    Reply
  • This button makes a random chicken in the world explode.

    Reply
  • Robyn Goodfellow
    April 1, 2020 3:43 am

    It increases the distance between rows. In order to “social distance” to protect it from computer viruses.

    Reply
  • This is the emergency button to call Reed Richards from the Fantastic Four!

    Reply
  • Adds some social distancing to the letters in db name in this crazy times. It’s easier to read it too.

    Reply
  • It’s a typo.

    It should be Stritch and, when clicked, does a rather entertaining Broadway comedy routine, complete with scratchy-voided singing.

    Reply
  • I know exactly what this does. It tells the engine to get the most important financial data in the database and “stretch” it so that the Finance and Marketing people can stretch the truth! It’s a great feature that Oracle needs to get on board with.

    Reply
  • Siva Ramasamy
    April 1, 2020 6:15 am

    After your database has workedout very hard with heavy transactions, this option allows to “stretch” it muscles (aka pages) a little bit…!

    Reply
  • George Walkey
    April 1, 2020 7:01 am

    It lengthens your bones like an Expanse Belter Loader

    Reply
  • Mr/Mrs William Caton
    April 1, 2020 9:22 am

    What the gubmint does with the truth. >:-)

    Reply
  • Leland Steffensen
    April 1, 2020 11:55 am

    This puts the database into “Uber Auto Manage” mode, allowing you to get out of your chair and go stretch your legs for a bit.

    Reply
  • For use after your database skinnydips on a winter day

    Reply
  • Increases server flexibility and reduces risk of database injuries prior to exercising a resource-intensive query.

    Reply
  • Stuart Goodrick
    April 1, 2020 10:16 pm

    It automatically exaggerates the benefits of the project in the mandate to allow for more pizza and beer.

    Reply
  • When run on the stackoverflow database, takes all users that don’t post their error message and stretches them on the rack.

    Yes I have an axe to grind.

    Reply
  • Ayman El-Ghazali
    April 2, 2020 6:45 am

    Writes excuses for you when you’re asked “why is the Database slow.” Aka stretching the truth, but they use the term stretch so only deep tech folks know it. You’re welcome.

    Reply
  • It gives it stretch marks like a human being. Microsoft way of showing we are more human like you.

    Reply
  • Brendan Mackay
    April 2, 2020 11:32 am

    It is the ultimate in performance tuning of course! First it begins by stretching the budget for those SSD disks, and then quickly (using linked servers with nested views and a cursor) stretches the performance of the CPU. After that it begins to work on user expectations, and the theory alternate dimensions to stretch out your next vacation.

    Reply
  • Prerequisite to a SNAP command (still in development…)

    Reply
  • It lets you increase the size of the database on disk so your SAN and VM admins can’t try to take any unused space away from you, and allows you to ask for more. Sadly, Microsoft never added the complementary “Squish” option into the UI, which then allows you to return the database to it’s original size afterwards…

    Reply
  • Robin Wilson
    April 3, 2020 3:10 pm

    It makes all your ASCII words extra loooooong! Oh Nooooooo. Means you can show off and say “My database is bigger than yours!”

    Reply
  • Adrian Darby
    April 3, 2020 9:42 pm

    It does stuff that wasn’t in the requirements document but you saw it and clicked on it anyway.

    Reply
  • It stretches the database file extents to allow the files to more easily grow when needed. Kind of like stretching a balloon first before blowing it up allows it to expand quicker.

    Reply
  • Frank Boateng
    April 8, 2020 2:13 pm

    It allows you to stretch your database to the sky, and then you turn around and wink at your storage team:)

    Reply
  • Thomas Grohser
    April 12, 2020 1:17 pm

    Stretches your budget to the limit ?

    Reply
  • It calls DBCC STRETCHFILE behind the scenes. Microsoft implemented this new feature to undo the effects of the DBCC SHRINKFILE command, since they can’t take that feature away.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.