The query processor ran out of stack space during query optimization. Please simplify the query

Can you suggest me that what should i do in this case.
Actually i am having one table that is a MasterTable.I am referring this table in more than 300 tables that means i am having foreign key of this primary key in 300+ tables.
due to this i am getting following error during deleting any row,
doesn't matter that data is existing in reference table or not.
Error that i am getting is 
"The query processor ran out of stack space during query optimization. Please simplify the query"
Can you suggest me that what should i do to avoid this error,because i am unable to delete this entry.
Apart from it,i am getting performance problem too,so is it due to such huge FK on it.
Please suggest me on following points
1. Is it worst way to handle it,if yes then please suggest me solution for it.
2. If it is a correct way then what should i do if getting error during deleting any record.
3. Is it right to create Foreign key on each table where i am saving data of this master. if no then how to manage integrity.
4. What people do in huge database when they wants to create foreign key for any primary key.
5. Can you suggest me that how DBA's are handling this in big database,where they are having huge no. of tables.

The most common reason of getting such error is having more than 253 foreign key constraints on a table. 
The max limit is documented here:
http://msdn.microsoft.com/en-us/library/ms143432(SQL.90).aspx 
Although a table can contain an unlimited number of FOREIGN KEY constraints, the recommended maximum is 253. Depending on the hardware configuration hosting SQL Server, specifying additional foreign key constraints may be expensive for the query
optimizer to process. If you are on 32 bit, then you might want to move to 64 bit to get little bigger stack space but eventually having 300 FK is not something which would work in long run.
Balmukund Lakhani | Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
This posting is provided "AS IS" with no warranties, and confers no rights.
My Blog |
Team Blog | @Twitter
Author: SQL Server 2012 AlwaysOn -
Paperback, Kindle

