BLS keeps databases in tune

Like a string quartet, databases must stay in tune if they're going to put on a good performance.

By Patricia DaukantasGCN StaffLike a string quartet, databases must stay in tune if they're going to put on a good performance.A database administrator at the Bureau of Labor Statistics has learned that the fine-tuning goes more harmoniously if the utilities that come with the database are supplemented with extra tools.To keep databases humming in the bureau's Office of Technology and Survey Processing, Bakul Patel last fall began using ProActive DBA 4 Classic from White Sands Technology Inc. of Canoga Park, Calif.Patel, a BLS computer specialist, said he used ProActive DBA while he was working as a database administrator, before he moved into his current front-office job a few months ago.The databases that Patel supervised in his previous position hold raw data about U.S. employment and jobs that has not yet been analyzed.The Sybase SQL Server 11.5.1 databases reside on two Sun Enterprise 3500 servers and one Sun Enterprise 3000 server running SunSoft Solaris 2.6 and 7.Many database administration tasks are routine. They include verifying data integrity, checking disk usage, and updating index statistics on the databases and tables, Patel said.Other day-to-day administration chores depend on the type of applications and the type of use, he said. The more often users make inserts and updates to a database, the more often the administrator must update its index statistics.Also, the administrator must guard against data corruption, 'because if you back up a corrupt database, when you do a restore, it's kind of useless,' Patel said.The ProActive DBA software was still in Version 3.x when Patel saw it demonstrated at a Sybase Inc. users' conference in Washington last year and decided to buy a copy.When Version 4 came out shortly thereafter, BLS purchased two more copies for its other Sun servers.Patel said he still uses the regular backup and estore functions within the Sybase software, but before acquiring ProActive DBA he hadn't tried any other tools to optimize the databases.Database performance is gauged by how long it takes to execute a given query. 'You could have a fast machine, but if your query is not written optimally or the database hasn't been tuned properly, a faster machine is not going to help,' Patel said.When queries execute, the database uses the indexing information to get to the data quickly. If the indexes are not laid out properly and the hard disks are highly fragmented, database performance suffers. How often defragmentation is necessary depends on the database application.'If it's a read-only or decision support system application, you may not have to do that much,' he said. 'But if you've got an online transaction processing application where you're doing lots of inserts and updates, you might have to defragment more often.'Patel said his group's databases fell between those extremes, doing moderate numbers of inserts and updates, so it was adequate to run the defragmentation utility once a month. The defrag part of ProActive DBA works essentially like the defrag utility on a PC, he said, though it's a bit more complex.Along with the defragmentation utility, there is a task scheduler for creating maintenance scripts. For example, the database administrator can write a script to defragment the drives every Sunday at 1 a.m., Patel said. Users can choose to be notified when the task has been completed.Although Patel's group uses ProActive DBA to optimize a database running under Unix, the tool actually resides on a workstation running Microsoft Windows 9x or Windows NT elsewhere on the BLS network.Besides Sybase databases, ProActive DBA 4 supports Microsoft SQL Server databases up to Version 6.5.Patel said he has not compiled statistics to document how much the ProActive DBA tool speeds up database performance. 'I never had time to sit down and do a complete end-to-end analysis, but the users seemed to be satisfied that performance was much better,' he said. 'It does pretty much what I thought it should do.'Patel said the software cost the agency about $2,500 per copy. He would like to evaluate the next version of ProActive DBA when it comes out, he said, although there are no specific plans to upgrade the office to Version 5.
Extra tools supplement built-ins to keep the agency's databases humming












ProActive DBA software graphically models the internal storage structure of a Sybase SQL Server database with colored blocks that represent the pages that store data rows.


















Try new tools












Many database administration tasks are routine, says BLS computer specialist Bakul Patel.










NEXT STORY: POWER USER

X
This website uses cookies to enhance user experience and to analyze performance and traffic on our website. We also share information about your use of our site with our social media, advertising and analytics partners. Learn More / Do Not Sell My Personal Information
Accept Cookies
X
Cookie Preferences Cookie List

Do Not Sell My Personal Information

When you visit our website, we store cookies on your browser to collect information. The information collected might relate to you, your preferences or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Click on the different category headings to find out more and change our default settings according to your preference. You cannot opt-out of our First Party Strictly Necessary Cookies as they are deployed in order to ensure the proper functioning of our website (such as prompting the cookie banner and remembering your settings, to log into your account, to redirect you when you log out, etc.). For more information about the First and Third Party Cookies used please follow this link.

Allow All Cookies

Manage Consent Preferences

Strictly Necessary Cookies - Always Active

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data, Targeting & Social Media Cookies

Under the California Consumer Privacy Act, you have the right to opt-out of the sale of your personal information to third parties. These cookies collect information for analytics and to personalize your experience with targeted ads. You may exercise your right to opt out of the sale of personal information by using this toggle switch. If you opt out we will not be able to offer you personalised ads and will not hand over your personal information to any third parties. Additionally, you may contact our legal department for further clarification about your rights as a California consumer by using this Exercise My Rights link

If you have enabled privacy controls on your browser (such as a plugin), we have to take that as a valid request to opt-out. Therefore we would not be able to track your activity through the web. This may affect our ability to personalize ads according to your preferences.

Targeting cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Social media cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.

If you want to opt out of all of our lead reports and lists, please submit a privacy request at our Do Not Sell page.

Save Settings
Cookie Preferences Cookie List

Cookie List

A cookie is a small piece of data (text file) that a website – when visited by a user – asks your browser to store on your device in order to remember information about you, such as your language preference or login information. Those cookies are set by us and called first-party cookies. We also use third-party cookies – which are cookies from a domain different than the domain of the website you are visiting – for our advertising and marketing efforts. More specifically, we use cookies and other tracking technologies for the following purposes:

Strictly Necessary Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Functional Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Performance Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Social Media Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Targeting Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.