Overstock.com Interview Question for Software Engineer / Developers


Country: United States
Interview Type: In-Person




Comment hidden because of low score. Click to expand.
2
of 2 vote

To improve the query performance we need to follow the below check list.
1. run the query & check the execution plan
2. in the execution plan if we are seeing table scan it means there is not index created. we need to create index on that table ( the column which selected in select list)
3. if there is index is created but still ur getting table scan then need to check on which column the index has been created.. we need to make sure index has been created on the column which has int value .. coz the performance will hit if u have created index on Name column
4. from the execution plan we need to find how many hints we are getting based on that we need to modify the query.. hints are nothing but the suggestion for better performance.
5. there should not more index created on same table. else that will become problem.
6. what is the network speed .. that also matter for the performance issue.

- Anonymous December 17, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

By using Indexes, i.e., creating clustered, and non-clustered indexes, whenever its required.

- Piyush Bajaj November 24, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Also , creating partition in tables if data suits.

- karthick November 27, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

is it related to DB querry?

- Arulmozhi November 21, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

yes. It is about improving performance of sql query but not specific to any database.

- Survivor November 21, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

adding indexes is not the only way of improving query performance .. it can be improved by rewriting queries as well .. Rewrite to reduce joins ,, move projections on top will help too.

- Anonymous April 28, 2014 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More