MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server » General Talk


General Talk Talk about the MediaPortal TV-Server

Reply
 
Thread Tools Display Modes
Old 2008-07-01, 01:16   #1 (permalink)
Portal Member
 
pinguy's Avatar
 
Join Date: Jun 2008
Location: Bournemouth
Age: 26
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post

Country:


Default MediaPortal should drop Microsoft SQL

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.
pinguy is offline   Reply With Quote
Old 2008-07-01, 01:56   #2 (permalink)
Portal Member
 
Join Date: Aug 2007
Posts: 75
Thanks: 3
Thanked 7 Times in 7 Posts


Default

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 ;-)
Guzzi is offline   Reply With Quote
Old 2008-07-01, 05:16   #3 (permalink)
Portal Member
 
Join Date: May 2008
Posts: 86
Thanks: 1
Thanked 1 Time in 1 Post

Country:


Default

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
craigparris1 is offline   Reply With Quote
Old 2008-07-01, 07:27   #4 (permalink)
MP Donator
 
petsa's Avatar
 
Join Date: Jan 2007
Location: Stockholm
Posts: 531
Thanks: 5
Thanked 10 Times in 10 Posts

Country:

My System

Default

Hi pinguy,

Check out the docs for TVServer and it will guide you how to set max memory for MSSQL.

/Peter
petsa is offline   Reply With Quote
Old 2008-07-01, 08:14   #5 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 30
Posts: 3,733
Thanks: 98
Thanked 137 Times in 109 Posts


Default

Quote:
Originally Posted by craigparris1 View Post
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.
Its pretty likely that the MSSQL support is not going to be removed as there are even devs that are "supid" enough to use it. Me including .

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"
tourettes is offline   Reply With Quote
Old 2008-07-01, 11:11   #6 (permalink)
Portal Member
 
mcraenz's Avatar
 
Join Date: Jul 2007
Location: Auckland
Posts: 487
Thanks: 2
Thanked 17 Times in 15 Posts

Country:

My System

Default

@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
mcraenz is offline   Reply With Quote
Old 2008-07-01, 15:47   #7 (permalink)
Portal Member
 
pinguy's Avatar
 
Join Date: Jun 2008
Location: Bournemouth
Age: 26
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post

Country:


Default

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:
Originally Posted by Guzzi View Post
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 ;-)
I didn't limit it to 15mb that's just what it uses, it actually uses less the longer its running.



Quote:
Originally Posted by mcraenz View Post
Thing is SQL Server and .NET are like a hand in a glove.
????
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.
pinguy is offline   Reply With Quote
Old 2008-07-01, 22:40   #8 (permalink)
Portal Member
 
mcraenz's Avatar
 
Join Date: Jul 2007
Location: Auckland
Posts: 487
Thanks: 2
Thanked 17 Times in 15 Posts

Country:

My System

Default

I'm just saying that .NET has very tight native classes for handling SQL which means less work to support it.
Quote:
plus MySQL is open source.
By that logic MediaPortal should be ported to Mono!!!

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
mcraenz is offline   Reply With Quote
Old 2008-07-07, 13:08   #9 (permalink)
Portal Member
 
midju's Avatar
 
Join Date: Aug 2006
Posts: 47
Thanks: 1
Thanked 1 Time in 1 Post

Country:


Default

Quote:
Originally Posted by mcraenz View Post
I'm just saying that .NET has very tight native classes for handling SQL which means less work to support it.
Quote:
plus MySQL is open source.
By that logic MediaPortal should be ported to Mono!!!

Anyways not much point arguing about it! You say MySql I say MS Sql, We get both!



Mono !! YES!!!!!
midju is offline   Reply With Quote
Old 2008-07-07, 14:13   #10 (permalink)
Portal Developer
 
chemelli's Avatar
 
Join Date: Sep 2006
Location: Italy - Padova
Age: 34
Posts: 1,482
Thanks: 82
Thanked 82 Times in 63 Posts

Country:

My System

Send a message via Skype™ to chemelli
Default

Nothing would change about database support, at least for MP1.

Simone
chemelli is online now   Reply With Quote
Reply

Bookmarks

Tags
drop, microsoft, sql

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

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


All times are GMT +1. The time now is 09:44.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden