NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 775 776 777 778 779 … 1231 Next »
Database indexes for SQL Server 2005?

 
  • 0 Vote(s) - 0 Average
Database indexes for SQL Server 2005?
Spartan
Offline

Senior Member

Posts: 457
Threads: 28
Joined: Mar 2005
#1
2006-06-14, 12:43 PM
I saw a post somewhere that mentioned indexes that could be applied to a SQLLite installation to improve performance.

Does anyone have a list of what these indexes might be? The download that is provided is an executable, so there is no way to get the exact indexes from them. I'd like to apply them to my SQL Server 2005 / GBPVR installation.

Thanks!
GBPVR v1.0.16 | Comskip | SportsScores | Weather | I-XmlTV

Server: Tyan Thunder h1000E | 2 x Opteron 2210 | 2GB PC2-5300 DDR2 ECC
LSI MegaRAID 300-8X SATA RAID
1x 73GB SCSI @ 10K RPM (OS)
3x 500GB SATA @ 7.2K RPM (RAID 5) (4 Partitions: Docs, Still Pics, Home Movies, Music)
2x 160GB IDE @ 7.2K RPM (RAID 0) (Recordings)
Hauppauge HVR-1600

Client: Gigabyte GA-MA69GM-S2H | Athlon x2 5000+ BE | 2GB PC-6400 DDR2
1x 320GB SATA @ 7.2K RPM
Antec NSX2480 Case
MCE Remote
SniperDude
Offline

Member

Posts: 185
Threads: 6
Joined: Dec 2005
#2
2006-06-14, 01:24 PM
This is what I seen created..

create index idxstarttime on PROGRAMME (start_time)
create index idxendtime on PROGRAMME (end_time)

how is that SQLServer2005 working? are you using the free one from MS?? or a commercial version..
I was considering switching to that as well... the MSDE and .NET are tightly intergrated.. could be great things ...
Spartan
Offline

Senior Member

Posts: 457
Threads: 28
Joined: Mar 2005
#3
2006-06-14, 01:33 PM
SniperDude Wrote:This is what I seen created..

create index idxstarttime on PROGRAMME (start_time)
create index idxendtime on PROGRAMME (end_time)

how is that SQLServer2005 working? are you using the free one from MS?? or a commercial version..
I was considering switching to that as well... the MSDE and .NET are tightly intergrated.. could be great things ...


Thanks, I will have to apply those.

I am using SQL Server 2005 developer edition, and it has been working great. I am using it in a client / server environment and have had no problems whatsoever.
GBPVR v1.0.16 | Comskip | SportsScores | Weather | I-XmlTV

Server: Tyan Thunder h1000E | 2 x Opteron 2210 | 2GB PC2-5300 DDR2 ECC
LSI MegaRAID 300-8X SATA RAID
1x 73GB SCSI @ 10K RPM (OS)
3x 500GB SATA @ 7.2K RPM (RAID 5) (4 Partitions: Docs, Still Pics, Home Movies, Music)
2x 160GB IDE @ 7.2K RPM (RAID 0) (Recordings)
Hauppauge HVR-1600

Client: Gigabyte GA-MA69GM-S2H | Athlon x2 5000+ BE | 2GB PC-6400 DDR2
1x 320GB SATA @ 7.2K RPM
Antec NSX2480 Case
MCE Remote
spyork
Offline

Member

Posts: 87
Threads: 18
Joined: Oct 2005
#4
2006-06-15, 03:01 AM
Hey Spartan,

How did you convert your Access database to SQL Server 2005? Can we use Sub's Database Changer program or is it best to just upsize with Access? I am interested in using SQL Server 2005 Express, but I want to make sure I convert everything correctly. Thanks...

Spyork
spyork
Offline

Member

Posts: 87
Threads: 18
Joined: Oct 2005
#5
2006-06-15, 09:52 PM
Spartan Wrote:Thanks, I will have to apply those.

I am using SQL Server 2005 developer edition, and it has been working great. I am using it in a client / server environment and have had no problems whatsoever.

Hey Spartan, I noticed in another thread that you used the upsize feature to convert you access database to sql server. I have a quick question about the upsize wizard. On the screen where it asks what table attributes to upsize the following options are listed under table relationships: Use DRI or Use triggers. Which one did you select? I noticed that the SQLite db made use of some triggers, so I'm wondering which option I should select. Any help would be appreciated. Thanks...
Spartan
Offline

Senior Member

Posts: 457
Threads: 28
Joined: Mar 2005
#6
2006-06-16, 01:01 PM
spyork Wrote:Hey Spartan, I noticed in another thread that you used the upsize feature to convert you access database to sql server. I have a quick question about the upsize wizard. On the screen where it asks what table attributes to upsize the following options are listed under table relationships: Use DRI or Use triggers. Which one did you select? I noticed that the SQLite db made use of some triggers, so I'm wondering which option I should select. Any help would be appreciated. Thanks...

I did the following in Access:

Tools -> Database Utilties -> Upsizing wizard
(Create new database) -> next
(Specify server & new database name) -> next
(Select all tables) -> next
(Select Indexes, Validation Rules, Defaults, Table relationships (DRI), Add timestap to fields (let wizard decide) -> next
(No application changes) -> next
finish

Doing a little reading on DRI -- looks like this creates a number of foreign key constraints on the database, but no triggers. I'm not sure if this is the right thing to use or not, but my GBPVR has been working just fine with this setting.
GBPVR v1.0.16 | Comskip | SportsScores | Weather | I-XmlTV

Server: Tyan Thunder h1000E | 2 x Opteron 2210 | 2GB PC2-5300 DDR2 ECC
LSI MegaRAID 300-8X SATA RAID
1x 73GB SCSI @ 10K RPM (OS)
3x 500GB SATA @ 7.2K RPM (RAID 5) (4 Partitions: Docs, Still Pics, Home Movies, Music)
2x 160GB IDE @ 7.2K RPM (RAID 0) (Recordings)
Hauppauge HVR-1600

Client: Gigabyte GA-MA69GM-S2H | Athlon x2 5000+ BE | 2GB PC-6400 DDR2
1x 320GB SATA @ 7.2K RPM
Antec NSX2480 Case
MCE Remote
spyork
Offline

Member

Posts: 87
Threads: 18
Joined: Oct 2005
#7
2006-06-16, 04:49 PM
Spartan Wrote:I did the following in Access:

Tools -> Database Utilties -> Upsizing wizard
(Create new database) -> next
(Specify server & new database name) -> next
(Select all tables) -> next
(Select Indexes, Validation Rules, Defaults, Table relationships (DRI), Add timestap to fields (let wizard decide) -> next
(No application changes) -> next
finish

Doing a little reading on DRI -- looks like this creates a number of foreign key constraints on the database, but no triggers. I'm not sure if this is the right thing to use or not, but my GBPVR has been working just fine with this setting.

Would it be possible for you to post your database settings in the config.xml? Everything seemed to upsize properly, but I get an error when trying to manually update the EPG in the config app. Thanks...
Spartan
Offline

Senior Member

Posts: 457
Threads: 28
Joined: Mar 2005
#8
2006-06-16, 05:06 PM
spyork Wrote:Would it be possible for you to post your database settings in the config.xml? Everything seemed to upsize properly, but I get an error when trying to manually update the EPG in the config app. Thanks...

What type of error are you seeing? Here are my settings:

From the gbpvr server:
Code:
<!-- Database settings -->
  <DatabaseConnectionString>Provider=SQLNCLI;Data Source=(local);User Id=gbpvr;Password=xxxxx;Database=gbpvr;Trusted_Connection=yes;</DatabaseConnectionString>
  <DatabaseProviderFactory>System.Data.OleDb.OleDbFactory</DatabaseProviderFactory>
  <DatabaseIdentityQuery>select @@identity</DatabaseIdentityQuery>


From my client PC:

Code:
<!-- Database settings -->
  <DatabaseConnectionString>Provider=SQLNCLI;Data Source=192.168.2.2;User Id=gbpvr;Password=xxxxx;Database=gbpvr;Trusted_Connection=yes;</DatabaseConnectionString>
  <DatabaseProviderFactory>System.Data.OleDb.OleDbFactory</DatabaseProviderFactory>
  <DatabaseIdentityQuery>select @@identity</DatabaseIdentityQuery>
GBPVR v1.0.16 | Comskip | SportsScores | Weather | I-XmlTV

Server: Tyan Thunder h1000E | 2 x Opteron 2210 | 2GB PC2-5300 DDR2 ECC
LSI MegaRAID 300-8X SATA RAID
1x 73GB SCSI @ 10K RPM (OS)
3x 500GB SATA @ 7.2K RPM (RAID 5) (4 Partitions: Docs, Still Pics, Home Movies, Music)
2x 160GB IDE @ 7.2K RPM (RAID 0) (Recordings)
Hauppauge HVR-1600

Client: Gigabyte GA-MA69GM-S2H | Athlon x2 5000+ BE | 2GB PC-6400 DDR2
1x 320GB SATA @ 7.2K RPM
Antec NSX2480 Case
MCE Remote
spyork
Offline

Member

Posts: 87
Threads: 18
Joined: Oct 2005
#9
2006-06-16, 05:25 PM
Spartan Wrote:What type of error are you seeing? Here are my settings:

I'm getting the following error:
Your EPG source does not appear to be configured correctly. Please check the EPG Source Settings and try again.
System.Data.OleDb.OleDbException: The name 'Y' is not permitted in this contect. Only constants, expressions, or variables allowed here. Column names are not permitted.

I have tried both SQL Server 2005 Express and SQL Server 2000 Developer and have the same problem. The only thing really different about my connection string was the Provider=sqloledb instead of Provider=SQLNCLI. There is a thread about this problem already in existence, but since you seemed to be working fine I figure there has to be some sort of explanation. Thanks...
Spartan
Offline

Senior Member

Posts: 457
Threads: 28
Joined: Mar 2005
#10
2006-06-16, 05:40 PM
spyork Wrote:I'm getting the following error:
Your EPG source does not appear to be configured correctly. Please check the EPG Source Settings and try again.
System.Data.OleDb.OleDbException: The name 'Y' is not permitted in this contect. Only constants, expressions, or variables allowed here. Column names are not permitted.

I have tried both SQL Server 2005 Express and SQL Server 2000 Developer and have the same problem. The only thing really different about my connection string was the Provider=sqloledb instead of Provider=SQLNCLI. There is a thread about this problem already in existence, but since you seemed to be working fine I figure there has to be some sort of explanation. Thanks...


Perhaps it is because I am using the IxmlTV plugin and not using a default gbpvr EPG loader?

http://forums.nextpvr.com/showthread.php?t=16209
GBPVR v1.0.16 | Comskip | SportsScores | Weather | I-XmlTV

Server: Tyan Thunder h1000E | 2 x Opteron 2210 | 2GB PC2-5300 DDR2 ECC
LSI MegaRAID 300-8X SATA RAID
1x 73GB SCSI @ 10K RPM (OS)
3x 500GB SATA @ 7.2K RPM (RAID 5) (4 Partitions: Docs, Still Pics, Home Movies, Music)
2x 160GB IDE @ 7.2K RPM (RAID 0) (Recordings)
Hauppauge HVR-1600

Client: Gigabyte GA-MA69GM-S2H | Athlon x2 5000+ BE | 2GB PC-6400 DDR2
1x 320GB SATA @ 7.2K RPM
Antec NSX2480 Case
MCE Remote
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  how to use IR server suite with GBPVR zaprat 82 63,405 2018-11-18, 05:32 PM
Last Post: Len_Lekx
  GBPVR XPSP3 Server and Win7 Client Snooze 0 1,863 2011-09-12, 06:26 AM
Last Post: Snooze
  Huge database (+27GB) - is it a problem? pme 7 3,136 2011-01-24, 12:37 AM
Last Post: gEd
  "database disk image is malformed" during attemped EPG update! (GBPVR v.1.4.7) DaveA 4 3,460 2011-01-23, 06:35 PM
Last Post: DaveA
  MCE 2005 IR Blaster problem persim 6 3,514 2010-12-29, 01:28 AM
Last Post: persim
  GBPVR Database question - Recording Schedule David B 1 1,672 2010-11-08, 09:21 PM
Last Post: sub
  Server goes to sleep while client is in use. JP23 0 1,542 2010-10-07, 08:45 AM
Last Post: JP23
  Lost recordings database keith_leitch 9 3,870 2010-09-22, 09:20 PM
Last Post: keith_leitch
  Postprocessing and the recordings database shsw 1 1,548 2010-08-29, 04:46 PM
Last Post: sub
  Lost recordings database dongna 25 8,172 2010-08-26, 10:00 AM
Last Post: martint123

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode