Sql server windows nt 64 bit грузит память

Hi,
  • Remove From My Forums
  • Question

  • Hi,

    I’m using SQL Server Express 2012. I have database with 200 Mb actually.

    So, I want to know If is it normal
    if the process (app) ‘SQL Server Windows NT — 64 Bit’ use 400 MB from Ram (at all) and CPU up to 46% some times ?

    If my Server receive DDOS Attak on the TCP port of database ? How can I detect ? How can I solve it.

    Thanks

    • Edited by

      Wednesday, February 11, 2015 2:25 PM

Answers

  • Hi nadjibnet,

    SQL Server Windows NT -64 Bit is known as sqlservr.exe process, it is normal that SQL Server consumes as much memory as possible since SQL Server likes to cache data in memory to speed up access. You might have long running queries on SQL Server. Do you
    find any performance issues?

    If SQL Server is not installed on a dedicate production machine and you have other applications on the machine, you could limit the memory usage by
    configuring Max Server Memory according to your situation.

    In addition, about how to detect DDOS attack and block it, you could refer to the following article:

    https://sulich.wordpress.com/2012/06/27/detecting-ddos-attack-in-windows/. I suggest you to post the questions in the

    Windows Server forums. It is appropriate and more experts will assist you.

    Regards,
    Michelle Li

    • Edited by
      Michelle Li
      Thursday, February 12, 2015 7:25 AM
    • Marked as answer by
      nadjibnet
      Thursday, February 12, 2015 10:00 AM

  • Remove From My Forums
  • Question

  • Hi,

    I’m using SQL Server Express 2012. I have database with 200 Mb actually.

    So, I want to know If is it normal
    if the process (app) ‘SQL Server Windows NT — 64 Bit’ use 400 MB from Ram (at all) and CPU up to 46% some times ?

    If my Server receive DDOS Attak on the TCP port of database ? How can I detect ? How can I solve it.

    Thanks

    • Edited by

      Wednesday, February 11, 2015 2:25 PM

Answers

  • Hi nadjibnet,

    SQL Server Windows NT -64 Bit is known as sqlservr.exe process, it is normal that SQL Server consumes as much memory as possible since SQL Server likes to cache data in memory to speed up access. You might have long running queries on SQL Server. Do you
    find any performance issues?

    If SQL Server is not installed on a dedicate production machine and you have other applications on the machine, you could limit the memory usage by
    configuring Max Server Memory according to your situation.

    In addition, about how to detect DDOS attack and block it, you could refer to the following article:

    https://sulich.wordpress.com/2012/06/27/detecting-ddos-attack-in-windows/. I suggest you to post the questions in the

    Windows Server forums. It is appropriate and more experts will assist you.

    Regards,
    Michelle Li

    • Edited by
      Michelle Li
      Thursday, February 12, 2015 7:25 AM
    • Marked as answer by
      nadjibnet
      Thursday, February 12, 2015 10:00 AM

  • Remove From My Forums
  • Question

  • Hi there,

    On our newly configured SQL Server Windows NT 64 bit — very high memory usage show up.

    We have to reboot it to get it to normal (like to 10% RAM) — RAM usage grows continuously — and in about 18 hours it reaches 95% and our website slows down by a great margin. We reboot the server to get it back to normal and so on.

    During such outage I ran —- Select * from sys.dm_exec_requests —— and result is

    here.

    If I can provide any more information please let me know.

    Thanks so much for help.

Answers

  • Issue was resolved by setting up SIMPLE Recovery mode for all dbs.

    Thanks so much all.

    • Marked as answer by

      Thursday, December 3, 2015 1:07 AM

  • Remove From My Forums
  • Question

  • Hi,

    I’m using SQL Server Express 2012. I have database with 200 Mb actually.

    So, I want to know If is it normal
    if the process (app) ‘SQL Server Windows NT — 64 Bit’ use 400 MB from Ram (at all) and CPU up to 46% some times ?

    If my Server receive DDOS Attak on the TCP port of database ? How can I detect ? How can I solve it.

    Thanks

    • Edited by

      Wednesday, February 11, 2015 2:25 PM

