| |||||||
| General Talk Talk about the MediaPortal TV-Server |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member Join Date: Jun 2008 Location: Bournemouth Age: 26
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Country: | Microsoft SQL is such a memory hog. I had my PC turned on for two days and it started to get really slow, after checking running services Microsoft SQL Server was using 1.5GB of ram out of 2GB, 1.5GB OF RAM!!! for a background service. So after that I decided to use MySQL instead. MySQL is so much better then Microsoft SQL for memory usage, it only uses 15mb, thats less then TvService uses. I just think it would be better for the default install to use MySQL instead of Microsoft SQL Server, or you could drop Microsoft SQL Server completely and just concentrate on getting MediaPortal TV-Server to work with MySQL (what it does really well already). Last edited by pinguy; 2008-07-01 at 01:22. |
| | |
| | #2 (permalink) |
| Portal Member Join Date: Aug 2007
Posts: 75
Thanks: 3
Thanked 7 Times in 7 Posts
| pinguy - I think you did not consider, how databaseengines do work - they even SHOULD use as much resources as possible to improve performance - exchange is doing the same. but you can configure the behaviour of the db-engine - also in mssql - and limit the max memory to be used, e.g. 64 MB. I personally would never limit it to 15mb (don't even know, if this would work), because I prefer the db-engine does some caching in the ram - the latter is cheap and usually there is enough evailable ;-) |
| | |
| | #3 (permalink) |
| Portal Member Join Date: May 2008
Posts: 86
Thanks: 1
Thanked 1 Time in 1 Post
Country: | Hi Pinguy, Guzzi is correct - you can definitely configure the maximum memory used by SQL Server, if you do have concerns about the amount of memory used. However, as Guzzi also points out, SQL will endeavour to use as much memory as is available to ensure data is cached, to minimise the need to go to the page file/disk. To be honest, I'm only just starting on my journey with MediaPortal, so can't speak from experience about how much memory SQL would ordinarily be using on a HTPC (it is very much dependant on the number and size of databases), however I do work with SQL every day, and SQL 2005 is definitely a reliable (and very configurable) database engine. I'd suggest - if you haven't done so already - that you install the latest SQL 2005 service pack to get the most out of it. Overall, though, for those of us who are happy to continue using SQL, I'd hate them to take it away as an option from MediaPortal. Cheers, Craig |
| | |
| | #5 (permalink) | |
| Portal Developer Join Date: Jan 2005 Age: 30
Posts: 3,733
Thanks: 98
Thanked 137 Times in 109 Posts
| Quote:
.craigparris1 already told why the MSSQL is using so much memory.
__________________ http://day2.no-ip.org/ "Commy64 - The problem there is that Oprah was on. MP tried to save you by blanking the screen" | |
| | |
| | #6 (permalink) |
| Portal Member Join Date: Jul 2007 Location: Auckland
Posts: 487
Thanks: 2
Thanked 17 Times in 15 Posts
Country: | @Pinguy: You might do a little research before you launch a post declaring that developers should do this or that. SQL server will release memory if the system needs it. This article might help you understand it. SQL Rocks: Memory Use in SQL Server Thing is SQL Server and .NET are like a hand in a glove. IMHO supporting MySql is an unnecessary overhead and a luxury, but hey that's my opinion I won't tell the developers what to do especially since they've probably given it a lot more discussion and thought than I have! ![]() ![]()
__________________ Intel DP35DP / c2d E8400 (3.0Ghz) / NVIDIA 8600GT / 4GB DDR800 / HVR-2200 / SkyStar 2 / Techotrend S1500+CI / PVR-150 New Zealander's don't forget to check out the NZ Wiki Page |
| | |
| | #7 (permalink) | |
| Portal Member Join Date: Jun 2008 Location: Bournemouth Age: 26
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Country: | MediaPortal TV-Server doesn't need to use something as complex as MSSQL, MySQL is a better choice IMHO plus MySQL is open source. I am not sure if you lot know but you can choose to use MySQL instead of MSSQL when installing MediaPortal, this isn't a feature I am asking for them to do, its already used in the program. All I am saying is I think that MySQL should be used as the default install instead of MSSQL. Quote:
![]() ???? You need .NET for programs written in C#, VB.NET and JScript.NET, it has nothing to do with Microsoft SQL. .NET is used because MediaPortal is written in C#, that's why there isn't a version of MediaPortal for Linux or Mac because you can only run .NET on Windows. Last edited by pinguy; 2008-07-01 at 17:09. | |
| | |
| | #8 (permalink) | |
| Portal Member Join Date: Jul 2007 Location: Auckland
Posts: 487
Thanks: 2
Thanked 17 Times in 15 Posts
Country: | I'm just saying that .NET has very tight native classes for handling SQL which means less work to support it. Quote:
Anyways not much point arguing about it! You say MySql I say MS Sql, We get both! ![]()
__________________ Intel DP35DP / c2d E8400 (3.0Ghz) / NVIDIA 8600GT / 4GB DDR800 / HVR-2200 / SkyStar 2 / Techotrend S1500+CI / PVR-150 New Zealander's don't forget to check out the NZ Wiki Page | |
| | |
| | #9 (permalink) | ||
| Portal Member Join Date: Aug 2006
Posts: 47
Thanks: 1
Thanked 1 Time in 1 Post
Country: | Quote:
Mono !! YES!!!!! | ||
| | |
![]() |
| Bookmarks |
| Tags |
| drop, microsoft, sql |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What is microsoft sql server password when u configure it first | raghav | Installation, configuration support | 2 | 2008-05-13 22:54 |
| Microsoft SQL Server 2005 question | frasier | Installation, configuration support | 4 | 2008-02-26 01:29 |
| How to launch mediaportal with Start button on Microsoft remote? | sugarfree | Newcomers Forum | 2 | 2008-01-04 06:28 |
| Use SQL Compact instead of SQL Express | Mottebelke | Improvement Suggestions | 22 | 2007-03-29 15:02 |
| Warum ausgerechnet Microsoft SQL? | lord_fritte | Media Portal - Allgemeines | 8 | 2006-11-01 12:56 |