Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bloated sdf file causes slow down in live

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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

    #2
    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.
    MatthewNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    68 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    39 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X