Answers

  • Hi nadjibnet,

    SQL Server Windows NT -64 Bit is known as sqlservr.exe process, it is normal that SQL Server consumes as much memory as possible since SQL Server likes to cache data in memory to speed up access. You might have long running queries on SQL Server. Do you
    find any performance issues?

    If SQL Server is not installed on a dedicate production machine and you have other applications on the machine, you could limit the memory usage by
    configuring Max Server Memory according to your situation.

    In addition, about how to detect DDOS attack and block it, you could refer to the following article:

    https://sulich.wordpress.com/2012/06/27/detecting-ddos-attack-in-windows/. I suggest you to post the questions in the

    Windows Server forums. It is appropriate and more experts will assist you.

    Regards,
    Michelle Li

    • Edited by
      Michelle Li
      Thursday, February 12, 2015 7:25 AM
    • Marked as answer by
      nadjibnet
      Thursday, February 12, 2015 10:00 AM

#sql-server-2019

Вопрос:

Вчера я просматривал некоторые сценарии и заметки из класса и заметил, что запросы были намного медленнее. Запросы, которые раньше занимали 0 мс процессорного времени и 10 мс истекшего времени, занимали более 10 секунд. Диспетчер задач показал, что SQL Server Windows NT — 64 разрядной версии работает и использует 5 ГБ из 8 ГБ моей памяти. Я перестал запускать запросы, но это продолжалось в течение нескольких часов, пока не сократилось до 2 ГБ, и продолжалось до тех пор, пока я не выключил его около 10 вечера. Этим утром SQL Server Windows NT — 64 разрядной версии использовал несколько сотен МБ памяти, пока я не запустил хранимую процедуру. Как вы можете видеть на картинке, он увеличил объем памяти более чем на 4 ГБ и остался на нем. Я точно знаю, что такое часто случается, но никогда не думал, что это может быть вызвано чем-то, что я запустил. Если я завершу задание, я потеряю соединение. Если я перезагрузлю компьютер, он тоже перезагрузится, я проверял пару раз. Что происходит на самом деле и что мне следует делать? Снимок экрана диспетчера задач

Комментарии:

1. SQL Server использует всю доступную память, которую он может получить по дизайну . Вы можете изменить это в разделе SSMS > Свойства сервера >> Память.

2. Какова реальная проблема, которую вы пытаетесь решить? Похоже, это рабочий стол/рабочая станция, а не выделенный SQL-сервер? Рекомендуется всегда устанавливать максимальный объем памяти для SQL Server — эмпирическое правило на 8-10% меньше общего объема оперативной памяти на выделенном сервере и больше на рабочем столе или сервере общих ресурсов.

3. На первый взгляд, плохой план запроса приводит к тому, что таблица заполняет память буферного пула, которая по умолчанию составляет столько памяти, сколько она может получить.

4. Это делало все остальные запросы такими медленными. А еще я хотел понять, что на самом деле происходит и почему. Похоже, вы все предлагаете мне изменить максимальную память сервера, которую я никогда не менял, так что по умолчанию она намного больше, чем у меня есть. Поэтому я изменил его на 3 ГБ, запустил ту же хранимую процедуру и выполнил. SQL Server использовал около 700 МБ памяти и увеличил ее до 2,85 ГБ. Так что это хорошо. Теперь он остается на этом уровне в течение длительного времени. Как мне снизить его до нормального уровня? Не все, но некоторые другие запросы выполняются дольше.

5. @gsong Установите разумный максимум использования памяти в свойствах сервера, а затем перезапустите службу SQL Server. Существуют способы вернуть память SQL Server обратно в ОС без перезагрузки, но они ненадежны и предназначены для производственного использования, в то время как перезапуск службы на вашей рабочей станции является наиболее простым решением.

Понравилась статья? Поделить с друзьями:
  • Sql server windows nt 64 bit блокирует этот файл
  • Sql server windows authentication как указать логин
  • Sql server windows authentication and sql authentication
  • Sql server windows and sql authentication mode
  • Sql server management studio скачать для windows 7 x64