Posted by kashaan143 on October 6, 2008
Q
In the Microsoft SQL Server 2000 Resource Kit, I read about a procedure that checks all databases for options that you should avoid using. I understand why I should avoid using options such as offline, DBO-use only, statistics off, truncate log on checkpoint, and so on. However, the inclusion of two of the options—autoclose and autoshrink—puzzles me.
Autoclose. Closing a file when it is not in use sounds like a prudent thing to do. Yet I see files opening and closing all the time in the error log in SQL Server, even though I know that I never use the database except for viewing in Enterprise Manager. Does viewing a list of databases in Enterprise Manager make the files open? It makes sense to me to use autoclose on databases that I use only occasionally as import staging areas, and which I access for only a fraction of the time my online transaction processing (OLTP) database is in use. SQL Server Books Online says that the autoclose option is automatically set to YES for the SQL Server Personal Edition and to NO for all other editions. Has this option been included only for the Personal Edition?
Autoshrink. The autoshrink option also sounds helpful. However, would using autoshrink on my import staging areas, where I bring in quantities of data for short periods of time, keep these areas small for backups?
A
Autoclose is available in all editions of SQL Server 2000. The amount of memory you save by using this option is relatively small but might be important on memory-constrained systems running the Personal Edition. However, enabling autoclose for the other editions isn’t a good idea, because every time you try to access the database, the query will be slowed by the amount of load time it takes to mount the database. As for the question about your files opening and closing, yes, when you enumerate a database in Enterprise Manager, you access the database, which opens the files.
Leaving autoshrink on for production systems also isn’t a good practice (unless you really need to), because autoshrink might start when your system is otherwise busy with production work, and slow down the system. However, enabling this option is a good idea for desktop or remote systems that don’t get a lot of DBA attention and whose databases could grow out of control before you detect the problem.
Posted in Administrator Tips | Tagged: access, Administrative Tips and Articles, areas, attrntion, autoclose, autoshrink, available, avoid, Avoiding the Autoclose and Autoshrink Options, backups, books, bring, checkpoint, cheks, control, data, database, Database Tips and articels, Developing Tips and Articles, enterprise. manager, enumerate, file, files, fraction, helpful, inclusion, microsoft, offline, online, options, periods, problem, procedure, prudent, puzzlez, resource, server, small, sounds, sql, staging, statistics, sutoshrink, system, transaction, understand, unless | Leave a Comment »
Posted by kashaan143 on September 19, 2008
If you entered the wrong registration information when you installed Windows you can change it and other miscellaneous settings such as ProductID and ProductName.
Open your registry and find the key below for your operating system.
Windows 95, 98 and Me:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\
CurrentVersion]
Windows NT, 2000 and XP:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion]
Modify the strings values of ‘RegisteredOwner’ and ‘RegisteredOrganization’ to equal the required owner and company names.
Settings:
Name: RegisteredOwner, RegisteredOrganization
Type: REG_SZ (String Value)
Posted in Registry Tips & Articles | Tagged: 2000, all window, calue, change, Change the Registered Owner and Organization All Windows, company, current version, equal, jkey, local, Machine, microsoft, modify, name, nt, organization, owner, registered, registry articles, registry tips and articles, setting, software, string, top registry tips. xp registry tips and articles, type, windows registry tips, windows registry tips and articles, xp | Leave a Comment »
Posted by kashaan143 on September 14, 2008
Warning: Always make sure to create a backup of registry keys prior to making changes. TweakXP.com accepts no responsibility for problems caused by using Registry Editor incorrectly.
1. Open Registry Editor and move to the following key, creating keys where necessary:
HKEY_CURRENT_USER\Software\Policies\Microsoft\
WindowsMediaPlayer
2. Find or create the String Value: TitleBar
3. Double click this value and enter the text you would like to appear after “Provided by”.
4. Click OK and close Registry Editor.
For example, In step 3 if I entered “TweakXP.com” the title bar of Windows Media Player will read “Windows Media Player provided by TweakXP.com”
Note: Values in Registry Editor are case sensitive.
Posted in software tips | Tagged: Add custom Provided by tag to Media Player Title bar, bar, case, current, edtior, entered, exaple, hkey, media, microsoft, player, sensitive, title, tweakup. title bar, user | Leave a Comment »
Posted by kashaan143 on September 13, 2008
If you prefer to use the classic search style in Explorer,
Start Regedit
Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\
CurrentVersion\Explorer\CabinetState
Add a String Key called Use Search Asst
Give it a value of no
Posted in Windows XP Tips & Articles | Tagged: cabinet, classic, current, Explorer, hkey, microsoft, regedit, search, software, start, state, string, style, Using the Classic Search in Explorer, value | Leave a Comment »
Posted by kashaan143 on September 13, 2008
If XP does not remember your folder settings, delete or rename the following registry keys
[HKEY_CURRENT_USER\Software\Microsoft\Windows\
ShellNoRoam\BagMRU]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\
ShellNoRoam\Bags]
Posted in Windows XP Tips & Articles | Tagged: bags, current, delete, folder, hkey, keys, microsoft, registry, remembering, Remembering Folder Settings, rename, settings, shell, software, Windows | Leave a Comment »