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 PaulMohn, Today, 02:06 AM
    2 responses
    11 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by burtoninlondon, 04-28-2024, 12:38 AM
    2 responses
    22 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by ETFVoyageur, Today, 02:04 PM
    0 responses
    3 views
    0 likes
    Last Post ETFVoyageur  
    Started by 1001111, Today, 09:45 AM
    1 response
    17 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by Vikuno1, 11-28-2023, 11:42 PM
    14 responses
    350 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Working...
    X