Similar Messages

  • SQL 2012 SP1 - How to determine a query that causes Error 8623 in SQL Log: The query processor ran out of internal resources and could not produce a query plan. This is a rare event...

    We are getting multiple 8623 Errors in SQL Log while running Vendor's software.
    How can you catch which Query causes the error?
    I tried to catch it using SQL Profiler Trace but it doesn't show which Query/Sp is the one causing an error. 
    I also tried to use Extended Event session to catch it, but it doesn't create any output either.
    Error:
    The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that
    reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Support Services for more information.
    Extended Event Session that I used;
    CREATE EVENT SESSION
        overly_complex_queries
    ON SERVER
    ADD EVENT sqlserver.error_reported
        ACTION (sqlserver.sql_text, sqlserver.tsql_stack, sqlserver.database_id, sqlserver.username)
        WHERE ([severity] = 16
    AND [error_number] = 8623)
    ADD TARGET package0.asynchronous_file_target
    (SET filename = 'E:\SQLServer2012\MSSQL11.MSSQLSERVER\MSSQL\Log\XE\overly_complex_queries.xel' ,
        metadatafile = 'E:\SQLServer2012\MSSQL11.MSSQLSERVER\MSSQL\Log\XE\overly_complex_queries.xem',
        max_file_size = 10,
        max_rollover_files = 5)
    WITH (MAX_DISPATCH_LATENCY = 5SECONDS)
    GO
    -- Start the session
    ALTER EVENT SESSION overly_complex_queries
        ON SERVER STATE = START
    GO
    It creates only .xel file, but not .xem
    Any help/advice is greatly appreciated

    Hi VK_DBA,
    According to your error message, about which query statement may fail with error message 8623, as other post, you can use trace flag 4102 & 4118 for overcoming this error. Another way is looking for queries with very long IN lists, a large number of
    UNIONs, or a large number of nested sub-queries. These are the most common causes of this particular error message.
    The error 8623 occurs when attempting to select records through a query with a large number of entries in the "IN" clause (> 10,000). For avoiding this error, I suggest that you could apply the latest Cumulative Updates media for SQL Server 2012 Service
    Pack 1, then simplify the query. You may try divide and conquer approach to get part of the query working (as temp table) and then add extra joins / conditions. Or You could try to run the query using the hint option (force order), option (hash join), option
    (merge join) with a plan guide.
    For more information about error 8623, you can review the following article.
    http://blogs.technet.com/b/mdegre/archive/2012/03/13/8623-the-query-processor-ran-out-of-internal-resources-and-could-not-produce-a-query-plan.aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Query processor ran out of internal resources

    I have a query in the following format where @ID takes about 20000 IDs. 
    select * from students where name in (@ID) 
    Because of the high amount of IDs in the list, I'm getting the error that "query processor ran out of internal resources and could not produce a query plan. I cannot put these IDs into a table and retrieve as it will require a cursor to proceed with.
    Please advice me if there are any other ways of writing this same query where I can execute it without getting the error.  
    mayooran99

    Put the IDs into a table variable (@table).
    Use a JOIN instead of the IN operator.
    Reference:
    SQL Server: table variable used in a inner join
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • Time Machine:The backup disk ran out of space unexpectedly. .....

    Hi,
    I upgraded to Mountain Lion when it was released and yesterday I began getting this notice from Time Machine:
    "The backup disk ran out of space unexpectedly. Time Machine will try to make more space available by removing expired backups during the next scheduled backup."
    I have a one terra external hard drive with exclusively Time Machine.  It says it has 3.4 gigabytes available, but isn't deleting old backups and making room for new, like before.  I tried the "encrypting" solution, but it still keeps on giving me this message.  Should I erase and format?  If so, what option should I chose to format?
    My Hard Drive has 240 gigabytes, so 1Tb should be more than enough.
    Thank you!
    Gloria

    SuperDuper and Time Machine are two completely different backup utilities. If you want something like what SuperDuper does then don't use Time Machine. You have many other options that won't use up all the space on your backup drive:
    Backup Software Recommendations
    Carbon Copy Cloner
    Data Backup
    Deja Vu
    SuperDuper!
    Synk Pro
    Tri-Backup
    Others may be found at VersionTracker or MacUpdate.
    Visit The XLab FAQs and read the FAQ on backup and restore.  Also read How to Back Up and Restore Your Files.
    Do the following to erase your drive:
    Erase a Drive
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.

  • Time Machine Error: The backup disk ran out of space unexpectedly.

    I keep getting the following message when I try to back up my MacBook using Time Machine: "The backup disk ran out of space unexpectedly. Time Machine will try to make more space available by removing expired backups during the next scheduled backup."
    However, I have deleted everything from the external harddrive, which holds 500 GB. I have only used 38.9 GB of space on my computer. The errors being recorded are as follows:
    Starting standard backup
    Backing up to: /Volumes/Iomega_HDD/Backups.backupdb
    Error parsing SystemMigration.log to determine source volume of system migration.
    Backup content size: 36.5 GB excluded items size: 5.0 GB for volume Macintosh HD
    No pre-backup thinning needed: 38.19 GB requested (including padding), 437.50 GB available
    Waiting for index to be ready (101)
    Stopping backup.
    Error: (-34) SrcErr:NO Copying /Applications/.DS_Store to /Volumes/Iomega_HDD/Backups.backupdb/Jennifer Kwapisz’s MacBook/2011-08-06-113458.inProgress/9273E0A6-8BD8-4282-ACEC-E1E410605A89/Macin tosh HD/Applications
    Copied 0 files (36 KB) from volume Macintosh HD.
    Copy stage failed with error:28
    Backup failed with error: 28
    Any idea what's going on and what I need to do to fix it?

    Please read this:
    http://pondini.org/TM/C18.html
    Ciao.

  • The backup volume ran out of space unexpectedly!?!?

    I have been backing up all my data to a 100GB HD for 9 months with absolutely no problem, until today it popped up and say
    "The backup volume ran out of space unexpectedly. Time Machine will try to make more space available by removing expired backups during the next scheduled backup."
    I still have 2.6 GB space available and the backup went on as usual, except after "preparing", the xxMB out of xxMB change together. I rebooted my macbook and same thing happened again.
    Is there anything I can do? I thought TM would delete my old back ups in order to make some space for my latest ones.
    Many thanks!

    Yes, usually it does. The "unexpected" part is not usual.
    First, is there other data on the TM disk? If so, is it in the same partition?
    Second, it sounds like TM may be trying to do a full backup (everything on your system). Have you had any of the following: Hardware repairs (if so, what?); done a full restore; gone more than a few days without a successful backup?
    Third, how old is your oldest backup?
    And there may be better messages in your logs. Download the +Time Machine Buddy+ widget. It shows the messages from your logs for one TM backup run at a time, in a small window. If you see something there that seems suspicious, copy and post the messages here (be sure to get them all, as sometimes they overflow the small window).

  • Ran out of storage space

    Recently ran out of storage space on my laptop, where I have been storing all music/videos purchased from iTunes. The music library points to a location in the hard disc of the laptop. Now that I have no more space on the internal hard disc I acquired an external 250 GB disc. What's the best way to move forward with iTunes? I don't really know what to do.
    1. Should I copy all existing music/videos to the external drive?
    2. Should I point the library to the new location on the external drive?
    3. Should I delete all existing music/videos from internal storage and leave them on the external drive?
    4. How to avoid double entries of each song/video?
    Thanks for your help.

    Click here and follow the instructions.
    (43985)

  • SCRIPT28: Out of stack space

    Using JDeveloper 11.1.2.3 and JHeadstart. With IE9 (9.0.8112.16421), the following error occurs:
    SCRIPT28: Out of stack space
    core-11.1.2.3.0-2247.js, line 192 character 200
    SCRIPT28: Out of stack space
    boot-11.1.2.3.0-2247.js, line 172 character 187
    This is followed by IE9 hanging indefinitely. Here is an overview of the screen:
    In Chrome and FF, when the user clicks the "Care Team" region (shown above as PPR using hidden button), it calls a hidden button to remove the tabs and replace the page content. The resulting page resembles:
    As you can see, the menu tabs are gone and the page content is refreshed. The hidden button has an ID of menu1CareTeamButton and is inside a panelBox with a clientListener:
          <af:clientListener method="showCareTeamContext" type="click"/>
          <af:commandButton id="menu1CareTeamButton" text="CareTeam" action="patientShell:CareTeam"
                            visible="false">
            <af:setActionListener from="PatientCareTeam" to="#{jhsDynamicMenu.currentLevel1MenuItemName}"/>
          </af:commandButton>
    The JavaScript function is straightforward enough:
      function showCareTeamContext(actionEvent) {
        // Hack to find the hidden menu1CareTeamButton. This forces the button's action to fire
        // whenever the care team region is clicked.
        document.getElementById("pt:menu1CareTeamButton").click();
    The menu1CareTeamButton has the following partialTriggers:
            <f:facet name="pageContent">
              <af:region id="mr" value="#{bindings.mainRegion.regionModel}"
                         partialTriggers="::Menu2 ::pendingChangesDialog ::menu1CareTeamButton ::CareTeamCloseButton"/>
            </f:facet>
          </af:pageTemplate>
                <af:navigationPane id="Menu2" hint="tabs"
                                   partialTriggers="Item2 ::pendingChangesDialog ::mg:Menu1 ::menu1CareTeamButton ::CareTeamCloseButton"
                                   rendered="#{attrs.showMenu2}">
    Everything works flawlessly in Chrome and Firefox. IE9 fails.
    Any ideas why?

    Hi,
    can you provide a test case that can be run stand alone (with no dependency to your project)? If so then this might be filed as a bug. If you have a customer support contract then you can file it yourself. If not you can send me a mail with the testcase in a zip (rename it unzip) and I file it for you. However, note that when i file the bug then it gets filed but you wont have a handle to check the bug status.
    Note that the following line is not recommended to use with ADF Faces and there exist an ADF Faces JavaScript API that allows you to do the same but just not from making assumption about the rendered output (in a next release for example your code may break if the rendered output changes)
    document.getElementById("pt:menu1CareTeamButton").click();
    See this paper for how to do it properly: http://www.oracle.com/technetwork/developer-tools/jdev/1-2011-javascript-302460.pdf
    You will also notice that instead of a hidden button, you could use af:serverListener to invoke server side Java to perform actions on your UI. This said, still chances are that IE is the cause of failure. Ensure you don't run this browser in IE compatibility mode but native.
    Frank

  • Hi, I hope you can help. I'm sure this is something really basic that I should be able to fix myself, but................. I was working on a photo calendar on my macbook off the battery and the battery suddenly ran out. So it wasn't shut down properly. N

    Hi, I hope you can help. I'm sure this is something really basic that I should be able to fix myself, but.................
    I was working on a photo calendar on my macbook off the battery and the battery suddenly ran out. So it wasn't shut down properly. Now when I open i photo the coloured wheel just keeps spinning and I can't get into it. Everything else on the computer seems to work. I've done forced quit and restarted it a few times and also left it running.
    Jane
    Here is the error report:
    Date/Time:      2011-11-19 11:29:02 +0000
    OS Version:     10.5.8 (Build 9L31a)
    Architecture:   i386
    Report Version: 4
    Command:        iPhoto
    Path:           /Applications/iPhoto.app/Contents/MacOS/iPhoto
    Version:        8.1.2 (8.1.2)
    Build Version:  8
    Project Name:   iPhotoProject
    Source Version: 4240000
    Parent:         launchd [97]
    PID:            158
    Event:          hang
    Time:           7.46s
    Steps:          49
    Process:        iPhoto [158]
    Path:           /Applications/iPhoto.app/Contents/MacOS/iPhoto
    ADDRESS         BINARY
    00001000        /Applications/iPhoto.app/Contents/MacOS/iPhoto
    00b31000        /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
    00c65000        /System/Library/Frameworks/DiscRecordingUI.framework/Versions/A/DiscRecordingUI
    00cae000        /System/Library/Frameworks/ExceptionHandling.framework/Versions/A/ExceptionHand ling
    00cb7000        /Applications/iPhoto.app/Contents/MacOS/../Frameworks/UpgradeChecker.framework/ Versions/A/UpgradeChecker
    00ccb000        /Applications/iPhoto.app/Contents/MacOS/../Frameworks/MobileMe.framework/Versio ns/A/MobileMe
    00dc9000        /System/Library/Frameworks/Message.framework/Versions/B/Message
    01179000        /Applications/iPhoto.app/Contents/MacOS/eOkaoCom.dylib
    0117d000        /Applications/iPhoto.app/Contents/MacOS/eOkaoDt.dylib
    011b6000        /Applications/iPhoto.app/Contents/MacOS/eOkaoFr.dylib
    01320000        /Applications/iPhoto.app/Contents/MacOS/eOkaoPt.dylib
    0134b000        /Applications/iPhoto.app/Contents/MacOS/../Frameworks/ProXTCore.framework/Versi ons/A/ProXTCore
    013d6000        /System/Library/PrivateFrameworks/iLifeSlideshow.framework/Versions/A/iLifeSlid eshow
    013da000        /Applications/iPhoto.app/Contents/MacOS/../NetServices/Frameworks/NetServices.f ramework/Versions/A/NetServices
    014bc000        /System/Library/PrivateFrameworks/AppleAppSupport.framework/Versions/A/AppleApp Support
    014c0000        /System/Library/Frameworks/LatentSemanticMapping.framework/Versions/A/LatentSem anticMapping
    014f9000        /System/Library/PrivateFrameworks/iLifeSlideshow.framework/Versions/A/Framework s/iLifeSlideshowCore.framework/Versions/A/iLifeSlideshowCore
    0153b000        /System/Library/PrivateFrameworks/iLifeSlideshow.framework/Versions/A/Framework s/iLifeSlideshowProducer.framework/Versions/A/iLifeSlideshowProducer
    016be000        /System/Library/PrivateFrameworks/iLifeSlideshow.framework/Versions/A/Framework s/iLifeSlideshowRenderer.framework/Versions/A/iLifeSlideshowRenderer
    0183b000        /System/Library/PrivateFrameworks/iLifeSlideshow.framework/Versions/A/Framework s/iLifeSlideshowExporter.framework/Versions/A/iLifeSlideshowExporter
    0184f000        /System/Library/Frameworks/CoreAudioKit.framework/Versions/A/CoreAudioKit
    01880000        /Applications/iPhoto.app/Contents/MacOS/../NetServices/Frameworks/BDControl.fra mework/Versions/A/BDControl
    01894000        /Applications/iPhoto.app/Contents/MacOS/../NetServices/Frameworks/BDRuleEngine. framework/Versions/A/BDRuleEngine
    01fe1000        /Applications/iPhoto.app/Contents/PlugIns/FlickrPublisher.publisher/Contents/Ma cOS/FlickrPublisher
    1676f000        /Applications/iPhoto.app/Contents/PlugIns/FacebookPublisher.publisher/Contents/ MacOS/FacebookPublisher
    16791000        /Applications/iPhoto.app/Contents/PlugIns/MobileMePublisher.publisher/Contents/ MacOS/MobileMePublisher
    167da000        /Applications/iPhoto.app/Contents/PlugIns/RSSPublisher.publisher/Contents/MacOS /RSSPublisher
    16a19000        /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
    17161000        /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/ATSHI.dylib
    17183000        /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGXCoreImage.A.dylib
    19dd8000        /Applications/iPhoto.app/Contents/NetServices/Bundles/BookService.NetService/Co ntents/MacOS/BookService
    19df2000        /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
    19df9000        /Applications/iPhoto.app/Contents/NetServices/Bundles/CalendarsService.NetServi ce/Contents/MacOS/CalendarsService
    19e0d000        /Applications/iPhoto.app/Contents/NetServices/Bundles/CardsService.NetService/C ontents/MacOS/CardsService
    19e21000        /Applications/iPhoto.app/Contents/NetServices/Bundles/PrintsService.NetService/ Contents/MacOS/PrintsService
    19e52000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBAppDefPlugin.ilmbplugin/Contents/MacOS/i LMBAppDefPlugin
    19e59000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBFolderPlugin.ilmbplugin/Contents/MacOS/i LMBFolderPlugin
    19ea4000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBAperturePlugin.ilmbplugin/Contents/MacOS /iLMBAperturePlugin
    19ef0000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBGarageBandPlugin.ilmbplugin/Contents/Mac OS/iLMBGarageBandPlugin
    1a35e000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBiMoviePlugin.ilmbplugin/Contents/MacOS/i LMBiMoviePlugin
    1a392000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBiPhoto8Plugin.ilmbplugin/Contents/MacOS/ iLMBiPhoto8Plugin
    1a3ad000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBiPhotoPlugin.ilmbplugin/Contents/MacOS/i LMBiPhotoPlugin
    1a3bd000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBiTunesPlugin.ilmbplugin/Contents/MacOS/i LMBiTunesPlugin
    1a3cd000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBMoviesFolderPlugin.ilmbplugin/Contents/M acOS/iLMBMoviesFolderPlugin
    1a3d6000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBPhotoBoothPlugin.ilmbplugin/Contents/Mac OS/iLMBPhotoBoothPlugin
    1a901000        /System/Library/PrivateFrameworks/iTunesAccess.framework/iTunesAccess
    ba900000        /System/Library/CoreServices/Encodings/libJapaneseConverter.dylib
    Thread id:      753b8b8
    User stack:
       49 ??? [0x3172]
         49 ??? [0x124b80]
           49 _NSApplicationMain + 574 (in AppKit) [0x9225d1d8]
             49 -[NSApplication run] + 867 (in AppKit) [0x9228ffe7]
               49 ??? [0x229973]
                 49 -[NSApplication sendEvent:] + 2939 (in AppKit) [0x923326a5]
                   49 -[NSWindow sendEvent:] + 5381 (in AppKit) [0x92365af7]
                     49 ??? [0x3ec62]
                       49 -[NSOutlineView mouseDown:] + 611 (in AppKit) [0x923beff1]
                         49 -[NSTableView mouseDown:] + 6867 (in AppKit) [0x923aebf8]
                           49 -[NSTableView _enableSelectionPostingAndPost] + 561 (in AppKit) [0x9237575d]
                             49 -[NSNotificationCenter postNotificationName:object:] + 56 (in Foundation) [0x95427ed8]
                               49 -[NSNotificationCenter postNotificationName:object:userInfo:] + 128 (in Foundation) [0x9541e680]
                                 49 __CFXNotificationPostNotification + 179 (in CoreFoundation) [0x93ad5753]
                                   49 ___CFXNotificationPost + 362 (in CoreFoundation) [0x93ad547a]
                                     49 __nsnote_callback + 106 (in Foundation) [0x9542142a]
                                       49 ??? [0x4e741]
                                         49 ??? [0xa8f49]
                                           49 ??? [0xa8f7d]
                                             49 -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 184 (in Foundation) [0x954758e8]
                                               49 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 1115 (in Foundation) [0x9542232b]
                                                 49 -[NSNotificationCenter postNotification:] + 124 (in Foundation) [0x9544e9bc]
                                                   49 __CFXNotificationPostNotification + 179 (in CoreFoundation) [0x93ad5753]
                                                     49 ___CFXNotificationPost + 362 (in CoreFoundation) [0x93ad547a]
                                                       49 __nsnote_callback + 106 (in Foundation) [0x9542142a]
                                                         49 ??? [0x7ce32]
                                                           49 ??? [0x6f504]
                                                             49 ??? [0x13a800]
                                                               49 ??? [0x57b4d]
                                                                 49 ??? [0x596e9]
                                                                   35 ??? [0x59905]
                                                                     14 ??? [0x5dc926]
                                                                       6 _sqlite3Step + 17 (in libsqlite3.0.dylib) [0x91e2ed31]
                                                                       3 _sqlite3Step + 221 (in libsqlite3.0.dylib) [0x91e2edfd]
                                                                       2 _sqlite3Step + 208 (in libsqlite3.0.dylib) [0x91e2edf0]
                                                                       1 _sqlite3Step + 41 (in libsqlite3.0.dylib) [0x91e2ed49]
                                                                       1 _sqlite3Step + 9 (in libsqlite3.0.dylib) [0x91e2ed29]
                                                                       1 _sqlite3Step + 25 (in libsqlite3.0.dylib) [0x91e2ed39]
                                                                     7 _sqlite3Step + 0 (in libsqlite3.0.dylib) [0x91e2ed20]
                                                                     4 _sqlite3_step + 11 (in libsqlite3.0.dylib) [0x91e2f54b]
                                                                     3 _sqlite3_step + 134 (in libsqlite3.0.dylib) [0x91e2f5c6]
                                                                     2 _sqlite3_step + 128 (in libsqlite3.0.dylib) [0x91e2f5c0]
                                                                     2 _sqlite3Step + 225 (in libsqlite3.0.dylib) [0x91e2ee01]
                                                                     1 _sqlite3_step + 20 (in libsqlite3.0.dylib) [0x91e2f554]
                                                                     1 _sqlite3_step + 22 (in libsqlite3.0.dylib) [0x91e2f556]
                                                                     1 _sqlite3_step + 4 (in libsqlite3.0.dylib) [0x91e2f544]
                                                                   5 ??? [0x5dc91b]
                                                                   3 ??? [0xae911e]
                                                                   2 ??? [0x5dc940]
                                                                   2 ??? [0x5dc94c]
                                                                   2 _sqlite3_step + 0 (in libsqlite3.0.dylib) [0x91e2f540]
    Kernel stack:
       49 _PE_incoming_interrupt + 131 [0x44e416]
         49 _lapic_interrupt + 121 [0x1b16c0]
           49 _sync_iss_to_iks + 114 [0x1aa3ae]
    Thread id:      9645208
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 ___NSThread__main__ + 308 (in Foundation) [0x954219a4]
             49 -[NSThread main] + 45 (in Foundation) [0x95421dfd]
               49 -[XTThread run:] + 387 (in ProXTCore) [0x1352363]
                 49 -[XTMsgQueue waitForMessage] + 49 (in ProXTCore) [0x1364201]
                   49 -[NSConditionLock lockWhenCondition:] + 69 (in Foundation) [0x95467b35]
                     49 -[NSConditionLock lockWhenCondition:beforeDate:] + 144 (in Foundation) [0x95467bd0]
                       49 -[NSCondition waitUntilDate:] + 236 (in Foundation) [0x95467dbc]
                         49 _semaphore_timedwait_signal_trap + 10 (in libSystem.B.dylib) [0x96a6d1c6]
    Thread id:      7b12f20
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 ___NSThread__main__ + 308 (in Foundation) [0x954219a4]
             49 -[NSThread main] + 45 (in Foundation) [0x95421dfd]
               49 -[XTThread run:] + 387 (in ProXTCore) [0x1352363]
                 49 -[XTMsgQueue waitForMessage] + 49 (in ProXTCore) [0x1364201]
                   49 -[NSConditionLock lockWhenCondition:] + 69 (in Foundation) [0x95467b35]
                     49 -[NSConditionLock lockWhenCondition:beforeDate:] + 144 (in Foundation) [0x95467bd0]
                       49 -[NSCondition waitUntilDate:] + 236 (in Foundation) [0x95467dbc]
                         49 _semaphore_timedwait_signal_trap + 10 (in libSystem.B.dylib) [0x96a6d1c6]
    Thread id:      75b2d60
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 ___NSThread__main__ + 308 (in Foundation) [0x954219a4]
             49 -[NSThread main] + 45 (in Foundation) [0x95421dfd]
               49 -[XTRunLoopThread run:] + 421 (in ProXTCore) [0x13538a5]
                 49 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 213 (in Foundation) [0x954563d5]
                   49 _CFRunLoopRunInMode + 88 (in CoreFoundation) [0x93af4aa8]
                     49 _mach_msg_trap + 10 (in libSystem.B.dylib) [0x96a6d166]
    Thread id:      9646128
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 ___NSThread__main__ + 308 (in Foundation) [0x954219a4]
             49 -[NSThread main] + 45 (in Foundation) [0x95421dfd]
               49 ??? [0x506841]
                 49 ___semwait_signal + 10 (in libSystem.B.dylib) [0x96a7434e]
    Thread id:      96468b8
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 ___NSThread__main__ + 308 (in Foundation) [0x954219a4]
             49 -[NSThread main] + 45 (in Foundation) [0x95421dfd]
               49 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 320 (in Foundation) [0x95485520]
                 49 _CFRunLoopRunInMode + 88 (in CoreFoundation) [0x93af4aa8]
                   49 _mach_msg_trap + 10 (in libSystem.B.dylib) [0x96a6d166]
    Thread id:      9645998
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 ___select + 10 (in libSystem.B.dylib) [0x96abc60a]
    Thread id:      96477d8
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __ZN3***17TCMalloc_PageHeap15scavengerThreadEv + 824 (in JavaScriptCore) [0x92c0cd58]
           49 ___semwait_signal + 10 (in libSystem.B.dylib) [0x96a7434e]
    Thread id:      96455d0
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 __Z22CFURLCacheWorkerThreadPv + 388 (in CFNetwork) [0x919a018c]
             49 _CFRunLoopRunInMode + 88 (in CoreFoundation) [0x93af4aa8]
               49 _mach_msg_trap + 10 (in libSystem.B.dylib) [0x96a6d166]
    Thread id:      9412a78
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 __ZN3***15ThreadCondition9timedWaitERNS_5MutexEd + 81 (in JavaScriptCore) [0x92a616b1]
             49 ___semwait_signal + 10 (in libSystem.B.dylib) [0x96a7434e]
    Thread id:      96464f0
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 ___NSThread__main__ + 308 (in Foundation) [0x954219a4]
             49 -[NSThread main] + 45 (in Foundation) [0x95421dfd]
               49 -[ILMediaBrowserPathWatcher(FSEvents) iLMBPathWatcherRunLoop] + 862 (in iLifeMediaBrowser) [0x956ced0e]
                 49 _CFRunLoopRun + 84 (in CoreFoundation) [0x93af4b04]
                   49 _mach_msg_trap + 10 (in libSystem.B.dylib) [0x96a6d166]
    Thread id:      94148b8
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 _fe_fragment_thread + 54 (in QuartzCore) [0x97e65a09]
             49 ___semwait_signal + 10 (in libSystem.B.dylib) [0x96a7434e]
    Thread id:      7538000
    User stack:
       49 ??? [0x0]
    Thread id:      9643b58
    User stack:
       49 ??? [0x0]
    Process:        ATSServer [113]
    Path:           /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framewo rk/Support/ATSServer
    ADDRESS         BINARY
    00001000        /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framewo rk/Support/ATSServer
    Thread id:      7d00ba0
    User stack:
       49 ??? [0x4b46]
         49 ??? [0xdd21f]
           49 _CFRunLoopRun + 84 (in CoreFoundation) [0x93af4b04]
             49 _mach_msg_trap + 10 (in libSystem.B.dylib) [0x96a6d166]
    Thread id:      7cff4f0
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 _mach_msg_trap + 10 (in libSystem.B.dylib) [0x96a6d166]
    Process:        AirPort Base Station Agent [104]
    Path:           /System/Library/CoreServices/AirPort Base Station Agent.app/Contents/MacOS/AirPort Base Station Agent
    ADDRESS         BINARY
    00001000        /System/Library/CoreServices/AirPort Base Station Agent.app/Contents/MacOS/AirPort Base Station Agent
    Thread id:      7b12790
    User stack:
       49 ??? [0x25ad]
         49 ??? [0x2680]
           49 _NSApplicationMain + 574 (in AppKit) [0x9225d1d8]
             49 -[NSApplication run] + 795 (in AppKit) [0x9228ff9f]
               49 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128 (in AppKit) [0x92296f88]
                 49 __DPSNextEvent + 657 (in AppKit) [0x922976d5]
                   49 _BlockUntilNextEventMatchingListInMode + 106 (in HIToolbox) [0x9513df39]
                     49 _ReceiveNextEventCommon + 374 (in HIToolbox) [0x9513e0c5]
                       49 _RunCurrentEventLoopInMode + 283 (in HIToolbox) [0x9513e2ac]
                         49 _CFRunLoopRunInMode + 88 (in CoreFoundation) [0x93af4aa8]
                           49 _mach_msg_trap + 10 (in libSystem.B.dylib) [0x96a6d166]
    Thread id:      7cfcb58
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 ___select + 10 (in libSystem.B.dylib) [0x96abc60a]
    Thread id:      7cfd2e8
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 ??? [0x1e458]
             49 ??? [0x1a1cb]
               49 ??? [0x1e759]

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • Tried installing Illustrator CC but ran out of disk space on primary drive... how can I install on secondary drive?

    Tried installing Illustrator CC but ran out of disk space on primary drive... how can I install on secondary drive?

    Run_Esperanza how much space do you still have available on your primary drive?  It is possible to customize the installation destination within the Creative Cloud Desktop application.  You can find more details at Install and update apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html.
    Please be aware that you will need disk space on the primary drive to installed shared components plus contain the temporary files for installation.

  • I recently "Erased all content and settings" on my iTouch and during the reset, it ran out of battery and it has been the apple logo and a loading symbol on the screen for 2 and a half days now. What do I do?

    I recently "Erased all content and settings" on my iTouch and during the reset, it ran out of battery and it has been the apple logo and a loading symbol on the screen for 2 and a half days now. What do I do?
    I did drop it from about 4 and a half foot during the reset so I don't know if that has broken it.

    See if placing the iPod in Recovery mode will allo iTunes to see the iPod so you can restore it.
    Next try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • Macbook Pro shut down because the battery power ran out. Now I cannot start it and the battery will not charge. Only one green battery charge light lights up and blinks.

    My Macbook Pro shut down because the battery power ran out. Now I cannot start it and the battery will not charge. Only one green battery charge light lights up and blinks on the left side. I am running Lion. How do I get this to charge and turn on? Thanks

    If your model Macbook Pro is the calibrating model, let the battery calibrate. 
    If not, and are still under warrant or have Apple Care, give them a call and get a case number.  Otherwise, take the computer to an Apple store or an AASP.  Whichever is more convenient for you. 

  • I have bought a film from itunes and the credit has come out of my account, but i can't find the film anywhere, it said it was downloading, then i left the laptop and on return i couldn't find the film. how do i find the film?

    i have bought a film from itunes and the credit has come out of my account, but i can't find the film anywhere, it said it was downloading, then i left the laptop and on return i couldn't find the film. how do i find the film?

    Maybe it is in the Purchased category of iTunes,
    Try going there

  • My iPhone4 doesn't appear to have "FacTime" (App), yet when I "ring" it from my iPad's FaceTime, I hear a faint ringing tone but nowhere to answer the call? Anyone out there suggest what's wrong? (going to the App Store and searching "FaceTime" brings iPa

    My iPhone4 doesn't appear to have "FacTime" (App), yet when I "ring" it from my iPad's FaceTime, I hear a faint ringing tone but nowhere to answer the call? Anyone out there suggest what's wrong? (going to the App Store and searching "FaceTime" brings apps that have icons different to that of my iPads!)

    Yeah, I know I can restore it, but I might as well go ahead and try. I just finished a backup for icloud and itunes to make sure, I'll go ahead and restore it and set it up as new and see how that works. Seems like I have no other options at this point, I'd still like to know what they did with the Download tab in itunes store, if they removed it or if I'm just overlooking it.

  • When trying to connect to Airplay speakers I get error message "The  network connection timed out" although some sort of connection is made as the speaker is turned on.  Same thing with Apple TV.  Is the distance from my speaker/ TV the problem?

    When trying to connect from iTunes to Airplay speakers I get error message “The  network connection timed out” although some sort of connection is made as the speaker is turned on.  Same thing with Apple TV.  Is the distance between my PC and the speaker or the AppleTV the problem?

    Hi whitwick,
    If you are having issues with your network connection when attempting to use AirPlay, you may want to use the steps in this article to troubleshoot -
    iTunes: Troubleshooting AirPlay and AirPlay Mirroring
    http://support.apple.com/kb/TS5209
    Thanks for using Apple Support Communities.
    Best,
    Brett L

Maybe you are looking for

  • Slitting text in lines when printing

    I'm trying to send a string to the printer that is multiple lines. When printing on the paper the new line is ignored. How can I split my strings so that it will print on multiple lines? Thanks

  • Problem while changing Cheque Form

    Hi all, I have uploaded the cheque form form Qul to Dev server with the same NAME what has in Qul Server, as it is not exit in Qul. Both are different servers. After the modificationt to form i transported the form from Dev to Qul. the modifications

  • IPhone Camera Roll over 3200 pics, SLOW, has duplicate pics in My Computer

    My iPhone has over 3200 pics I've taken on it, I like these pics on the Camera Roll because it allows me to view life events in order since the day I got the iPhone. Two problems here: 1) When plugged into my PC if I open the camera directly in My Co

  • How do I disable the play drums

    How do I disable the play drums add on ?

  • Optimizer_mode=RULE ?

    Hi, I observed that my forms sessions are using optimizer_mode=RULE. Why it has this value? How can I change the optimizer_mode value? Thank you