25, July 2008

how big is this ad database table? - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  WebDigity Community  >  HumanWorks network news & feedback  >  Clickbank Contextual Script Support
Topic: how big is this ad database table?
« previous next »
Pages: [1] Print

Author Topic: how big is this ad database table?  (Read 1115 times)
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« on: Sep 04, 2007, 01:28:15 PM »

Hello,

I'm just updating my database and it takes some time.

what is a normal number of records (ads)

and about CB, are these ads mostly for people from the US (target group)?


Last blog : 4th of July Lottery from TemplateMonster.com
Global Moderator
Internet Junkie
*****
Gender: Male
Posts: 1807
9006 credits
Members referred : 6



« Reply #1 on: Sep 04, 2007, 01:55:20 PM »

Clickbank has a little over 20,000 products, so thats about how many records you should have.


Last blog : Are You Stumbling Yet?
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #2 on: Sep 04, 2007, 02:18:11 PM »

Clickbank has a little over 20,000 products, so thats about how many records you should have.

lol maybe nick should change this text for the CBC scripts:
Quote
Alterativelly you can update manually the database by clicking the button bellow. The process may take a few minutes. Be sure to press it only once. Some times

the current (first) update is takes now > 1 hour for the first 1000 records Cheesy


Last blog : 4th of July Lottery from TemplateMonster.com
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: Sep 04, 2007, 02:48:47 PM »

... vert strange 20K ads provided by the xml file, the import file will empty the table first.

will say I have to import the whole 20K records every night?

It takes a lot of time because ... last time the import script has stopped working after 1000 records (2 hours work) Sad

edit try it now via SSH...
« Last Edit: Sep 04, 2007, 02:50:50 PM by Olaf »


Last blog : 4th of July Lottery from TemplateMonster.com
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #4 on: Sep 04, 2007, 03:03:18 PM »

abort Sad

get this error after the import of ~1000 records:

*** glibc detected *** double free or corruption (!prev): 0x08946808 ***
Aborted


Last blog : 4th of July Lottery from TemplateMonster.com
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7975
40807 credits
Members referred : 3



« Reply #5 on: Sep 04, 2007, 05:02:23 PM »

The update should be done once per month. There is no reason to do it every day or even week.

Olaf, this error looks like a memory related error. Do you use CLI or web to update? Do you have curl enabled?

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #6 on: Sep 04, 2007, 05:33:15 PM »

The update should be done once per month. There is no reason to do it every day or even week.

Olaf, this error looks like a memory related error. Do you use CLI or web to update? Do you have curl enabled?

yes, downloading the file is fine. then it works fine for the first 700-2000 records and then I got this via CLI, via the web it stops working


Last blog : 4th of July Lottery from TemplateMonster.com
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7975
40807 credits
Members referred : 3



« Reply #7 on: Sep 04, 2007, 07:44:59 PM »

I believe this is a problem of your host (another client had this too)

If you can't reach a good ammount of records then I can send you the mysql dump.

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #8 on: Sep 04, 2007, 08:47:55 PM »

I believe this is a problem of your host (another client had this too)

If you can't reach a good ammount of records then I can send you the mysql dump.

yes please send me the dump, do you think I should give the script more memory?


Last blog : 4th of July Lottery from TemplateMonster.com
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #9 on: Sep 04, 2007, 08:51:37 PM »

check this http://www.google.com/search?q=glibc+detected Visit through proxy+***+double+free+or+corruption

I think it's php5 related...

Sad I don't have a php4 host anymore...


Last blog : 4th of July Lottery from TemplateMonster.com
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #10 on: Sep 05, 2007, 12:08:21 AM »

just noticed that it work fine with import script from the prev. version, how is this possible?


Last blog : 4th of July Lottery from TemplateMonster.com
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7975
40807 credits
Members referred : 3



« Reply #11 on: Sep 05, 2007, 10:25:38 AM »

just noticed that it work fine with import script from the prev. version, how is this possible?

The previous version is not using curl to fetch data from the vendor sites, so the process is much faster.

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #12 on: Sep 05, 2007, 10:49:30 AM »

just noticed that it work fine with import script from the prev. version, how is this possible?

The previous version is not using curl to fetch data from the vendor sites, so the process is much faster.

why do you fetch these data?
is the XML information not enough?


Last blog : 4th of July Lottery from TemplateMonster.com
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7975
40807 credits
Members referred : 3



« Reply #13 on: Sep 05, 2007, 11:30:25 AM »

The xml information has a lot of ads that target affiliates, not the actual buyers.

But as the update takes a lot of time, I think we are going to change the whole thing in the next version with a central update service.

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #14 on: Sep 05, 2007, 11:47:18 AM »

Ok I understand.

I get 5890 ads with old script, I think if the update need to be done only onth a month it should be OK.

maybe it takes so much time here because I'm in some dutch network with this server


Last blog : 4th of July Lottery from TemplateMonster.com
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #15 on: Sep 05, 2007, 11:48:03 AM »

Nick, an please send me your database dump (.gz)


Last blog : 4th of July Lottery from TemplateMonster.com
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7975
40807 credits
Members referred : 3



« Reply #16 on: Sep 05, 2007, 12:27:01 PM »

Ok I will do a little later Smiley

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
Chicken-run Manager
*
Posts: 9
62 credits
Members referred : 0


« Reply #17 on: Sep 11, 2007, 08:12:33 PM »

Is it possible since I am only interested in one fitness category to make the contextual ads system just work with the one category ? It would speed up the entire process for me.

reagrds
Lewis
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7975
40807 credits
Members referred : 3



« Reply #18 on: Sep 12, 2007, 10:49:16 AM »

Lewis I am afraid this is not possible as there is no way to download a part of CB's database.

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=7070
Tags : database ads Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  WebDigity Community  >  HumanWorks network news & feedback  >  Clickbank Contextual Script Support
Topic: how big is this ad database table?
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Jul 25, 2008, 12:22:26 AM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 35.717
Total Topics: 7.379
Total Members: 3.711
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: Asimina

40 Guests, 2 Users online :

12 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.