Featured Products
Product Details
 
 
 
Customer Comments
800-672-4806 | 425-672-4806 | sales@ccscentral.com
User Guest (38.107.179.210)

SQL Performance

E-mail Print

Improving SQL Performance

There are several factors that can affect the performance of your SQL system.  The obvious ones are of course the basic design of your database.  A properly designed database system has a minimum amount of redundant data.  There is no reason to store the same field of information in several different tables, if that information can be found from a single master table.  Keeping such redundancy out reduces the overall database size, which helps with performance.

However, there are other, less obvious, factors that affect your SQL database.

Microsoft SQL in particular, greatly benefits from having indexes rebuilt and statistics updated.  Properly designed indexes significantly speed up accessing the information in a table.  The issue is that, over time, these indexes become less optimized as new data is added, and old data is deleted.  When data in a table is updated, the old data is actually deleted, and the new data inserted, giving the index a double hit.

Recently, I ran a script on several different SQL servers for a customers.  On some of the machines, the script ran in under three minutes.  On others, it was over 30 minutes.  Same script, similar hardware and database, and vastly different performance.  The difference was that some servers had been recently had the indexes rebuild

When the SQL indexes are rebuilt, they are again running at a high level of optimization, which helped achieve the short run times mentioned above.

A second major factor, with Microsoft SQL, is updating statistics.  MS-SQL keeps statistics on how particular tables are accessed, and these can be used to automatically tune the server to increase performance, also.  The impact of rebuilding indexes, and updating statistics, can be major.  You can see that in the difference in doing the same processing mentioned above.

How often indexes need to be rebuilt, and statistics updated, depends mostly on how active the database is.  In a high activity system, these should be done frequently.  Lower activity systems less frequently.  My minimum recommendation would be to re-index and update statistics weekly.  We have several customers that are setup to do this every night, as they have higher activity levels.

Also, if any major database processing is done, such as updating most or all records in a table, a re-index and update of statistics is called for.

Contact CCS Retail Technical Support for Custom CounterPoint SQL and Passport Business Systems SQL programming.
 


Last Updated on Thursday, 29 December 2011 20:06  
Privacy Policy | CCS Sales | CCS Support | CCS Training | CCS Administration | Author Help | CCS Webmaster | Site Map

© Copyright 2012, CCS Retail Systems, Inc. All Rights Reserved.

Customer Connect Marketing

Customer Connect Video and Details The Only Email Marketing Tool Built for Retailers

Customer Connect (CC) is Loaded With The Features And Functionality Needed For RetailersFully integrated with CounterPoint V7 and CounterPoint SQL, Customer Connect gives you the data needed to effectively connect with your customers, drive sales and increase customer loyalty.

New CustomerConnect Features!

Subscribe to CCS Specials Newsletter.  To unsubscribe use the link at the bottom of a newsletter. CCS Newsletter Sign-up

Visit CCS CustomerConnect eNews Archive CCS CustomerConnect eNews Archive

Quick Menu

 

 

 

 

Recovery Act Tax Deductions

"American Recovery and Reinvestment Act has officially extended the Section 179 Tax Deduction increases for the 2011 Tax Year"

Section 179 can be extremely profitable to you, so it is to your benefit to learn as much as possible. To begin, you probably have a lot of questions regarding Section 179. Follow the links below to get the details on this opportunity:  more ...

 Radiant CounterPoint POS

Radiant Introduces NEW CounterPoint POS Releases

This New 8.3.9 Release of CounterPoint was developed to give retailers New Features and Functions that increase profitability, and ensure a rapid return on investment.

Contact your CCS Sales Consultant to discuss all the new features and functions included.  Ask how they will Keep the Checkouts moving, the Inventory Optimized, and the Back-office Managed. Here are just a few of CounterPoint 8.3.9’s enhancements:  

♦ Registry/Wish List ♦ Message Center
♦ Margin Driven Pricing ♦ Miscellaneous Kits
♦ Tag-Along Kits ♦ Scrap Items
♦ Inactive Items ♦ Discount Overrides
♦ Item Zoom ♦ Forecasted Advices
♦ Enhanced Advices ♦ Work Center
♦ PCI DSS Passwords ♦ Enhanced CC Security

CPSQL 8.4.0 is on its way. Check out What's Coming with the link below!

CPSQL 8.4.0  | CP V7.5.19  | Product News | POS Stations

Why Choose CPSQL?

We have selected two dozen Recent New Retail CounterPoint SQL POS Customers to Profile for you. 

We suspect that you may have Needs Similar to theirs.  See Why these Retailers chose CPSQL and What they Found to be the Benefits.   more ...

Is Your System Healthy?

Great Deals!  New and Refurbished Systems.  Netbooks, Notebooks, Desktops, Servers, Storage Systems, Retail Devices.  Configure your own Systems for us to install.  more ...

Topic Cloud

GeoIP Location

Bookmark Us

Add to: JBookmarks Add to: Facebook Add to: Buzka Add to: Windows Live Add to: Ximmy Add to: Bookmarks.cc Add to: Linkarena Add to: Digg Add to: Del.icoi.us Add to: Reddit Add to: Jumptags Add to: Upchuckr Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Blogmarks Add to: Diigo Add to: Technorati Add to: Newsvine Add to: Blinkbits Add to: Ma.Gnolia Add to: Smarking Add to: Spurl Add to: Google Add to: Blinklist Information

Spam Free



Translate Page




Dave's Blog Newsfeed Subscribe to FeedBurner

Products and Services

 
Product Details
 
 
 

CCS Customer Comments

Customer Referrals

CCS offers rewards for each new, verified Prospect referral. We encourage you to think of the value that CounterPoint has added to your business and share that with others who will also benefit.

Submit a ReferralSubmitReferral

Get Involved In Our Site!

Become an Author.We encourage our customers, suppliers, and friends to participate in our site.  See the Visitor Services pages for details.