Skip to content
Advertisement

What happens when a file on a remote disk is not reachable while inserting records?

Suppose I have database with two filegroups A and B. filegroup B contains a single file on a remote server.

What will happen when I am inserting records in a table defined on filegroup B, while the remote server is offline?

Will the database engine store everything in RAM until the remote server is available again? Will it timeout? Will it write to a temporary file on the local disk?

Just to be clear: the database engine is running local, but the table is stored on a remote server.

Advertisement

Answer

The table will be “accessible” for any operations that do not involve access to the file storage. You could test that easily by creating a secondary filegroup on a usb drive and performing actions when the usb drive is disconnected.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement