NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Automated Trading

Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader.

Reply
 
Thread Tools Display Modes
Old 07-19-2012, 07:40 AM   #1
boaza
Senior Member
 
Join Date: Aug 2011
Posts: 112
Thanks: 10
Thanked 0 times in 0 posts
Default Bloated sdf file causes slow down in live

Hello all,

I've noticed that once the sdf database file under db/NinjaTrader.sdf becomes large (> 500 MB), I get a performance hit when loading and editing strategy configurations.
Is there a way to reduce the size of this file while keeping the following info which I consider vital?
These are the work-spaces and the strategy configurations.

Thanks,
Boaz
boaza is offline  
Reply With Quote
Old 07-19-2012, 07:49 AM   #2
NinjaTrader_Matthew
NinjaTrader Customer Service
 
NinjaTrader_Matthew's Avatar
 
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,777
Thanks: 158
Thanked 565 times in 556 posts
Default

Hello,

Under Tools--> Options--> Data tab--> 'Repair DB' should attempt to compact the database to a smaller size.

If running the repair db option does not bring the database down to a manageable level, you will need to 'Reset DB'

The workspaces are not saved in the database and will not be lost when resetting. However some strategy information will be contained here.

Do you know what exactly you're doing to get the db this large? We typically do not see a db size of over 30-100MB.
NinjaTrader_Matthew is online now  
Reply With Quote
Reply

Tags
sdf database

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
64-bit NT sdf error marotom Installation and Licensing 4 05-29-2012 07:42 AM
NinjaTrader.Old.sdf Stopped Miscellaneous Support 1 06-08-2011 10:02 AM
NT7: 64bit crash on start, ninjatrader.sdf not found skynetman Miscellaneous Support 6 12-17-2010 08:18 AM
Is possible to import a live feed from a text file? paolfili General Programming 2 10-04-2009 03:06 PM
Log File problems and Live Trade Problems gygraham Connecting 7 03-30-2008 05:16 PM


All times are GMT -6. The time now is 01:52 PM.