{"action":"created","issue":{"url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/issues/250","repository_url":"https://api.github.com/repos/rails-sqlserver/tiny_tds","labels_url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/issues/250/labels{/name}","comments_url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/issues/250/comments","events_url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/issues/250/events","html_url":"https://github.com/rails-sqlserver/tiny_tds/issues/250","id":121334472,"number":250,"title":"Initial connection to MSSQL is extremely slow (Windows)","user":{"login":"stibra","id":2330181,"avatar_url":"https://avatars.githubusercontent.com/u/2330181?v=3","gravatar_id":"","url":"https://api.github.com/users/stibra","html_url":"https://github.com/stibra","followers_url":"https://api.github.com/users/stibra/followers","following_url":"https://api.github.com/users/stibra/following{/other_user}","gists_url":"https://api.github.com/users/stibra/gists{/gist_id}","starred_url":"https://api.github.com/users/stibra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stibra/subscriptions","organizations_url":"https://api.github.com/users/stibra/orgs","repos_url":"https://api.github.com/users/stibra/repos","events_url":"https://api.github.com/users/stibra/events{/privacy}","received_events_url":"https://api.github.com/users/stibra/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/labels/TinyTDS%20v1.0","name":"TinyTDS v1.0","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":38,"created_at":"2015-12-09T20:42:10Z","updated_at":"2016-04-25T18:20:06Z","closed_at":null,"body":"Hi,\r\n\r\nWhen starting Ruby application on Windows or running \"rails c production\", initial connection to MSSQL database takes ages (from 15-40 seconds, depending on the server), but later everything works very fast.\r\nIt is the same with any MSSQL version (2008 R2, 2012, etc).\r\nThere is no problem with  same application with Postgress database.\r\nRuby version is 2.2.3, latest tiny_tds.\r\n\r\nAny idea what to test?"},"comment":{"url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/issues/comments/214468992","html_url":"https://github.com/rails-sqlserver/tiny_tds/issues/250#issuecomment-214468992","issue_url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/issues/250","id":214468992,"user":{"login":"YvesR","id":4928882,"avatar_url":"https://avatars.githubusercontent.com/u/4928882?v=3","gravatar_id":"","url":"https://api.github.com/users/YvesR","html_url":"https://github.com/YvesR","followers_url":"https://api.github.com/users/YvesR/followers","following_url":"https://api.github.com/users/YvesR/following{/other_user}","gists_url":"https://api.github.com/users/YvesR/gists{/gist_id}","starred_url":"https://api.github.com/users/YvesR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YvesR/subscriptions","organizations_url":"https://api.github.com/users/YvesR/orgs","repos_url":"https://api.github.com/users/YvesR/repos","events_url":"https://api.github.com/users/YvesR/events{/privacy}","received_events_url":"https://api.github.com/users/YvesR/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T18:20:06Z","updated_at":"2016-04-25T18:20:06Z","body":"Hi @metaskills ,\r\nI tested the DLL @lukajandric provide with the link and rails start far more fast.\r\nReplaced the DLL in ruby/bin.\r\nThen I replaced the DLL in ruby\\lib\\ruby\\gems\\2.0.0\\gems\\tiny_tds-0.9.5.rc.3-x64-mingw32\\ports\\x86_64-w64-mingw32\\bin and the result was that it did not work. Connection failed error. So somehow the DLL do not work with this port.\r\n\r\n"}}