Thursday, August 15, 2013

[Articles] Who Wants to Be Rich?

[Articles] Who Wants to Be Rich?


Who Wants to Be Rich?

Posted: 14 Aug 2013 11:00 PM PDT

With all the concern over the economy lately, Steve Jones talks about about finances and tries to bring perspective to those of us in the real world.

[MS SQL Server] How to migrate DTS packages from SQL 2000 to SQL 2008R2

[MS SQL Server] How to migrate DTS packages from SQL 2000 to SQL 2008R2


How to migrate DTS packages from SQL 2000 to SQL 2008R2

Posted: 15 Aug 2013 03:33 AM PDT

How to migrate DTS packages from SQL 2000 to SQL 2008R2.Or atleast let me know how to migrate DTS packages in SQL 2000 to SSIS packages SQL 2008R2

System-health extended-event session does not capture latest deadlocks

Posted: 20 Dec 2012 08:04 PM PST

While running the following query to capture the latest deadlocks recorded in the default system-health extended-event session, I noticed that the latest deadlock captured was 3 days ago. However, in the SQL ERRORLOG I see that several deadlocks have occurred as recently as today.Has anyone else noticed this issue?[code="sql"]--http://www.quest.com/whitepaper/how-to-use-sql-servers-extended-events-and-notifications816315.aspx;WITH SystemHealthAS ( SELECT CAST ( target_data AS xml ) AS SessionXML FROM sys.dm_xe_session_targets st INNER JOIN sys.dm_xe_sessions s ON s.[address] = st.event_session_address WHERE name = 'system_health')SELECT Deadlock.value ( '@timestamp', 'datetime' ) AS DeadlockDateTime, CAST ( Deadlock.value ( '(data/value)[1]', 'Nvarchar(max)' ) AS XML ) AS DeadlockGraphFROM SystemHealth sCROSS APPLY SessionXML.nodes ( '//RingBufferTarget/event' ) AS t (Deadlock)WHERE Deadlock.value ( '@name', 'nvarchar(128)' ) = N'xml_deadlock_report'ORDER BY Deadlock.value ( '@timestamp', 'datetime' );[/code]

How can I change a user created without login to a user with login

Posted: 14 Aug 2013 07:56 PM PDT

We lost a raid controller (supposedly) on a brand new database server Wednesday at about 3:45pm. Just before our 4:00 backup. I'm trying to attach our main database and get it running at that closest point.We have reinstalled SQL Server 2008 R2 (long story talk to DELL)I am able to attach the 3:45 mdf and ldf files but the users are without logins.How can I get the db users to have a login and password again?Before 6:00am this morning ..... central time USA.its 3:55am now.This is an emergency and any help is sincerely appreciated.tia,Todd

Emailing from SQL 2008 using 'EX:\O' type addresses

Posted: 14 Aug 2013 09:44 PM PDT

I'm trying to do the simple task of sending emails to end-users when their case is closed on the database.Normally I simply use DBMail and sp_send_mail; no problems.But the only email addresses available are of the form 'EX:/O=xxx/OU=site/cn=Recipients/cn=nnn.mmmm' which I am given to understand arise from Exchange. Anyway I can't get them to work, and so far haven't found anything about it on the net.Anyone have an idea? All offers gratefully accepted.thanks

[SQL 2012] Sp to create SQL job

[SQL 2012] Sp to create SQL job


Sp to create SQL job

Posted: 15 Aug 2013 12:52 AM PDT

After my failed attempt last time, I thought of a new way to get my scheduled backups in place.I have basically created an SP and put it in model, this creates the folder structure for the backups, deletes old backups then takes a full backup of the database. To automate this, I am created another SP, which I will run, feeding in the database name of which I Want it to schedule backups for.create procedure dbo.CreateBackupAgentJob @DatabasenameInput varchar(100) = null as declare @JobCode varchar(max)declare @thisserver nvarchar(100)select @thisserver = (select @@SERVERNAME)set @JobCode = 'begin transactionDECLARE @jobId BINARY(16)EXEC msdb.dbo.sp_add_job @job_name=N''' + @DatabasenameInput + '- backup Job'', @enabled=1, @notify_level_eventlog=0, @notify_level_email=2, @notify_level_netsend=2, @notify_level_page=2, @delete_level=0, @category_name=N''[Uncategorized (Local)]'', @owner_login_name=N''sa'', @job_id = @jobId OUTPUTselect @jobIdGOEXEC msdb.dbo.sp_add_jobserver @job_name=N''' + @DatabasenameInput + '- backup Job'', @server_name = @thisserverGOUSE [msdb]GOEXEC msdb.dbo.sp_add_jobstep @job_name=N''' + @DatabasenameInput + '- backup Job'', @step_name=N''' + @DatabasenameInput + ' Backup'', @step_id=1, @cmdexec_success_code=0, @on_success_action=1, @on_fail_action=2, @retry_attempts=0, @retry_interval=0, @os_run_priority=0, @subsystem=N''TSQL'', @command=N''exec dbo.backupdatabase'', @database_name=@databasenameinput, @flags=0GOUSE [msdb]GOEXEC msdb.dbo.sp_update_job @job_name=N''' + @DatabasenameInput + '- backup Job'', @enabled=1, @start_step_id=1, @notify_level_eventlog=0, @notify_level_email=2, @notify_level_netsend=2, @notify_level_page=2, @delete_level=0, @description=N'', @category_name=N''[Uncategorized (Local)]'', @owner_login_name=N''sa'', @notify_email_operator_name=N'', @notify_netsend_operator_name=N'', @notify_page_operator_name=N''GOUSE [msdb]GODECLARE @schedule_id int[color=#ff0000]EXEC msdb.dbo.sp_add_jobschedule @job_name=N''' + @DatabasenameInput + 'backup Job'', @name=N''10pm''',[/color] @enabled=1, @freq_type=4, @freq_interval=1, @freq_subday_type=1, @freq_subday_interval=0, @freq_relative_interval=0, @freq_recurrence_factor=1, @active_start_date=20130815, @active_end_date=99991231, @active_start_time=220000, @active_end_time=235959, @schedule_id = @schedule_id OUTPUTselect @schedule_idGO )exec @jobcodeI am getting a syntax error on the highlighted row? please help :D

always on sql server 2012 Hybrid Storage

Posted: 14 Aug 2013 06:25 AM PDT

Good afternoon,What are the implications for the always on, have the primary with disk SSD and secondary with HDD SAS?thank you very muchMichael Antunes

Clear cache after big job?

Posted: 14 Aug 2013 06:02 PM PDT

Hi everyone,We have several big jobs which execute a lot of SQL. These jobs execute every day during the night and take some time to finish.I suppose that all those queries are then stored in SQL Server cache right?Also, we have a website which uses this SQL Server database.Possible problem is, queries in jobs and website queries are different. So, agent jobs are used in back end to set up products, categories, brands etc. Web pages are using other procedures and other queries on front end to present products, enable online shopping etc.I am thinking, maybe it would be good to clear cache after jobs are finished? Maybe by using:[code="sql"]DBCC FREEPROCCACHE WITH NO_INFOMSGS;[/code]I am worrying that cache is not used on best way after jobs are finished. During the day, I need it optimized only for website queries. I suppose that jobs queries take some resources in cache. As a consequence, website would run slower?So, idea is, during the night, after jobs are finished, add as a last step clearing of cache. Then, website queries will build cache again and website will work as fast as possible during the work hours. On this way jobs queries don't affect cache. All cache belongs to website queries.Please let me know your thoughts :-)Regards

checkdb and snapshots

Posted: 14 Aug 2013 07:13 AM PDT

Hi,The system is SQL Server 2012 SP1 Enterprise Ed 64-bit 11.0.3349.0Integrity Check has been failing on random user databases and on master and msdb, the error is:[font="Courier New"]Msg 5030, Level 16, State 12, Line 1The database could not be exclusively locked to perform the operation.Msg 7926, Level 16, State 1, Line 1Check statement aborted. The database could not be checked as a database snapshot could not be created and the database or table could not be locked. See Books Online for details of when this behavior is expected and what workarounds exist. Also see previous errors for more details.[/font]The above error is generated for Integrity checks that were ran from a scheduled job or directly in Management Studio, and also when dbcc checkdb is ran WITH NO_INFOMSGS or WITH TABLOCK.None of these messages are logged in SQL Server Error Log, and I did not find any other messages occurring at the same time in the log or in Event Viewer.Tried creating a snapshot but failed, error message:[font="Courier New"]Msg 1823, Level 16, State 2, Line 1A database snapshot cannot be created because it failed to start.Msg 5119, Level 16, State 1, Line 1Cannot make the file "F:\MSSQL\Data\ReportServer_0814.ss" a sparse file. Make sure the file system supports sparse files.[/font]If this is a permission issue, how come the integrity check is successful for some of the databases?Any suggestions?thank you!

Run a script file against Multiple databases

Posted: 14 Aug 2013 05:18 AM PDT

I have a script file in C:\Script.sql that I need to run against multiple databases.I can run on one database as follows :r c:\Script.sql But my challenge is I need to run on all the databases returned by the folowing query. The script file creates abount 50 objects .SELECT db_name from Table1 where dbID > 4 Thanks

Restoring a database and simultaneously increasing it's file size

Posted: 14 Aug 2013 03:43 AM PDT

Hey guys, At my organization, we have just built a new SQL Server machine to which we would like to migrate existing databases from other servers. For one of the databases, we'd like the MDF and LDF to have a new initial file size once it is moved. What is the best way to accomplish this? Is there a way to increase the file sizes during restoration from a backup? Or will we have to restore and than alter the file size through T-SQL (or SSMS)? The reason we are asking, is because we want to ensure that the MDF and LDF files on the new server are contiguous in the file system, and we are worried that increasing the file size after restoration will lead to having non-contiguous files in the file system. If there is more detail I can provide, just let me know.Thanks,

SAS disk partitioning for SQL Server

Posted: 14 Aug 2013 06:31 AM PDT

Good afternoon,I have 6 SAS HDD with 900GB capacity each. What better way to split it to SQL Server, considering LDF, MDF and TempDB. For four database of volumetric total of 180GBthank you very muchMichael Antunes

[T-SQL] Moving the decimal

[T-SQL] Moving the decimal


Moving the decimal

Posted: 14 Aug 2013 08:13 AM PDT

Hi,I have a decimal field (10,4) that has values in it like:0.01230.00630.0595I need a way in my select statement to make them look like:1.230.635.95I've tried this but it's not correct:SELECTCAST([Overtime Actual Percentage].[Actual Overtime Percentage]*100 AS DECIMAL(20)) AS 'Actual Overtime Percentage',

Help with Retrieving 1 Fax number

Posted: 14 Aug 2013 06:17 AM PDT

Hello all, I was wondering if someone can help me with an issue that I'm having. I'm trying to retrieve 1 fax number on a join. Here's the scenerio.1. I have a Vendors table that has the Vendor ID in it.2. I have a Address_Phone table that contains phone numbers with phone types such as FAX, BUS, etc. In this table it also has a POS (position) column that tells what position that phone number is in. A FAX number can be in any position 1,2,3.. So, in my scenerio I can have 3 record where I have a BUS phone number in POS 1 (First Record) then a FAX number in POS 2 (Second Record) and another FAX number in POS 3 (Third Record). I'm doing a left outer join because a Vendor may not have a fax number.SELECT V.VENDOR_ID, ADDRESS_PHONE_NUM FROM VENDOR V LEFT OUTER JOIN ADDRESS_PHONE AP ONV.VENDOR_ID = AP.VENDOR_ID WHERE ADDRESS_PHONE_TYPE = 'FAX'The problem is that if the VENDOR ID is in ADDRESS_PHONE table more than once (which it is) with more than 1 fax number it brings me back both fax numbers. I only want one; but I'm don't know what position this fax number will be in because it can be in any position if one exists.Any thoughts?

How do you analyze a query?

Posted: 14 Aug 2013 01:11 PM PDT

This is more of a question to people who read code and understand exactly what it does. Like someone posts a bunch of code.. and there are people answering the questions related to it.I would like to know if you have a process or method to analyze the code in your head.. or do you type up a query to see what it does. I have seen people look at a stored procedure that runs into a 2 page printout and know what it does.Most of it is probably experience,knowledge, etc.. but there must an underlying technique to break it down into "human"...

Help on triggers

Posted: 30 Jun 2013 02:52 AM PDT

Dear Friend,Am I able to capture the query inside the trigger that I was executed..?For example, I have instead of delete trigger for a table say SampleTable.[code="sql"] create table sampletable (Id int ,name varchar(800)) create trigger sampletriger on sampletable instead of delete as Print 'Desired Query' insert into sampletable values(1, 'heavenguy') insert into sampletable values(2, 'tristan') insert into sampletable values(3, 'Jack') [/code]Now i'm trying to delete the sampletable...[code="sql"]delete from sampletable where id = 1[/code]I wanted the trigger to return the query that I executed...output:-delete from sampletable where id = 1

TSQL For Xml Path query to get nested data

Posted: 14 Aug 2013 02:53 AM PDT

I have one xml file with nested data when the xml is loaded with SSIS; it produces 3 tables. I created tables in SQL Server. The 3 tables are:1. Customer (95 columns) 2. Booking - (46 columns) 3. Customer_Booking_ID - (2 columns) is empty in the xml before loading the data but it populated after loading the data which provide the ID's to link the table (not sure how it done to recreate in my own xml)I now have to recreate the same xml format but with more data but I'm currently having problems producing a nested XML format like below:[code="other"]<?xml version="1.0"?><Customers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Customers.xsd"> <Customer> <AddressID>12132434454349</AddressID> <AddressOptin>1</AddressOptin> <CustomerID>12132434454349</CustomerID> <Customer_Booking_ID> <Booking> <BookingTypeCode>LastBooked</BookingTypeCode> <Complained>0</Complained> </Booking> <Booking> <BookingTypeCode>LastReturned</BookingTypeCode> <BalanceOutstanding>2333.12</BalanceOutstanding> <BookingReference>ref1232343454</BookingReference> <EngagementChannelCode>CC</EngagementChannelCode> <EnquiryReference>ref1232343454</EnquiryReference> <Complained>0</Complained> </Booking> </Customer_Booking_ID> <LastBrochureRequestDate>2013-07-24</LastBrochureRequestDate> <LastComplaintIssuedDate>2013-07-26</LastComplaintIssuedDate> </CustomerContact> </Customers>[/code][code="sql"]Create Table dbo.Customers ( AddressID Varchar(50) ,AddressOptin int ,CustomerID int ,LastBrochureRequestDate INT ,LastComplaintIssuedDate INT ,Complained Varchar(50))Create Table dbo.Customer_Booking_ID(customerID int /** not in the xml file create during loading data **/ ,bookingID int) /** not in the xml file create during loading data **/ Create Table Booking ( BookingTypeCode Varchar(50) ,BalanceOutstanding int ,BookingReference Varchar(50) ,EngagementChannelCode Varchar(50) ,EnquiryReference Varchar(50) ,BookingID int) **** *** bookingID is also in the Booking Table but is not in the xml file but it created during ssis loading into the tables. INSERT into Customer_Booking_ID ([customerID],[bookingID])Values(1, 1), (2, 2)INSERT INTO Customers (AddressID, AddressOptin,CustomerID,LastBrochureRequestDate,LastComplaintIssuedDate,Complained) VALUES ('1111', 1,1111,'2013-12-12','2013-12-12',0), ('2222', 1,2222,'2013-12-12','2013-12-12',0) INSERT INTO dbo.Booking (BookingTypeCode,BalanceOutstanding,BookingReference,EngagementChannelCode,EnquiryReference,BookingID) VALUES ('LastReturned', 222.13,'BookingREF11','CC','EEREF11',1), ('LastReturned', 222.13,'BookingREF12','CC','EEREF12',2)[/code]

CTE

Posted: 01 Aug 2013 02:49 AM PDT

How do I nested common table expression?

[SQL Server] Advanced SQL Server 2008 Extended Events with Examples

  1. Advanced SQL Server 2008 Extended Events with Examples ...

    www.sqlteam.com/.../advanced-sql-server-2008-extended-events-with- examples - Similar
    25 May 2009 ... In the previous article we learned about SQL Server 2008 Extended Events
    terminology, components and took a look at a simple example.

  2. Introduction to SQL Server 2008 Extended Events - SQLTeam.com

    www.sqlteam.com/article/introduction-to-sql-server-2008-extended-events - Similar
    19 May 2009 ... SQL Server 2008 Extended Events are the new low level, high ... For example a
    reported figure by Microsoft is that 20,000 events/sec on a 2 ...

  3. Using SQL Server 2008 Extended Events - TechNet - Microsoft

    technet.microsoft.com/en-us/library/dd822788(v=sql.100).aspx - Cached
    In SQL Server 2008, Extended Events data for wait events can be correlated ... be
    appropriate for standard release, to customers for advanced troubleshooting of ...

  4. SQL Server Extended Events - SQLskills.com

    www.sqlskills.com/blogs/paul/category/extended-events/ - Cached
    11 Jul 2011 ... Using the Extended Events mechanism for troubleshooting SQL Server.
  5. Getting Started with Extended Events in SQL Server 2012

    https://www.simple-talk.com/sql/.../getting-started-with-extended-events-in- sql-server-2012/ - Cached
    4 Feb 2013 ... Consequently, the Extended Events feature in SQL Server 2008 saw ... For
    example, in Figure 2, the query_post_execution_showplan event is ...

  6. Advanced SQL Server 2008 Extended Events with Examples ...

    www.sswug.org/nlread.asp?id=44795&d=6/8/2009&t=4
    8 Jun 2009 ... (Mladen Prajdi?) In the previous article we learned about SQL Server 2008
    Extended Events terminology, components and took a look at a ...

  7. How to monitor deadlock using extended events in SQL Server 2008 ...

    blogs.msdn.com/.../sqlserverfaq/.../an-in-depth-look-at-sql-server-memory- part-2.aspx - Cached
    26 Apr 2013 ... Before I talk about how to monitor the deadlocks let us have a small brief what is
    deadlock and how we were handling them in the previous ...

  8. SQL Server 2008 Extended Events SSMS Addin - Home

    extendedeventmanager.codeplex.com/ - Cached - Similar
    7 Aug 2009 ... Project Description. SQL 2008 Extended Events are a powerful new way of
    troubleshooting problems with SQL Server. One short coming is that ...

  9. Manual Extended Events Manager Install - SQL Server FineBuild ...

    sqlserverfinebuild.codeplex.com/wikipage?... Install%20Extended%20Events%20Manager - Cached
    SQL Server Extended Events are a powerful way of troubleshooting ... .com/
    article/advanced-sql-server-2008-extended-events-with-examples. Extended
    Events Manager can only be installed on SQL Server 2008 and SQL Server 2008
    R2.

  10. Retrieving Deadlock Graphs with SQL Server 2008 Extended Events

    www.dnnsoftware.com/.../Retrieving-Deadlock-Graphs-with-SQL-Server- 2008-Extended-Events - Cached
    21 Sep 2011 ... SQL Server extended events (Extended Events) is a general ... has a few
    examples of accessing the system_health session sql 2008 extended ...

  11. Using Extended Events to troubleshoot SQL Server issues

    www.mssqltips.com/sqlservertip/.../using-extended-events-to-troubleshoot-sql -server-issues/ - Cached
    2 May 2011 ... In addition to these tools, SQL Server 2008 offers extended events ("XEvents"),
    which you can use as a powerful tracing system. By default, the ...

  12. Using XEvents (Extended Events) in SQL Server 2008 to detect ...

    msmvps.com/.../2008/.../using-xevents-extended-events-in-sql-server-2008- to-detect-which-queries-are-causing-page-splits.aspx - Cached - Similar
    7 Dec 2008 ... From http://msdn.microsoft.com/en-us/library/bb630354.aspx: SQL Server
    Extended Events (Extended Events) is a general event-handling ...

  13. SQLServerCentral: Articles tagged Extended Events

    www.sqlservercentral.com/articles/Extended+Events/
    Items 1 - 12 of 12 ... Getting Started with Extended Events in SQL Server 2012. Extended Events ...
    Advanced SQL Server 2008 Extended Events with Examples.

  14. Extended Events - SQL Server Blogs

    sqlblog.com/blogs/extended_events/ - Cached
    28 Mar 2012 ... Extended Events demos on Microsoft Virtual Academy ... Let's take a simple
    example, we might write a filter for wait_info such as: wait_type = ...

  15. SQL Server 2008 Advanced Troubleshooting with Extended Events ...

    www.cnblogs.com/lenoevo/archive/2008/12/24/1361026.html - Cached - Similar
    24 Dec 2008 ... Paul Randal demonstrates how you can use the new Extended Events
    functionality in SQL Server 2008 for monitoring and troubleshooting.

  16. SQL Server 2008 extended events using the Advanced ...

    www.ixwebhosting.mobi/2011/09/19/2241.html - Cached
    19 Sep 2011 ... SQL Server 2008 extended events using the Advanced Troubleshooting ...
    example, workload may change (such as the number of concurrent ...

  17. Tracing Query Performance with Extended Events - Publishing ...

    www.solidq.com/.../Tracing-Query-Performance-with-Extended-Events.aspx - Cached
    For example, if your goal is to reduce I/O costs in the system because the I/O ...
    Before SQL Server 2012, whether you used SQL Trace or Extended Events, this ...

  18. Querying Extended Events in SQL Server 2008 - Database ...

    dba.stackexchange.com/.../querying-extended-events-in-sql-server-2008 - Cached
    Querying Extended Events in SQL Server 2008 ... curve has been rough. Thank
    you in advance for your help. sql-server-2008 extended-events ...

  19. Locking in Microsoft SQL Server (Part 4 ? How to detect blocking ...

    aboutsqlserver.com/.../locking-in-microsoft-sql-server-part-4-how-to-detect- blocking/ - Cached
    26 May 2011 ... EXECUTE sp_configure 'show advanced options', 1 ... method to obtain blocked
    process report is using extended events (SQL Server 2008+).

  20. An Introduction to SQL Server 2008 Audit | Brad M McGehee

    bradmcgehee.com/2010/.../an-introduction-to-sql-server-2008-audit/ - Cached
    30 Mar 2010 ... Fast and Lightweight: SQL Server Audit uses SQL Server 2008′s Extended
    Events engine to capture audit data. This results in fast ...

[SQL Server] Testing with Profiler Custom Events and Database Snapshots

  1. Testing with Profiler Custom Events and Database Snapshots ...

    www.sqlteam.com/.../testing-with-profiler-custom-events-and-database- snapshots
    22 Jun 2009 ... We've all had them. One of those stored procedures that is huge and contains
    complex business logic which may or may not be executed.

  2. Testing with Profiler Custom Events and Database Snapshots ...

    www.sswug.org/articles/viewarticle.aspx?id=45179
    (Mike Femenella) We've all had them. One of those stored procedures that is
    huge and contains complex business logic which may or may not be executed.

  3. Performance and Memory Java Profiler - YourKit Java Profiler

    www.yourkit.com/features/ - Cached
    Java profiler. ... "Quick Info" view: Ability to automatically capture snapshots on
    event: Ability to compare memory snapshots: Automated comprehensive memory
     ...

  4. Free SQL Server Tools Software and Utilities - SQL Server Utilities

    www.sqlserverutilities.com/SQL-Server-Utilities-Free-SQL-Server-Tools- Software-and-Utilities-for-the-DBA-and-Developer.htm - Cached - Similar
    RML Utilities for SQL Server (x86) and (x64) - tools to help database
    administrators manage the performance of ... SQLTrace, Profiler & Extended
    Events.

  5. Database Project Settings - MSDN - Microsoft

    msdn.microsoft.com/en-us/library/hh272681(v=vs.103).aspx - Cached
    You use database project settings to control aspects of your database,
    debugging ... If this check box is cleared, file names for objects take the form
    ObjectName.

  6. SqlPackage.exe - MSDN - Microsoft

    msdn.microsoft.com/en-us/library/hh550080(v=vs.103).aspx - Cached
    Extract: Creates a database snapshot (.dacpac) file from a live SQL Server or ....
    The profile defines a collection of properties and variables to use when ...

  7. Basit A. Farooq - United Kingdom | LinkedIn

    uk.linkedin.com/in/basitfarooq - Cached
    Leeds, United Kingdom - Lead/Senior Database Administrator at Parabis Group
    View Basit A. Farooq's (United Kingdom) professional profile on LinkedIn. ...
    Service Broker, SSIS, Visio, Database Mirroring, LogShipping, Database
    Snapshots.

  8. New Features In Oracle Enterprise Manager Cloud Control 12c

    docs.oracle.com/cd/E24628_01/doc.121/e25353/whats_new.htm - Cached
    For example, when a new version of Oracle Database is released, you can
    simply .... These entities can be consumed in custom job types defined for the
    plug-in.

  9. Monitoring and Tuning the Database - 11g Release 2 (11.2)

    docs.oracle.com/cd/E25054_01/server.1111/.../montune.htm - Cached
    Other alerts correspond to database events such as Snapshot Too Old or ...... A
    green check mark in the SQL Profile column indicates a recommendation that ...

  10. Database Management - Oracle Documentation

    docs.oracle.com/cd/E11857_01/em.../database_management.htm - Cached
    It displays a profile of the amount of time sessions are either working or waiting to
    work in the .... By default, the database takes snapshots at 60-minute intervals.

  11. [PDF] 

    Testing the SQL Performance Impact of an Oracle Database 9i/10g ...

    www.oracle.com/technetwork/database/.../owp-spa-9i-10g-128292.pdf - Cached
    Oracle Real Application Testing: Testing the SQL Performance. Impact of an
    Oracle Database. 9i/10g Release 1 to Oracle Database. 10g Release 2 upgrade
     ...

  12. Testing with Profiler Custom Events and Database Snapshots

    sqlsample.blogspot.com/.../ Testing%20with%20Profiler%20Custom%20Events%20and%20Dat... - Cached
    23 May 2013 ... Testing with Profiler Custom Events and Database Snapshots. Weekly SQL
    Server newsletter with articles, forum posts, and blog posts via ...

  13. Activiti 5.13 User Guide

    www.activiti.org/userguide/
    Custom extensions; Events. Event Definitions; Timer Event ...... autoReconnect=
    true, Tested using mysql-connector-java database driver. oracle, 11.2.0.1.0 ...

  14. Appendix: Common DBA Tasks for Microsoft SQL Server - Amazon ...

    docs.aws.amazon.com/.../latest/.../Appendix.SQLServer.CommonDBATasks. html - Cached
    This section describes the Amazon RDS-specific implementations of some
    common DBA tasks for DB Instances that are running the Microsoft SQL Server ...

  15. Techniques for improving online data cleanup in a WebSphere ... - IBM

    www.ibm.com/developerworks/websphere/.../0808_voldman.html - Cached - Similar
    As the database grows, the performance and maintainability of the site are ... You
    will learn techniques to implement, test, and tune cleanup scripts, and to ...

  16. RegOnline Features ? Badges, Custom Events Websites, Email ...

    www.regonline.ca/__features/ - Cached
    1) Charts 2) Event Statistics 3) The custom event URL 4) EASY navigation ...
    Build directories in tabbed, contact card, and full profile formats. Better organize ...

  17. [PDF] 

    DBA Guide to Databases on VMware - White Paper

    www.vmware.com/files/.../DBA_Guide_to_Databases_on_VMware-WP.pdf - Cached
    Developing and Testing Databases on VMware . ..... provided by leading storage
    vendors to automate the process of recovering from a disaster event.

  18. [PDF] 

    Database Startup Guide: Microsoft SQL - Savvis

    www.savvis.com/.../hos-us-savvis-symphony-database-startup-guide- microsoft-sql.pdf - Cached
    Appendix A: Importing and Exporting Symphony Database Databases . ...... This
    custom monitoring could include health checks validating everything from ...

  19. Features - ej-technologies - Java Profiler, Java Installer Builder ...

    www.ej-technologies.com/products/jprofiler/features.html - Cached - Similar
    At a later time you can open these snapshots in the JProfiler GUI or ... JProfiler
    offers a custom probe wizard that allows you to define your custom probes
    directly ...

  20. The Grails Framework 2.2.4

    grails.org/doc/latest/guide/single.html - Similar
    4.7.6Snapshots and Other Changing Dependencies ..... For example when
    running with a custom Grails environment called "production", a Spring profile of
     ...

[SQL Server] Efficiently Reuse Gaps in an Identity Column

  1. Efficiently Reuse Gaps in an Identity Column - SQLTeam.com

    www.sqlteam.com/article/efficiently-reuse-gaps-in-an-identity-column - Similar
    9 Feb 2010 ... This article will demonstrate an efficient way to reuse gaps in an identity column.
    Please note that this is something you normally shouldn't be ...

  2. SQL Server Forums - Article: Efficiently Reuse Gaps in an Identity ...

    www.sqlteam.com/forums/topic.asp?TOPIC_ID=139584 - Cached
    This article will demonstrate an efficient way to reuse gaps in an identity column.
    Please note that this is something you normally shouldn't be ...

  3. Efficiently Reuse Gaps in an Identity Column from sqlteam.com

    browse.feedreader.com/c/SQLTeam_com_Articles/39644566 - Cached
    9 Feb 2010 ... Efficiently Reuse Gaps in an Identity Column. This article will demonstrate an
    efficient way to reuse gaps in an identity column. Please note that ...

  4. Less Than Dot - Blog - What To Do When Your Identity Column ...

    blogs.lessthandot.com/.../what-to-do-when-your-identity-column-max - Cached
    6 Mar 2009 ... http://weblogs.sqlteam.com/peterl/archive/2009/03/10/How-to-efficiently-reuse-
    gaps-in-identity-column.aspx. 03/10/09 @ 12:39. Comment from: ...

  5. How do I fill in identity gaps? - Ask SqlServerCentral

    ask.sqlservercentral.com/.../2844/how-do-i-fill-in-identity-gaps.html - Cached
    You can also read this blog post http://weblogs.sqlteam.com/peterl/archive/2009/
    03/10/How-to-efficiently-reuse-gaps-in-identity-column.aspx.

  6. id column gets biger then integer ?! : The Official Microsoft ASP ...

    forums.asp.net/t/prev/1629478 - Cached
    for the gaps : http://weblogs.sqlteam.com/peterl/archive/2009/03/10/How-to-
    efficiently-reuse-gaps-in-identity-column.aspx. (but be aware of ...

  7. Auto Identity Column in SQL Server : The Official Microsoft ASP ...

    forums.asp.net/t/prev/1793104 - Cached
    http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=98389. http://www.sqlteam.
    com/article/efficiently-reuse-gaps-in-an-identity-column. Reply ...

  8. Twitter / JRFire: RT: @sqlteam Efficiently Reuse ...

    https://twitter.com/JRFire/status/8855370476
    RT: @sqlteam Efficiently Reuse Gaps in an Identity Column: This article will
    demonstrate an efficient way to reuse ... http://bit.ly/bk1cTJ. Reply; Retweet ...

  9. Efficiently Reuse Gaps in an Identity Column - SQLTeam ... - Google+

    https://plus.google.com/117791377540125472005/.../ShxUNrVsjwv - Cached
    23 Jan 2013 ... Efficiently Reuse Gaps in an Identity Column - SQLTeam.com #sqlserver #sql
    http://ow.ly/h3D6f.

  10. IDENTITY (Property) - TechNet - Microsoft

    social.technet.microsoft.com/.../240452d5-8ea9-45f8-9506-a3a0879b0330
    17 Nov 2010 ... Efficiently Reuse Gaps in an Identity Column. http://www.sqlteam.com/article/
    efficiently-reuse-gaps-in-an-identity-column. bug again what you ...

  11. The HOBT: The IDENTITY Property: A Much-Maligned Construct in ...

    thehobt.blogspot.com/2009/.../identity-property-much-maligned.html - Cached
    28 Jan 2009 ... Identity columns do not serialize inserts ? custom written ... Again, I understand
    that there are some applications for which gaps simply aren't ...

  12. Sql samples, sql tips: Efficiently Reuse Gaps in an Identity Column

    sqlsample.blogspot.com/2013/.../efficiently-reuse-gaps-in-identity.html - Cached
    4 Apr 2013 ... Efficiently Reuse Gaps in an Identity Column. Weekly SQL Server newsletter with
    articles, forum posts, and blog posts via email. Subscribers ...

  13. MS SQL Server :: Filling The Gap Identity Columns - BigResource

    www.bigresource.com/MS_SQL-Filling-the-gap-Identity-columns-JtvHr8Jg. html - Cached
    I do not want to re-use the already used Identity value. I just want to ... gaps in the
    sequence etc. so would it be less efficient for me to calculate the field than ...

  14. SQL Server find first gap between ID key fields - Stack Overflow

    stackoverflow.com/.../sql-server-find-first-gap-between-id-key-fields - Cached
    It gets the first free ID (if there are gaps) or the last one + 1 given a @tableName
    and @column. If there are no rows, it returns as the first ID = 1.

  15. Filling The Gap Identity Columns - Forum Array

    forumarray.com/filling-the-gap-identity-columns-821132 - Cached
    Filling The Gap Identity Columns. Hello, In my application I am using Identity
    columns. When some rows are deleted from table, This identity values are not
    filling ...

  16. Creating a table to store sequence numbers - Beyond Relational

    beyondrelational.com/.../sqlserver-quiz-general-2010-dinesh-asanka- populating-a-table-with-default-values.aspx - Cached
    20 Oct 2010 ... Peter explained this in http://www.sqlteam.com/article/efficiently-reuse-gaps-in-an
    -identity-column. Method 2: Maintaining an another table with ...

  17. The MUMmer 3 manual - MUMmer - SourceForge

    mummer.sourceforge.net/manual/ - Cached - Similar
    This modular design has an important side effect, it allows for the easy reuse of ...
    annotation tools based on the efficient matching algorithm MUMmer provides.

  18. [PDF] 

    ALAE: Accelerating Local Alignment with Affine Gap Exactly - VLDB ...

    vldb.org/pvldb/vol5/p1507_xiaochunyang_vldb2012.pdf - Cached
    an accurate and efficient algorithm for evaluating local-alignment searches,
    especially for long ... to prune meaningless calculations and an algorithm for
    reusing.

  19. Using generators to create unique row IDs - Firebird

    www.firebirdsql.org/manual/generatorguide-rowids.html - Cached - Similar
    Can you re-use generator values? ... will likely see gaps in a per-table ID
    sequence, since generator values are spread throughout all tables. With the ?one
    for ...

  20. Mapper Configuration ? SQLAlchemy 0.9 Documentation

    docs.sqlalchemy.org/en/latest/orm/mapper_config.html - Cached
    Naming Columns Distinctly from Attribute Names; Naming All Columns with a ......
    The identity of an AddressUser object will be in terms of these two values, and ...

Search This Blog